attrs.xml revision d91860d9cee7387e1ca035df3c15f3bfba5929fa
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        <!-- The alpha applied to the foreground color to create the primary text color. -->
66        <attr name="primaryContentAlpha" format="float" />
67        <!-- The alpha applied to the foreground color to create the secondary text color. -->
68        <attr name="secondaryContentAlpha" format="float" />
69        <!-- Color used for error states and things that need to be drawn to
70             the users attention.. -->
71        <attr name="colorError" format="reference|color" />
72        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
73        <attr name="backgroundDimAmount" format="float" />
74        <!-- Control whether dimming behind the window is enabled.  The default
75             theme does not set this value, meaning it is based on whether the
76             window is floating. -->
77        <attr name="backgroundDimEnabled" format="boolean" />
78
79        <!-- =========== -->
80        <!-- Text styles -->
81        <!-- =========== -->
82        <eat-comment />
83
84        <!-- Default appearance of text: color, typeface, size, and style. -->
85        <attr name="textAppearance" format="reference" />
86        <!-- Default appearance of text against an inverted background:
87             color, typeface, size, and style. -->
88        <attr name="textAppearanceInverse" format="reference" />
89
90        <!-- The most prominent text color.  -->
91        <attr name="textColorPrimary" format="reference|color" />
92        <!-- Secondary text color. -->
93        <attr name="textColorSecondary" format="reference|color" />
94        <!-- Tertiary text color. -->
95        <attr name="textColorTertiary" format="reference|color" />
96
97        <!-- Primary inverse text color, useful for inverted backgrounds. -->
98        <attr name="textColorPrimaryInverse" format="reference|color" />
99        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
100        <attr name="textColorSecondaryInverse" format="reference|color" />
101        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
102        <attr name="textColorTertiaryInverse" format="reference|color" />
103
104        <!-- Inverse hint text color. -->
105        <attr name="textColorHintInverse" format="reference|color" />
106
107        <!-- Bright text color. Only differentiates based on the disabled state. -->
108        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
109
110        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
111        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
112
113        <!-- Bright text color. This does not differentiate the disabled state. As an example,
114             buttons use this since they display the disabled state via the background and not the
115             foreground text color. -->
116        <attr name="textColorPrimaryNoDisable" format="reference|color" />
117        <!-- Dim text color. This does not differentiate the disabled state. -->
118        <attr name="textColorSecondaryNoDisable" format="reference|color" />
119
120        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
121        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
122        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
123        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
124
125        <!-- Bright text color for use over activated backgrounds. -->
126        <attr name="textColorPrimaryActivated" format="reference|color" />
127        <!-- Dim text color for use over activated backgrounds. -->
128        <attr name="textColorSecondaryActivated" format="reference|color" />
129
130        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
131        <attr name="textColorSearchUrl" format="reference|color" />
132
133        <!-- Color of highlighted text, when used in a light theme. -->
134        <attr name="textColorHighlightInverse" format="reference|color" />
135        <!-- Color of link text (URLs), when used in a light theme. -->
136        <attr name="textColorLinkInverse" format="reference|color" />
137
138        <!-- Color of list item text in alert dialogs. -->
139        <attr name="textColorAlertDialogListItem" format="reference|color" />
140
141        <!-- Search widget more corpus result item background. -->
142        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
143
144        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
145        <attr name="textAppearanceLarge" format="reference" />
146        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
147        <attr name="textAppearanceMedium" format="reference" />
148        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
149        <attr name="textAppearanceSmall" format="reference" />
150
151        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
152        <attr name="textAppearanceLargeInverse" format="reference" />
153        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
154        <attr name="textAppearanceMediumInverse" format="reference" />
155        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
156        <attr name="textAppearanceSmallInverse" format="reference" />
157
158        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
159        <attr name="textAppearanceSearchResultTitle" format="reference" />
160        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
161        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
162
163        <!-- Text color, typeface, size, and style for the text inside of a button. -->
164        <attr name="textAppearanceButton" format="reference" />
165
166        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
167        <attr name="textAppearanceLargePopupMenu" format="reference" />
168
169        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
170        <attr name="textAppearanceSmallPopupMenu" format="reference" />
171
172        <!-- Text color, typeface, size, and style for header text inside of a popup menu. -->
173        <attr name="textAppearancePopupMenuHeader" format="reference" />
174
175        <!-- The underline color and thickness for easy correct suggestion -->
176        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
177
178        <!-- The underline color and thickness for misspelled suggestion -->
179        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
180
181        <!-- The underline color and thickness for auto correction suggestion -->
182        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
183
184        <!--  The underline color -->
185        <attr name="textUnderlineColor" format="reference|color" />
186        <!--  The underline thickness -->
187        <attr name="textUnderlineThickness" format="reference|dimension" />
188
189        <!-- EditText text foreground color. -->
190        <attr name="editTextColor" format="reference|color" />
191        <!-- EditText background drawable. -->
192        <attr name="editTextBackground" format="reference" />
193
194        <!-- Popup text displayed in TextView when setError is used. -->
195        <attr name="errorMessageBackground" format="reference" />
196        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
197        <attr name="errorMessageAboveBackground" format="reference" />
198
199        <!-- A styled string, specifying the style to be used for showing
200             inline candidate text when composing with an input method.  The
201             text itself will be ignored, but the style spans will be applied
202             to the candidate text as it is edited. -->
203        <attr name="candidatesTextStyleSpans" format="reference|string" />
204
205        <!-- Drawable to use for check marks. -->
206        <attr name="textCheckMark" format="reference" />
207        <attr name="textCheckMarkInverse" format="reference" />
208
209        <!-- Drawable to use for multiple choice indicators. -->
210        <attr name="listChoiceIndicatorMultiple" format="reference" />
211
212        <!-- Drawable to use for single choice indicators. -->
213        <attr name="listChoiceIndicatorSingle" format="reference" />
214
215        <!-- Drawable used as a background for selected list items. -->
216        <attr name="listChoiceBackgroundIndicator" format="reference" />
217
218        <!-- Drawable used as a background for activated items. -->
219        <attr name="activatedBackgroundIndicator" format="reference" />
220
221        <!-- ============= -->
222        <!-- Button styles -->
223        <!-- ============= -->
224        <eat-comment />
225
226        <!-- Normal Button style. -->
227        <attr name="buttonStyle" format="reference" />
228
229        <!-- Small Button style. -->
230        <attr name="buttonStyleSmall" format="reference" />
231
232        <!-- Button style to inset into an EditText. -->
233        <attr name="buttonStyleInset" format="reference" />
234
235        <!-- ToggleButton style. -->
236        <attr name="buttonStyleToggle" format="reference" />
237
238        <!-- ============== -->
239        <!-- Gallery styles -->
240        <!-- ============== -->
241        <eat-comment />
242
243        <!-- The preferred background for gallery items. This should be set
244             as the background of any Views you provide from the Adapter. -->
245        <attr name="galleryItemBackground" format="reference" />
246
247        <!-- =========== -->
248        <!-- List styles -->
249        <!-- =========== -->
250        <eat-comment />
251
252        <!-- The preferred list item height. -->
253        <attr name="listPreferredItemHeight" format="dimension" />
254        <!-- A smaller, sleeker list item height. -->
255        <attr name="listPreferredItemHeightSmall" format="dimension" />
256        <!-- A larger, more robust list item height. -->
257        <attr name="listPreferredItemHeightLarge" format="dimension" />
258        <!-- The list item height for search results. @hide -->
259        <attr name="searchResultListItemHeight" format="dimension" />
260
261        <!-- The preferred padding along the left edge of list items. -->
262        <attr name="listPreferredItemPaddingLeft" format="dimension" />
263        <!-- The preferred padding along the right edge of list items. -->
264        <attr name="listPreferredItemPaddingRight" format="dimension" />
265
266        <!-- The preferred TextAppearance for the primary text of list items. -->
267        <attr name="textAppearanceListItem" format="reference" />
268        <!-- The preferred TextAppearance for the secondary text of list items. -->
269        <attr name="textAppearanceListItemSecondary" format="reference" />
270        <!-- The preferred TextAppearance for the primary text of small list items. -->
271        <attr name="textAppearanceListItemSmall" format="reference" />
272
273        <!-- The drawable for the list divider. -->
274        <attr name="listDivider" format="reference" />
275        <!-- The list divider used in alert dialogs. -->
276        <attr name="listDividerAlertDialog" format="reference" />
277        <!-- TextView style for list separators. -->
278        <attr name="listSeparatorTextViewStyle" format="reference" />
279        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
280             use expandableListPreferredChildPaddingLeft). This takes into account
281             the indicator that will be shown to next to the item. -->
282        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
283        <!-- The preferred left padding for an expandable list item that is a child.
284             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
285        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
286        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
287             indicator, use expandableListPreferredChildIndicatorLeft. -->
288        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
289        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
290             indicator, use expandableListPreferredChildIndicatorRight. -->
291        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
292        <!-- The preferred left bound for an expandable list child's indicator. -->
293        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
294        <!-- The preferred right bound for an expandable list child's indicator. -->
295        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
296
297        <!-- The preferred item height for dropdown lists. -->
298        <attr name="dropdownListPreferredItemHeight" format="dimension" />
299
300        <!-- The preferred padding along the start edge of list items. -->
301        <attr name="listPreferredItemPaddingStart" format="dimension" />
302        <!-- The preferred padding along the end edge of list items. -->
303        <attr name="listPreferredItemPaddingEnd" format="dimension" />
304
305        <!-- ============= -->
306        <!-- Window styles -->
307        <!-- ============= -->
308        <eat-comment />
309
310        <!-- Drawable to use as the overall window background.  As of
311             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
312             be a selector that uses state_accelerated to pick a non-solid
313             color when running on devices that can draw such a bitmap
314             with complex compositing on top at 60fps.
315
316             <p>There are a few special considerations to use when setting this
317             drawable:
318             <ul>
319             <li> This information will be used to infer the pixel format
320                  for your window's surface.  If the drawable has any
321                  non-opaque pixels, your window will be translucent
322                  (32 bpp).
323             <li> If you want to draw the entire background
324                  yourself, you should set this drawable to some solid
325                  color that closely matches that background (so the
326                  system's preview of your window will match), and
327                  then in code manually set your window's background to
328                  null so it will not be drawn.
329             </ul> -->
330        <attr name="windowBackground" format="reference" />
331        <!-- Drawable to draw selectively within the inset areas when the windowBackground
332             has been set to null. This protects against seeing visual garbage in the
333             surface when the app has not drawn any content into this area. One example is
334             when the user is resizing a window of an activity that has
335             {@link android.R.attr#resizeableActivity} set for multi-window mode. -->
336        <attr name="windowBackgroundFallback" format="reference" />
337        <!-- Drawable to use as a frame around the window. -->
338        <attr name="windowFrame" format="reference" />
339        <!-- Flag indicating whether there should be no title on this window. -->
340        <attr name="windowNoTitle" format="boolean" />
341        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
342             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
343        <attr name="windowFullscreen" format="boolean" />
344        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
345             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
346        <attr name="windowOverscan" format="boolean" />
347        <!-- Flag indicating whether this is a floating window. -->
348        <attr name="windowIsFloating" format="boolean" />
349        <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but
350             not if set to false), the window might still be considered translucent, if
351             windowSwipeToDismiss is set to true. -->
352        <attr name="windowIsTranslucent" format="boolean" />
353        <!-- Flag indicating that this window's background should be the
354             user's current wallpaper.  Corresponds
355             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
356        <attr name="windowShowWallpaper" format="boolean" />
357        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
358             to place a shadow below the title.  -->
359        <attr name="windowContentOverlay" format="reference" />
360        <!-- The style resource to use for a window's title bar height. -->
361        <attr name="windowTitleSize" format="dimension" />
362        <!-- The style resource to use for a window's title text. -->
363        <attr name="windowTitleStyle" format="reference" />
364        <!-- The style resource to use for a window's title area. -->
365        <attr name="windowTitleBackgroundStyle" format="reference" />
366
367        <!-- Reference to a style resource holding
368             the set of window animations to use, which can be
369             any of the attributes defined by
370             {@link android.R.styleable#WindowAnimation}. -->
371        <attr name="windowAnimationStyle" format="reference" />
372
373        <!-- Flag indicating whether this window should have an Action Bar
374             in place of the usual title bar. -->
375        <attr name="windowActionBar" format="boolean" />
376
377        <!-- Flag indicating whether this window's Action Bar should overlay
378             application content. Does nothing if the window would not
379             have an Action Bar. -->
380        <attr name="windowActionBarOverlay" format="boolean" />
381
382        <!-- Flag indicating whether action modes should overlay window content
383             when there is not reserved space for their UI (such as an Action Bar). -->
384        <attr name="windowActionModeOverlay" format="boolean" />
385
386        <!-- Defines the default soft input state that this window would
387             like when it is displayed.  Corresponds
388             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
389        <attr name="windowSoftInputMode">
390            <!-- Not specified, use what the system thinks is best.  This
391                 is the default. -->
392            <flag name="stateUnspecified" value="0" />
393            <!-- Leave the soft input window as-is, in whatever state it
394                 last was. -->
395            <flag name="stateUnchanged" value="1" />
396            <!-- Make the soft input area hidden when normally appropriate
397                 (when the user is navigating forward to your window). -->
398            <flag name="stateHidden" value="2" />
399            <!-- Always make the soft input area hidden when this window
400                 has input focus. -->
401            <flag name="stateAlwaysHidden" value="3" />
402            <!-- Make the soft input area visible when normally appropriate
403                 (when the user is navigating forward to your window). -->
404            <flag name="stateVisible" value="4" />
405            <!-- Always make the soft input area visible when this window
406                 has input focus. -->
407            <flag name="stateAlwaysVisible" value="5" />
408
409            <!-- The window resize/pan adjustment has not been specified,
410                 the system will automatically select between resize and pan
411                 modes, depending
412                 on whether the content of the window has any layout views
413                 that can scroll their contents.  If there is such a view,
414                 then the window will be resized, with the assumption being
415                 that the resizeable area can be reduced to make room for
416                 the input UI. -->
417            <flag name="adjustUnspecified" value="0x00" />
418            <!-- Always resize the window: the content area of the window is
419                 reduced to make room for the soft input area. -->
420            <flag name="adjustResize" value="0x10" />
421            <!-- Don't resize the window to make room for the soft input area;
422                 instead pan the contents of the window as focus moves inside
423                 of it so that the user can see what they are typing.  This is
424                 generally less desireable than panning because the user may
425                 need to close the input area to get at and interact with
426                 parts of the window. -->
427            <flag name="adjustPan" value="0x20" />
428            <!-- Don't resize <em>or</em> pan the window to make room for the
429                 soft input area; the window is never adjusted for it. -->
430            <flag name="adjustNothing" value="0x30" />
431        </attr>
432
433        <!-- Flag allowing you to disable the preview animation for a window.
434             The default value is false; if set to true, the system can never
435             use the window's theme to show a preview of it before your
436             actual instance is shown to the user. -->
437        <attr name="windowDisablePreview" format="boolean" />
438
439        <!-- Flag indicating that this window should not be displayed at all.
440             The default value is false; if set to true, and this window is
441             the main window of an Activity, then it will never actually
442             be added to the window manager.  This means that your activity
443             must immediately quit without waiting for user interaction,
444             because there will be no such interaction coming. -->
445        <attr name="windowNoDisplay" format="boolean" />
446
447        <!-- Flag indicating that this window should allow touches to be split
448             across other windows that also support split touch.
449             The default value is true for applications with a targetSdkVersion
450             of Honeycomb or newer; false otherwise.
451             When this flag is false, the first pointer that goes down determines
452             the window to which all subsequent touches go until all pointers go up.
453             When this flag is true, each pointer (not necessarily the first) that
454             goes down determines the window to which all subsequent touches of that
455             pointer will go until that pointers go up thereby enabling touches
456             with multiple pointers to be split across multiple windows. -->
457        <attr name="windowEnableSplitTouch" format="boolean" />
458
459        <!-- Control whether a container should automatically close itself if
460             the user touches outside of it.  This only applies to activities
461             and dialogs.
462
463             <p>Note: this attribute will only be respected for applications
464             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
465             or later. -->
466        <attr name="windowCloseOnTouchOutside" format="boolean" />
467
468        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
469             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
470        <attr name="windowTranslucentStatus" format="boolean" />
471
472        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
473             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
474        <attr name="windowTranslucentNavigation" format="boolean" />
475
476        <!-- Flag to indicate that a window can be swiped away to be dismissed.
477             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also
478             dynamically change translucency of the window, if the windowIsTranslucent is not set.
479             If windowIsTranslucent is set (to either true or false) it will obey that setting. -->
480        <attr name="windowSwipeToDismiss" format="boolean" />
481
482        <!-- Flag indicating whether this window requests that content changes be performed
483             as scene changes with transitions. Corresponds to
484             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
485        <attr name="windowContentTransitions" format="boolean" />
486
487        <!-- Reference to a TransitionManager XML resource defining the desired
488             transitions between different window content. -->
489        <attr name="windowContentTransitionManager" format="reference" />
490
491        <!-- Flag indicating whether this window allows Activity Transitions.
492             Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. -->
493        <attr name="windowActivityTransitions" format="boolean" />
494
495        <!-- Reference to a Transition XML resource defining the desired Transition
496             used to move Views into the initial Window's content Scene. Corresponds to
497             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
498        <attr name="windowEnterTransition" format="reference"/>
499
500        <!-- Reference to a Transition XML resource defining the desired Transition
501             used to move Views out of the scene when the Window is
502             preparing to close. Corresponds to
503             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
504        <attr name="windowReturnTransition" format="reference"/>
505
506        <!-- Reference to a Transition XML resource defining the desired Transition
507             used to move Views out of the Window's content Scene when launching a new Activity.
508             Corresponds to
509             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
510        <attr name="windowExitTransition" format="reference"/>
511
512        <!-- Reference to a Transition XML resource defining the desired Transition
513             used to move Views in to the scene when returning from a previously-started Activity.
514             Corresponds to
515             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
516        <attr name="windowReenterTransition" format="reference"/>
517
518        <!-- Reference to a Transition XML resource defining the desired Transition
519             used to move shared elements transferred into the Window's initial content Scene.
520             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
521             android.transition.Transition)}. -->
522        <attr name="windowSharedElementEnterTransition" format="reference"/>
523
524        <!-- Reference to a Transition XML resource defining the desired Transition
525             used to move shared elements transferred back to a calling Activity.
526             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
527             android.transition.Transition)}. -->
528        <attr name="windowSharedElementReturnTransition" format="reference"/>
529
530        <!-- Reference to a Transition XML resource defining the desired Transition
531             used when starting a new Activity to move shared elements prior to transferring
532             to the called Activity.
533             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
534             android.transition.Transition)}. -->
535        <attr name="windowSharedElementExitTransition" format="reference"/>
536
537        <!-- Reference to a Transition XML resource defining the desired Transition
538             used for shared elements transferred back to a calling Activity.
539             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
540             android.transition.Transition)}. -->
541        <attr name="windowSharedElementReenterTransition" format="reference"/>
542
543        <!-- Flag indicating whether this Window's transition should overlap with
544             the exiting transition of the calling Activity. Corresponds to
545             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}.
546             The default value is true. -->
547        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
548
549        <!-- Flag indicating whether this Window's transition should overlap with
550             the exiting transition of the called Activity when the called Activity
551             finishes. Corresponds to
552             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}.
553             The default value is true. -->
554        <attr name="windowAllowReturnTransitionOverlap" format="boolean"/>
555
556        <!-- Indicates whether or not shared elements should use an overlay
557             during transitions. The default value is true. -->
558        <attr name="windowSharedElementsUseOverlay" format="boolean"/>
559
560        <!-- Internal layout used internally for window decor -->
561        <attr name="windowActionBarFullscreenDecorLayout" format="reference" />
562
563        <!-- The duration, in milliseconds, of the window background fade duration
564             when transitioning into or away from an Activity when called with an
565             Activity Transition. Corresponds to
566             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
567        <attr name="windowTransitionBackgroundFadeDuration" format="integer"/>
568
569        <!-- ============ -->
570        <!-- Floating toolbar styles -->
571        <!-- ============ -->
572       <eat-comment />
573       <attr name="floatingToolbarCloseDrawable" format="reference" />
574       <attr name="floatingToolbarForegroundColor" format="reference|color" />
575       <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" />
576       <attr name="floatingToolbarItemBackgroundDrawable" format="reference" />
577       <attr name="floatingToolbarOpenDrawable" format="reference" />
578       <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" />
579       <attr name="floatingToolbarDividerColor" format="reference" />
580
581        <!-- ============ -->
582        <!-- Alert Dialog styles -->
583        <!-- ============ -->
584        <eat-comment />
585        <attr name="alertDialogStyle" format="reference" />
586        <attr name="alertDialogButtonGroupStyle" format="reference" />
587        <attr name="alertDialogCenterButtons" format="boolean" />
588
589        <!-- ============== -->
590        <!-- Image elements -->
591        <!-- ============== -->
592        <eat-comment />
593
594        <!-- Background that can be used behind parts of a UI that provide
595             details on data the user is selecting.  For example, this is
596             the background element of PreferenceActivity's embedded
597             preference fragment. -->
598        <attr name="detailsElementBackground" format="reference" />
599
600        <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan.
601             This should be used whenever an app is requesting the user to place a finger on the
602             fingerprint sensor. It can be combined with other drawables such as colored circles, so
603             the appearance matches the branding of the app requesting the fingerprint scan.-->
604        <attr name="fingerprintAuthDrawable" format="reference" />
605
606        <!-- ============ -->
607        <!-- Panel styles -->
608        <!-- ============ -->
609        <eat-comment />
610
611        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
612        <attr name="panelBackground" format="reference|color" />
613        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
614        <attr name="panelFullBackground" format="reference|color" />
615        <!-- Default color of foreground panel imagery. -->
616        <attr name="panelColorForeground" format="reference|color" />
617        <!-- Color that matches (as closely as possible) the panel background. -->
618        <attr name="panelColorBackground" format="reference|color" />
619        <!-- Default appearance of panel text. -->
620        <attr name="panelTextAppearance" format="reference" />
621
622        <attr name="panelMenuIsCompact" format="boolean" />
623        <attr name="panelMenuListWidth" format="dimension" />
624        <attr name="panelMenuListTheme" format="reference" />
625
626        <!-- =================== -->
627        <!-- Other widget styles -->
628        <!-- =================== -->
629        <eat-comment />
630
631        <!-- Default AbsListView style. -->
632        <attr name="absListViewStyle" format="reference" />
633        <!-- Default AutoCompleteTextView style. -->
634        <attr name="autoCompleteTextViewStyle" format="reference" />
635        <!-- Default Checkbox style. -->
636        <attr name="checkboxStyle" format="reference" />
637        <!-- Default CheckedTextView style. -->
638        <attr name="checkedTextViewStyle" format="reference" />
639        <!-- Default ListView style for drop downs. -->
640        <attr name="dropDownListViewStyle" format="reference" />
641        <!-- Default EditText style. -->
642        <attr name="editTextStyle" format="reference" />
643        <!-- Default ExpandableListView style. -->
644        <attr name="expandableListViewStyle" format="reference" />
645        <!-- ExpandableListView with white background. -->
646        <attr name="expandableListViewWhiteStyle" format="reference" />
647        <!-- Default Gallery style. -->
648        <attr name="galleryStyle" format="reference" />
649        <!-- Default GestureOverlayView style. -->
650        <attr name="gestureOverlayViewStyle" format="reference" />
651        <!-- Default GridView style. -->
652        <attr name="gridViewStyle" format="reference" />
653        <!-- The style resource to use for an ImageButton. -->
654        <attr name="imageButtonStyle" format="reference" />
655        <!-- The style resource to use for an ImageButton that is an image well. -->
656        <attr name="imageWellStyle" format="reference" />
657        <!-- Default menu-style ListView style. -->
658        <attr name="listMenuViewStyle" format="reference" />
659        <!-- Default ListView style. -->
660        <attr name="listViewStyle" format="reference" />
661        <!-- ListView with white background. -->
662        <attr name="listViewWhiteStyle" format="reference" />
663        <!-- Default PopupWindow style. -->
664        <attr name="popupWindowStyle" format="reference" />
665        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
666        <attr name="progressBarStyle" format="reference" />
667        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
668        <attr name="progressBarStyleHorizontal" format="reference" />
669        <!-- Small ProgressBar style. This is a small circular progress bar. -->
670        <attr name="progressBarStyleSmall" format="reference" />
671        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
672        <attr name="progressBarStyleSmallTitle" format="reference" />
673        <!-- Large ProgressBar style. This is a large circular progress bar. -->
674        <attr name="progressBarStyleLarge" format="reference" />
675        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
676        <attr name="progressBarStyleInverse" format="reference" />
677        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
678        <attr name="progressBarStyleSmallInverse" format="reference" />
679        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
680        <attr name="progressBarStyleLargeInverse" format="reference" />
681        <!-- Default SeekBar style. -->
682        <attr name="seekBarStyle" format="reference" />
683        <!-- Default RatingBar style. -->
684        <attr name="ratingBarStyle" format="reference" />
685        <!-- Indicator RatingBar style. -->
686        <attr name="ratingBarStyleIndicator" format="reference" />
687        <!-- Small indicator RatingBar style. -->
688        <attr name="ratingBarStyleSmall" format="reference" />
689        <!-- Default RadioButton style. -->
690        <attr name="radioButtonStyle" format="reference" />
691        <!-- Default ScrollView style. -->
692        <attr name="scrollViewStyle" format="reference" />
693        <!-- Default HorizontalScrollView style. -->
694        <attr name="horizontalScrollViewStyle" format="reference" />
695        <!-- Default Spinner style. -->
696        <attr name="spinnerStyle" format="reference" />
697        <!-- Default dropdown Spinner style. -->
698        <attr name="dropDownSpinnerStyle" format="reference" />
699        <!-- Default ActionBar dropdown style. -->
700        <attr name="actionDropDownStyle" format="reference" />
701        <!-- Default action button style. -->
702        <attr name="actionButtonStyle" format="reference" />
703        <!-- Default Star style. -->
704        <attr name="starStyle" format="reference" />
705        <!-- Default TabWidget style. -->
706        <attr name="tabWidgetStyle" format="reference" />
707        <!-- Default TextView style. -->
708        <attr name="textViewStyle" format="reference" />
709        <!-- Default WebTextView style. -->
710        <attr name="webTextViewStyle" format="reference" />
711        <!-- Default WebView style. -->
712        <attr name="webViewStyle" format="reference" />
713        <!-- Default style for drop down items. -->
714        <attr name="dropDownItemStyle" format="reference" />
715         <!-- Default style for spinner drop down items. -->
716        <attr name="spinnerDropDownItemStyle" format="reference" />
717        <!-- Default style for drop down hints. -->
718        <attr name="dropDownHintAppearance" format="reference" />
719        <!-- Default spinner item style. -->
720        <attr name="spinnerItemStyle" format="reference" />
721        <!-- Default MapView style. -->
722        <attr name="mapViewStyle" format="reference" />
723        <!-- Drawable used as an overlay on top of quickcontact photos. -->
724        <attr name="quickContactBadgeOverlay" format="reference" />
725        <!-- Default quickcontact badge style with small quickcontact window. -->
726        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
727        <!-- Default quickcontact badge style with medium quickcontact window. -->
728        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
729        <!-- Default quickcontact badge style with large quickcontact window. -->
730        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
731        <!-- Default quickcontact badge style with small quickcontact window. -->
732        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
733        <!-- Default quickcontact badge style with medium quickcontact window. -->
734        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
735        <!-- Default quickcontact badge style with large quickcontact window. -->
736        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
737        <!-- Reference to a style that will be used for the window containing a text
738             selection anchor. -->
739        <attr name="textSelectHandleWindowStyle" format="reference" />
740        <!-- Reference to a style that will be used for the window containing a list of possible
741             text suggestions in an EditText. -->
742        <attr name="textSuggestionsWindowStyle" format="reference" />
743        <!-- Default ListPopupWindow style. -->
744        <attr name="listPopupWindowStyle" format="reference" />
745        <!-- Default PopupMenu style. -->
746        <attr name="popupMenuStyle" format="reference" />
747        <!-- Default context menu PopupMenu style. -->
748        <attr name="contextPopupMenuStyle" format="reference" />
749        <!-- Default StackView style. -->
750        <attr name="stackViewStyle" format="reference" />
751
752        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
753             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
754        <attr name="fragmentBreadCrumbsStyle" format="reference" />
755
756        <!-- NumberPicker style. -->
757        <attr name="numberPickerStyle" format="reference" />
758
759        <!-- The CalendarView style. -->
760        <attr name="calendarViewStyle" format="reference" />
761
762        <!-- The TimePicker style. -->
763        <attr name="timePickerStyle" format="reference" />
764
765        <!-- The TimePicker dialog theme. -->
766        <attr name="timePickerDialogTheme" format="reference" />
767
768        <!-- The DatePicker style. -->
769        <attr name="datePickerStyle" format="reference" />
770
771        <!-- The DatePicker dialog theme. -->
772        <attr name="datePickerDialogTheme" format="reference" />
773
774        <!-- Default ActivityChooserView style. -->
775        <attr name="activityChooserViewStyle" format="reference" />
776
777        <!-- Default Toolbar style. -->
778        <attr name="toolbarStyle" format="reference" />
779
780        <!-- Fast scroller styles -->
781        <eat-comment />
782
783        <!-- Drawable to use as the fast scroll thumb. -->
784        <attr name="fastScrollThumbDrawable" format="reference" />
785        <!-- Drawable to use as the fast scroll index preview window background
786             when shown on the right. -->
787        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
788        <!-- Drawable to use as the fast scroll index preview window background
789             when shown on the left. -->
790        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
791        <!-- Drawable to use as the track for the fast scroll thumb.
792             This may be null. -->
793        <attr name="fastScrollTrackDrawable" format="reference" />
794        <!-- Position of the fast scroll index overlay window. -->
795        <attr name="fastScrollOverlayPosition">
796            <enum name="floating" value="0" />
797            <enum name="atThumb" value="1" />
798            <enum name="aboveThumb" value="2" />
799        </attr>
800        <!-- Text color for the fast scroll index overlay. Make sure it
801             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
802        <attr name="fastScrollTextColor" format="color" />
803
804        <!-- =================== -->
805        <!-- Action bar styles   -->
806        <!-- =================== -->
807        <eat-comment />
808        <!-- Default style for tabs within an action bar. -->
809        <attr name="actionBarTabStyle" format="reference" />
810        <!-- Reference to a style for the Action Bar Tab Bar. -->
811        <attr name="actionBarTabBarStyle" format="reference" />
812        <!-- Reference to a style for the Action Bar Tab text. -->
813        <attr name="actionBarTabTextStyle" format="reference" />
814        <!-- Reference to a style for Action Bar overflow buttons. -->
815        <attr name="actionOverflowButtonStyle" format="reference" />
816        <!-- Reference to a style for the Action Bar menu. -->
817        <attr name="actionOverflowMenuStyle" format="reference" />
818        <!-- Reference to a theme that should be used to inflate popups
819             shown by widgets in the action bar. -->
820        <attr name="actionBarPopupTheme" format="reference" />
821        <!-- Reference to a style for the Action Bar. -->
822        <attr name="actionBarStyle" format="reference" />
823        <!-- Reference to a style for the split Action Bar. This style
824             controls the split component that holds the menu/action
825             buttons. actionBarStyle is still used for the primary
826             bar. -->
827        <attr name="actionBarSplitStyle" format="reference" />
828        <!-- Reference to a theme that should be used to inflate the
829             action bar. This will be inherited by any widget inflated
830             into the action bar. -->
831        <attr name="actionBarTheme" format="reference" />
832        <!-- Reference to a theme that should be used to inflate widgets
833             and layouts destined for the action bar. Most of the time
834             this will be a reference to the current theme, but when
835             the action bar has a significantly different contrast
836             profile than the rest of the activity the difference
837             can become important. If this is set to @null the current
838             theme will be used.-->
839        <attr name="actionBarWidgetTheme" format="reference" />
840        <!-- Size of the Action Bar, including the contextual
841             bar used to present Action Modes. -->
842        <attr name="actionBarSize" format="dimension" >
843            <enum name="wrap_content" value="0" />
844        </attr>
845        <!-- Custom divider drawable to use for elements in the action bar. -->
846        <attr name="actionBarDivider" format="reference" />
847        <!-- Custom item state list drawable background for action bar items. -->
848        <attr name="actionBarItemBackground" format="reference" />
849        <!-- TextAppearance style that will be applied to text that
850             appears within action menu items. -->
851        <attr name="actionMenuTextAppearance" format="reference" />
852        <!-- Color for text that appears within action menu items. -->
853        <attr name="actionMenuTextColor" format="color|reference" />
854
855        <!-- =================== -->
856        <!-- Action mode styles  -->
857        <!-- =================== -->
858        <eat-comment />
859        <!-- Reference to a style for the Action Mode. -->
860        <attr name="actionModeStyle" format="reference" />
861        <!-- Reference to a style for the Action Mode close button. -->
862        <attr name="actionModeCloseButtonStyle" format="reference" />
863        <!-- Background drawable to use for action mode UI. -->
864        <attr name="actionModeBackground" format="reference" />
865        <!-- Background drawable to use for action mode UI in the lower split bar. -->
866        <attr name="actionModeSplitBackground" format="reference" />
867        <!-- Drawable to use for the close action mode button. -->
868        <attr name="actionModeCloseDrawable" format="reference" />
869
870        <!-- Drawable to use for the Cut action button in Contextual Action Bar. -->
871        <attr name="actionModeCutDrawable" format="reference" />
872        <!-- Drawable to use for the Copy action button in Contextual Action Bar. -->
873        <attr name="actionModeCopyDrawable" format="reference" />
874        <!-- Drawable to use for the Paste action button in Contextual Action Bar. -->
875        <attr name="actionModePasteDrawable" format="reference" />
876        <!-- Drawable to use for the Select all action button in Contextual Action Bar. -->
877        <attr name="actionModeSelectAllDrawable" format="reference" />
878        <!-- Drawable to use for the Share action button in WebView selection action modes. -->
879        <attr name="actionModeShareDrawable" format="reference" />
880        <!-- Drawable to use for the Find action button in WebView selection action modes. -->
881        <attr name="actionModeFindDrawable" format="reference" />
882        <!-- Drawable to use for the Web Search action button in WebView selection action modes. -->
883        <attr name="actionModeWebSearchDrawable" format="reference" />
884
885        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
886        <attr name="actionModePopupWindowStyle" format="reference" />
887
888        <!-- =================== -->
889        <!-- Preference styles   -->
890        <!-- =================== -->
891        <eat-comment />
892
893        <!-- Default style for PreferenceScreen. -->
894        <attr name="preferenceScreenStyle" format="reference" />
895        <!-- Default style for the PreferenceActivity. -->
896        <attr name="preferenceActivityStyle" format="reference" />
897        <!-- Default style for Headers pane in PreferenceActivity. -->
898        <attr name="preferenceFragmentStyle" format="reference" />
899        <!-- Default style for PreferenceCategory. -->
900        <attr name="preferenceCategoryStyle" format="reference" />
901        <!-- Default style for Preference. -->
902        <attr name="preferenceStyle" format="reference" />
903        <!-- Default style for informational Preference. -->
904        <attr name="preferenceInformationStyle" format="reference" />
905        <!-- Default style for CheckBoxPreference. -->
906        <attr name="checkBoxPreferenceStyle" format="reference" />
907        <!-- Default style for YesNoPreference. -->
908        <attr name="yesNoPreferenceStyle" format="reference" />
909        <!-- Default style for DialogPreference. -->
910        <attr name="dialogPreferenceStyle" format="reference" />
911        <!-- Default style for EditTextPreference. -->
912        <attr name="editTextPreferenceStyle" format="reference" />
913        <!-- @hide Default style for SeekBarDialogPreference. -->
914        <attr name="seekBarDialogPreferenceStyle" format="reference" />
915        <!-- Default style for RingtonePreference. -->
916        <attr name="ringtonePreferenceStyle" format="reference" />
917        <!-- The preference layout that has the child/tabbed effect. -->
918        <attr name="preferenceLayoutChild" format="reference" />
919        <!-- Preference panel style -->
920        <attr name="preferencePanelStyle" format="reference" />
921        <!-- Preference headers panel style -->
922        <attr name="preferenceHeaderPanelStyle" format="reference" />
923        <!-- Preference list style -->
924        <attr name="preferenceListStyle" format="reference" />
925        <!-- Preference fragment list style -->
926        <attr name="preferenceFragmentListStyle" format="reference" />
927        <!-- Preference fragment padding side -->
928        <attr name="preferenceFragmentPaddingSide" format="dimension" />
929        <!-- Default style for switch preferences. -->
930        <attr name="switchPreferenceStyle" format="reference" />
931        <!-- Default style for seekbar preferences. -->
932        <attr name="seekBarPreferenceStyle" format="reference" />
933
934        <!-- ============================ -->
935        <!-- Text selection handle styles -->
936        <!-- ============================ -->
937        <eat-comment />
938
939        <!-- Reference to a drawable that will be used to display a text selection
940             anchor on the left side of a selection region. -->
941        <attr name="textSelectHandleLeft" format="reference" />
942        <!-- Reference to a drawable that will be used to display a text selection
943             anchor on the right side of a selection region. -->
944        <attr name="textSelectHandleRight" format="reference" />
945        <!-- Reference to a drawable that will be used to display a text selection
946             anchor for positioning the cursor within text. -->
947        <attr name="textSelectHandle" format="reference" />
948        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
949             TextEdit field. -->
950        <attr name="textEditPasteWindowLayout" format="reference" />
951        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
952        <attr name="textEditNoPasteWindowLayout" format="reference" />
953        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
954             insertion cursor because it would be clipped if it were positioned on top. -->
955        <attr name="textEditSidePasteWindowLayout" format="reference" />
956        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
957        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
958
959        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
960        <attr name="textEditSuggestionItemLayout" format="reference" />
961        <!-- Layout of the container of the suggestion popup window. -->
962        <attr name="textEditSuggestionContainerLayout" format="reference" />
963        <!-- Text appearance of the focused words to be replaced by suggested word. -->
964        <attr name="textEditSuggestionHighlightStyle" format="reference" />
965
966        <!-- Theme to use for dialogs spawned from this theme. -->
967        <attr name="dialogTheme" format="reference" />
968        <!-- Window decor layout to use in dialog mode with icons. -->
969        <attr name="dialogTitleIconsDecorLayout" format="reference" />
970        <!-- Window decor layout to use in dialog mode with custom titles. -->
971        <attr name="dialogCustomTitleDecorLayout" format="reference" />
972        <!-- Window decor layout to use in dialog mode with title only. -->
973        <attr name="dialogTitleDecorLayout" format="reference" />
974        <!-- Preferred padding for dialog content. -->
975        <attr name="dialogPreferredPadding" format="dimension" />
976
977        <!-- Theme to use for alert dialogs spawned from this theme. -->
978        <attr name="alertDialogTheme" format="reference" />
979        <!-- Icon drawable to use for alerts. -->
980        <attr name="alertDialogIcon" format="reference" />
981
982        <!-- Theme to use for presentations spawned from this theme. -->
983        <attr name="presentationTheme" format="reference" />
984
985        <!-- Drawable to use for generic vertical dividers. -->
986        <attr name="dividerVertical" format="reference" />
987
988        <!-- Drawable to use for generic horizontal dividers. -->
989        <attr name="dividerHorizontal" format="reference" />
990
991        <!-- Style for button bars. -->
992        <attr name="buttonBarStyle" format="reference" />
993
994        <!-- Style for buttons within button bars. -->
995        <attr name="buttonBarButtonStyle" format="reference" />
996
997        <!-- Style for the "positive" buttons within button bars. -->
998        <attr name="buttonBarPositiveButtonStyle" format="reference" />
999
1000        <!-- Style for the "negative" buttons within button bars. -->
1001        <attr name="buttonBarNegativeButtonStyle" format="reference" />
1002
1003        <!-- Style for the "neutral" buttons within button bars. -->
1004        <attr name="buttonBarNeutralButtonStyle" format="reference" />
1005
1006        <!-- Style for the search query widget. -->
1007        <attr name="searchViewStyle" format="reference" />
1008
1009        <!-- Style for segmented buttons - a container that houses several buttons
1010             with the appearance of a singel button broken into segments. -->
1011        <attr name="segmentedButtonStyle" format="reference" />
1012
1013        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
1014        <attr name="selectableItemBackground" format="reference" />
1015
1016        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
1017        <attr name="selectableItemBackgroundBorderless" format="reference" />
1018
1019        <!-- Style for buttons without an explicit border, often used in groups. -->
1020        <attr name="borderlessButtonStyle" format="reference" />
1021
1022        <!-- Background to use for toasts. -->
1023        <attr name="toastFrameBackground" format="reference" />
1024
1025        <!-- Background to use for tooltip popups. -->
1026        <attr name="tooltipFrameBackground" format="reference" />
1027
1028        <!-- Foreground color to use for tooltip popups. -->
1029        <attr name="tooltipForegroundColor" format="reference|color" />
1030
1031        <!-- Background color to use for tooltip popups. -->
1032        <attr name="tooltipBackgroundColor" format="reference|color" />
1033
1034        <!-- Theme to use for Search Dialogs. -->
1035        <attr name="searchDialogTheme" format="reference" />
1036
1037        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
1038        <attr name="homeAsUpIndicator" format="reference" />
1039
1040        <!-- Preference frame layout styles. -->
1041        <attr name="preferenceFrameLayoutStyle" format="reference" />
1042
1043        <!-- Default style for the Switch widget. -->
1044        <attr name="switchStyle" format="reference" />
1045
1046        <!-- Default style for the MediaRouteButton widget. -->
1047        <attr name="mediaRouteButtonStyle" format="reference" />
1048
1049        <!-- ============== -->
1050        <!-- Pointer styles -->
1051        <!-- ============== -->
1052        <eat-comment />
1053
1054        <!-- The drawable for accessibility focused views. -->
1055        <attr name="accessibilityFocusedDrawable" format="reference" />
1056
1057        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1058        <attr name="findOnPageNextDrawable" format="reference" />
1059
1060        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1061        <attr name="findOnPagePreviousDrawable" format="reference" />
1062
1063        <!-- ============= -->
1064        <!-- Color palette -->
1065        <!-- ============= -->
1066        <eat-comment />
1067
1068        <!-- The primary branding color for the app. By default, this is the color applied to the
1069             action bar background. -->
1070        <attr name="colorPrimary" format="color" />
1071
1072        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1073             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1074        <attr name="colorPrimaryDark" format="color" />
1075
1076        <!-- The secondary branding color for the app. -->
1077        <attr name="colorSecondary" format="color" />
1078
1079        <!-- Bright complement to the primary branding color. By default, this is the color applied
1080             to framework controls (via colorControlActivated). -->
1081        <attr name="colorAccent" format="color" />
1082
1083        <!-- The color applied to framework controls in their normal state. -->
1084        <attr name="colorControlNormal" format="color" />
1085
1086        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1087        <attr name="colorControlActivated" format="color" />
1088
1089        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1090        <attr name="colorControlHighlight" format="color" />
1091
1092        <!-- The color applied to framework buttons in their normal state. -->
1093        <attr name="colorButtonNormal" format="color" />
1094
1095        <!-- The color applied to framework switch thumbs in their normal state. -->
1096        <attr name="colorSwitchThumbNormal" format="color" />
1097
1098        <!-- The color applied to the edge effect on scrolling containers. -->
1099        <attr name="colorEdgeEffect" format="color" />
1100
1101        <!-- =================== -->
1102        <!-- Lighting properties -->
1103        <!-- =================== -->
1104        <eat-comment />
1105
1106        <!-- @hide The default Y position of the light used to project view shadows. -->
1107        <attr name="lightY" format="dimension" />
1108
1109        <!-- @hide The default Z position of the light used to project view shadows. -->
1110        <attr name="lightZ" format="dimension" />
1111
1112        <!-- @hide The default radius of the light used to project view shadows. -->
1113        <attr name="lightRadius" format="dimension" />
1114
1115        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1116        <attr name="ambientShadowAlpha" format="float" />
1117
1118        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1119        <attr name="spotShadowAlpha" format="float" />
1120    </declare-styleable>
1121
1122    <!-- **************************************************************** -->
1123    <!-- Other non-theme attributes. -->
1124    <!-- **************************************************************** -->
1125    <eat-comment />
1126
1127    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1128         Supported values include the following:<p/>
1129    <ul>
1130        <li><b>px</b> Pixels</li>
1131        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1132        <li><b>pt</b> Points</li>
1133        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1134    </ul>
1135        -->
1136    <attr name="textSize" format="dimension" />
1137
1138    <!-- Default font family. -->
1139    <attr name="fontFamily" format="string" />
1140
1141    <!-- Default text typeface. -->
1142    <attr name="typeface">
1143        <enum name="normal" value="0" />
1144        <enum name="sans" value="1" />
1145        <enum name="serif" value="2" />
1146        <enum name="monospace" value="3" />
1147    </attr>
1148
1149    <!-- Default text typeface style. -->
1150    <attr name="textStyle">
1151        <flag name="normal" value="0" />
1152        <flag name="bold" value="1" />
1153        <flag name="italic" value="2" />
1154    </attr>
1155
1156    <!-- Color of text (usually same as colorForeground). -->
1157    <attr name="textColor" format="reference|color" />
1158
1159    <!-- Color of highlighted text. -->
1160    <attr name="textColorHighlight" format="reference|color" />
1161
1162    <!-- Color of hint text (displayed when the field is empty). -->
1163    <attr name="textColorHint" format="reference|color" />
1164
1165    <!-- Color of link text (URLs). -->
1166    <attr name="textColorLink" format="reference|color" />
1167
1168    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1169    <attr name="textCursorDrawable" format="reference" />
1170
1171    <!-- Indicates that the content of a non-editable TextView can be selected.
1172     Default value is false. EditText content is always selectable. -->
1173    <attr name="textIsSelectable" format="boolean" />
1174
1175    <!-- Where to ellipsize text. -->
1176    <attr name="ellipsize">
1177        <enum name="none" value="0" />
1178        <enum name="start" value="1" />
1179        <enum name="middle" value="2" />
1180        <enum name="end" value="3" />
1181        <enum name="marquee" value="4" />
1182    </attr>
1183
1184    <!-- The type of data being placed in a text field, used to help an
1185         input method decide how to let the user enter text.  The constants
1186         here correspond to those defined by
1187         {@link android.text.InputType}.  Generally you can select
1188         a single value, though some can be combined together as
1189         indicated.  Setting this attribute to anything besides
1190         <var>none</var> also implies that the text is editable. -->
1191    <attr name="inputType">
1192        <!-- There is no content type.  The text is not editable. -->
1193        <flag name="none" value="0x00000000" />
1194        <!-- Just plain old text.  Corresponds to
1195             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1196             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1197        <flag name="text" value="0x00000001" />
1198        <!-- Can be combined with <var>text</var> and its variations to
1199             request capitalization of all characters.  Corresponds to
1200             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1201        <flag name="textCapCharacters" value="0x00001001" />
1202        <!-- Can be combined with <var>text</var> and its variations to
1203             request capitalization of the first character of every word.  Corresponds to
1204             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1205        <flag name="textCapWords" value="0x00002001" />
1206        <!-- Can be combined with <var>text</var> and its variations to
1207             request capitalization of the first character of every sentence.  Corresponds to
1208             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1209        <flag name="textCapSentences" value="0x00004001" />
1210        <!-- Can be combined with <var>text</var> and its variations to
1211             request auto-correction of text being input.  Corresponds to
1212             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1213        <flag name="textAutoCorrect" value="0x00008001" />
1214        <!-- Can be combined with <var>text</var> and its variations to
1215             specify that this field will be doing its own auto-completion and
1216             talking with the input method appropriately.  Corresponds to
1217             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1218        <flag name="textAutoComplete" value="0x00010001" />
1219        <!-- Can be combined with <var>text</var> and its variations to
1220             allow multiple lines of text in the field.  If this flag is not set,
1221             the text field will be constrained to a single line.  Corresponds to
1222             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1223        <flag name="textMultiLine" value="0x00020001" />
1224        <!-- Can be combined with <var>text</var> and its variations to
1225             indicate that though the regular text view should not be multiple
1226             lines, the IME should provide multiple lines if it can.  Corresponds to
1227             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1228        <flag name="textImeMultiLine" value="0x00040001" />
1229        <!-- Can be combined with <var>text</var> and its variations to
1230             indicate that the IME should not show any
1231             dictionary-based word suggestions.  Corresponds to
1232             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1233        <flag name="textNoSuggestions" value="0x00080001" />
1234        <!-- Text that will be used as a URI.  Corresponds to
1235             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1236             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1237        <flag name="textUri" value="0x00000011" />
1238        <!-- Text that will be used as an e-mail address.  Corresponds to
1239             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1240             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1241        <flag name="textEmailAddress" value="0x00000021" />
1242        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1243             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1244             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1245        <flag name="textEmailSubject" value="0x00000031" />
1246        <!-- Text that is the content of a short message.  Corresponds to
1247             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1248             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1249        <flag name="textShortMessage" value="0x00000041" />
1250        <!-- Text that is the content of a long message.  Corresponds to
1251             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1252             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1253        <flag name="textLongMessage" value="0x00000051" />
1254        <!-- Text that is the name of a person.  Corresponds to
1255             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1256             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1257        <flag name="textPersonName" value="0x00000061" />
1258        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1259             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1260             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1261        <flag name="textPostalAddress" value="0x00000071" />
1262        <!-- Text that is a password.  Corresponds to
1263             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1264             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1265        <flag name="textPassword" value="0x00000081" />
1266        <!-- Text that is a password that should be visible.  Corresponds to
1267             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1268             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1269        <flag name="textVisiblePassword" value="0x00000091" />
1270        <!-- Text that is being supplied as text in a web form.  Corresponds to
1271             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1272             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1273        <flag name="textWebEditText" value="0x000000a1" />
1274        <!-- Text that is filtering some other data.  Corresponds to
1275             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1276             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1277        <flag name="textFilter" value="0x000000b1" />
1278        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1279             field in a contact entry.  Corresponds to
1280             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1281             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1282        <flag name="textPhonetic" value="0x000000c1" />
1283        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1284             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1285             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1286        <flag name="textWebEmailAddress" value="0x000000d1" />
1287        <!-- Text that will be used as a password on a web form.  Corresponds to
1288             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1289             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1290        <flag name="textWebPassword" value="0x000000e1" />
1291        <!-- A numeric only field.  Corresponds to
1292             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1293             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1294        <flag name="number" value="0x00000002" />
1295        <!-- Can be combined with <var>number</var> and its other options to
1296             allow a signed number.  Corresponds to
1297             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1298             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1299        <flag name="numberSigned" value="0x00001002" />
1300        <!-- Can be combined with <var>number</var> and its other options to
1301             allow a decimal (fractional) number.  Corresponds to
1302             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1303             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1304        <flag name="numberDecimal" value="0x00002002" />
1305        <!-- A numeric password field.  Corresponds to
1306             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1307             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1308        <flag name="numberPassword" value="0x00000012" />
1309        <!-- For entering a phone number.  Corresponds to
1310             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1311        <flag name="phone" value="0x00000003" />
1312        <!-- For entering a date and time.  Corresponds to
1313             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1314             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1315        <flag name="datetime" value="0x00000004" />
1316        <!-- For entering a date.  Corresponds to
1317             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1318             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1319        <flag name="date" value="0x00000014" />
1320        <!-- For entering a time.  Corresponds to
1321             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1322             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1323        <flag name="time" value="0x00000024" />
1324    </attr>
1325
1326    <!-- Additional features you can enable in an IME associated with an editor
1327         to improve the integration with your application.  The constants
1328         here correspond to those defined by
1329         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1330    <attr name="imeOptions">
1331        <!-- There are no special semantics associated with this editor. -->
1332        <flag name="normal" value="0x00000000" />
1333        <!-- There is no specific action associated with this editor, let the
1334             editor come up with its own if it can.
1335             Corresponds to
1336             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1337        <flag name="actionUnspecified" value="0x00000000" />
1338        <!-- This editor has no action associated with it.
1339             Corresponds to
1340             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1341        <flag name="actionNone" value="0x00000001" />
1342        <!-- The action key performs a "go"
1343             operation to take the user to the target of the text they typed.
1344             Typically used, for example, when entering a URL.
1345             Corresponds to
1346             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1347        <flag name="actionGo" value="0x00000002" />
1348        <!-- The action key performs a "search"
1349             operation, taking the user to the results of searching for the text
1350             the have typed (in whatever context is appropriate).
1351             Corresponds to
1352             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1353        <flag name="actionSearch" value="0x00000003" />
1354        <!-- The action key performs a "send"
1355             operation, delivering the text to its target.  This is typically used
1356             when composing a message.
1357             Corresponds to
1358             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1359        <flag name="actionSend" value="0x00000004" />
1360        <!-- The action key performs a "next"
1361             operation, taking the user to the next field that will accept text.
1362             Corresponds to
1363             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1364        <flag name="actionNext" value="0x00000005" />
1365        <!-- The action key performs a "done"
1366             operation, closing the soft input method.
1367             Corresponds to
1368             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1369        <flag name="actionDone" value="0x00000006" />
1370        <!-- The action key performs a "previous"
1371             operation, taking the user to the previous field that will accept text.
1372             Corresponds to
1373             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1374        <flag name="actionPrevious" value="0x00000007" />
1375        <!-- Used to request that the IME should not update any personalized data such as typing
1376             history and personalized language model based on what the user typed on this text
1377             editing object. Typical use cases are:
1378             <ul>
1379                 <li>When the application is in a special mode, where user's activities are expected
1380                 to be not recorded in the application's history. Some web browsers and chat
1381                 applications may have this kind of modes.</li>
1382                 <li>When storing typing history does not make much sense.  Specifying this flag in
1383                 typing games may help to avoid typing history from being filled up with words that
1384                 the user is less likely to type in their daily life.  Another example is that when
1385                 the application already knows that the expected input is not a valid word (e.g. a
1386                 promotion code that is not a valid word in any natural language).</li>
1387             </ul>
1388             <p>Applications need to be aware that the flag is not a guarantee, and some IMEs may
1389             not respect it.</p> -->
1390        <flag name="flagNoPersonalizedLearning" value="0x1000000" />
1391        <!-- Used to request that the IME never go
1392             into fullscreen mode.  Applications need to be aware that the flag is not
1393             a guarantee, and not all IMEs will respect it.
1394             <p>Corresponds to
1395             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1396        <flag name="flagNoFullscreen" value="0x2000000" />
1397        <!-- Like flagNavigateNext, but
1398             specifies there is something interesting that a backward navigation
1399             can focus on.  If the user selects the IME's facility to backward
1400             navigate, this will show up in the application as an actionPrevious
1401             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1402             InputConnection.performEditorAction(int)}.
1403             <p>Corresponds to
1404             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1405        <flag name="flagNavigatePrevious" value="0x4000000" />
1406        <!-- Used to specify that there is something
1407             interesting that a forward navigation can focus on. This is like using
1408             actionNext, except allows the IME to be multiline (with
1409             an enter key) as well as provide forward navigation.  Note that some
1410             IMEs may not be able to do this, especially when running on a small
1411             screen where there is little space.  In that case it does not need to
1412             present a UI for this option.  Like actionNext, if the
1413             user selects the IME's facility to forward navigate, this will show up
1414             in the application at
1415             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1416             InputConnection.performEditorAction(int)}.
1417             <p>Corresponds to
1418             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1419        <flag name="flagNavigateNext" value="0x8000000" />
1420        <!-- Used to specify that the IME does not need
1421             to show its extracted text UI.  For input methods that may be fullscreen,
1422             often when in landscape mode, this allows them to be smaller and let part
1423             of the application be shown behind.  Though there will likely be limited
1424             access to the application available from the user, it can make the
1425             experience of a (mostly) fullscreen IME less jarring.  Note that when
1426             this flag is specified the IME may <em>not</em> be set up to be able
1427             to display text, so it should only be used in situations where this is
1428             not needed.
1429             <p>Corresponds to
1430             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1431        <flag name="flagNoExtractUi" value="0x10000000" />
1432        <!-- Used in conjunction with a custom action, this indicates that the
1433             action should not be available as an accessory button when the
1434             input method is full-screen.
1435             Note that by setting this flag, there can be cases where the action
1436             is simply never available to the user.  Setting this generally means
1437             that you think showing text being edited is more important than the
1438             action you have supplied.
1439             <p>Corresponds to
1440             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1441        <flag name="flagNoAccessoryAction" value="0x20000000" />
1442        <!-- Used in conjunction with a custom action,
1443             this indicates that the action should not be available in-line as
1444             a replacement for the "enter" key.  Typically this is
1445             because the action has such a significant impact or is not recoverable
1446             enough that accidentally hitting it should be avoided, such as sending
1447             a message.    Note that {@link android.widget.TextView} will
1448             automatically set this flag for you on multi-line text views.
1449             <p>Corresponds to
1450             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1451        <flag name="flagNoEnterAction" value="0x40000000" />
1452        <!-- Used to request that the IME should be capable of inputting ASCII
1453             characters.  The intention of this flag is to ensure that the user
1454             can type Roman alphabet characters in a {@link android.widget.TextView}
1455             used for, typically, account ID or password input.  It is expected that IMEs
1456             normally are able to input ASCII even without being told so (such IMEs
1457             already respect this flag in a sense), but there could be some cases they
1458             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1459             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1460             aware that the flag is not a guarantee, and not all IMEs will respect it.
1461             However, it is strongly recommended for IME authors to respect this flag
1462             especially when their IME could end up with a state that has only non-ASCII
1463             input languages enabled.
1464             <p>Corresponds to
1465             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1466        <flag name="flagForceAscii" value="0x80000000" />
1467    </attr>
1468
1469    <!-- A coordinate in the X dimension. -->
1470    <attr name="x" format="dimension" />
1471    <!-- A coordinate in the Y dimension. -->
1472    <attr name="y" format="dimension" />
1473
1474    <!-- Specifies how an object should position its content, on both the X and Y axes,
1475         within its own bounds.  -->
1476    <attr name="gravity">
1477        <!-- Push object to the top of its container, not changing its size. -->
1478        <flag name="top" value="0x30" />
1479        <!-- Push object to the bottom of its container, not changing its size. -->
1480        <flag name="bottom" value="0x50" />
1481        <!-- Push object to the left of its container, not changing its size. -->
1482        <flag name="left" value="0x03" />
1483        <!-- Push object to the right of its container, not changing its size. -->
1484        <flag name="right" value="0x05" />
1485        <!-- Place object in the vertical center of its container, not changing its size. -->
1486        <flag name="center_vertical" value="0x10" />
1487        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1488        <flag name="fill_vertical" value="0x70" />
1489        <!-- Place object in the horizontal center of its container, not changing its size. -->
1490        <flag name="center_horizontal" value="0x01" />
1491        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1492        <flag name="fill_horizontal" value="0x07" />
1493        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1494        <flag name="center" value="0x11" />
1495        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1496        <flag name="fill" value="0x77" />
1497        <!-- Additional option that can be set to have the top and/or bottom edges of
1498             the child clipped to its container's bounds.
1499             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1500             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1501        <flag name="clip_vertical" value="0x80" />
1502        <!-- Additional option that can be set to have the left and/or right edges of
1503             the child clipped to its container's bounds.
1504             The clip will be based on the horizontal gravity: a left gravity will clip the right
1505             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1506        <flag name="clip_horizontal" value="0x08" />
1507        <!-- Push object to the beginning of its container, not changing its size. -->
1508        <flag name="start" value="0x00800003" />
1509        <!-- Push object to the end of its container, not changing its size. -->
1510        <flag name="end" value="0x00800005" />
1511    </attr>
1512
1513    <!-- Controls whether links such as urls and email addresses are
1514         automatically found and converted to clickable links.  The default
1515         value is "none", disabling this feature. -->
1516    <attr name="autoLink">
1517        <!-- Match no patterns (default). -->
1518        <flag name="none" value="0x00" />
1519        <!-- Match Web URLs. -->
1520        <flag name="web" value="0x01" />
1521        <!-- Match email addresses. -->
1522        <flag name="email" value="0x02" />
1523        <!-- Match phone numbers. -->
1524        <flag name="phone" value="0x04" />
1525        <!-- Match map addresses. -->
1526        <flag name="map" value="0x08" />
1527        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1528        <flag name="all" value="0x0f" />
1529    </attr>
1530
1531    <!-- Reference to an array resource that will populate a list/adapter. -->
1532    <attr name="entries" format="reference" />
1533
1534    <!-- Standard gravity constant that a child supplies to its parent.
1535         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1536    <attr name="layout_gravity">
1537        <!-- Push object to the top of its container, not changing its size. -->
1538        <flag name="top" value="0x30" />
1539        <!-- Push object to the bottom of its container, not changing its size. -->
1540        <flag name="bottom" value="0x50" />
1541        <!-- Push object to the left of its container, not changing its size. -->
1542        <flag name="left" value="0x03" />
1543        <!-- Push object to the right of its container, not changing its size. -->
1544        <flag name="right" value="0x05" />
1545        <!-- Place object in the vertical center of its container, not changing its size. -->
1546        <flag name="center_vertical" value="0x10" />
1547        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1548        <flag name="fill_vertical" value="0x70" />
1549        <!-- Place object in the horizontal center of its container, not changing its size. -->
1550        <flag name="center_horizontal" value="0x01" />
1551        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1552        <flag name="fill_horizontal" value="0x07" />
1553        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1554        <flag name="center" value="0x11" />
1555        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1556        <flag name="fill" value="0x77" />
1557        <!-- Additional option that can be set to have the top and/or bottom edges of
1558             the child clipped to its container's bounds.
1559             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1560             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1561        <flag name="clip_vertical" value="0x80" />
1562        <!-- Additional option that can be set to have the left and/or right edges of
1563             the child clipped to its container's bounds.
1564             The clip will be based on the horizontal gravity: a left gravity will clip the right
1565             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1566        <flag name="clip_horizontal" value="0x08" />
1567        <!-- Push object to the beginning of its container, not changing its size. -->
1568        <flag name="start" value="0x00800003" />
1569        <!-- Push object to the end of its container, not changing its size. -->
1570        <flag name="end" value="0x00800005" />
1571    </attr>
1572
1573    <!-- Standard orientation constant. -->
1574    <attr name="orientation">
1575        <!-- Defines an horizontal widget. -->
1576        <enum name="horizontal" value="0" />
1577        <!-- Defines a vertical widget. -->
1578        <enum name="vertical" value="1" />
1579    </attr>
1580
1581    <!-- Alignment constants. -->
1582    <attr name="alignmentMode">
1583        <!-- Align the bounds of the children.
1584        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1585        <enum name="alignBounds" value="0" />
1586        <!-- Align the margins of the children.
1587        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1588        <enum name="alignMargins" value="1" />
1589    </attr>
1590
1591    <!-- ========================== -->
1592    <!-- Key Codes                  -->
1593    <!-- ========================== -->
1594    <eat-comment />
1595
1596    <!-- This enum provides the same keycode values as can be found in
1597        {@link android.view.KeyEvent}. -->
1598    <attr name="keycode">
1599        <enum name="KEYCODE_UNKNOWN" value="0" />
1600        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1601        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1602        <enum name="KEYCODE_HOME" value="3" />
1603        <enum name="KEYCODE_BACK" value="4" />
1604        <enum name="KEYCODE_CALL" value="5" />
1605        <enum name="KEYCODE_ENDCALL" value="6" />
1606        <enum name="KEYCODE_0" value="7" />
1607        <enum name="KEYCODE_1" value="8" />
1608        <enum name="KEYCODE_2" value="9" />
1609        <enum name="KEYCODE_3" value="10" />
1610        <enum name="KEYCODE_4" value="11" />
1611        <enum name="KEYCODE_5" value="12" />
1612        <enum name="KEYCODE_6" value="13" />
1613        <enum name="KEYCODE_7" value="14" />
1614        <enum name="KEYCODE_8" value="15" />
1615        <enum name="KEYCODE_9" value="16" />
1616        <enum name="KEYCODE_STAR" value="17" />
1617        <enum name="KEYCODE_POUND" value="18" />
1618        <enum name="KEYCODE_DPAD_UP" value="19" />
1619        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1620        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1621        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1622        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1623        <enum name="KEYCODE_VOLUME_UP" value="24" />
1624        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1625        <enum name="KEYCODE_POWER" value="26" />
1626        <enum name="KEYCODE_CAMERA" value="27" />
1627        <enum name="KEYCODE_CLEAR" value="28" />
1628        <enum name="KEYCODE_A" value="29" />
1629        <enum name="KEYCODE_B" value="30" />
1630        <enum name="KEYCODE_C" value="31" />
1631        <enum name="KEYCODE_D" value="32" />
1632        <enum name="KEYCODE_E" value="33" />
1633        <enum name="KEYCODE_F" value="34" />
1634        <enum name="KEYCODE_G" value="35" />
1635        <enum name="KEYCODE_H" value="36" />
1636        <enum name="KEYCODE_I" value="37" />
1637        <enum name="KEYCODE_J" value="38" />
1638        <enum name="KEYCODE_K" value="39" />
1639        <enum name="KEYCODE_L" value="40" />
1640        <enum name="KEYCODE_M" value="41" />
1641        <enum name="KEYCODE_N" value="42" />
1642        <enum name="KEYCODE_O" value="43" />
1643        <enum name="KEYCODE_P" value="44" />
1644        <enum name="KEYCODE_Q" value="45" />
1645        <enum name="KEYCODE_R" value="46" />
1646        <enum name="KEYCODE_S" value="47" />
1647        <enum name="KEYCODE_T" value="48" />
1648        <enum name="KEYCODE_U" value="49" />
1649        <enum name="KEYCODE_V" value="50" />
1650        <enum name="KEYCODE_W" value="51" />
1651        <enum name="KEYCODE_X" value="52" />
1652        <enum name="KEYCODE_Y" value="53" />
1653        <enum name="KEYCODE_Z" value="54" />
1654        <enum name="KEYCODE_COMMA" value="55" />
1655        <enum name="KEYCODE_PERIOD" value="56" />
1656        <enum name="KEYCODE_ALT_LEFT" value="57" />
1657        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1658        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1659        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1660        <enum name="KEYCODE_TAB" value="61" />
1661        <enum name="KEYCODE_SPACE" value="62" />
1662        <enum name="KEYCODE_SYM" value="63" />
1663        <enum name="KEYCODE_EXPLORER" value="64" />
1664        <enum name="KEYCODE_ENVELOPE" value="65" />
1665        <enum name="KEYCODE_ENTER" value="66" />
1666        <enum name="KEYCODE_DEL" value="67" />
1667        <enum name="KEYCODE_GRAVE" value="68" />
1668        <enum name="KEYCODE_MINUS" value="69" />
1669        <enum name="KEYCODE_EQUALS" value="70" />
1670        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1671        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1672        <enum name="KEYCODE_BACKSLASH" value="73" />
1673        <enum name="KEYCODE_SEMICOLON" value="74" />
1674        <enum name="KEYCODE_APOSTROPHE" value="75" />
1675        <enum name="KEYCODE_SLASH" value="76" />
1676        <enum name="KEYCODE_AT" value="77" />
1677        <enum name="KEYCODE_NUM" value="78" />
1678        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1679        <enum name="KEYCODE_FOCUS" value="80" />
1680        <enum name="KEYCODE_PLUS" value="81" />
1681        <enum name="KEYCODE_MENU" value="82" />
1682        <enum name="KEYCODE_NOTIFICATION" value="83" />
1683        <enum name="KEYCODE_SEARCH" value="84" />
1684        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1685        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1686        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1687        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1688        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1689        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1690        <enum name="KEYCODE_MUTE" value="91" />
1691        <enum name="KEYCODE_PAGE_UP" value="92" />
1692        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1693        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1694        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1695        <enum name="KEYCODE_BUTTON_A" value="96" />
1696        <enum name="KEYCODE_BUTTON_B" value="97" />
1697        <enum name="KEYCODE_BUTTON_C" value="98" />
1698        <enum name="KEYCODE_BUTTON_X" value="99" />
1699        <enum name="KEYCODE_BUTTON_Y" value="100" />
1700        <enum name="KEYCODE_BUTTON_Z" value="101" />
1701        <enum name="KEYCODE_BUTTON_L1" value="102" />
1702        <enum name="KEYCODE_BUTTON_R1" value="103" />
1703        <enum name="KEYCODE_BUTTON_L2" value="104" />
1704        <enum name="KEYCODE_BUTTON_R2" value="105" />
1705        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1706        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1707        <enum name="KEYCODE_BUTTON_START" value="108" />
1708        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1709        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1710        <enum name="KEYCODE_ESCAPE" value="111" />
1711        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1712        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1713        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1714        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1715        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1716        <enum name="KEYCODE_META_LEFT" value="117" />
1717        <enum name="KEYCODE_META_RIGHT" value="118" />
1718        <enum name="KEYCODE_FUNCTION" value="119" />
1719        <enum name="KEYCODE_SYSRQ" value="120" />
1720        <enum name="KEYCODE_BREAK" value="121" />
1721        <enum name="KEYCODE_MOVE_HOME" value="122" />
1722        <enum name="KEYCODE_MOVE_END" value="123" />
1723        <enum name="KEYCODE_INSERT" value="124" />
1724        <enum name="KEYCODE_FORWARD" value="125" />
1725        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1726        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1727        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1728        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1729        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1730        <enum name="KEYCODE_F1" value="131" />
1731        <enum name="KEYCODE_F2" value="132" />
1732        <enum name="KEYCODE_F3" value="133" />
1733        <enum name="KEYCODE_F4" value="134" />
1734        <enum name="KEYCODE_F5" value="135" />
1735        <enum name="KEYCODE_F6" value="136" />
1736        <enum name="KEYCODE_F7" value="137" />
1737        <enum name="KEYCODE_F8" value="138" />
1738        <enum name="KEYCODE_F9" value="139" />
1739        <enum name="KEYCODE_F10" value="140" />
1740        <enum name="KEYCODE_F11" value="141" />
1741        <enum name="KEYCODE_F12" value="142" />
1742        <enum name="KEYCODE_NUM_LOCK" value="143" />
1743        <enum name="KEYCODE_NUMPAD_0" value="144" />
1744        <enum name="KEYCODE_NUMPAD_1" value="145" />
1745        <enum name="KEYCODE_NUMPAD_2" value="146" />
1746        <enum name="KEYCODE_NUMPAD_3" value="147" />
1747        <enum name="KEYCODE_NUMPAD_4" value="148" />
1748        <enum name="KEYCODE_NUMPAD_5" value="149" />
1749        <enum name="KEYCODE_NUMPAD_6" value="150" />
1750        <enum name="KEYCODE_NUMPAD_7" value="151" />
1751        <enum name="KEYCODE_NUMPAD_8" value="152" />
1752        <enum name="KEYCODE_NUMPAD_9" value="153" />
1753        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1754        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1755        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1756        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1757        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1758        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1759        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1760        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1761        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1762        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1763        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1764        <enum name="KEYCODE_INFO" value="165" />
1765        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1766        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1767        <enum name="KEYCODE_ZOOM_IN" value="168" />
1768        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1769        <enum name="KEYCODE_TV" value="170" />
1770        <enum name="KEYCODE_WINDOW" value="171" />
1771        <enum name="KEYCODE_GUIDE" value="172" />
1772        <enum name="KEYCODE_DVR" value="173" />
1773        <enum name="KEYCODE_BOOKMARK" value="174" />
1774        <enum name="KEYCODE_CAPTIONS" value="175" />
1775        <enum name="KEYCODE_SETTINGS" value="176" />
1776        <enum name="KEYCODE_TV_POWER" value="177" />
1777        <enum name="KEYCODE_TV_INPUT" value="178" />
1778        <enum name="KEYCODE_STB_POWER" value="179" />
1779        <enum name="KEYCODE_STB_INPUT" value="180" />
1780        <enum name="KEYCODE_AVR_POWER" value="181" />
1781        <enum name="KEYCODE_AVR_INPUT" value="182" />
1782        <enum name="KEYCODE_PROG_GRED" value="183" />
1783        <enum name="KEYCODE_PROG_GREEN" value="184" />
1784        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1785        <enum name="KEYCODE_PROG_BLUE" value="186" />
1786        <enum name="KEYCODE_APP_SWITCH" value="187" />
1787        <enum name="KEYCODE_BUTTON_1" value="188" />
1788        <enum name="KEYCODE_BUTTON_2" value="189" />
1789        <enum name="KEYCODE_BUTTON_3" value="190" />
1790        <enum name="KEYCODE_BUTTON_4" value="191" />
1791        <enum name="KEYCODE_BUTTON_5" value="192" />
1792        <enum name="KEYCODE_BUTTON_6" value="193" />
1793        <enum name="KEYCODE_BUTTON_7" value="194" />
1794        <enum name="KEYCODE_BUTTON_8" value="195" />
1795        <enum name="KEYCODE_BUTTON_9" value="196" />
1796        <enum name="KEYCODE_BUTTON_10" value="197" />
1797        <enum name="KEYCODE_BUTTON_11" value="198" />
1798        <enum name="KEYCODE_BUTTON_12" value="199" />
1799        <enum name="KEYCODE_BUTTON_13" value="200" />
1800        <enum name="KEYCODE_BUTTON_14" value="201" />
1801        <enum name="KEYCODE_BUTTON_15" value="202" />
1802        <enum name="KEYCODE_BUTTON_16" value="203" />
1803        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1804        <enum name="KEYCODE_MANNER_MODE" value="205" />
1805        <enum name="KEYCODE_3D_MODE" value="206" />
1806        <enum name="KEYCODE_CONTACTS" value="207" />
1807        <enum name="KEYCODE_CALENDAR" value="208" />
1808        <enum name="KEYCODE_MUSIC" value="209" />
1809        <enum name="KEYCODE_CALCULATOR" value="210" />
1810        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1811        <enum name="KEYCODE_EISU" value="212" />
1812        <enum name="KEYCODE_MUHENKAN" value="213" />
1813        <enum name="KEYCODE_HENKAN" value="214" />
1814        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1815        <enum name="KEYCODE_YEN" value="216" />
1816        <enum name="KEYCODE_RO" value="217" />
1817        <enum name="KEYCODE_KANA" value="218" />
1818        <enum name="KEYCODE_ASSIST" value="219" />
1819        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1820        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1821        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1822        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1823        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1824        <enum name="KEYCODE_PAIRING" value="225" />
1825        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1826        <enum name="KEYCODE_11" value="227" />
1827        <enum name="KEYCODE_12" value="228" />
1828        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1829        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1830        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1831        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1832        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1833        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1834        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1835        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1836        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1837        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1838        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1839        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1840        <enum name="KEYCODE_TV_NETWORK" value="241" />
1841        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1842        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1843        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1844        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1845        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1846        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1847        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1848        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1849        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1850        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1851        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1852        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1853        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1854        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1855        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1856        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1857        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1858        <enum name="KEYCODE_HELP" value="259" />
1859        <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
1860        <enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
1861        <enum name="KEYCODE_NAVIGATE_IN" value="262" />
1862        <enum name="KEYCODE_NAVIGATE_OUT" value="263" />
1863        <enum name="KEYCODE_STEM_PRIMARY" value="264" />
1864        <enum name="KEYCODE_STEM_1" value="265" />
1865        <enum name="KEYCODE_STEM_2" value="266" />
1866        <enum name="KEYCODE_STEM_3" value="267" />
1867        <enum name="KEYCODE_DPAD_UP_LEFT" value="268" />
1868        <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" />
1869        <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" />
1870        <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" />
1871        <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" />
1872        <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" />
1873        <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" />
1874        <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" />
1875        <enum name="KEYCODE_SOFT_SLEEP" value="276" />
1876        <enum name="KEYCODE_CUT" value="277" />
1877        <enum name="KEYCODE_COPY" value="278" />
1878        <enum name="KEYCODE_PASTE" value="279" />
1879        <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" />
1880        <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" />
1881        <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" />
1882        <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" />
1883    </attr>
1884
1885    <!-- ***************************************************************** -->
1886    <!-- These define collections of attributes that can are with classes. -->
1887    <!-- ***************************************************************** -->
1888
1889    <!-- ========================== -->
1890    <!-- Special attribute classes. -->
1891    <!-- ========================== -->
1892    <eat-comment />
1893
1894    <!-- The set of attributes that describe a Windows's theme. -->
1895    <declare-styleable name="Window">
1896        <attr name="windowBackground" />
1897        <attr name="windowBackgroundFallback" />
1898        <attr name="windowContentOverlay" />
1899        <attr name="windowFrame" />
1900        <attr name="windowNoTitle" />
1901        <attr name="windowFullscreen" />
1902        <attr name="windowOverscan" />
1903        <attr name="windowIsFloating" />
1904        <attr name="windowIsTranslucent" />
1905        <attr name="windowShowWallpaper" />
1906        <attr name="windowAnimationStyle" />
1907        <attr name="windowSoftInputMode" />
1908        <attr name="windowDisablePreview" />
1909        <attr name="windowNoDisplay" />
1910        <attr name="textColor" />
1911        <attr name="backgroundDimEnabled" />
1912        <attr name="backgroundDimAmount" />
1913        <attr name="windowActionBar" />
1914        <attr name="windowActionModeOverlay" />
1915        <attr name="windowActionBarOverlay" />
1916        <attr name="windowEnableSplitTouch" />
1917        <attr name="windowCloseOnTouchOutside" />
1918        <attr name="windowTranslucentStatus" />
1919        <attr name="windowTranslucentNavigation" />
1920        <attr name="windowSwipeToDismiss" />
1921        <attr name="windowContentTransitions" />
1922        <attr name="windowActivityTransitions" />
1923        <attr name="windowContentTransitionManager" />
1924        <attr name="windowActionBarFullscreenDecorLayout" />
1925
1926        <!-- The minimum width the window is allowed to be, along the major
1927             axis of the screen.  That is, when in landscape.  Can be either
1928             an absolute dimension or a fraction of the screen size in that
1929             dimension. -->
1930        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1931        <!-- The minimum width the window is allowed to be, along the minor
1932             axis of the screen.  That is, when in portrait.  Can be either
1933             an absolute dimension or a fraction of the screen size in that
1934             dimension. -->
1935        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1936
1937        <!-- A fixed width for the window along the major axis of the screen,
1938             that is, when in landscape. Can be either an absolute dimension
1939             or a fraction of the screen size in that dimension. -->
1940        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1941        <!-- A fixed height for the window along the minor axis of the screen,
1942             that is, when in landscape. Can be either an absolute dimension
1943             or a fraction of the screen size in that dimension. -->
1944        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1945
1946        <!-- A fixed width for the window along the minor axis of the screen,
1947             that is, when in portrait. Can be either an absolute dimension
1948             or a fraction of the screen size in that dimension. -->
1949        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1950        <!-- A fixed height for the window along the major axis of the screen,
1951             that is, when in portrait. Can be either an absolute dimension
1952             or a fraction of the screen size in that dimension. -->
1953        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1954        <attr name="windowOutsetBottom" format="dimension" />
1955        <!-- Reference to a Transition XML resource defining the desired Transition
1956             used to move Views into the initial Window's content Scene. Corresponds to
1957             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1958        <attr name="windowEnterTransition"/>
1959
1960        <!-- Reference to a Transition XML resource defining the desired Transition
1961             used to move Views out of the scene when the Window is
1962             preparing to close. Corresponds to
1963             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1964        <attr name="windowReturnTransition"/>
1965
1966        <!-- Reference to a Transition XML resource defining the desired Transition
1967             used to move Views out of the Window's content Scene when launching a new Activity.
1968             Corresponds to
1969             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1970        <attr name="windowExitTransition"/>
1971
1972        <!-- Reference to a Transition XML resource defining the desired Transition
1973             used to move Views in to the scene when returning from a previously-started Activity.
1974             Corresponds to
1975             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1976        <attr name="windowReenterTransition"/>
1977
1978        <!-- Reference to a Transition XML resource defining the desired Transition
1979             used to move shared elements transferred into the Window's initial content Scene.
1980             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1981             android.transition.Transition)}. -->
1982        <attr name="windowSharedElementEnterTransition"/>
1983
1984        <!-- Reference to a Transition XML resource defining the desired Transition
1985             used to move shared elements transferred back to a calling Activity.
1986             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1987             android.transition.Transition)}. -->
1988        <attr name="windowSharedElementReturnTransition"/>
1989
1990        <!-- Reference to a Transition XML resource defining the desired Transition
1991             used when starting a new Activity to move shared elements prior to transferring
1992             to the called Activity.
1993             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1994             android.transition.Transition)}. -->
1995        <attr name="windowSharedElementExitTransition"/>
1996
1997        <!-- Reference to a Transition XML resource defining the desired Transition
1998             used for shared elements transferred back to a calling Activity.
1999             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
2000             android.transition.Transition)}. -->
2001        <attr name="windowSharedElementReenterTransition"/>
2002
2003
2004        <!-- Flag indicating whether this Window's transition should overlap with
2005             the exiting transition of the calling Activity. Corresponds to
2006             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
2007        <attr name="windowAllowEnterTransitionOverlap"/>
2008
2009        <!-- Flag indicating whether this Window's transition should overlap with
2010             the exiting transition of the called Activity when the called Activity
2011             finishes. Corresponds to
2012             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
2013        <attr name="windowAllowReturnTransitionOverlap"/>
2014
2015        <!-- Indicates whether or not shared elements should use an overlay
2016             during transitions. The default value is true. -->
2017        <attr name="windowSharedElementsUseOverlay"/>
2018
2019        <!-- Flag indicating whether this Window is responsible for drawing the background for the
2020             system bars. If true and the window is not floating, the system bars are drawn with a
2021             transparent background and the corresponding areas in this window are filled with the
2022             colors specified in {@link android.R.attr#statusBarColor} and
2023             {@link android.R.attr#navigationBarColor}. Corresponds to
2024             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
2025        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
2026
2027        <!-- The color for the status bar. If the color is not opaque, consider setting
2028             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2029             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
2030             For this to take effect, the window must be drawing the system bar backgrounds with
2031             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2032             have been requested to be translucent with
2033             {@link android.R.attr#windowTranslucentStatus}.
2034             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
2035        <attr name="statusBarColor" format="color" />
2036
2037        <!-- The color for the navigation bar. If the color is not opaque, consider setting
2038             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2039             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
2040             For this to take effect, the window must be drawing the system bar backgrounds with
2041             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2042             have been requested to be translucent with
2043             {@link android.R.attr#windowTranslucentNavigation}.
2044             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
2045        <attr name="navigationBarColor" format="color" />
2046
2047        <!-- The duration, in milliseconds, of the window background fade duration
2048             when transitioning into or away from an Activity when called with an
2049             Activity Transition. Corresponds to
2050             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
2051        <attr name="windowTransitionBackgroundFadeDuration" />
2052
2053        <!-- Elevation to use for the window. -->
2054        <attr name="windowElevation" format="dimension" />
2055
2056        <!-- Whether to clip window content to the outline of the window background. -->
2057        <attr name="windowClipToOutline" format="boolean" />
2058
2059        <!-- If set, the status bar will be drawn such that it is compatible with a light
2060             status bar background.
2061             <p>For this to take effect, the window must be drawing the system bar backgrounds with
2062             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2063             have been requested to be translucent with
2064             {@link android.R.attr#windowTranslucentStatus}.
2065             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
2066             the decor view. -->
2067        <attr name="windowLightStatusBar" format="boolean" />
2068    </declare-styleable>
2069
2070    <!-- The set of attributes that describe a AlertDialog's theme. -->
2071    <declare-styleable name="AlertDialog">
2072        <attr name="fullDark" format="reference|color" />
2073        <attr name="topDark" format="reference|color" />
2074        <attr name="centerDark" format="reference|color" />
2075        <attr name="bottomDark" format="reference|color" />
2076        <attr name="fullBright" format="reference|color" />
2077        <attr name="topBright" format="reference|color" />
2078        <attr name="centerBright" format="reference|color" />
2079        <attr name="bottomBright" format="reference|color" />
2080        <attr name="bottomMedium" format="reference|color" />
2081        <attr name="centerMedium" format="reference|color" />
2082        <attr name="layout" />
2083        <attr name="buttonPanelSideLayout" format="reference" />
2084        <attr name="listLayout" format="reference" />
2085        <attr name="multiChoiceItemLayout" format="reference" />
2086        <attr name="singleChoiceItemLayout" format="reference" />
2087        <attr name="listItemLayout" format="reference" />
2088        <attr name="progressLayout" format="reference" />
2089        <attr name="horizontalProgressLayout" format="reference" />
2090        <!-- @hide Not ready for public use. -->
2091        <attr name="showTitle" format="boolean" />
2092        <!-- @hide Whether fullDark, etc. should use default values if null. -->
2093        <attr name="needsDefaultBackgrounds" format="boolean" />
2094        <!-- @hide Workaround until we replace AlertController with custom layout. -->
2095        <attr name="controllerType">
2096            <!-- The default controller. -->
2097            <enum name="normal" value="0" />
2098            <!-- Controller for micro specific layout. -->
2099            <enum name="micro" value="1" />
2100        </attr>
2101        <!-- @hide Offset when scrolling to a selection. -->
2102        <attr name="selectionScrollOffset" format="dimension" />
2103    </declare-styleable>
2104
2105    <!-- @hide -->
2106    <declare-styleable name="ButtonBarLayout">
2107        <!-- Whether to automatically stack the buttons when there is not
2108             enough space to lay them out side-by-side. -->
2109        <attr name="allowStacking" format="boolean" />
2110    </declare-styleable>
2111
2112    <!-- Fragment animation class attributes. -->
2113    <declare-styleable name="FragmentAnimation">
2114        <attr name="fragmentOpenEnterAnimation" format="reference" />
2115        <attr name="fragmentOpenExitAnimation" format="reference" />
2116        <attr name="fragmentCloseEnterAnimation" format="reference" />
2117        <attr name="fragmentCloseExitAnimation" format="reference" />
2118        <attr name="fragmentFadeEnterAnimation" format="reference" />
2119        <attr name="fragmentFadeExitAnimation" format="reference" />
2120    </declare-styleable>
2121
2122    <!-- Window animation class attributes. -->
2123    <declare-styleable name="WindowAnimation">
2124        <!-- The animation used when a window is being added. -->
2125        <attr name="windowEnterAnimation" format="reference" />
2126        <!-- The animation used when a window is being removed. -->
2127        <attr name="windowExitAnimation" format="reference" />
2128        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2129        <attr name="windowShowAnimation" format="reference" />
2130        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2131        <attr name="windowHideAnimation" format="reference" />
2132
2133        <!--  When opening a new activity, this is the animation that is
2134              run on the next activity (which is entering the screen). -->
2135        <attr name="activityOpenEnterAnimation" format="reference" />
2136        <!--  When opening a new activity, this is the animation that is
2137              run on the previous activity (which is exiting the screen). -->
2138        <attr name="activityOpenExitAnimation" format="reference" />
2139        <!--  When closing the current activity, this is the animation that is
2140              run on the next activity (which is entering the screen). -->
2141        <attr name="activityCloseEnterAnimation" format="reference" />
2142        <!--  When closing the current activity, this is the animation that is
2143              run on the current activity (which is exiting the screen). -->
2144        <attr name="activityCloseExitAnimation" format="reference" />
2145        <!--  When opening an activity in a new task, this is the animation that is
2146              run on the activity of the new task (which is entering the screen). -->
2147        <attr name="taskOpenEnterAnimation" format="reference" />
2148        <!--  When opening an activity in a new task, this is the animation that is
2149              run on the activity of the old task (which is exiting the screen). -->
2150        <attr name="taskOpenExitAnimation" format="reference" />
2151        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2152              this is the animation that is run on the activity of the new task (which is
2153              entering the screen and then leaving). -->
2154        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2155        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2156              this is the animation that is run on the activity of the old task (which is
2157              already on the screen and then stays on). -->
2158        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2159        <!--  When closing the last activity of a task, this is the animation that is
2160              run on the activity of the next task (which is entering the screen). -->
2161        <attr name="taskCloseEnterAnimation" format="reference" />
2162        <!--  When opening an activity in a new task, this is the animation that is
2163              run on the activity of the old task (which is exiting the screen). -->
2164        <attr name="taskCloseExitAnimation" format="reference" />
2165        <!--  When bringing an existing task to the foreground, this is the
2166              animation that is run on the top activity of the task being brought
2167              to the foreground (which is entering the screen). -->
2168        <attr name="taskToFrontEnterAnimation" format="reference" />
2169        <!--  When bringing an existing task to the foreground, this is the
2170              animation that is run on the current foreground activity
2171              (which is exiting the screen). -->
2172        <attr name="taskToFrontExitAnimation" format="reference" />
2173        <!--  When sending the current task to the background, this is the
2174              animation that is run on the top activity of the task behind
2175              it (which is entering the screen). -->
2176        <attr name="taskToBackEnterAnimation" format="reference" />
2177        <!--  When sending the current task to the background, this is the
2178              animation that is run on the top activity of the current task
2179              (which is exiting the screen). -->
2180        <attr name="taskToBackExitAnimation" format="reference" />
2181
2182        <!--  When opening a new activity that shows the wallpaper, while
2183              currently not showing the wallpaper, this is the animation that
2184              is run on the new wallpaper activity (which is entering the screen). -->
2185        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2186        <!--  When opening a new activity that shows the wallpaper, while
2187              currently not showing the wallpaper, this is the animation that
2188              is run on the current activity (which is exiting the screen). -->
2189        <attr name="wallpaperOpenExitAnimation" format="reference" />
2190        <!--  When opening a new activity that hides the wallpaper, while
2191              currently showing the wallpaper, this is the animation that
2192              is run on the new activity (which is entering the screen). -->
2193        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2194        <!--  When opening a new activity that hides the wallpaper, while
2195              currently showing the wallpaper, this is the animation that
2196              is run on the old wallpaper activity (which is exiting the screen). -->
2197        <attr name="wallpaperCloseExitAnimation" format="reference" />
2198
2199        <!--  When opening a new activity that is on top of the wallpaper
2200              when the current activity is also on top of the wallpaper,
2201              this is the animation that is run on the new activity
2202              (which is entering the screen).  The wallpaper remains
2203              static behind the animation. -->
2204        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2205        <!--  When opening a new activity that is on top of the wallpaper
2206              when the current activity is also on top of the wallpaper,
2207              this is the animation that is run on the current activity
2208              (which is exiting the screen).  The wallpaper remains
2209              static behind the animation. -->
2210        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2211        <!--  When closing a foreround activity that is on top of the wallpaper
2212              when the previous activity is also on top of the wallpaper,
2213              this is the animation that is run on the previous activity
2214              (which is entering the screen).  The wallpaper remains
2215              static behind the animation. -->
2216        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2217        <!--  When closing a foreround activity that is on top of the wallpaper
2218              when the previous activity is also on top of the wallpaper,
2219              this is the animation that is run on the current activity
2220              (which is exiting the screen).  The wallpaper remains
2221              static behind the animation. -->
2222        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2223
2224        <!--  When opening a new activity from a RemoteViews, this is the
2225              animation that is run on the next activity (which is entering the
2226              screen). Requires config_overrideRemoteViewsActivityTransition to
2227              be true. -->
2228        <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" />
2229
2230    </declare-styleable>
2231
2232    <!-- ============================= -->
2233    <!-- View package class attributes -->
2234    <!-- ============================= -->
2235    <eat-comment />
2236
2237    <!-- Attributes that can be used with {@link android.view.View} or
2238         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2239         attributes that are processed by the view's parent. -->
2240    <declare-styleable name="View">
2241        <!-- Supply an identifier name for this view, to later retrieve it
2242             with {@link android.view.View#findViewById View.findViewById()} or
2243             {@link android.app.Activity#findViewById Activity.findViewById()}.
2244             This must be a
2245             resource reference; typically you set this using the
2246             <code>@+</code> syntax to create a new ID resources.
2247             For example: <code>android:id="@+id/my_id"</code> which
2248             allows you to later retrieve the view
2249             with <code>findViewById(R.id.my_id)</code>. -->
2250        <attr name="id" format="reference" />
2251
2252        <!-- Supply a tag for this view containing a String, to be retrieved
2253             later with {@link android.view.View#getTag View.getTag()} or
2254             searched for with {@link android.view.View#findViewWithTag
2255             View.findViewWithTag()}.  It is generally preferable to use
2256             IDs (through the android:id attribute) instead of tags because
2257             they are faster and allow for compile-time type checking. -->
2258        <attr name="tag" format="string" />
2259
2260        <!-- The initial horizontal scroll offset, in pixels.-->
2261        <attr name="scrollX" format="dimension" />
2262
2263        <!-- The initial vertical scroll offset, in pixels. -->
2264        <attr name="scrollY" format="dimension" />
2265
2266        <!-- A drawable to use as the background.  This can be either a reference
2267             to a full drawable resource (such as a PNG image, 9-patch,
2268             XML state list description, etc), or a solid color such as "#ff000000"
2269            (black). -->
2270        <attr name="background" format="reference|color" />
2271
2272        <!-- Sets the padding, in pixels, of all four edges. Padding is defined as
2273             space between the edges of the view and the view's content. This value will take
2274             precedence over any of the edge-specific values, including
2275             paddingHorizontal and paddingVertical, if set. A view's size
2276             will include its padding. If a {@link android.R.attr#background}
2277             is provided, the padding will initially be set to that (0 if the
2278             drawable does not have padding). Explicitly setting a padding value
2279             will override the corresponding padding found in the background. -->
2280        <attr name="padding" format="dimension" />
2281        <!-- Sets the padding, in pixels, of the left and right edges; see
2282             {@link android.R.attr#padding}. This value will take precedence over
2283             paddingLeft, paddingRight, paddingStart, and paddingEnd, if set. -->
2284        <attr name="paddingHorizontal" format="dimension" />
2285        <!-- Sets the padding, in pixels, of the top and bottom edges; see
2286             {@link android.R.attr#padding}. This value will take precedence over
2287             paddingTop and paddingBottom, if set. -->
2288        <attr name="paddingVertical" format="dimension" />
2289        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2290        <attr name="paddingLeft" format="dimension" />
2291        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2292        <attr name="paddingTop" format="dimension" />
2293        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2294        <attr name="paddingRight" format="dimension" />
2295        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2296        <attr name="paddingBottom" format="dimension" />
2297        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2298        <attr name="paddingStart" format="dimension" />
2299        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2300        <attr name="paddingEnd" format="dimension" />
2301
2302        <!-- Controls whether a view can take focus.  By default, this is "auto" which lets the
2303             framework determine whether a user can move focus to a view.  By setting this attribute
2304             to true the view is allowed to take focus. By setting it to "false" the view will not
2305             take focus. This value does not impact the behavior of
2306             directly calling {@link android.view.View#requestFocus}, which will
2307             always request focus regardless of this view.  It only impacts where
2308             focus navigation will try to move focus. -->
2309        <attr name="focusable" format="boolean|enum">
2310            <enum name="auto" value="0x00000010" />
2311        </attr>
2312
2313        <!-- Controls the autofill behavior for this view. -->
2314        <attr name="autofillMode">
2315            <!-- Inherit the behavior from the parent. If there is no parent it is auto. This is the
2316                 default value for this attribute.-->
2317            <enum name="inherit" value="0" />
2318            <!-- Allows this view to automatically trigger an autofill request when it get focus.
2319                 -->
2320            <enum name="auto" value="1" />
2321            <!-- Do not trigger an autofill request when this view is focused. The user can still
2322                 manually force an autofill request for this view. -->
2323            <enum name="manual" value="2" />
2324        </attr>
2325
2326        <!-- Describes the content of a view so that a autofill service can fill in the appropriate
2327             data. Multiple hints can be combined in a comma separated list or an array of strings
2328             to mean e.g. emailAddress or postalAddress. -->
2329        <attr name="autofillHints" format="string|reference" />
2330
2331        <!-- Hints the Android System whether the view node associated with this View should be
2332             included in a view structure used for autofill purposes. -->
2333        <attr name="importantForAutofill">
2334            <!-- Let the Android System use its heuristics to determine if the view is important for autofill. -->
2335            <flag name="auto" value="0" />
2336            <!-- Hint the Android System that this view is important for autofill. -->
2337            <flag name="yes" value="0x1" />
2338            <!-- Hint the Android System that this view is *not* important for autofill. -->
2339            <flag name="no" value="0x2" />
2340        </attr>
2341
2342        <!-- Boolean that controls whether a view can take focus while in touch mode.
2343             If this is true for a view, that view can gain focus when clicked on, and can keep
2344             focus if another view is clicked on that doesn't have this attribute set to true. -->
2345        <attr name="focusableInTouchMode" format="boolean" />
2346
2347        <!-- Controls the initial visibility of the view.  -->
2348        <attr name="visibility">
2349            <!-- Visible on screen; the default value. -->
2350            <enum name="visible" value="0" />
2351            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2352            <enum name="invisible" value="1" />
2353            <!-- Completely hidden, as if the view had not been added. -->
2354            <enum name="gone" value="2" />
2355        </attr>
2356
2357        <!-- Boolean internal attribute to adjust view layout based on
2358             system windows such as the status bar.
2359             If true, adjusts the padding of this view to leave space for the system windows.
2360             Will only take effect if this view is in a non-embedded activity. -->
2361        <attr name="fitsSystemWindows" format="boolean" />
2362
2363        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2364        <attr name="scrollbars">
2365            <!-- No scrollbar is displayed. -->
2366            <flag name="none" value="0x00000000" />
2367            <!-- Displays horizontal scrollbar only. -->
2368            <flag name="horizontal" value="0x00000100" />
2369            <!-- Displays vertical scrollbar only. -->
2370            <flag name="vertical" value="0x00000200" />
2371        </attr>
2372
2373        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2374             inset. When inset, they add to the padding of the view. And the
2375             scrollbars can be drawn inside the padding area or on the edge of
2376             the view. For example, if a view has a background drawable and you
2377             want to draw the scrollbars inside the padding specified by the
2378             drawable, you can use insideOverlay or insideInset. If you want them
2379             to appear at the edge of the view, ignoring the padding, then you can
2380             use outsideOverlay or outsideInset.-->
2381        <attr name="scrollbarStyle">
2382            <!-- Inside the padding and overlaid. -->
2383            <enum name="insideOverlay" value="0x0" />
2384            <!-- Inside the padding and inset. -->
2385            <enum name="insideInset" value="0x01000000" />
2386            <!-- Edge of the view and overlaid. -->
2387            <enum name="outsideOverlay" value="0x02000000" />
2388            <!-- Edge of the view and inset. -->
2389            <enum name="outsideInset" value="0x03000000" />
2390        </attr>
2391
2392        <!-- Set this if the view will serve as a scrolling container, meaning
2393             that it can be resized to shrink its overall window so that there
2394             will be space for an input method.  If not set, the default
2395             value will be true if "scrollbars" has the vertical scrollbar
2396             set, else it will be false. -->
2397        <attr name="isScrollContainer" format="boolean" />
2398
2399          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2400         <attr name="fadeScrollbars" format="boolean" />
2401         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2402         <attr name="scrollbarFadeDuration" format="integer" />
2403         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2404        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2405        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2406        <attr name="scrollbarSize" format="dimension" />
2407        <!-- Defines the horizontal scrollbar thumb drawable. -->
2408        <attr name="scrollbarThumbHorizontal" format="reference" />
2409        <!-- Defines the vertical scrollbar thumb drawable. -->
2410        <attr name="scrollbarThumbVertical" format="reference" />
2411        <!-- Defines the horizontal scrollbar track drawable. -->
2412        <attr name="scrollbarTrackHorizontal" format="reference" />
2413        <!-- Defines the vertical scrollbar track drawable. -->
2414        <attr name="scrollbarTrackVertical" format="reference" />
2415        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2416        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2417        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2418        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2419
2420        <!-- This attribute is ignored in API level 14
2421             ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher.
2422             Using fading edges may introduce noticeable performance
2423             degradations and should be used only when required by the application's
2424             visual design. To request fading edges with API level 14 and above,
2425             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2426        <attr name="fadingEdge">
2427            <!-- No edge is faded. -->
2428            <flag name="none" value="0x00000000" />
2429            <!-- Fades horizontal edges only. -->
2430            <flag name="horizontal" value="0x00001000" />
2431            <!-- Fades vertical edges only. -->
2432            <flag name="vertical" value="0x00002000" />
2433        </attr>
2434        <!-- Defines which edges should be faded on scrolling. -->
2435        <attr name="requiresFadingEdge">
2436            <!-- No edge is faded. -->
2437            <flag name="none" value="0x00000000" />
2438            <!-- Fades horizontal edges only. -->
2439            <flag name="horizontal" value="0x00001000" />
2440            <!-- Fades vertical edges only. -->
2441            <flag name="vertical" value="0x00002000" />
2442        </attr>
2443        <!-- Defines the length of the fading edges. -->
2444        <attr name="fadingEdgeLength" format="dimension" />
2445
2446        <!-- Defines the next view to give focus to when the next focus is
2447             {@link android.view.View#FOCUS_LEFT}.
2448
2449             If the reference refers to a view that does not exist or is part
2450             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2451             will result when the reference is accessed.-->
2452        <attr name="nextFocusLeft" format="reference"/>
2453
2454        <!-- Defines the next view to give focus to when the next focus is
2455             {@link android.view.View#FOCUS_RIGHT}
2456
2457             If the reference refers to a view that does not exist or is part
2458             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2459             will result when the reference is accessed.-->
2460        <attr name="nextFocusRight" format="reference"/>
2461
2462        <!-- Defines the next view to give focus to when the next focus is
2463             {@link android.view.View#FOCUS_UP}
2464
2465             If the reference refers to a view that does not exist or is part
2466             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2467             will result when the reference is accessed.-->
2468        <attr name="nextFocusUp" format="reference"/>
2469
2470        <!-- Defines the next view to give focus to when the next focus is
2471             {@link android.view.View#FOCUS_DOWN}
2472
2473             If the reference refers to a view that does not exist or is part
2474             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2475             will result when the reference is accessed.-->
2476        <attr name="nextFocusDown" format="reference"/>
2477
2478        <!-- Defines the next view to give focus to when the next focus is
2479             {@link android.view.View#FOCUS_FORWARD}
2480
2481             If the reference refers to a view that does not exist or is part
2482             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2483             will result when the reference is accessed.-->
2484        <attr name="nextFocusForward" format="reference"/>
2485
2486        <!-- Defines whether this view reacts to click events. -->
2487        <attr name="clickable" format="boolean" />
2488
2489        <!-- Defines whether this view reacts to long click events. -->
2490        <attr name="longClickable" format="boolean" />
2491
2492        <!--  Defines whether this view reacts to context click events. -->
2493        <attr name="contextClickable" format="boolean" />
2494
2495        <!-- If false, no state will be saved for this view when it is being
2496             frozen. The default is true, allowing the view to be saved
2497             (however it also must have an ID assigned to it for its
2498             state to be saved).  Setting this to false only disables the
2499             state for this view, not for its children which may still
2500             be saved. -->
2501        <attr name="saveEnabled" format="boolean" />
2502
2503        <!-- Specifies whether to filter touches when the view's window is obscured by
2504             another visible window.  When set to true, the view will not receive touches
2505             whenever a toast, dialog or other window appears above the view's window.
2506             Refer to the {@link android.view.View} security documentation for more details. -->
2507        <attr name="filterTouchesWhenObscured" format="boolean" />
2508
2509        <!-- Defines the quality of translucent drawing caches. This property is used
2510             only when the drawing cache is enabled and translucent. The default value is auto. -->
2511        <attr name="drawingCacheQuality">
2512            <!-- Lets the framework decide what quality level should be used
2513                 for the drawing cache. -->
2514            <enum name="auto" value="0" />
2515            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2516                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2517            <enum name="low" value="1" />
2518            <!-- High quality. When set to high quality, the drawing cache uses a higher
2519                 color depth but uses more memory. -->
2520            <enum name="high" value="2" />
2521        </attr>
2522
2523        <!-- Controls whether the view's window should keep the screen on
2524             while visible. -->
2525        <attr name="keepScreenOn" format="boolean" />
2526
2527        <!-- When this attribute is set to true, the view gets its drawable state
2528             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2529        <attr name="duplicateParentState" format="boolean" />
2530
2531        <!-- Defines the minimum height of the view. It is not guaranteed
2532             the view will be able to achieve this minimum height (for example,
2533             if its parent layout constrains it with less available height). -->
2534        <attr name="minHeight" />
2535
2536        <!-- Defines the minimum width of the view. It is not guaranteed
2537             the view will be able to achieve this minimum width (for example,
2538             if its parent layout constrains it with less available width). -->
2539        <attr name="minWidth" />
2540
2541        <!-- Boolean that controls whether a view should have sound effects
2542             enabled for events such as clicking and touching. -->
2543        <attr name="soundEffectsEnabled" format="boolean" />
2544
2545        <!-- Boolean that controls whether a view should have haptic feedback
2546             enabled for events such as long presses. -->
2547        <attr name="hapticFeedbackEnabled" format="boolean" />
2548
2549        <!-- Defines text that briefly describes content of the view. This property is used
2550             primarily for accessibility. Since some views do not have textual
2551             representation this attribute can be used for providing such. -->
2552        <attr name="contentDescription" format="string" localization="suggested" />
2553
2554        <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2555             A screen-reader must visit the content of this view before the content of the one
2556             it precedes.
2557             {@see android.view.View#setAccessibilityTraversalBefore(int)} -->
2558        <attr name="accessibilityTraversalBefore" format="integer" />
2559
2560        <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2561             A screen-reader must visit the content of the other view before the content of
2562             this one.
2563             {@see android.view.View#setAccessibilityTraversalAfter(int)} -->
2564        <attr name="accessibilityTraversalAfter" format="integer" />
2565
2566        <!-- Name of the method in this View's context to invoke when the view is
2567             clicked. This name must correspond to a public method that takes
2568             exactly one parameter of type View. For instance, if you specify
2569             <code>android:onClick="sayHello"</code>, you must declare a
2570             <code>public void sayHello(View v)</code> method of your context
2571             (typically, your Activity). -->
2572        <attr name="onClick" format="string" />
2573
2574        <!-- Defines over-scrolling behavior. This property is used only if the
2575             View is scrollable. Over-scrolling is the ability for the user to
2576             receive feedback when attempting to scroll beyond meaningful content. -->
2577        <attr name="overScrollMode">
2578            <!-- Always show over-scroll effects, even if the content fits entirely
2579                 within the available space. -->
2580            <enum name="always" value="0" />
2581            <!-- Only show over-scroll effects if the content is large
2582                 enough to meaningfully scroll. -->
2583            <enum name="ifContentScrolls" value="1" />
2584            <!-- Never show over-scroll effects. -->
2585            <enum name="never" value="2" />
2586        </attr>
2587
2588        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2589             (completely opaque). -->
2590        <attr name="alpha" format="float" />
2591
2592        <!-- base z depth of the view. -->
2593        <attr name="elevation" format="dimension" />
2594
2595        <!-- translation in x of the view. This value is added post-layout to the left
2596             property of the view, which is set by its layout. -->
2597        <attr name="translationX" format="dimension" />
2598
2599        <!-- translation in y of the view. This value is added post-layout to the top
2600             property of the view, which is set by its layout. -->
2601        <attr name="translationY" format="dimension" />
2602
2603        <!-- translation in z of the view. This value is added to its elevation. -->
2604        <attr name="translationZ" format="dimension" />
2605
2606        <!-- x location of the pivot point around which the view will rotate and scale.
2607             This xml attribute sets the pivotX property of the View. -->
2608        <attr name="transformPivotX" format="dimension" />
2609
2610        <!-- y location of the pivot point around which the view will rotate and scale.
2611             This xml attribute sets the pivotY property of the View. -->
2612        <attr name="transformPivotY" format="dimension" />
2613
2614        <!-- rotation of the view, in degrees. -->
2615        <attr name="rotation" format="float" />
2616
2617        <!-- rotation of the view around the x axis, in degrees. -->
2618        <attr name="rotationX" format="float" />
2619
2620        <!-- rotation of the view around the y axis, in degrees. -->
2621        <attr name="rotationY" format="float" />
2622
2623        <!-- scale of the view in the x direction. -->
2624        <attr name="scaleX" format="float" />
2625
2626        <!-- scale of the view in the y direction. -->
2627        <attr name="scaleY" format="float" />
2628
2629        <!-- Determines which side the vertical scroll bar should be placed on. -->
2630        <attr name="verticalScrollbarPosition">
2631            <!-- Place the scroll bar wherever the system default determines. -->
2632            <enum name="defaultPosition" value="0" />
2633            <!-- Place the scroll bar on the left. -->
2634            <enum name="left" value="1" />
2635            <!-- Place the scroll bar on the right. -->
2636            <enum name="right" value="2" />
2637        </attr>
2638
2639        <!-- Specifies the type of layer backing this view. The default value is none.
2640             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2641             for more information.-->
2642        <attr name="layerType">
2643            <!-- Don't use a layer. -->
2644            <enum name="none" value="0" />
2645            <!-- Use a software layer. Refer to
2646                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2647                 more information. -->
2648            <enum name="software" value="1" />
2649            <!-- Use a hardware layer. Refer to
2650                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2651                 more information. -->
2652            <enum name="hardware" value="2" />
2653        </attr>
2654
2655        <!-- Defines the direction of layout drawing. This typically is associated with writing
2656             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2657             "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing
2658             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2659             used in "en-US". The default for this attribute is "inherit". -->
2660        <attr name="layoutDirection">
2661            <!-- Left-to-Right. -->
2662            <enum name="ltr" value="0" />
2663            <!-- Right-to-Left. -->
2664            <enum name="rtl" value="1" />
2665            <!-- Inherit from parent. -->
2666            <enum name="inherit" value="2" />
2667            <!-- Locale. -->
2668            <enum name="locale" value="3" />
2669        </attr>
2670
2671        <!-- Defines the direction of the text. -->
2672         <attr name="textDirection" format="integer">
2673            <!-- Default. -->
2674            <enum name="inherit" value="0" />
2675            <!-- Default for the root view. The first strong directional character determines the
2676                 paragraph direction.  If there is no strong directional character, the paragraph
2677                 direction is the view’s resolved layout direction. -->
2678            <enum name="firstStrong" value="1" />
2679            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2680                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2681                 paragraph direction is the view’s resolved layout direction. -->
2682            <enum name="anyRtl" value="2" />
2683            <!-- The paragraph direction is left to right. -->
2684            <enum name="ltr" value="3" />
2685            <!-- The paragraph direction is right to left. -->
2686            <enum name="rtl" value="4" />
2687            <!-- The paragraph direction is coming from the system Locale. -->
2688            <enum name="locale" value="5" />
2689            <!-- The first strong directional character determines the paragraph direction. If
2690                 there is no strong directional character, the paragraph direction is LTR. -->
2691            <enum name="firstStrongLtr" value="6" />
2692            <!-- The first strong directional character determines the paragraph direction. If
2693                 there is no strong directional character, the paragraph direction is RTL. -->
2694            <enum name="firstStrongRtl" value="7" />
2695        </attr>
2696
2697        <!-- Defines the alignment of the text. -->
2698        <attr name="textAlignment" format="integer">
2699            <!-- Default. -->
2700            <enum name="inherit" value="0" />
2701            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2702                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2703                text direction. -->
2704            <enum name="gravity" value="1" />
2705            <!-- Align to the start of the paragraph, for example: ALIGN_NORMAL. -->
2706            <enum name="textStart" value="2" />
2707            <!-- Align to the end of the paragraph, for example: ALIGN_OPPOSITE. -->
2708            <enum name="textEnd" value="3" />
2709            <!-- Center the paragraph, for example: ALIGN_CENTER. -->
2710            <enum name="center" value="4" />
2711            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2712                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2713            <enum name="viewStart" value="5" />
2714            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2715                layoutDirection is LTR, and ALIGN_LEFT otherwise. -->
2716            <enum name="viewEnd" value="6" />
2717        </attr>
2718
2719        <!-- Describes whether or not this view is important for accessibility.
2720             If it is important, the view fires accessibility events and is
2721             reported to accessibility services that query the screen. Note:
2722             While not recommended, an accessibility service may decide to
2723             ignore this attribute and operate on all views in the view tree. -->
2724        <attr name="importantForAccessibility" format="integer">
2725            <!-- The system determines whether the view is important for accessibility - default
2726                 (recommended). -->
2727            <enum name="auto" value="0" />
2728            <!-- The view is important for accessibility. -->
2729            <enum name="yes" value="1" />
2730            <!-- The view is not important for accessibility. -->
2731            <enum name="no" value="2" />
2732            <!-- The view is not important for accessibility, nor are any of its descendant
2733                 views. -->
2734            <enum name="noHideDescendants" value="4" />
2735        </attr>
2736
2737        <!-- Indicates to accessibility services whether the user should be notified when
2738             this view changes. -->
2739        <attr name="accessibilityLiveRegion" format="integer">
2740            <!-- Accessibility services should not announce changes to this view. -->
2741            <enum name="none" value="0" />
2742            <!-- Accessibility services should announce changes to this view. -->
2743            <enum name="polite" value="1" />
2744            <!-- Accessibility services should interrupt ongoing speech to immediately
2745                 announce changes to this view. -->
2746            <enum name="assertive" value="2" />
2747        </attr>
2748
2749        <!-- Specifies the id of a view for which this view serves as a label for
2750             accessibility purposes. For example, a TextView before an EditText in
2751             the UI usually specifies what infomation is contained in the EditText.
2752             Hence, the TextView is a label for the EditText. -->
2753        <attr name="labelFor" format="reference" />
2754
2755        <!-- Specifies a theme override for a view. When a theme override is set, the
2756             view will be inflated using a {@link android.content.Context} themed with
2757             the specified resource. During XML inflation, any child views under the
2758             view with a theme override will inherit the themed context. -->
2759        <attr name="theme" />
2760
2761        <!-- Names a View such that it can be identified for Transitions. Names should be
2762             unique in the View hierarchy. -->
2763        <attr name="transitionName" format="string" />
2764
2765        <!-- Specifies that this view should permit nested scrolling within a compatible
2766             ancestor view. -->
2767        <attr name="nestedScrollingEnabled" format="boolean" />
2768
2769        <!-- Sets the state-based animator for the View. -->
2770        <attr name="stateListAnimator" format="reference"/>
2771
2772        <!-- Tint to apply to the background. -->
2773        <attr name="backgroundTint" format="color" />
2774
2775        <!-- Blending mode used to apply the background tint. -->
2776        <attr name="backgroundTintMode">
2777            <!-- The tint is drawn on top of the drawable.
2778                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2779            <enum name="src_over" value="3" />
2780            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2781                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2782            <enum name="src_in" value="5" />
2783            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2784                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2785            <enum name="src_atop" value="9" />
2786            <!-- Multiplies the color and alpha channels of the drawable with those of
2787                 the tint. [Sa * Da, Sc * Dc] -->
2788            <enum name="multiply" value="14" />
2789            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2790            <enum name="screen" value="15" />
2791            <!-- Combines the tint and drawable color and alpha channels, clamping the
2792                 result to valid color values. Saturate(S + D) -->
2793            <enum name="add" value="16" />
2794        </attr>
2795
2796        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2797        <attr name="outlineProvider">
2798            <!-- Default, background drawable-driven outline. -->
2799            <enum name="background" value="0" />
2800            <!-- No outline provider. -->
2801            <enum name="none" value="1" />
2802            <!-- Generates an opaque outline for the bounds of the view. -->
2803            <enum name="bounds" value="2" />
2804            <!-- Generates an opaque outline for the padded bounds of the view. -->
2805            <enum name="paddedBounds" value="3" />
2806        </attr>
2807
2808        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2809             The foreground drawable participates in the padding of the content if the gravity
2810             is set to fill. -->
2811        <attr name="foreground" format="reference|color" />
2812        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2813             to fill. -->
2814        <attr name="foregroundGravity">
2815            <!-- Push object to the top of its container, not changing its size. -->
2816            <flag name="top" value="0x30" />
2817            <!-- Push object to the bottom of its container, not changing its size. -->
2818            <flag name="bottom" value="0x50" />
2819            <!-- Push object to the left of its container, not changing its size. -->
2820            <flag name="left" value="0x03" />
2821            <!-- Push object to the right of its container, not changing its size. -->
2822            <flag name="right" value="0x05" />
2823            <!-- Place object in the vertical center of its container, not changing its size. -->
2824            <flag name="center_vertical" value="0x10" />
2825            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2826            <flag name="fill_vertical" value="0x70" />
2827            <!-- Place object in the horizontal center of its container, not changing its size. -->
2828            <flag name="center_horizontal" value="0x01" />
2829            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2830            <flag name="fill_horizontal" value="0x07" />
2831            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2832            <flag name="center" value="0x11" />
2833            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2834            <flag name="fill" value="0x77" />
2835            <!-- Additional option that can be set to have the top and/or bottom edges of
2836                 the child clipped to its container's bounds.
2837                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
2838                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2839            <flag name="clip_vertical" value="0x80" />
2840            <!-- Additional option that can be set to have the left and/or right edges of
2841                 the child clipped to its container's bounds.
2842                 The clip will be based on the horizontal gravity: a left gravity will clip the right
2843                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2844            <flag name="clip_horizontal" value="0x08" />
2845        </attr>
2846        <!-- Defines whether the foreground drawable should be drawn inside the padding.
2847             This property is turned on by default. -->
2848        <attr name="foregroundInsidePadding" format="boolean" />
2849        <!-- Tint to apply to the foreground. -->
2850        <attr name="foregroundTint" format="color" />
2851        <!-- Blending mode used to apply the foreground tint. -->
2852        <attr name="foregroundTintMode">
2853            <!-- The tint is drawn on top of the drawable.
2854                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2855            <enum name="src_over" value="3" />
2856            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2857                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2858            <enum name="src_in" value="5" />
2859            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2860                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2861            <enum name="src_atop" value="9" />
2862            <!-- Multiplies the color and alpha channels of the drawable with those of
2863                 the tint. [Sa * Da, Sc * Dc] -->
2864            <enum name="multiply" value="14" />
2865            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2866            <enum name="screen" value="15" />
2867            <!-- Combines the tint and drawable color and alpha channels, clamping the
2868                 result to valid color values. Saturate(S + D) -->
2869            <enum name="add" value="16" />
2870        </attr>
2871
2872        <!-- Defines which scroll indicators should be displayed when the view
2873             can be scrolled. Multiple values may be combined using logical OR,
2874             for example "top|bottom". -->
2875        <attr name="scrollIndicators">
2876            <!-- No scroll indicators are displayed. -->
2877            <flag name="none" value="0x00" />
2878            <!-- Displays top scroll indicator when view can be scrolled up. -->
2879            <flag name="top" value="0x01" />
2880            <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2881            <flag name="bottom" value="0x02" />
2882            <!-- Displays left scroll indicator when vew can be scrolled left. -->
2883            <flag name="left" value="0x04" />
2884            <!-- Displays right scroll indicator when vew can be scrolled right. -->
2885            <flag name="right" value="0x08" />
2886            <!-- Displays right scroll indicator when vew can be scrolled in the
2887                 start direction. -->
2888            <flag name="start" value="0x10" />
2889            <!-- Displays right scroll indicator when vew can be scrolled in the
2890                 end direction. -->
2891            <flag name="end" value="0x20" />
2892        </attr>
2893
2894        <attr name="pointerIcon">
2895            <!-- Null icon, pointer becomes invisible. -->
2896            <enum name="none" value="0" />
2897            <!-- The default icon of arrow pointer. -->
2898            <enum name="arrow" value="1000" />
2899            <!-- Pointer icon indicating context-menu will appear. -->
2900            <enum name="context_menu" value="1001" />
2901            <!-- Pointer icon of a hand with the index finger. -->
2902            <enum name="hand" value="1002" />
2903            <!-- Pointer icon indicating help. -->
2904            <enum name="help" value="1003" />
2905            <!-- Pointer icon indicating something is going on and waiting. -->
2906            <enum name="wait" value="1004" />
2907            <!-- Pointer icon for cell and grid. -->
2908            <enum name="cell" value="1006" />
2909            <!-- Pointer icon of crosshair, indicating to spot a location. -->
2910            <enum name="crosshair" value="1007" />
2911            <!-- Pointer icon of I-beam, usually for text. -->
2912            <enum name="text" value="1008" />
2913            <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. -->
2914            <enum name="vertical_text" value="1009" />
2915            <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be
2916                 created. -->
2917            <enum name="alias" value="1010" />
2918            <!-- Pointer icon of 'copy', used for drag/drop. -->
2919            <enum name="copy" value="1011" />
2920            <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the
2921                 current location. -->
2922            <enum name="no_drop" value="1012" />
2923            <!-- Pointer icon of four-way arrows, indicating scrolling all direction. -->
2924            <enum name="all_scroll" value="1013" />
2925            <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. -->
2926            <enum name="horizontal_double_arrow" value="1014" />
2927            <!-- Pointer icon of vertical double arrow, indicating vertical resize. -->
2928            <enum name="vertical_double_arrow" value="1015" />
2929            <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left.
2930                 Indicating freeform resize. -->
2931            <enum name="top_right_diagonal_double_arrow" value="1016" />
2932            <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right.
2933                 Indicating freeform resize. -->
2934            <enum name="top_left_diagonal_double_arrow" value="1017" />
2935            <!-- Pointer icon indicating zoom-in. -->
2936            <enum name="zoom_in" value="1018" />
2937            <!-- Pointer icon indicating zoom-out. -->
2938            <enum name="zoom_out" value="1019" />
2939            <!-- Pointer icon of a hand sign to grab something. -->
2940            <enum name="grab" value="1020" />
2941            <!-- Pointer icon of a hand sign while grabbing something. -->
2942            <enum name="grabbing" value="1021" />
2943        </attr>
2944
2945        <!-- Whether this view has elements that may overlap when drawn. See
2946             {@link android.view.View#forceHasOverlappingRendering(boolean)}. -->
2947        <attr name="forceHasOverlappingRendering" format="boolean" />
2948
2949        <!-- Defines text displayed in a small popup window on hover or long press. -->
2950        <attr name="tooltipText" format="string" localization="suggested" />
2951
2952        <!-- Whether this view is a root of a keyboard navigation cluster.
2953             See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. -->
2954        <attr name="keyboardNavigationCluster" format="boolean" />
2955
2956        <attr name="__removed0" format="boolean" />
2957
2958        <!-- Defines the next keyboard navigation cluster.
2959
2960             If the reference refers to a view that does not exist or is part
2961             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2962             will result when the reference is accessed.-->
2963        <attr name="nextClusterForward" format="reference"/>
2964
2965        <attr name="__removed1" format="reference"/>
2966
2967        <!-- Whether this view is a default-focus view.
2968             Only one view per keyboard navigation cluster can have this attribute set to true.
2969             See {@link android.view.View#setFocusedByDefault(boolean)}. -->
2970        <attr name="focusedByDefault" format="boolean" />
2971
2972    </declare-styleable>
2973
2974    <!-- Attributes that can be assigned to a tag for a particular View. -->
2975    <declare-styleable name="ViewTag">
2976        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2977        <attr name="id" />
2978        <!-- Specifies the value with which to tag the view. -->
2979        <attr name="value" />
2980    </declare-styleable>
2981
2982    <!-- Attributes that can be assigned to an &lt;include&gt; tag.
2983         @hide -->
2984    <declare-styleable name="Include">
2985        <attr name="id" />
2986        <attr name="visibility" />
2987    </declare-styleable>
2988
2989    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2990         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2991         attributes that this class processes in its children. -->
2992    <declare-styleable name="ViewGroup">
2993        <!-- Defines whether changes in layout (caused by adding and removing items) should
2994             cause a LayoutTransition to run. When this flag is set to true, a default
2995             LayoutTransition object will be set on the ViewGroup container and default
2996             animations will run when these layout changes occur.-->
2997        <attr name="animateLayoutChanges" format="boolean" />
2998        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2999             This is useful with animations that scale the size of the children to more
3000             than 100% for instance. In such a case, this property should be set to false
3001             to allow the children to draw outside of their bounds. The default value of
3002             this property is true. -->
3003        <attr name="clipChildren" format="boolean" />
3004        <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
3005             EdgeEffect to its padding, if padding is not zero. This property is set to true by
3006             default. -->
3007        <attr name="clipToPadding" format="boolean" />
3008        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
3009             Layout animations can also be started manually after the first layout. -->
3010        <attr name="layoutAnimation" format="reference" />
3011        <!-- Defines whether layout animations should create a drawing cache for their
3012             children. Enabling the animation cache consumes more memory and requires
3013             a longer initialization but provides better performance. The animation
3014             cache is enabled by default. -->
3015        <attr name="animationCache" format="boolean" />
3016        <!-- Defines the persistence of the drawing cache. The drawing cache might be
3017             enabled by a ViewGroup for all its children in specific situations (for
3018             instance during a scrolling.) This property lets you persist the cache
3019             in memory after its initial usage. Persisting the cache consumes more
3020             memory but may prevent frequent garbage collection is the cache is created
3021             over and over again. By default the persistence is set to scrolling. -->
3022        <attr name="persistentDrawingCache">
3023            <!-- The drawing cache is not persisted after use. -->
3024            <flag name="none" value="0x0" />
3025            <!-- The drawing cache is persisted after a layout animation. -->
3026            <flag name="animation" value="0x1" />
3027            <!-- The drawing cache is persisted after a scroll. -->
3028            <flag name="scrolling" value="0x2" />
3029            <!-- The drawing cache is always persisted. -->
3030            <flag name="all" value="0x3" />
3031        </attr>
3032        <!-- Defines whether the ViewGroup should always draw its children using their
3033             drawing cache or not. The default value is true. -->
3034        <attr name="alwaysDrawnWithCache" format="boolean" />
3035        <!-- Sets whether this ViewGroup's drawable states also include
3036             its children's drawable states.  This is used, for example, to
3037             make a group appear to be focused when its child EditText or button
3038             is focused. -->
3039        <attr name="addStatesFromChildren" format="boolean" />
3040
3041        <!-- Defines the relationship between the ViewGroup and its descendants
3042             when looking for a View to take focus. -->
3043        <attr name="descendantFocusability">
3044            <!-- The ViewGroup will get focus before any of its descendants. -->
3045            <enum name="beforeDescendants" value="0" />
3046            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
3047            <enum name="afterDescendants" value="1" />
3048            <!-- The ViewGroup will block its descendants from receiving focus. -->
3049            <enum name="blocksDescendants" value="2" />
3050        </attr>
3051
3052        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
3053        <attr name="touchscreenBlocksFocus" format="boolean" />
3054
3055        <!-- Sets whether this ViewGroup should split MotionEvents
3056             to separate child views during touch event dispatch.
3057             If false (default), touch events will be dispatched to
3058             the child view where the first pointer went down until
3059             the last pointer goes up.
3060             If true, touch events may be dispatched to multiple children.
3061             MotionEvents for each pointer will be dispatched to the child
3062             view where the initial ACTION_DOWN event happened.
3063             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
3064             for more information. -->
3065        <attr name="splitMotionEvents" format="boolean" />
3066
3067        <!-- Defines the layout mode of this ViewGroup. -->
3068        <attr name="layoutMode">
3069            <!-- Use the children's clip bounds when laying out this container. -->
3070            <enum name="clipBounds" value="0" />
3071            <!-- Use the children's optical bounds when laying out this container. -->
3072            <enum name="opticalBounds" value="1" />
3073        </attr>
3074
3075        <!-- Sets whether or not this ViewGroup should be treated as a single entity
3076             when doing an Activity transition. Typically, the elements inside a
3077             ViewGroup are each transitioned from the scene individually. The default
3078             for a ViewGroup is false unless it has a background. See
3079             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
3080             android.view.View, String)} for more information. Corresponds to
3081             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
3082        <attr name="transitionGroup" format="boolean" />
3083    </declare-styleable>
3084
3085    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
3086         inside your application at runtime. -->
3087    <declare-styleable name="ViewStub">
3088        <!-- Supply an identifier name for this view. -->
3089        <attr name="id" />
3090        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
3091             becomes visible or when forced to do so. The layout resource must be a
3092             valid reference to a layout. -->
3093        <attr name="layout" format="reference" />
3094        <!-- Overrides the id of the inflated View with this value. -->
3095        <attr name="inflatedId" format="reference" />
3096    </declare-styleable>
3097
3098    <!-- ===================================== -->
3099    <!-- View package parent layout attributes -->
3100    <!-- ===================================== -->
3101    <eat-comment />
3102
3103    <!-- This is the basic set of layout attributes that are common to all
3104         layout managers.  These attributes are specified with the rest of
3105         a view's normal attributes (such as {@link android.R.attr#background},
3106         but will be parsed by the view's parent and ignored by the child.
3107        <p>The values defined here correspond to the base layout attribute
3108        class {@link android.view.ViewGroup.LayoutParams}. -->
3109    <declare-styleable name="ViewGroup_Layout">
3110        <!-- Specifies the basic width of the view.  This is a required attribute
3111             for any view inside of a containing layout manager.  Its value may
3112             be a dimension (such as "12dip") for a constant width or one of
3113             the special constants. -->
3114        <attr name="layout_width" format="dimension">
3115            <!-- The view should be as big as its parent (minus padding).
3116                 This constant is deprecated starting from API Level 8 and
3117                 is replaced by {@code match_parent}. -->
3118            <enum name="fill_parent" value="-1" />
3119            <!-- The view should be as big as its parent (minus padding).
3120                 Introduced in API Level 8. -->
3121            <enum name="match_parent" value="-1" />
3122            <!-- The view should be only big enough to enclose its content (plus padding). -->
3123            <enum name="wrap_content" value="-2" />
3124        </attr>
3125
3126        <!-- Specifies the basic height of the view.  This is a required attribute
3127             for any view inside of a containing layout manager.  Its value may
3128             be a dimension (such as "12dip") for a constant height or one of
3129             the special constants. -->
3130        <attr name="layout_height" format="dimension">
3131            <!-- The view should be as big as its parent (minus padding).
3132                 This constant is deprecated starting from API Level 8 and
3133                 is replaced by {@code match_parent}. -->
3134            <enum name="fill_parent" value="-1" />
3135            <!-- The view should be as big as its parent (minus padding).
3136                 Introduced in API Level 8. -->
3137            <enum name="match_parent" value="-1" />
3138            <!-- The view should be only big enough to enclose its content (plus padding). -->
3139            <enum name="wrap_content" value="-2" />
3140        </attr>
3141    </declare-styleable>
3142
3143    <!-- This is the basic set of layout attributes for layout managers that
3144         wish to place margins around their child views.
3145         These attributes are specified with the rest of
3146         a view's normal attributes (such as {@link android.R.attr#background},
3147         but will be parsed by the view's parent and ignored by the child.
3148        <p>The values defined here correspond to the base layout attribute
3149        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
3150    <declare-styleable name="ViewGroup_MarginLayout">
3151        <attr name="layout_width" />
3152        <attr name="layout_height" />
3153        <!--  Specifies extra space on the left, top, right and bottom
3154              sides of this view.  If both layout_margin and any of layout_marginLeft,
3155              layout_marginRight, layout_marginStart, layout_marginEnd,
3156              layout_marginTop, and layout_marginBottom are
3157              also specified, the layout_margin value will take precedence over the
3158              edge-specific values. This space is outside this view's bounds.
3159              Margin values should be positive. -->
3160        <attr name="layout_margin" format="dimension"  />
3161        <!--  Specifies extra space on the left side of this view.
3162              This space is outside this view's bounds.
3163              Margin values should be positive. -->
3164        <attr name="layout_marginLeft" format="dimension"  />
3165        <!--  Specifies extra space on the top side of this view.
3166              This space is outside this view's bounds.
3167              Margin values should be positive.-->
3168        <attr name="layout_marginTop" format="dimension" />
3169        <!--  Specifies extra space on the right side of this view.
3170              This space is outside this view's bounds.
3171              Margin values should be positive.-->
3172        <attr name="layout_marginRight" format="dimension"  />
3173        <!--  Specifies extra space on the bottom side of this view.
3174              This space is outside this view's bounds.
3175              Margin values should be positive.-->
3176        <attr name="layout_marginBottom" format="dimension"  />
3177        <!--  Specifies extra space on the start side of this view.
3178              This space is outside this view's bounds.
3179              Margin values should be positive.-->
3180        <attr name="layout_marginStart" format="dimension"  />
3181        <!--  Specifies extra space on the end side of this view.
3182              This space is outside this view's bounds.
3183              Margin values should be positive.-->
3184        <attr name="layout_marginEnd" format="dimension"  />
3185        <!--  Specifies extra space on the left and right sides of this view.
3186              Specifying layout_marginHorizontal is equivalent to specifying
3187              either layout_marginLeft and layout_marginRight or
3188              layout_marginStart and layout_marginEnd with that same value.
3189              If both layout_marginHorizontal and any of layout_marginLeft,
3190              layout_marginRight, layout_marginStart, and layout_marginEnd are
3191              also specified, the layout_marginHorizontal value will take precedence over the
3192              edge-specific values. Also, layout_margin will always take precedence over
3193              any of these values, including layout_marginHorizontal.
3194              This space is outside this view's bounds.
3195              Margin values should be positive.-->
3196        <attr name="layout_marginHorizontal" format="dimension"  />
3197        <!--  Specifies extra space on the top and bottom sides of this view.
3198              Specifying layout_marginVertical is equivalent to specifying
3199              layout_marginTop and layout_marginBottom with that same value.
3200              If both layout_marginVertical and either/both layout_marginTop and
3201              layout_marginBottom are also specified, the layout_marginVertical value
3202              will take precedence over the edge-specific values.
3203              Also, layout_margin will always take precedence over
3204              any of these values, including layout_marginVertical.
3205              This space is outside this view's bounds.
3206              Margin values should be positive.-->
3207        <attr name="layout_marginVertical" format="dimension"  />
3208    </declare-styleable>
3209
3210    <!-- Use <code>input-method</code> as the root tag of the XML resource that
3211         describes an
3212         {@link android.view.inputmethod.InputMethod} service, which is
3213         referenced from its
3214         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
3215         meta-data entry.  Described here are the attributes that can be
3216         included in that tag. -->
3217    <declare-styleable name="InputMethod">
3218        <!-- Component name of an activity that allows the user to modify
3219             the settings for this service. -->
3220        <attr name="settingsActivity" format="string" />
3221        <!-- Set to true in all of the configurations for which this input
3222             method should be considered an option as the default. -->
3223        <attr name="isDefault" format="boolean" />
3224        <!-- Set to true if this input method supports ways to switch to
3225             a next input method (for example, a globe key.). When this is true and
3226             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
3227             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
3228             accordingly.
3229             <p> Note that the system determines the most appropriate next input method
3230             and subtype in order to provide the consistent user experience in switching
3231             between IMEs and subtypes. -->
3232        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
3233        <!-- Set to true if this input method supports ways to dismiss the windows assigned to
3234             the input method (for example, a dismiss button rendered by the input method itself).  The
3235             System UI may optimize the UI by not showing system-level dismiss button if this
3236             value is true.
3237             <p> Must be a boolean value, either "true" or "false". The default value is "false".
3238             <p> This may also be a reference to a resource (in the form "@[package:]type:name")
3239             or theme attribute (in the form "?[package:]type:name") containing a value of this
3240             type.
3241             <p> A UI element that dismisses the input method window should report
3242             {@link android.view.accessibility.AccessibilityNodeInfo#ACTION_DISMISS} action, so
3243             that accessibility services can handle it accordingly. -->
3244        <attr name="supportsDismissingWindow" format="boolean" />
3245    </declare-styleable>
3246
3247    <!-- This is the subtype of InputMethod. Subtype can describe locales (for example, en_US and
3248         fr_FR) and modes (for example, voice and keyboard), and is used for IME switch. This
3249         subtype allows the system to call the specified subtype of the IME directly. -->
3250    <declare-styleable name="InputMethod_Subtype">
3251        <!-- The name of the subtype. -->
3252        <attr name="label" />
3253        <!-- The icon of the subtype. -->
3254        <attr name="icon" />
3255        <!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR)
3256             and will be passed to the IME when the framework calls the IME
3257             with the subtype. This is also used by the framework to know the supported locales
3258             of the IME.  -->
3259        <attr name="imeSubtypeLocale" format="string" />
3260        <!-- The mode of the subtype. This string can be a mode (for example, voice and keyboard)
3261             and this string will be passed to the IME when the framework calls the IME with the
3262             subtype.  {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the
3263             value specified in this attribute.  -->
3264        <attr name="imeSubtypeMode" format="string" />
3265        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
3266             input method selection list in the settings app.
3267             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
3268             chooses a target subtype. -->
3269        <attr name="isAuxiliary" format="boolean" />
3270        <!-- Set true when this subtype should be selected by default if no other subtypes are
3271             selected explicitly. Note that a subtype with this parameter being true will
3272             not be shown in the subtypes list. -->
3273        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3274        <!-- The extra value of the subtype. This string can be any string and will be passed to
3275             the IME when the framework calls the IME with the subtype.  -->
3276        <attr name="imeSubtypeExtraValue" format="string" />
3277        <!-- The unique id for the subtype. The input method framework keeps track of enabled
3278             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3279             if other attributes are different. If the ID is unspecified (by calling the other
3280             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3281             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3282        <attr name="subtypeId" format="integer"/>
3283        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3284             capable, it should guarantee that the user can input ASCII characters with
3285             this subtype. This is important because many password fields only allow
3286             ASCII-characters. -->
3287        <attr name="isAsciiCapable" format="boolean" />
3288        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3289        {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}.  -->
3290        <attr name="languageTag" format="string" />
3291    </declare-styleable>
3292
3293    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3294         describes an
3295         {@link android.service.textservice.SpellCheckerService} service, which is
3296         referenced from its
3297         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3298         meta-data entry.  Described here are the attributes that can be
3299         included in that tag. -->
3300    <declare-styleable name="SpellChecker">
3301        <!-- The name of the spell checker. -->
3302        <attr name="label" />
3303        <!-- Component name of an activity that allows the user to modify
3304             the settings for this service. -->
3305        <attr name="settingsActivity"/>
3306    </declare-styleable>
3307
3308    <!-- This is the subtype of the spell checker. Subtype can describe locales (for example,
3309             en_US and fr_FR). -->
3310    <declare-styleable name="SpellChecker_Subtype">
3311        <!-- The name of the subtype. -->
3312        <attr name="label" />
3313        <!-- The locale of the subtype. This string should be a locale (for example, en_US and
3314             fr_FR). This is also used by the framework to know the supported locales
3315             of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()}
3316             returns the value specified in this attribute.  -->
3317        <attr name="subtypeLocale" format="string" />
3318        <!-- The extra value of the subtype. This string can be any string and will be passed to
3319             the SpellChecker.  -->
3320        <attr name="subtypeExtraValue" format="string" />
3321        <!-- The unique id for the subtype. The text service (spell checker) framework keeps track
3322             of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs
3323             will stay enabled even if other attributes are different. If the ID is unspecified or
3324             explicitly specified to 0 in XML resources,
3325             {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue})} will be used instead.
3326              -->
3327        <attr name="subtypeId" />
3328        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3329        {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}.  -->
3330        <attr name="languageTag" />
3331    </declare-styleable>
3332
3333    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3334         describes an {@link android.accessibilityservice.AccessibilityService} service,
3335         which is referenced from its
3336         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3337         meta-data entry. -->
3338    <declare-styleable name="AccessibilityService">
3339        <!-- The event types this service would like to receive as specified in
3340             {@link android.view.accessibility.AccessibilityEvent}. This setting
3341             can be changed at runtime by calling
3342             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3343             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3344        <attr name="accessibilityEventTypes">
3345            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3346            <flag name="typeViewClicked" value="0x00000001" />
3347            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3348            <flag name="typeViewLongClicked" value="0x00000002" />
3349            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3350            <flag name="typeViewSelected" value="0x00000004" />
3351            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3352            <flag name="typeViewFocused" value="0x00000008" />
3353            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3354            <flag name="typeViewTextChanged" value="0x00000010" />
3355            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3356            <flag name="typeWindowStateChanged" value="0x00000020" />
3357            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3358            <flag name="typeNotificationStateChanged" value="0x00000040" />
3359            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3360            <flag name="typeViewHoverEnter" value="0x00000080" />
3361            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3362            <flag name="typeViewHoverExit" value="0x00000100" />
3363            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3364            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3365            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3366            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3367            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3368            <flag name="typeWindowContentChanged" value="0x00000800" />
3369            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3370            <flag name="typeViewScrolled" value="0x000001000" />
3371            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3372            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3373            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3374            <flag name="typeAnnouncement" value="0x00004000" />
3375            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3376            <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3377            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3378            <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3379            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3380            <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3381            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3382            <flag name="typeGestureDetectionStart" value="0x00040000" />
3383            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3384            <flag name="typeGestureDetectionEnd" value="0x00080000" />
3385            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3386            <flag name="typeTouchInteractionStart" value="0x00100000" />
3387            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3388            <flag name="typeTouchInteractionEnd" value="0x00200000" />
3389            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3390            <flag name="typeWindowsChanged" value="0x00400000" />
3391            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3392            <flag name="typeContextClicked" value="0x00800000" />
3393            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. -->
3394            <flag name="typeAssistReadingContext" value="0x01000000" />
3395            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3396            <flag name="typeAllMask" value="0xffffffff" />
3397        </attr>
3398        <!-- Comma separated package names from which this service would like to receive events (leave out for all packages).
3399             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3400             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3401        <attr name="packageNames" format="string" />
3402        <!-- The feedback types this service provides as specified in
3403             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3404             can be changed at runtime by calling
3405             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3406             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3407        <attr name="accessibilityFeedbackType">
3408            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3409            <flag name="feedbackSpoken" value="0x00000001" />
3410            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3411            <flag name="feedbackHaptic" value="0x00000002" />
3412            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3413            <flag name="feedbackAudible" value="0x00000004" />
3414            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3415            <flag name="feedbackVisual" value="0x00000008" />
3416            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3417            <flag name="feedbackGeneric" value="0x00000010" />
3418            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3419            <flag name="feedbackAllMask" value="0xffffffff" />
3420        </attr>
3421        <!-- The minimal period in milliseconds between two accessibility events of the same type
3422             are sent to this service. This setting can be changed at runtime by calling
3423             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3424             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3425        <attr name="notificationTimeout" format="integer" />
3426        <!-- Additional flags as specified in
3427             {@link android.accessibilityservice.AccessibilityServiceInfo}.
3428             This setting can be changed at runtime by calling
3429             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3430             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3431        <attr name="accessibilityFlags">
3432            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT}. -->
3433            <flag name="flagDefault" value="0x00000001" />
3434            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS}. -->
3435            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3436            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE}. -->
3437            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3438            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY}. -->
3439            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3440            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS}. -->
3441            <flag name="flagReportViewIds" value="0x00000010" />
3442            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS}. -->
3443            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3444            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS}. -->
3445            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3446            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME}. -->
3447            <flag name="flagEnableAccessibilityVolume" value="0x00000080" />
3448            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON}. -->
3449            <flag name="flagRequestAccessibilityButton" value="0x00000100" />
3450            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_CAPTURE_FINGERPRINT_GESTURES}. -->
3451            <flag name="flagCaptureFingerprintGestures" value="0x00000200" />
3452        </attr>
3453        <!-- Component name of an activity that allows the user to modify
3454             the settings for this service. This setting cannot be changed at runtime. -->
3455        <attr name="settingsActivity" />
3456        <!-- Attribute whether the accessibility service wants to be able to retrieve the
3457             active window content. This setting cannot be changed at runtime. -->
3458        <attr name="canRetrieveWindowContent" format="boolean" />
3459        <!-- Attribute whether the accessibility service wants to be able to request touch
3460             exploration mode in which touched items are spoken aloud and the UI can be
3461             explored via gestures.
3462             <p>
3463             Required to allow setting the {@link android.accessibilityservice
3464             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3465             </p>
3466         -->
3467        <attr name="canRequestTouchExplorationMode" format="boolean" />
3468        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3469             web accessibility enhancements. For example, installing scripts to make app
3470             content more accessible.
3471             <p>
3472             Required to allow setting the {@link android.accessibilityservice
3473             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
3474             </p>
3475         -->
3476        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3477        <!-- Attribute whether the accessibility service wants to be able to request to
3478             filter key events.
3479             <p>
3480             Required to allow setting the {@link android.accessibilityservice
3481             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3482             </p>
3483         -->
3484        <attr name="canRequestFilterKeyEvents" format="boolean" />
3485        <!-- Attribute whether the accessibility service wants to be able to control
3486             display magnification.
3487         -->
3488        <attr name="canControlMagnification" format="boolean" />
3489        <!-- Attribute whether the accessibility service wants to be able to perform gestures. -->
3490        <attr name="canPerformGestures" format="boolean" />
3491        <!-- Attribute whether the accessibility service wants to be able to capture gestures from
3492             the fingerprint sensor.
3493             <p>
3494             Required to allow setting the {@link android.accessibilityservice
3495             #AccessibilityServiceInfo#FLAG_CAN_CAPTURE_FINGERPRINT_GESTURES} flag.
3496             </p>
3497         -->
3498        <attr name="canCaptureFingerprintGestures" format="boolean" />
3499        <!-- Short description of the accessibility service purpose or behavior.-->
3500        <attr name="description" />
3501        <!-- Brief summary of the accessibility service purpose or behavior. -->
3502        <attr name="summary" />
3503    </declare-styleable>
3504
3505    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3506         describes an {@link android.printservice.PrintService} service, which is
3507         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3508         meta-data entry. -->
3509    <declare-styleable name="PrintService">
3510        <!-- Fully qualified class name of an activity that allows the user to modify
3511             the settings for this service. -->
3512        <attr name="settingsActivity" />
3513        <!-- Fully qualified class name of an activity that allows the user to manually
3514             add printers to this print service. -->
3515        <attr name="addPrintersActivity" format="string"/>
3516        <!-- Fully qualified class name of an activity with advanced print options
3517             specific to this print service. -->
3518        <attr name="advancedPrintOptionsActivity" format="string"/>
3519        <!-- The vendor name if this print service is vendor specific. -->
3520        <attr name="vendor" format="string"/>
3521    </declare-styleable>
3522
3523    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3524         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3525         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3526         entry. -->
3527    <declare-styleable name="HostApduService">
3528        <!-- Short description of the functionality the service implements. This attribute
3529             is mandatory.-->
3530        <attr name="description" />
3531        <!-- Whether the device must be unlocked before routing data to this service.
3532             The default is false.-->
3533        <attr name="requireDeviceUnlock" format="boolean"/>
3534        <!-- A drawable that can be rendered in Android's system UI for representing
3535             the service. -->
3536        <attr name="apduServiceBanner" format="reference"/>
3537        <!-- Component name of an activity that allows the user to modify
3538             the settings for this service. -->
3539        <attr name="settingsActivity"/>
3540    </declare-styleable>
3541
3542    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3543         describes an {@link android.nfc.cardemulation.OffHostApduService}
3544         service, which is referenced from its
3545         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3546    <declare-styleable name="OffHostApduService">
3547        <!-- Short description of the functionality the service implements. This attribute
3548             is mandatory.-->
3549        <attr name="description" />
3550        <!-- A drawable that can be rendered in Android's system UI for representing
3551             the service. -->
3552        <attr name="apduServiceBanner"/>
3553        <!-- Component name of an activity that allows the user to modify
3554             the settings for this service. -->
3555        <attr name="settingsActivity"/>
3556    </declare-styleable>
3557
3558    <!-- Specify one or more <code>aid-group</code> elements inside a
3559         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3560         element to define a group of ISO7816 Application ID (AIDs) that
3561         your service can handle.-->
3562    <declare-styleable name="AidGroup">
3563        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3564        <attr name="description" />
3565        <!-- The category attribute will be used by the Android platform to present
3566             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3567             same category uniformly.
3568             Additionally, when a category is specified, Android will ensure that either
3569             all AIDs in this group are routed to this application, or none at all.
3570             This attribute is optional.-->
3571        <attr name="category" format="string" />
3572    </declare-styleable>
3573
3574    <!-- Specify one or more <code>aid-filter</code> elements inside a
3575         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3576         your service can handle. -->
3577    <declare-styleable name="AidFilter">
3578        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3579        <attr name="name" />
3580    </declare-styleable>
3581
3582    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3583         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3584         prefix your service can handle. -->
3585    <declare-styleable name="AidPrefixFilter">
3586        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3587        <attr name="name" />
3588    </declare-styleable>
3589
3590    <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that
3591         describes an {@link android.nfc.cardemulation.HostNfcFService} service, which
3592         is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA}
3593         entry. -->
3594    <declare-styleable name="HostNfcFService">
3595        <!-- Short description of the functionality the service implements. This attribute
3596             is mandatory.-->
3597        <attr name="description" />
3598    </declare-styleable>
3599
3600    <!-- Specify one or more <code>system-code-filter</code> elements inside a
3601         <code>host-nfcf-service</code> element to specify a System Code
3602         your service can handle. -->
3603    <declare-styleable name="SystemCodeFilter">
3604        <!-- The System Code. This attribute is mandatory. -->
3605        <attr name="name" />
3606    </declare-styleable>
3607
3608    <!-- Specify one or more <code>nfcid2-filter</code> elements inside a
3609         <code>host-nfcf-service</code> element to specify a NFCID2
3610         your service can handle. -->
3611    <declare-styleable name="Nfcid2Filter">
3612        <!-- The NFCID2. This attribute is mandatory. -->
3613        <attr name="name" />
3614    </declare-styleable>
3615
3616    <declare-styleable name="ActionMenuItemView">
3617        <attr name="minWidth" />
3618    </declare-styleable>
3619
3620    <!-- =============================== -->
3621    <!-- Widget package class attributes -->
3622    <!-- =============================== -->
3623    <eat-comment />
3624
3625    <declare-styleable name="AbsListView">
3626         <!-- Drawable used to indicate the currently selected item in the list. -->
3627        <attr name="listSelector" format="color|reference" />
3628        <!-- When set to true, the selector will be drawn over the selected item.
3629             Otherwise the selector is drawn behind the selected item. The default
3630             value is false. -->
3631        <attr name="drawSelectorOnTop" format="boolean" />
3632        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3633        <attr name="stackFromBottom" format="boolean" />
3634        <!-- When set to true, the list uses a drawing cache during scrolling.
3635             This makes the rendering faster but uses more memory. The default
3636             value is true. -->
3637        <attr name="scrollingCache" format="boolean" />
3638        <!-- When set to true, the list will filter results as the user types. The
3639             List's adapter must support the Filterable interface for this to work. -->
3640        <attr name="textFilterEnabled" format="boolean" />
3641        <!-- Sets the transcript mode for the list. In transcript mode, the list
3642             scrolls to the bottom to make new items visible when they are added. -->
3643        <attr name="transcriptMode">
3644            <!-- Disables transcript mode. This is the default value. -->
3645            <enum name="disabled" value="0"/>
3646            <!-- The list will automatically scroll to the bottom when
3647                 a data set change notification is received and only if the last item is
3648                 already visible on screen. -->
3649            <enum name="normal" value="1" />
3650            <!-- The list will automatically scroll to the bottom, no matter what items
3651                 are currently visible. -->
3652            <enum name="alwaysScroll" value="2" />
3653        </attr>
3654        <!-- Indicates that this list will always be drawn on top of solid, single-color
3655             opaque background. This allows the list to optimize drawing. -->
3656        <attr name="cacheColorHint" format="color" />
3657        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3658             the list. -->
3659        <attr name="fastScrollEnabled" format="boolean" />
3660        <!-- Specifies the style of the fast scroll decorations. -->
3661        <attr name="fastScrollStyle" format="reference" />
3662        <!-- When set to true, the list will use a more refined calculation
3663             method based on the pixels height of the items visible on screen. This
3664             property is set to true by default but should be set to false if your adapter
3665             will display items of varying heights. When this property is set to true and
3666             your adapter displays items of varying heights, the scrollbar thumb will
3667             change size as the user scrolls through the list. When set to false, the list
3668             will use only the number of items in the adapter and the number of items visible
3669             on screen to determine the scrollbar's properties. -->
3670        <attr name="smoothScrollbar" format="boolean" />
3671        <!-- Defines the choice behavior for the view. By default, lists do not have
3672             any choice behavior. By setting the choiceMode to singleChoice, the list
3673             allows up to one item to be in a chosen state. By setting the choiceMode to
3674             multipleChoice, the list allows any number of items to be chosen.
3675             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3676             any number of items to be chosen in a special selection mode.
3677             The application will supply a
3678             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3679             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3680             selection mode. This uses the {@link android.view.ActionMode} API. -->
3681        <attr name="choiceMode">
3682            <!-- Normal list that does not indicate choices. -->
3683            <enum name="none" value="0" />
3684            <!-- The list allows up to one choice. -->
3685            <enum name="singleChoice" value="1" />
3686            <!-- The list allows multiple choices. -->
3687            <enum name="multipleChoice" value="2" />
3688            <!-- The list allows multiple choices in a custom selection mode. -->
3689            <enum name="multipleChoiceModal" value="3" />
3690        </attr>
3691
3692        <!-- When set to true, the list will always show the fast scroll interface.
3693             This setting implies fastScrollEnabled. -->
3694        <attr name="fastScrollAlwaysVisible" format="boolean" />
3695    </declare-styleable>
3696    <!-- @hide -->
3697    <declare-styleable name="RecycleListView">
3698        <!-- Bottom padding to use when no buttons are present. -->
3699        <attr name="paddingBottomNoButtons" format="dimension" />
3700        <!-- Top padding to use when no title is present. -->
3701        <attr name="paddingTopNoTitle" format="dimension" />
3702    </declare-styleable>
3703    <declare-styleable name="AbsSpinner">
3704        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3705             this is simpler than populating the Spinner programmatically. -->
3706        <attr name="entries" />
3707    </declare-styleable>
3708    <declare-styleable name="AnalogClock">
3709        <attr name="dial" format="reference"/>
3710        <attr name="hand_hour" format="reference"/>
3711        <attr name="hand_minute" format="reference"/>
3712    </declare-styleable>
3713    <declare-styleable name="Button">
3714    </declare-styleable>
3715    <declare-styleable name="Chronometer">
3716        <!-- Format string: if specified, the Chronometer will display this
3717             string, with the first "%s" replaced by the current timer value
3718             in "MM:SS" or "H:MM:SS" form.
3719             If no format string is specified, the Chronometer will simply display
3720             "MM:SS" or "H:MM:SS". -->
3721        <attr name="format" format="string" localization="suggested" />
3722        <!-- Specifies whether this Chronometer counts down or counts up from the base.
3723              If not specified this is false and the Chronometer counts up. -->
3724        <attr name="countDown" format="boolean" />
3725    </declare-styleable>
3726    <declare-styleable name="CompoundButton">
3727        <!-- Indicates the initial checked state of this button. -->
3728        <attr name="checked" format="boolean" />
3729        <!-- Drawable used for the button graphic (for example, checkbox and radio button). -->
3730        <attr name="button" format="reference" />
3731        <!-- Tint to apply to the button graphic. -->
3732        <attr name="buttonTint" format="color" />
3733        <!-- Blending mode used to apply the button graphic tint. -->
3734        <attr name="buttonTintMode">
3735            <!-- The tint is drawn on top of the drawable.
3736                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3737            <enum name="src_over" value="3" />
3738            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3739                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3740            <enum name="src_in" value="5" />
3741            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3742                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3743            <enum name="src_atop" value="9" />
3744            <!-- Multiplies the color and alpha channels of the drawable with those of
3745                 the tint. [Sa * Da, Sc * Dc] -->
3746            <enum name="multiply" value="14" />
3747            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3748            <enum name="screen" value="15" />
3749            <!-- Combines the tint and drawable color and alpha channels, clamping the
3750                 result to valid color values. Saturate(S + D) -->
3751            <enum name="add" value="16" />
3752        </attr>
3753    </declare-styleable>
3754    <declare-styleable name="CheckedTextView">
3755        <!-- Indicates the initial checked state of this text. -->
3756        <attr name="checked" />
3757        <!-- Drawable used for the check mark graphic. -->
3758        <attr name="checkMark" format="reference"/>
3759        <!-- Tint to apply to the check mark. -->
3760        <attr name="checkMarkTint" format="color" />
3761        <!-- Blending mode used to apply the check mark tint. -->
3762        <attr name="checkMarkTintMode">
3763            <!-- The tint is drawn on top of the drawable.
3764                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3765            <enum name="src_over" value="3" />
3766            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3767                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3768            <enum name="src_in" value="5" />
3769            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3770                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3771            <enum name="src_atop" value="9" />
3772            <!-- Multiplies the color and alpha channels of the drawable with those of
3773                 the tint. [Sa * Da, Sc * Dc] -->
3774            <enum name="multiply" value="14" />
3775            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3776            <enum name="screen" value="15" />
3777            <!-- Combines the tint and drawable color and alpha channels, clamping the
3778                 result to valid color values. Saturate(S + D) -->
3779            <enum name="add" value="16" />
3780        </attr>
3781        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3782        <attr name="checkMarkGravity">
3783            <!-- Push object to the left of its container, not changing its size. -->
3784            <flag name="left" value="0x03" />
3785            <!-- Push object to the right of its container, not changing its size. -->
3786            <flag name="right" value="0x05" />
3787            <!-- Push object to the beginning of its container, not changing its size. -->
3788            <flag name="start" value="0x00800003" />
3789            <!-- Push object to the end of its container, not changing its size. -->
3790            <flag name="end" value="0x00800005" />
3791        </attr>
3792    </declare-styleable>
3793    <declare-styleable name="EditText">
3794    </declare-styleable>
3795    <declare-styleable name="FastScroll">
3796        <!-- Drawable used for the scroll bar thumb. -->
3797        <attr name="thumbDrawable" format="reference" />
3798        <!-- Minimum width of the thumb. -->
3799        <attr name="thumbMinWidth" format="dimension" />
3800        <!-- Minimum height of the thumb. -->
3801        <attr name="thumbMinHeight" format="dimension" />
3802        <!-- Drawable used for the scroll bar track. -->
3803        <attr name="trackDrawable" format="reference" />
3804        <!-- Drawable used for the section header preview when right-aligned. -->
3805        <attr name="backgroundRight" format="reference" />
3806        <!-- Drawable used for the section header preview when left-aligned. -->
3807        <attr name="backgroundLeft" format="reference" />
3808        <!-- Position of section header preview. -->
3809        <attr name="position">
3810            <!-- Floating at the top of the content. -->
3811            <enum name="floating" value="0" />
3812            <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3813            <enum name="atThumb" value="1" />
3814            <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3815            <enum name="aboveThumb" value="2" />
3816        </attr>
3817        <attr name="textAppearance" />
3818        <attr name="textColor" />
3819        <attr name="textSize" />
3820        <!-- Minimum width of the section header preview. -->
3821        <attr name="minWidth" />
3822        <!-- Minimum height of the section header preview. -->
3823        <attr name="minHeight" />
3824        <!-- Padding for the section header preview. -->
3825        <attr name="padding" />
3826        <!-- Position of thumb in relation to the track. -->
3827        <attr name="thumbPosition">
3828            <!-- The thumb's midpoint is anchored to the track. At its
3829                 extremes, the thumb will extend half-way outside the
3830                 track. -->
3831            <enum name="midpoint" value="0" />
3832            <!-- The thumb is entirely inside the track. At its extremes,
3833                 the thumb will be contained entirely within the track. -->
3834            <enum name="inside" value="1" />
3835        </attr>
3836    </declare-styleable>
3837    <declare-styleable name="FrameLayout">
3838        <!-- Determines whether to measure all children or just those in
3839             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3840        <attr name="measureAllChildren" format="boolean" />
3841    </declare-styleable>
3842    <declare-styleable name="ExpandableListView">
3843        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3844        <attr name="groupIndicator" format="reference" />
3845        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3846        <attr name="childIndicator" format="reference" />
3847        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3848             use childIndicatorLeft. -->
3849        <attr name="indicatorLeft" format="dimension" />
3850        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3851             use childIndicatorRight. -->
3852        <attr name="indicatorRight" format="dimension" />
3853        <!-- The left bound for a child's indicator. -->
3854        <attr name="childIndicatorLeft" format="dimension" />
3855        <!-- The right bound for a child's indicator. -->
3856        <attr name="childIndicatorRight" format="dimension" />
3857        <!-- Drawable or color that is used as a divider for children. (It will drawn
3858             below and above child items.) The height of this will be the same as
3859             the height of the normal list item divider. -->
3860        <attr name="childDivider" format="reference|color" />
3861        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3862             use childIndicatorStart. -->
3863        <attr name="indicatorStart" format="dimension" />
3864        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3865             use childIndicatorEnd. -->
3866        <attr name="indicatorEnd" format="dimension" />
3867        <!-- The start bound for a child's indicator. -->
3868        <attr name="childIndicatorStart" format="dimension" />
3869        <!-- The end bound for a child's indicator. -->
3870        <attr name="childIndicatorEnd" format="dimension" />
3871    </declare-styleable>
3872    <declare-styleable name="Gallery">
3873        <attr name="gravity" />
3874        <!-- Sets how long a transition animation should run (in milliseconds)
3875             when layout has changed.  Only relevant if animation is turned on. -->
3876        <attr name="animationDuration" format="integer" min="0" />
3877        <attr name="spacing" format="dimension" />
3878        <!-- Sets the alpha on the items that are not selected. -->
3879        <attr name="unselectedAlpha" format="float" />
3880    </declare-styleable>
3881    <declare-styleable name="GridView">
3882        <!-- Defines the default horizontal spacing between columns. -->
3883        <attr name="horizontalSpacing" format="dimension" />
3884        <!-- Defines the default vertical spacing between rows. -->
3885        <attr name="verticalSpacing" format="dimension" />
3886        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3887        <attr name="stretchMode">
3888            <!-- Stretching is disabled. -->
3889            <enum name="none" value="0"/>
3890            <!-- The spacing between each column is stretched. -->
3891            <enum name="spacingWidth" value="1" />
3892            <!-- Each column is stretched equally. -->
3893            <enum name="columnWidth" value="2" />
3894            <!-- The spacing between each column is uniformly stretched.. -->
3895            <enum name="spacingWidthUniform" value="3" />
3896        </attr>
3897        <!-- Specifies the fixed width for each column. -->
3898        <attr name="columnWidth" format="dimension" />
3899        <!-- Defines how many columns to show. -->
3900        <attr name="numColumns" format="integer" min="0">
3901            <!-- Display as many columns as possible to fill the available space. -->
3902            <enum name="auto_fit" value="-1" />
3903        </attr>
3904        <!-- Specifies the gravity within each cell. -->
3905        <attr name="gravity" />
3906    </declare-styleable>
3907    <declare-styleable name="ImageSwitcher">
3908    </declare-styleable>
3909    <declare-styleable name="ImageView">
3910        <!-- Sets a drawable as the content of this ImageView. -->
3911        <attr name="src" format="reference|color" />
3912        <!-- Controls how the image should be resized or moved to match the size
3913             of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
3914        <attr name="scaleType">
3915            <!-- Scale using the image matrix when drawing. See
3916                 {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
3917            <enum name="matrix" value="0" />
3918            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
3919            <enum name="fitXY" value="1" />
3920            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
3921            <enum name="fitStart" value="2" />
3922            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
3923            <enum name="fitCenter" value="3" />
3924            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
3925            <enum name="fitEnd" value="4" />
3926            <!-- Center the image in the view, but perform no scaling. -->
3927            <enum name="center" value="5" />
3928            <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions
3929                 (width and height) of the image will be equal to or larger than the corresponding
3930                 dimension of the view (minus padding). The image is then centered in the view. -->
3931            <enum name="centerCrop" value="6" />
3932            <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
3933                 dimensions (width and height) of the image will be equal to or less than the
3934                 corresponding dimension of the view (minus padding). The image is then centered in
3935                 the view. -->
3936            <enum name="centerInside" value="7" />
3937        </attr>
3938        <!-- Set this to true if you want the ImageView to adjust its bounds
3939             to preserve the aspect ratio of its drawable. -->
3940        <attr name="adjustViewBounds" format="boolean" />
3941        <!-- An optional argument to supply a maximum width for this view.
3942             See {see android.widget.ImageView#setMaxWidth} for details. -->
3943        <attr name="maxWidth" format="dimension" />
3944        <!-- An optional argument to supply a maximum height for this view.
3945             See {see android.widget.ImageView#setMaxHeight} for details. -->
3946        <attr name="maxHeight" format="dimension" />
3947        <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode.
3948             Please note that for compatibility reasons, this is NOT consistent with the default
3949             SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by
3950             similar tint attributes on other views. -->
3951        <attr name="tint" format="color" />
3952        <!-- If true, the image view will be baseline aligned with based on its
3953             bottom edge. -->
3954        <attr name="baselineAlignBottom" format="boolean" />
3955         <!-- If true, the image will be cropped to fit within its padding. -->
3956        <attr name="cropToPadding" format="boolean" />
3957        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3958             for details -->
3959        <attr name="baseline" format="dimension" />
3960        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3961             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3962        <attr name="drawableAlpha" format="integer" />
3963        <!-- Blending mode used to apply the image tint. -->
3964        <attr name="tintMode" />
3965    </declare-styleable>
3966    <declare-styleable name="ToggleButton">
3967        <!-- The text for the button when it is checked. -->
3968        <attr name="textOn" format="string" />
3969        <!-- The text for the button when it is not checked. -->
3970        <attr name="textOff" format="string" />
3971        <!-- The alpha to apply to the indicator when disabled. -->
3972        <attr name="disabledAlpha" />
3973    </declare-styleable>
3974    <declare-styleable name="RelativeLayout">
3975        <attr name="gravity" />
3976        <!-- Indicates what view should not be affected by gravity. -->
3977        <attr name="ignoreGravity" format="reference" />
3978    </declare-styleable>
3979    <declare-styleable name="LinearLayout">
3980        <!-- Should the layout be a column or a row?  Use "horizontal"
3981             for a row, "vertical" for a column.  The default is
3982             horizontal. -->
3983        <attr name="orientation" />
3984        <attr name="gravity" />
3985        <!-- When set to false, prevents the layout from aligning its children's
3986             baselines. This attribute is particularly useful when the children
3987             use different values for gravity. The default value is true. -->
3988        <attr name="baselineAligned" format="boolean" />
3989        <!-- When a linear layout is part of another layout that is baseline
3990          aligned, it can specify which of its children to baseline align to
3991          (that is, which child TextView).-->
3992        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3993        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3994             by adding the layout_weight of all of the children. This can be
3995             used for instance to give a single child 50% of the total available
3996             space by giving it a layout_weight of 0.5 and setting the weightSum
3997             to 1.0. -->
3998        <attr name="weightSum" format="float" />
3999        <!-- When set to true, all children with a weight will be considered having
4000             the minimum size of the largest child. If false, all children are
4001             measured normally. -->
4002        <attr name="measureWithLargestChild" format="boolean" />
4003        <!-- Drawable to use as a vertical divider between buttons. -->
4004        <attr name="divider" />
4005        <!-- Setting for which dividers to show. -->
4006        <attr name="showDividers">
4007            <flag name="none" value="0" />
4008            <flag name="beginning" value="1" />
4009            <flag name="middle" value="2" />
4010            <flag name="end" value="4" />
4011        </attr>
4012        <!-- Size of padding on either end of a divider. -->
4013        <attr name="dividerPadding" format="dimension" />
4014    </declare-styleable>
4015    <declare-styleable name="GridLayout">
4016        <!-- The orientation property is not used during layout. It is only used to
4017        allocate row and column parameters when they are not specified by its children's
4018        layout paramters. GridLayout works like LinearLayout in this case;
4019        putting all the components either in a single row or in a single column -
4020        depending on the value of this flag. In the horizontal case, a columnCount
4021        property may be additionally supplied to force new rows to be created when a
4022        row is full. The rowCount attribute may be used similarly in the vertical case.
4023        The default is horizontal. -->
4024        <attr name="orientation" />
4025        <!-- The maxmimum number of rows to create when automatically positioning children. -->
4026        <attr name="rowCount" format="integer" />
4027        <!-- The maxmimum number of columns to create when automatically positioning children. -->
4028        <attr name="columnCount" format="integer" />
4029        <!-- When set to true, tells GridLayout to use default margins when none are specified
4030        in a view's layout parameters.
4031        The default value is false.
4032        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
4033        <attr name="useDefaultMargins" format="boolean" />
4034        <!-- When set to alignMargins, causes alignment to take place between the outer
4035        boundary of a view, as defined by its margins. When set to alignBounds,
4036        causes alignment to take place between the edges of the view.
4037        The default is alignMargins.
4038        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
4039        <attr name="alignmentMode" />
4040        <!-- When set to true, forces row boundaries to appear in the same order
4041        as row indices.
4042        The default is true.
4043        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
4044        <attr name="rowOrderPreserved" format="boolean" />
4045        <!-- When set to true, forces column boundaries to appear in the same order
4046        as column indices.
4047        The default is true.
4048        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
4049        <attr name="columnOrderPreserved" format="boolean" />
4050    </declare-styleable>
4051    <declare-styleable name="ListView">
4052        <!-- Reference to an array resource that will populate the ListView.  For static content,
4053             this is simpler than populating the ListView programmatically. -->
4054        <attr name="entries" />
4055        <!-- Drawable or color to draw between list items. -->
4056        <attr name="divider" format="reference|color" />
4057        <!-- Height of the divider. Will use the intrinsic height of the divider if this
4058             is not specified. -->
4059        <attr name="dividerHeight" format="dimension" />
4060        <!-- When set to false, the ListView will not draw the divider after each header view.
4061             The default value is true. -->
4062        <attr name="headerDividersEnabled" format="boolean" />
4063        <!-- When set to false, the ListView will not draw the divider before each footer view.
4064             The default value is true. -->
4065        <attr name="footerDividersEnabled" format="boolean" />
4066        <!-- Drawable to draw above list content. -->
4067        <attr name="overScrollHeader" format="reference|color" />
4068        <!-- Drawable to draw below list content. -->
4069        <attr name="overScrollFooter" format="reference|color" />
4070    </declare-styleable>
4071    <declare-styleable name="PreferenceFrameLayout">
4072        <!-- Padding to use at the top of the prefs content. -->
4073        <attr name="borderTop" format="dimension" />
4074        <!-- Padding to use at the bottom of the prefs content. -->
4075        <attr name="borderBottom" format="dimension" />
4076        <!-- Padding to use at the left of the prefs content. -->
4077        <attr name="borderLeft" format="dimension" />
4078        <!-- Padding to use at the right of the prefs content. -->
4079        <attr name="borderRight" format="dimension" />
4080    </declare-styleable>
4081    <declare-styleable name="PreferenceFrameLayout_Layout">
4082        <!-- Padding to use at the top of the prefs content. -->
4083        <attr name="layout_removeBorders" format="boolean" />
4084    </declare-styleable>
4085    <declare-styleable name="MenuView">
4086        <!-- Default appearance of menu item text. -->
4087        <attr name="itemTextAppearance" format="reference" />
4088        <!-- Default horizontal divider between rows of menu items. -->
4089        <attr name="horizontalDivider" format="reference" />
4090        <!-- Default vertical divider between menu items. -->
4091        <attr name="verticalDivider" format="reference" />
4092        <!-- Default background for the menu header. -->
4093        <attr name="headerBackground" format="color|reference" />
4094        <!-- Default background for each menu item. -->
4095        <attr name="itemBackground" format="color|reference" />
4096        <!-- Default animations for the menu. -->
4097        <attr name="windowAnimationStyle" />
4098        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
4099        <attr name="itemIconDisabledAlpha" format="float" />
4100        <!-- Whether space should be reserved in layout when an icon is missing. -->
4101        <attr name="preserveIconSpacing" format="boolean" />
4102        <!-- Drawable for the arrow icon indicating a particular item is a submenu. -->
4103        <attr name="subMenuArrow" format="reference" />
4104    </declare-styleable>
4105    <declare-styleable name="IconMenuView">
4106        <!-- Defines the height of each row. -->
4107        <attr name="rowHeight" format="dimension" />
4108        <!-- Defines the maximum number of rows displayed. -->
4109        <attr name="maxRows" format="integer" />
4110        <!-- Defines the maximum number of items per row. -->
4111        <attr name="maxItemsPerRow" format="integer" />
4112        <!-- Defines the maximum number of items to show. -->
4113        <attr name="maxItems" format="integer" />
4114        <!-- 'More' icon. -->
4115        <attr name="moreIcon" format="reference" />
4116    </declare-styleable>
4117
4118    <declare-styleable name="ProgressBar">
4119        <!-- Defines the minimum value. -->
4120        <attr name="min" format="integer" />
4121        <!-- Defines the maximum value. -->
4122        <attr name="max" format="integer" />
4123        <!-- Defines the default progress value, between 0 and max. -->
4124        <attr name="progress" format="integer" />
4125        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
4126             the primary progress and the background.  It can be ideal for media scenarios such as
4127             showing the buffering progress while the default progress shows the play progress. -->
4128        <attr name="secondaryProgress" format="integer" />
4129        <!-- Allows to enable the indeterminate mode. In this mode the progress
4130         bar plays an infinite looping animation. -->
4131        <attr name="indeterminate" format="boolean" />
4132        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
4133        <attr name="indeterminateOnly" format="boolean" />
4134        <!-- Drawable used for the indeterminate mode. -->
4135        <attr name="indeterminateDrawable" format="reference" />
4136        <!-- Drawable used for the progress mode. -->
4137        <attr name="progressDrawable" format="reference" />
4138        <!-- Duration of the indeterminate animation. -->
4139        <attr name="indeterminateDuration" format="integer" min="1" />
4140        <!-- Defines how the indeterminate mode should behave when the progress
4141        reaches max. -->
4142        <attr name="indeterminateBehavior">
4143            <!-- Progress starts over from 0. -->
4144            <enum name="repeat" value="1" />
4145            <!-- Progress keeps the current value and goes back to 0. -->
4146            <enum name="cycle" value="2" />
4147        </attr>
4148        <attr name="minWidth" format="dimension" />
4149        <attr name="maxWidth" />
4150        <attr name="minHeight" format="dimension" />
4151        <attr name="maxHeight" />
4152        <attr name="interpolator" format="reference" />
4153        <!-- Timeout between frames of animation in milliseconds.
4154             {@deprecated Not used by the framework}. -->
4155        <attr name="animationResolution" format="integer" />
4156        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
4157             Default is false. -->
4158        <attr name="mirrorForRtl" format="boolean" />
4159        <!-- Tint to apply to the progress indicator. -->
4160        <attr name="progressTint" format="color" />
4161        <!-- Blending mode used to apply the progress indicator tint. -->
4162        <attr name="progressTintMode">
4163            <!-- The tint is drawn on top of the drawable.
4164                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4165            <enum name="src_over" value="3" />
4166            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4167                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4168            <enum name="src_in" value="5" />
4169            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4170                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4171            <enum name="src_atop" value="9" />
4172            <!-- Multiplies the color and alpha channels of the drawable with those of
4173                 the tint. [Sa * Da, Sc * Dc] -->
4174            <enum name="multiply" value="14" />
4175            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4176            <enum name="screen" value="15" />
4177            <!-- Combines the tint and drawable color and alpha channels, clamping the
4178                 result to valid color values. Saturate(S + D) -->
4179            <enum name="add" value="16" />
4180        </attr>
4181        <!-- Tint to apply to the progress indicator background. -->
4182        <attr name="progressBackgroundTint" format="color" />
4183        <!-- Blending mode used to apply the progress indicator background tint. -->
4184        <attr name="progressBackgroundTintMode">
4185            <!-- The tint is drawn on top of the drawable.
4186                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4187            <enum name="src_over" value="3" />
4188            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4189                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4190            <enum name="src_in" value="5" />
4191            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4192                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4193            <enum name="src_atop" value="9" />
4194            <!-- Multiplies the color and alpha channels of the drawable with those of
4195                 the tint. [Sa * Da, Sc * Dc] -->
4196            <enum name="multiply" value="14" />
4197            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4198            <enum name="screen" value="15" />
4199            <!-- Combines the tint and drawable color and alpha channels, clamping the
4200                 result to valid color values. Saturate(S + D) -->
4201            <enum name="add" value="16" />
4202        </attr>
4203        <!-- Tint to apply to the secondary progress indicator. -->
4204        <attr name="secondaryProgressTint" format="color" />
4205        <!-- Blending mode used to apply the secondary progress indicator tint. -->
4206        <attr name="secondaryProgressTintMode">
4207            <!-- The tint is drawn on top of the drawable.
4208                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4209            <enum name="src_over" value="3" />
4210            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4211                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4212            <enum name="src_in" value="5" />
4213            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4214                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4215            <enum name="src_atop" value="9" />
4216            <!-- Multiplies the color and alpha channels of the drawable with those of
4217                 the tint. [Sa * Da, Sc * Dc] -->
4218            <enum name="multiply" value="14" />
4219            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4220            <enum name="screen" value="15" />
4221            <!-- Combines the tint and drawable color and alpha channels, clamping the
4222                 result to valid color values. Saturate(S + D) -->
4223            <enum name="add" value="16" />
4224        </attr>
4225        <!-- Tint to apply to the indeterminate progress indicator. -->
4226        <attr name="indeterminateTint" format="color" />
4227        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
4228        <attr name="indeterminateTintMode">
4229            <!-- The tint is drawn on top of the drawable.
4230                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4231            <enum name="src_over" value="3" />
4232            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4233                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4234            <enum name="src_in" value="5" />
4235            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4236                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4237            <enum name="src_atop" value="9" />
4238            <!-- Multiplies the color and alpha channels of the drawable with those of
4239                 the tint. [Sa * Da, Sc * Dc] -->
4240            <enum name="multiply" value="14" />
4241            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4242            <enum name="screen" value="15" />
4243            <!-- Combines the tint and drawable color and alpha channels, clamping the
4244                 result to valid color values. Saturate(S + D) -->
4245            <enum name="add" value="16" />
4246        </attr>
4247        <!-- Tint to apply to the background. -->
4248        <attr name="backgroundTint" />
4249        <!-- Blending mode used to apply the background tint. -->
4250        <attr name="backgroundTintMode" />
4251    </declare-styleable>
4252
4253    <declare-styleable name="SeekBar">
4254        <!-- Draws the thumb on a seekbar. -->
4255        <attr name="thumb" format="reference" />
4256        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
4257        <attr name="thumbOffset" format="dimension" />
4258        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
4259        <attr name="splitTrack" format="boolean" />
4260        <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
4261             when disabled. This is required for Holo and Gingerbread, but
4262             should always be false for Material and  beyond.
4263             @hide Developers shouldn't need to change this. -->
4264        <attr name="useDisabledAlpha" format="boolean" />
4265        <!-- Tint to apply to the thumb drawable. -->
4266        <attr name="thumbTint" format="color" />
4267        <!-- Blending mode used to apply the thumb tint. -->
4268        <attr name="thumbTintMode">
4269            <!-- The tint is drawn on top of the drawable.
4270                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4271            <enum name="src_over" value="3" />
4272            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4273                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4274            <enum name="src_in" value="5" />
4275            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4276                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4277            <enum name="src_atop" value="9" />
4278            <!-- Multiplies the color and alpha channels of the drawable with those of
4279                 the tint. [Sa * Da, Sc * Dc] -->
4280            <enum name="multiply" value="14" />
4281            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4282            <enum name="screen" value="15" />
4283            <!-- Combines the tint and drawable color and alpha channels, clamping the
4284                 result to valid color values. Saturate(S + D) -->
4285            <enum name="add" value="16" />
4286        </attr>
4287        <!-- Drawable displayed at each progress position on a seekbar. -->
4288        <attr name="tickMark" format="reference" />
4289        <!-- Tint to apply to the tick mark drawable. -->
4290        <attr name="tickMarkTint" format="color" />
4291        <!-- Blending mode used to apply the tick mark tint. -->
4292        <attr name="tickMarkTintMode">
4293            <!-- The tint is drawn on top of the drawable.
4294                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4295            <enum name="src_over" value="3" />
4296            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4297                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4298            <enum name="src_in" value="5" />
4299            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4300                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4301            <enum name="src_atop" value="9" />
4302            <!-- Multiplies the color and alpha channels of the drawable with those of
4303                 the tint. [Sa * Da, Sc * Dc] -->
4304            <enum name="multiply" value="14" />
4305            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4306            <enum name="screen" value="15" />
4307            <!-- Combines the tint and drawable color and alpha channels, clamping the
4308                 result to valid color values. Saturate(S + D) -->
4309            <enum name="add" value="16" />
4310        </attr>
4311    </declare-styleable>
4312
4313    <declare-styleable name="StackView">
4314        <!-- Color of the res-out outline. -->
4315        <attr name="resOutColor" format="color" />
4316        <!-- Color of the outline of click feedback. -->
4317        <attr name="clickColor" format="color" />
4318    </declare-styleable>
4319
4320    <declare-styleable name="RatingBar">
4321        <!-- The number of stars (or rating items) to show. -->
4322        <attr name="numStars" format="integer" />
4323        <!-- The rating to set by default. -->
4324        <attr name="rating" format="float" />
4325        <!-- The step size of the rating. -->
4326        <attr name="stepSize" format="float" />
4327        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
4328        <attr name="isIndicator" format="boolean" />
4329    </declare-styleable>
4330
4331    <declare-styleable name="RadioGroup">
4332        <!-- The id of the child radio button that should be checked by default
4333             within this radio group. -->
4334        <attr name="checkedButton" format="integer" />
4335        <!-- Should the radio group be a column or a row?  Use "horizontal"
4336             for a row, "vertical" for a column.  The default is
4337             vertical. -->
4338        <attr name="orientation" />
4339    </declare-styleable>
4340    <declare-styleable name="TableLayout">
4341        <!-- The zero-based index of the columns to stretch. The column indices
4342             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4343             indices are ignored. You can stretch all columns by using the
4344             value "*" instead. Note that a column can be marked stretchable
4345             and shrinkable at the same time. -->
4346        <attr name="stretchColumns" format="string" />
4347       <!-- The zero-based index of the columns to shrink. The column indices
4348             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4349             indices are ignored. You can shrink all columns by using the
4350             value "*" instead. Note that a column can be marked stretchable
4351             and shrinkable at the same time. -->
4352        <attr name="shrinkColumns" format="string" />
4353        <!-- The zero-based index of the columns to collapse. The column indices
4354             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4355             indices are ignored. -->
4356        <attr name="collapseColumns" format="string" />
4357    </declare-styleable>
4358    <declare-styleable name="TableRow">
4359
4360    </declare-styleable>
4361    <declare-styleable name="TableRow_Cell">
4362        <!-- The index of the column in which this child should be. -->
4363        <attr name="layout_column" format="integer" />
4364        <!-- Defines how many columns this child should span.  Must be >= 1.-->
4365        <attr name="layout_span" format="integer" />
4366    </declare-styleable>
4367    <declare-styleable name="TabWidget">
4368        <!-- Drawable used to draw the divider between tabs. -->
4369        <attr name="divider" />
4370        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
4371        <attr name="tabStripEnabled" format="boolean" />
4372        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4373        <attr name="tabStripLeft" format="reference" />
4374        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4375        <attr name="tabStripRight" format="reference" />
4376        <!-- Layout used to organize each tab's content. -->
4377        <attr name="tabLayout" format="reference" />
4378    </declare-styleable>
4379    <declare-styleable name="TextAppearance">
4380        <!-- Text color. -->
4381        <attr name="textColor" />
4382        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4383        <attr name="textSize" />
4384        <!-- Style (bold, italic, bolditalic) for the text. -->
4385        <attr name="textStyle" />
4386        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4387        <attr name="typeface" />
4388        <!-- Font family (named by string) for the text. -->
4389        <attr name="fontFamily" />
4390        <!-- Color of the text selection highlight. -->
4391        <attr name="textColorHighlight" />
4392        <!-- Color of the hint text. -->
4393        <attr name="textColorHint" />
4394        <!-- Color of the links. -->
4395        <attr name="textColorLink" />
4396        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4397        <attr name="textAllCaps" format="boolean" />
4398        <!-- Place a blurred shadow of text underneath the text, drawn with the
4399             specified color. The text shadow produced does not interact with
4400             properties on View that are responsible for real time shadows,
4401             {@link android.R.styleable#View_elevation elevation} and
4402             {@link android.R.styleable#View_translationZ translationZ}. -->
4403        <attr name="shadowColor" format="color" />
4404        <!-- Horizontal offset of the text shadow. -->
4405        <attr name="shadowDx" format="float" />
4406        <!-- Vertical offset of the text shadow. -->
4407        <attr name="shadowDy" format="float" />
4408        <!-- Blur radius of the text shadow. -->
4409        <attr name="shadowRadius" format="float" />
4410        <!-- Elegant text height, especially for less compacted complex script text. -->
4411        <attr name="elegantTextHeight" format="boolean" />
4412        <!-- Text letter-spacing. -->
4413        <attr name="letterSpacing" format="float" />
4414        <!-- Font feature settings. -->
4415        <attr name="fontFeatureSettings" format="string" />
4416    </declare-styleable>
4417    <declare-styleable name="TextClock">
4418        <!-- Specifies the formatting pattern used to show the time and/or date
4419             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4420             for a complete description of accepted formatting patterns.
4421             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4422        <attr name="format12Hour" format="string"/>
4423        <!-- Specifies the formatting pattern used to show the time and/or date
4424             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4425             for a complete description of accepted formatting patterns.
4426             The default pattern is a locale-appropriate equivalent of "H:mm". -->
4427        <attr name="format24Hour" format="string"/>
4428        <!-- Specifies the time zone to use. When this attribute is specified, the
4429             TextClock will ignore the time zone of the system. To use the user's
4430             time zone, do not specify this attribute. The default value is the
4431             user's time zone. Please refer to {@link java.util.TimeZone} for more
4432             information about time zone ids. -->
4433        <attr name="timeZone" format="string"/>
4434    </declare-styleable>
4435    <declare-styleable name="TextSwitcher">
4436    </declare-styleable>
4437    <declare-styleable name="TextView">
4438        <!-- Determines the minimum type that getText() will return.
4439             The default is "normal".
4440             Note that EditText and LogTextBox always return Editable,
4441             even if you specify something less powerful here. -->
4442        <attr name="bufferType">
4443            <!-- Can return any CharSequence, possibly a
4444             Spanned one if the source text was Spanned. -->
4445            <enum name="normal" value="0" />
4446            <!-- Can only return Spannable. -->
4447            <enum name="spannable" value="1" />
4448            <!-- Can only return Spannable and Editable. -->
4449            <enum name="editable" value="2" />
4450        </attr>
4451        <!-- Text to display. -->
4452        <attr name="text" format="string" localization="suggested" />
4453        <!-- Hint text to display when the text is empty. -->
4454        <attr name="hint" format="string" />
4455        <!-- Text color. -->
4456        <attr name="textColor" />
4457        <!-- Color of the text selection highlight. -->
4458        <attr name="textColorHighlight" />
4459        <!-- Color of the hint text. -->
4460        <attr name="textColorHint" />
4461        <!-- Base text color, typeface, size, and style. -->
4462        <attr name="textAppearance" />
4463        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4464        <attr name="textSize" />
4465        <!-- Sets the horizontal scaling factor for the text. -->
4466        <attr name="textScaleX" format="float" />
4467        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4468        <attr name="typeface" />
4469        <!-- Style (bold, italic, bolditalic) for the text. -->
4470        <attr name="textStyle" />
4471        <!-- Font family (named by string) for the text. -->
4472        <attr name="fontFamily" />
4473        <!-- Text color for links. -->
4474        <attr name="textColorLink" />
4475        <!-- Makes the cursor visible (the default) or invisible. -->
4476        <attr name="cursorVisible" format="boolean" />
4477        <!-- Makes the TextView be at most this many lines tall.
4478
4479        When used on an editable text, the <code>inputType</code> attribute's value must be
4480        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4481        <attr name="maxLines" format="integer" min="0" />
4482        <!-- Makes the TextView be at most this many pixels tall. -->
4483        <attr name="maxHeight" />
4484        <!-- Makes the TextView be exactly this many lines tall. -->
4485        <attr name="lines" format="integer" min="0" />
4486        <!-- Makes the TextView be exactly this many pixels tall.
4487             You could get the same effect by specifying this number in the
4488             layout parameters. -->
4489        <attr name="height" format="dimension" />
4490        <!-- Makes the TextView be at least this many lines tall.
4491
4492        When used on an editable text, the <code>inputType</code> attribute's value must be
4493        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4494        <attr name="minLines" format="integer" min="0" />
4495        <!-- Makes the TextView be at least this many pixels tall. -->
4496        <attr name="minHeight" />
4497        <!-- Makes the TextView be at most this many ems wide. -->
4498        <attr name="maxEms" format="integer" min="0" />
4499        <!-- Makes the TextView be at most this many pixels wide. -->
4500        <attr name="maxWidth" />
4501        <!-- Makes the TextView be exactly this many ems wide. -->
4502        <attr name="ems" format="integer" min="0" />
4503        <!-- Makes the TextView be exactly this many pixels wide.
4504             You could get the same effect by specifying this number in the
4505             layout parameters. -->
4506        <attr name="width" format="dimension" />
4507        <!-- Makes the TextView be at least this many ems wide. -->
4508        <attr name="minEms" format="integer" min="0" />
4509        <!-- Makes the TextView be at least this many pixels wide. -->
4510        <attr name="minWidth" />
4511        <!-- Specifies how to align the text by the view's x- and/or y-axis
4512             when the text is smaller than the view. -->
4513        <attr name="gravity" />
4514        <!-- Whether the text is allowed to be wider than the view (and
4515             therefore can be scrolled horizontally). -->
4516        <attr name="scrollHorizontally" format="boolean" />
4517        <!-- Whether the characters of the field are displayed as
4518             password dots instead of themselves.
4519             {@deprecated Use inputType instead.} -->
4520        <attr name="password" format="boolean" />
4521        <!-- Constrains the text to a single horizontally scrolling line
4522             instead of letting it wrap onto multiple lines, and advances
4523             focus instead of inserting a newline when you press the
4524             enter key.
4525
4526             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4527             you specify any value for inputType, the default is true (single-line input field mode).
4528
4529             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4530             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4531             inputType attribute instead for editable text views (if both singleLine and inputType
4532             are supplied, the inputType flags will override the value of singleLine). } -->
4533        <attr name="singleLine" format="boolean" />
4534        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4535             For example, a non-enabled EditText prevents the user from editing the contained text, and
4536             a non-enabled Button prevents the user from tapping the button.
4537             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4538             from evaluating state_enabled differ. -->
4539        <attr name="enabled" format="boolean" />
4540        <!-- If the text is selectable, select it all when the view takes
4541             focus. -->
4542        <attr name="selectAllOnFocus" format="boolean" />
4543        <!-- Leave enough room for ascenders and descenders instead of
4544             using the font ascent and descent strictly.  (Normally true). -->
4545        <attr name="includeFontPadding" format="boolean" />
4546        <!-- Set an input filter to constrain the text length to the
4547             specified number. -->
4548        <attr name="maxLength" format="integer" min="0" />
4549        <!-- Place a blurred shadow of text underneath the text, drawn with the
4550             specified color. The text shadow produced does not interact with
4551             properties on View that are responsible for real time shadows,
4552             {@link android.R.styleable#View_elevation elevation} and
4553             {@link android.R.styleable#View_translationZ translationZ}. -->
4554        <attr name="shadowColor" />
4555        <!-- Horizontal offset of the text shadow. -->
4556        <attr name="shadowDx" />
4557        <!-- Vertical offset of the text shadow. -->
4558        <attr name="shadowDy" />
4559        <!-- Blur radius of the text shadow. -->
4560        <attr name="shadowRadius" />
4561        <attr name="autoLink" />
4562        <!-- If set to false, keeps the movement method from being set
4563             to the link movement method even if autoLink causes links
4564             to be found. -->
4565        <attr name="linksClickable" format="boolean" />
4566        <!-- If set, specifies that this TextView has a numeric input method.
4567             The default is false.
4568             {@deprecated Use inputType instead.} -->
4569        <attr name="numeric">
4570            <!-- Input is numeric. -->
4571            <flag name="integer" value="0x01" />
4572            <!-- Input is numeric, with sign allowed. -->
4573            <flag name="signed" value="0x03" />
4574            <!-- Input is numeric, with decimals allowed. -->
4575            <flag name="decimal" value="0x05" />
4576        </attr>
4577        <!-- If set, specifies that this TextView has a numeric input method
4578             and that these specific characters are the ones that it will
4579             accept.
4580             If this is set, numeric is implied to be true.
4581             The default is false. -->
4582        <attr name="digits" format="string" />
4583        <!-- If set, specifies that this TextView has a phone number input
4584             method. The default is false.
4585             {@deprecated Use inputType instead.} -->
4586        <attr name="phoneNumber" format="boolean" />
4587        <!-- If set, specifies that this TextView should use the specified
4588             input method (specified by fully-qualified class name).
4589             {@deprecated Use inputType instead.} -->
4590        <attr name="inputMethod" format="string" />
4591        <!-- If set, specifies that this TextView has a textual input method
4592             and should automatically capitalize what the user types.
4593             The default is "none".
4594             {@deprecated Use inputType instead.} -->
4595        <attr name="capitalize">
4596            <!-- Don't automatically capitalize anything. -->
4597            <enum name="none" value="0" />
4598            <!-- Capitalize the first word of each sentence. -->
4599            <enum name="sentences" value="1" />
4600            <!-- Capitalize the first letter of every word. -->
4601            <enum name="words" value="2" />
4602            <!-- Capitalize every character. -->
4603            <enum name="characters" value="3" />
4604        </attr>
4605        <!-- If set, specifies that this TextView has a textual input method
4606             and automatically corrects some common spelling errors.
4607             The default is "false".
4608             {@deprecated Use inputType instead.} -->
4609        <attr name="autoText" format="boolean" />
4610        <!-- If set, specifies that this TextView has an input method.
4611             It will be a textual one unless it has otherwise been specified.
4612             For TextView, this is false by default.  For EditText, it is
4613             true by default.
4614             {@deprecated Use inputType instead.} -->
4615        <attr name="editable" format="boolean" />
4616        <!-- If set, the text view will include its current complete text
4617             inside of its frozen icicle in addition to meta-data such as
4618             the current cursor position.  By default this is disabled;
4619             it can be useful when the contents of a text view is not stored
4620             in a persistent place such as a content provider. For
4621             {@link android.widget.EditText} it is always enabled, regardless
4622             of the value of the attribute. -->
4623        <attr name="freezesText" format="boolean" />
4624        <!-- If set, causes words that are longer than the view is wide
4625             to be ellipsized instead of broken in the middle.
4626             You will often also want to set scrollHorizontally or singleLine
4627             as well so that the text as a whole is also constrained to
4628             a single line instead of still allowed to be broken onto
4629             multiple lines. -->
4630        <attr name="ellipsize" />
4631        <!-- The drawable to be drawn above the text. -->
4632        <attr name="drawableTop" format="reference|color" />
4633        <!-- The drawable to be drawn below the text. -->
4634        <attr name="drawableBottom" format="reference|color" />
4635        <!-- The drawable to be drawn to the left of the text. -->
4636        <attr name="drawableLeft" format="reference|color" />
4637        <!-- The drawable to be drawn to the right of the text. -->
4638        <attr name="drawableRight" format="reference|color" />
4639        <!-- The drawable to be drawn to the start of the text. -->
4640        <attr name="drawableStart" format="reference|color" />
4641        <!-- The drawable to be drawn to the end of the text. -->
4642        <attr name="drawableEnd" format="reference|color" />
4643        <!-- The padding between the drawables and the text. -->
4644        <attr name="drawablePadding" format="dimension" />
4645        <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4646        <attr name="drawableTint" format="color" />
4647        <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4648        <attr name="drawableTintMode">
4649            <!-- The tint is drawn on top of the drawable.
4650                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4651            <enum name="src_over" value="3" />
4652            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4653                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4654            <enum name="src_in" value="5" />
4655            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4656                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4657            <enum name="src_atop" value="9" />
4658            <!-- Multiplies the color and alpha channels of the drawable with those of
4659                 the tint. [Sa * Da, Sc * Dc] -->
4660            <enum name="multiply" value="14" />
4661            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4662            <enum name="screen" value="15" />
4663            <!-- Combines the tint and drawable color and alpha channels, clamping the
4664                 result to valid color values. Saturate(S + D) -->
4665            <enum name="add" value="16" />
4666        </attr>
4667        <!-- Extra spacing between lines of text. -->
4668        <attr name="lineSpacingExtra" format="dimension" />
4669        <!-- Extra spacing between lines of text, as a multiplier. -->
4670        <attr name="lineSpacingMultiplier" format="float" />
4671        <!-- The number of times to repeat the marquee animation. Only applied if the
4672             TextView has marquee enabled. -->
4673        <attr name="marqueeRepeatLimit" format="integer">
4674            <!-- Indicates that marquee should repeat indefinitely. -->
4675            <enum name="marquee_forever" value="-1" />
4676        </attr>
4677        <attr name="inputType" />
4678        <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4679        <attr name="allowUndo" format="boolean" />
4680        <attr name="imeOptions" />
4681        <!-- An addition content type description to supply to the input
4682             method attached to the text view, which is private to the
4683             implementation of the input method.  This simply fills in
4684             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4685             EditorInfo.privateImeOptions} field when the input
4686             method is connected. -->
4687        <attr name="privateImeOptions" format="string" />
4688        <!-- Supply a value for
4689             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4690             used when an input method is connected to the text view. -->
4691        <attr name="imeActionLabel" format="string" />
4692        <!-- Supply a value for
4693             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4694             used when an input method is connected to the text view. -->
4695        <attr name="imeActionId" format="integer" />
4696        <!-- Reference to an
4697             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4698             XML resource containing additional data to
4699             supply to an input method, which is private to the implementation
4700             of the input method.  This simply fills in
4701             the {@link android.view.inputmethod.EditorInfo#extras
4702             EditorInfo.extras} field when the input
4703             method is connected. -->
4704        <attr name="editorExtras" format="reference" />
4705
4706        <!-- Reference to a drawable that will be used to display a text selection
4707             anchor on the left side of a selection region. -->
4708        <attr name="textSelectHandleLeft" />
4709        <!-- Reference to a drawable that will be used to display a text selection
4710             anchor on the right side of a selection region. -->
4711        <attr name="textSelectHandleRight" />
4712        <!-- Reference to a drawable that will be used to display a text selection
4713             anchor for positioning the cursor within text. -->
4714        <attr name="textSelectHandle" />
4715        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4716             TextEdit field. -->
4717        <attr name="textEditPasteWindowLayout" />
4718        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4719        <attr name="textEditNoPasteWindowLayout" />
4720        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4721             insertion cursor because it would be clipped if it were positioned on top. -->
4722        <attr name="textEditSidePasteWindowLayout" />
4723        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4724        <attr name="textEditSideNoPasteWindowLayout" />
4725
4726        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4727        <attr name="textEditSuggestionItemLayout" />
4728        <!-- Layout of the container of the suggestion popup window. -->
4729        <attr name="textEditSuggestionContainerLayout" />
4730        <!-- Style of the highlighted string in the suggestion popup window. -->
4731        <attr name="textEditSuggestionHighlightStyle" />
4732
4733
4734        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4735        <attr name="textCursorDrawable" />
4736
4737        <!-- Indicates that the content of a non-editable text can be selected. -->
4738        <attr name="textIsSelectable" />
4739        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4740        <attr name="textAllCaps" />
4741        <!-- Elegant text height, especially for less compacted complex script text. -->
4742        <attr name="elegantTextHeight" />
4743        <!-- Text letter-spacing. -->
4744        <attr name="letterSpacing" />
4745        <!-- Font feature settings. -->
4746        <attr name="fontFeatureSettings" />
4747        <!-- Break strategy (control over paragraph layout). -->
4748        <attr name="breakStrategy">
4749            <!-- Line breaking uses simple strategy. -->
4750            <enum name="simple" value="0" />
4751            <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4752            <enum name="high_quality" value="1" />
4753            <!-- Line breaking strategy balances line lengths. -->
4754            <enum name="balanced" value="2" />
4755        </attr>
4756        <!-- Frequency of automatic hyphenation. -->
4757        <attr name="hyphenationFrequency">
4758            <!-- No hyphenation. -->
4759            <enum name="none" value="0" />
4760            <!-- Less frequent hyphenation, useful for informal use cases, such
4761            as chat messages. -->
4762            <enum name="normal" value="1" />
4763            <!-- Standard amount of hyphenation, useful for running text and for
4764            screens with limited space for text. -->
4765            <enum name="full" value="2" />
4766        </attr>
4767        <!-- Specify the type of auto-size. Note that this feature is not supported by EditText,
4768        works only for TextView. -->
4769        <attr name="autoSizeTextType" format="enum">
4770            <!-- No auto-sizing (default). -->
4771            <enum name="none" value="0" />
4772            <!-- Uniform horizontal and vertical text size scaling to fit within the
4773            container. -->
4774            <enum name="uniform" value="1" />
4775        </attr>
4776        <!-- Specify the auto-size step size if <code>autoSizeTextType</code> is set to
4777        <code>uniform</code>. The default is 1px. Overwrites
4778        <code>autoSizePresetSizes</code> if set. -->
4779        <attr name="autoSizeStepGranularity" format="dimension" />
4780        <!-- Resource array of dimensions to be used in conjunction with
4781        <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides
4782        <code>autoSizeStepGranularity</code> if set. -->
4783        <attr name="autoSizePresetSizes"/>
4784        <!-- The minimum text size constraint to be used when auto-sizing text. -->
4785        <attr name="autoSizeMinTextSize" format="dimension" />
4786        <!-- The maximum text size constraint to be used when auto-sizing text. -->
4787        <attr name="autoSizeMaxTextSize" format="dimension" />
4788    </declare-styleable>
4789    <declare-styleable name="TextViewAppearance">
4790        <!-- Base text color, typeface, size, and style. -->
4791        <attr name="textAppearance" />
4792    </declare-styleable>
4793    <declare-styleable name="SelectionModeDrawables">
4794        <attr name="actionModeSelectAllDrawable" />
4795        <attr name="actionModeCutDrawable" />
4796        <attr name="actionModeCopyDrawable" />
4797        <attr name="actionModePasteDrawable" />
4798    </declare-styleable>
4799    <declare-styleable name="SuggestionSpan">
4800        <attr name="textUnderlineColor" />
4801        <attr name="textUnderlineThickness" />
4802    </declare-styleable>
4803    <!-- An <code>input-extras</code> is a container for extra data to supply to
4804         an input method.  Contains
4805         one more more {@link #Extra <extra>} tags.  -->
4806    <declare-styleable name="InputExtras">
4807    </declare-styleable>
4808    <declare-styleable name="AutoCompleteTextView">
4809        <!-- Defines the hint displayed in the drop down menu. -->
4810        <attr name="completionHint" format="string" />
4811        <!-- Defines the hint view displayed in the drop down menu. -->
4812        <attr name="completionHintView" format="reference" />
4813        <!-- Defines the number of characters that the user must type before
4814         completion suggestions are displayed in a drop down menu. -->
4815        <attr name="completionThreshold" format="integer" min="1" />
4816        <!-- Selector in a drop down list. -->
4817        <attr name="dropDownSelector" format="reference|color" />
4818        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4819             is used. -->
4820        <attr name="dropDownAnchor" format="reference" />
4821        <!-- Specifies the basic width of the dropdown. Its value may
4822             be a dimension (such as "12dip") for a constant width,
4823             fill_parent or match_parent to match the width of the
4824             screen, or wrap_content to match the width of
4825             the anchored view. -->
4826        <attr name="dropDownWidth" format="dimension">
4827            <!-- The dropdown should fill the width of the screen.
4828                 This constant is deprecated starting from API Level 8 and
4829                 is replaced by {@code match_parent}. -->
4830            <enum name="fill_parent" value="-1" />
4831            <!-- The dropdown should fit the width of the screen.
4832                 Introduced in API Level 8. -->
4833            <enum name="match_parent" value="-1" />
4834            <!-- The dropdown should fit the width of its anchor. -->
4835            <enum name="wrap_content" value="-2" />
4836        </attr>
4837        <!-- Specifies the basic height of the dropdown. Its value may
4838             be a dimension (such as "12dip") for a constant height,
4839             fill_parent or match_parent to fill the height of the
4840             screen, or wrap_content to match the height of
4841             the content of the drop down. -->
4842        <attr name="dropDownHeight" format="dimension">
4843            <!-- The dropdown should fit the height of the screen.
4844                 This constant is deprecated starting from API Level 8 and
4845                 is replaced by {@code match_parent}. -->
4846            <enum name="fill_parent" value="-1" />
4847            <!-- The dropdown should fit the height of the screen.
4848                 Introduced in API Level 8. -->
4849            <enum name="match_parent" value="-1" />
4850            <!-- The dropdown should fit the height of the content. -->
4851            <enum name="wrap_content" value="-2" />
4852        </attr>
4853        <attr name="inputType" />
4854        <!-- Theme to use for the completion popup window. -->
4855        <attr name="popupTheme" />
4856    </declare-styleable>
4857    <declare-styleable name="PopupWindow">
4858        <!-- The background to use for the popup window. -->
4859        <attr name="popupBackground" format="reference|color" />
4860        <!-- Window elevation to use for the popup window. -->
4861        <attr name="popupElevation" format="dimension" />
4862        <!-- The animation style to use for the popup window. -->
4863        <attr name="popupAnimationStyle" format="reference" />
4864        <!-- Whether the popup window should overlap its anchor view. -->
4865        <attr name="overlapAnchor" format="boolean" />
4866        <!-- Transition used to move views into the popup window. -->
4867        <attr name="popupEnterTransition" format="reference" />
4868        <!-- Transition used to move views out of the popup window. -->
4869        <attr name="popupExitTransition" format="reference" />
4870    </declare-styleable>
4871    <declare-styleable name="ListPopupWindow">
4872        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4873        <attr name="dropDownVerticalOffset" format="dimension" />
4874        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4875        <attr name="dropDownHorizontalOffset" format="dimension" />
4876    </declare-styleable>
4877    <declare-styleable name="ViewAnimator">
4878        <!-- Identifier for the animation to use when a view is shown. -->
4879        <attr name="inAnimation" format="reference" />
4880        <!-- Identifier for the animation to use when a view is hidden. -->
4881        <attr name="outAnimation" format="reference" />
4882        <!-- Defines whether to animate the current View when the ViewAnimation
4883             is first displayed. -->
4884        <attr name="animateFirstView" format="boolean" />
4885    </declare-styleable>
4886    <declare-styleable name="ViewFlipper">
4887        <attr name="flipInterval" format="integer" min="0" />
4888        <!-- When true, automatically start animating. -->
4889        <attr name="autoStart" format="boolean" />
4890    </declare-styleable>
4891    <declare-styleable name="AdapterViewAnimator">
4892        <!-- Identifier for the animation to use when a view is shown. -->
4893        <attr name="inAnimation" />
4894        <!-- Identifier for the animation to use when a view is hidden. -->
4895        <attr name="outAnimation" />
4896        <!--Defines whether the animator loops to the first view once it
4897        has reached the end of the list. -->
4898        <attr name="loopViews" format="boolean" />
4899        <!-- Defines whether to animate the current View when the ViewAnimation
4900        is first displayed. -->
4901        <attr name="animateFirstView" />
4902    </declare-styleable>
4903    <declare-styleable name="AdapterViewFlipper">
4904        <attr name="flipInterval" />
4905        <!-- When true, automatically start animating. -->
4906        <attr name="autoStart" />
4907    </declare-styleable>
4908    <declare-styleable name="ViewSwitcher">
4909    </declare-styleable>
4910    <declare-styleable name="ScrollView">
4911        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4912        <attr name="fillViewport" format="boolean" />
4913    </declare-styleable>
4914    <declare-styleable name="HorizontalScrollView">
4915        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4916        <attr name="fillViewport" />
4917    </declare-styleable>
4918    <declare-styleable name="Spinner">
4919        <!-- The prompt to display when the spinner's dialog is shown. -->
4920        <attr name="prompt" format="reference" />
4921        <!-- Display mode for spinner options. -->
4922        <attr name="spinnerMode" format="enum">
4923            <!-- Spinner options will be presented to the user as a dialog window. -->
4924            <enum name="dialog" value="0" />
4925            <!-- Spinner options will be presented to the user as an inline dropdown
4926                 anchored to the spinner widget itself. -->
4927            <enum name="dropdown" value="1" />
4928        </attr>
4929        <!-- List selector to use for spinnerMode="dropdown" display. -->
4930        <attr name="dropDownSelector" />
4931        <!-- Theme to use for the drop-down or dialog popup window. -->
4932        <attr name="popupTheme" />
4933        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4934        <attr name="popupBackground" />
4935        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4936        <attr name="popupElevation" />
4937        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4938        <attr name="dropDownWidth" />
4939        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4940             spinnerMode="dropdown". This layout must contain a TextView with the id
4941             {@code @android:id/text1} to be populated with the prompt text. -->
4942        <attr name="popupPromptView" format="reference" />
4943        <!-- Gravity setting for positioning the currently selected item. -->
4944        <attr name="gravity" />
4945        <!-- Whether this spinner should mark child views as enabled/disabled when
4946             the spinner itself is enabled/disabled. -->
4947        <attr name="disableChildrenWhenDisabled" format="boolean" />
4948    </declare-styleable>
4949
4950    <declare-styleable name="DatePicker">
4951        <!-- The first day of week according to {@link java.util.Calendar}. -->
4952        <attr name="firstDayOfWeek" />
4953        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4954        <attr name="minDate" format="string" />
4955        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4956        <attr name="maxDate" format="string" />
4957
4958        <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
4959        <attr name="spinnersShown" format="boolean" />
4960        <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
4961        <attr name="calendarViewShown" format="boolean" />
4962
4963        <!-- @hide The layout of the date picker. -->
4964        <attr name="internalLayout" format="reference"  />
4965        <!-- @hide The layout of the legacy DatePicker. -->
4966        <attr name="legacyLayout" />
4967
4968        <!-- The text color for the selected date header text, ex. "2014" or
4969             "Tue, Mar 18". This should be a color state list where the
4970             activated state will be used when the year picker or day picker is
4971             active.-->
4972        <attr name="headerTextColor" format="color" />
4973        <!-- The background for the selected date header. -->
4974        <attr name="headerBackground" />
4975
4976        <!-- The list year's text appearance in the list.
4977             {@deprecated Use yearListTextColor. }-->
4978        <attr name="yearListItemTextAppearance" format="reference" />
4979        <!-- @hide The list year's text appearance in the list when activated. -->
4980        <attr name="yearListItemActivatedTextAppearance" format="reference" />
4981        <!-- The text color list of the calendar. -->
4982        <attr name="calendarTextColor" format="color" />
4983
4984        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4985             spinner. As of L, with the Material theme selected, the default layout is calendar,
4986             but this attribute can be used to force spinner to be used instead. -->
4987        <attr name="datePickerMode">
4988            <!-- Date picker with spinner controls to select the date. -->
4989            <enum name="spinner" value="1" />
4990            <!-- Date picker with calendar to select the date. -->
4991            <enum name="calendar" value="2" />
4992        </attr>
4993
4994        <!-- The first year (inclusive), for example "1940".
4995             {@deprecated Use minDate instead.} -->
4996        <attr name="startYear" format="integer" />
4997        <!-- The last year (inclusive), for example "2010".
4998             {@deprecated Use maxDate instead.} -->
4999        <attr name="endYear" format="integer" />
5000        <!-- The text appearance for the month (ex. May) in the selected date header.
5001             {@deprecated Use headerTextColor instead.} -->
5002        <attr name="headerMonthTextAppearance" format="reference" />
5003        <!-- The text appearance for the day of month (ex. 28) in the selected date header.
5004             {@deprecated Use headerTextColor instead.} -->
5005        <attr name="headerDayOfMonthTextAppearance" format="reference" />
5006        <!-- The text appearance for the year (ex. 2014) in the selected date header.
5007             {@deprecated Use headerTextColor instead.} -->
5008        <attr name="headerYearTextAppearance" format="reference" />
5009        <!-- The background color for the header's day of week.
5010             {@deprecated No longer displayed.} -->
5011        <attr name="dayOfWeekBackground" format="color" />
5012        <!-- The text color for the header's day of week.
5013             {@deprecated No longer displayed.} -->
5014        <attr name="dayOfWeekTextAppearance" format="reference" />
5015        <!-- The list year's selected circle color in the list.
5016             {@deprecated No longer displayed.} -->
5017        <attr name="yearListSelectorColor" format="color" />
5018
5019        <!-- @hide Whether this time picker is being displayed within a dialog,
5020             in which case it may ignore the requested time picker mode due to
5021             space considerations. -->
5022        <attr name="dialogMode" format="boolean" />
5023    </declare-styleable>
5024
5025    <declare-styleable name="TwoLineListItem">
5026        <attr name="mode">
5027            <!-- Always show only the first line. -->
5028            <enum name="oneLine" value="1" />
5029            <!-- When selected show both lines, otherwise show only the first line.
5030                 This is the default mode. -->
5031            <enum name="collapsing" value="2" />
5032            <!-- Always show both lines. -->
5033            <enum name="twoLine" value="3" />
5034        </attr>
5035    </declare-styleable>
5036
5037    <!-- SlidingDrawer specific attributes. These attributes are used to configure
5038         a SlidingDrawer from XML. -->
5039    <declare-styleable name="SlidingDrawer">
5040        <!-- Identifier for the child that represents the drawer's handle. -->
5041        <attr name="handle" format="reference" />
5042        <!-- Identifier for the child that represents the drawer's content. -->
5043        <attr name="content" format="reference" />
5044        <!-- Orientation of the SlidingDrawer. -->
5045        <attr name="orientation" />
5046        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
5047        <attr name="bottomOffset" format="dimension"  />
5048        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
5049        <attr name="topOffset" format="dimension"  />
5050        <!-- Indicates whether the drawer can be opened/closed by a single tap
5051             on the handle.  (If false, the user must drag or fling, or click
5052             using the trackball, to open/close the drawer.)  Default is true. -->
5053        <attr name="allowSingleTap" format="boolean" />
5054        <!-- Indicates whether the drawer should be opened/closed with an animation
5055             when the user clicks the handle. Default is true. -->
5056        <attr name="animateOnClick" format="boolean" />
5057    </declare-styleable>
5058
5059    <!-- GestureOverlayView specific attributes. These attributes are used to configure
5060         a GestureOverlayView from XML. -->
5061    <declare-styleable name="GestureOverlayView">
5062        <!-- Width of the stroke used to draw the gesture. -->
5063        <attr name="gestureStrokeWidth" format="float" />
5064        <!-- Color used to draw a gesture. -->
5065        <attr name="gestureColor" format="color" />
5066        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
5067        <attr name="uncertainGestureColor" format="color" />
5068        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
5069             is done drawing it. -->
5070        <attr name="fadeOffset" format="integer" />
5071        <!-- Duration, in milliseconds, of the fade out effect after the user is done
5072             drawing a gesture. -->
5073        <attr name="fadeDuration" format="integer" />
5074        <!-- Defines the type of strokes that define a gesture. -->
5075        <attr name="gestureStrokeType">
5076            <!-- A gesture is made of only one stroke. -->
5077            <enum name="single" value="0" />
5078            <!-- A gesture is made of multiple strokes. -->
5079            <enum name="multiple" value="1" />
5080        </attr>
5081        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
5082        <attr name="gestureStrokeLengthThreshold" format="float" />
5083        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
5084        <attr name="gestureStrokeSquarenessThreshold" format="float" />
5085        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
5086        <attr name="gestureStrokeAngleThreshold" format="float" />
5087        <!-- Defines whether the overlay should intercept the motion events when a gesture
5088             is recognized. -->
5089        <attr name="eventsInterceptionEnabled" format="boolean" />
5090        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
5091        <attr name="fadeEnabled" format="boolean" />
5092        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
5093             (when orientation is horizontal) strokes automatically define a gesture. -->
5094        <attr name="orientation" />
5095    </declare-styleable>
5096
5097    <declare-styleable name="QuickContactBadge">
5098        <attr name="quickContactWindowSize">
5099            <enum name="modeSmall" value="1" />
5100            <enum name="modeMedium" value="2" />
5101            <enum name="modeLarge" value="3" />
5102        </attr>
5103    </declare-styleable>
5104
5105    <!-- ======================================= -->
5106    <!-- Widget package parent layout attributes -->
5107    <!-- ======================================= -->
5108    <eat-comment />
5109
5110    <declare-styleable name="AbsoluteLayout_Layout">
5111        <attr name="layout_x" format="dimension" />
5112        <attr name="layout_y" format="dimension" />
5113    </declare-styleable>
5114    <declare-styleable name="LinearLayout_Layout">
5115        <attr name="layout_width" />
5116        <attr name="layout_height" />
5117        <!-- Indicates how much of the extra space in the LinearLayout is
5118        allocated to the view associated with these LayoutParams. Specify
5119        0 if the view should not be stretched. Otherwise the extra pixels
5120        will be pro-rated among all views whose weight is greater than 0. -->
5121        <attr name="layout_weight" format="float" />
5122        <!-- Gravity specifies how a component should be placed in its group of cells.
5123        The default is {@link android.view.Gravity#TOP}.
5124        See {@link android.widget.LinearLayout#setGravity(int)}. -->
5125        <attr name="layout_gravity" />
5126    </declare-styleable>
5127    <declare-styleable name="GridLayout_Layout">
5128        <!-- The row boundary delimiting the top of the group of cells
5129        occupied by this view. -->
5130        <attr name="layout_row" format="integer" />
5131        <!-- The row span: the difference between the top and bottom
5132        boundaries delimiting the group of cells occupied by this view.
5133        The default is one.
5134        See {@link android.widget.GridLayout.Spec}. -->
5135        <attr name="layout_rowSpan" format="integer" min="1" />
5136        <!-- The relative proportion of vertical space that should be allocated to this view
5137        during excess space distribution. -->
5138        <attr name="layout_rowWeight" format="float" />
5139        <!-- The column boundary delimiting the left of the group of cells
5140        occupied by this view. -->
5141        <attr name="layout_column" />
5142        <!-- The column span: the difference between the right and left
5143        boundaries delimiting the group of cells occupied by this view.
5144        The default is one.
5145        See {@link android.widget.GridLayout.Spec}. -->
5146        <attr name="layout_columnSpan" format="integer" min="1" />
5147        <!-- The relative proportion of horizontal space that should be allocated to this view
5148        during excess space distribution. -->
5149        <attr name="layout_columnWeight" format="float" />
5150        <!-- Gravity specifies how a component should be placed in its group of cells.
5151        The default is LEFT | BASELINE.
5152        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
5153        <attr name="layout_gravity" />
5154    </declare-styleable>
5155    <declare-styleable name="FrameLayout_Layout">
5156        <attr name="layout_gravity" />
5157    </declare-styleable>
5158    <declare-styleable name="RelativeLayout_Layout">
5159        <!-- Positions the right edge of this view to the left of the given anchor view ID.
5160             Accommodates right margin of this view and left margin of anchor view. -->
5161        <attr name="layout_toLeftOf" format="reference" />
5162        <!-- Positions the left edge of this view to the right of the given anchor view ID.
5163            Accommodates left margin of this view and right margin of anchor view. -->
5164        <attr name="layout_toRightOf" format="reference" />
5165        <!-- Positions the bottom edge of this view above the given anchor view ID.
5166            Accommodates bottom margin of this view and top margin of anchor view. -->
5167        <attr name="layout_above" format="reference" />
5168        <!-- Positions the top edge of this view below the given anchor view ID.
5169            Accommodates top margin of this view and bottom margin of anchor view. -->
5170        <attr name="layout_below" format="reference" />
5171        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
5172        <attr name="layout_alignBaseline" format="reference" />
5173        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
5174            Accommodates left margin. -->
5175        <attr name="layout_alignLeft" format="reference" />
5176        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
5177            Accommodates top margin. -->
5178        <attr name="layout_alignTop" format="reference" />
5179        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
5180            Accommodates right margin. -->
5181        <attr name="layout_alignRight" format="reference" />
5182        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
5183            Accommodates bottom margin. -->
5184        <attr name="layout_alignBottom" format="reference" />
5185        <!-- If true, makes the left edge of this view match the left edge of the parent.
5186            Accommodates left margin. -->
5187        <attr name="layout_alignParentLeft" format="boolean" />
5188        <!-- If true, makes the top edge of this view match the top edge of the parent.
5189            Accommodates top margin. -->
5190        <attr name="layout_alignParentTop" format="boolean" />
5191        <!-- If true, makes the right edge of this view match the right edge of the parent.
5192            Accommodates right margin. -->
5193        <attr name="layout_alignParentRight" format="boolean" />
5194        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
5195            Accommodates bottom margin. -->
5196        <attr name="layout_alignParentBottom" format="boolean" />
5197        <!-- If true, centers this child horizontally and vertically within its parent. -->
5198        <attr name="layout_centerInParent" format="boolean" />
5199        <!-- If true, centers this child horizontally within its parent. -->
5200        <attr name="layout_centerHorizontal" format="boolean" />
5201        <!-- If true, centers this child vertically within its parent. -->
5202        <attr name="layout_centerVertical" format="boolean" />
5203        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
5204             be found for layout_toLeftOf, layout_toRightOf, etc. -->
5205        <attr name="layout_alignWithParentIfMissing" format="boolean" />
5206        <!-- Positions the end edge of this view to the start of the given anchor view ID.
5207             Accommodates end margin of this view and start margin of anchor view. -->
5208        <attr name="layout_toStartOf" format="reference" />
5209        <!-- Positions the start edge of this view to the end of the given anchor view ID.
5210             Accommodates start margin of this view and end margin of anchor view. -->
5211        <attr name="layout_toEndOf" format="reference" />
5212        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
5213            Accommodates start margin. -->
5214        <attr name="layout_alignStart" format="reference" />
5215        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
5216            Accommodates end margin. -->
5217        <attr name="layout_alignEnd" format="reference" />
5218        <!-- If true, makes the start edge of this view match the start edge of the parent.
5219            Accommodates start margin. -->
5220        <attr name="layout_alignParentStart" format="boolean" />
5221        <!-- If true, makes the end edge of this view match the end edge of the parent.
5222            Accommodates end margin. -->
5223        <attr name="layout_alignParentEnd" format="boolean" />
5224    </declare-styleable>
5225    <declare-styleable name="VerticalSlider_Layout">
5226        <attr name="layout_scale" format="float" />
5227    </declare-styleable>
5228
5229    <!-- @hide -->
5230    <declare-styleable name="WeightedLinearLayout">
5231        <attr name="majorWeightMin" format="float" />
5232        <attr name="minorWeightMin" format="float" />
5233        <attr name="majorWeightMax" format="float" />
5234        <attr name="minorWeightMax" format="float" />
5235    </declare-styleable>
5236
5237    <declare-styleable name="CalendarView">
5238        <!-- The first day of week according to {@link java.util.Calendar}. -->
5239        <attr name="firstDayOfWeek" format="integer" />
5240        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
5241        <attr name="minDate" />
5242        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
5243        <attr name="maxDate" />
5244        <!-- The text appearance for the month and year in the calendar header. -->
5245        <attr name="monthTextAppearance" format="reference" />
5246        <!-- The text appearance for the week day abbreviation in the calendar header. -->
5247        <attr name="weekDayTextAppearance" format="reference" />
5248        <!-- The text appearance for the day numbers in the calendar grid. -->
5249        <attr name="dateTextAppearance" format="reference" />
5250        <!-- @hide The background color used for the day selection indicator. -->
5251        <attr name="daySelectorColor" format="color" />
5252        <!-- @hide The background color used for the day highlight indicator. -->
5253        <attr name="dayHighlightColor" format="color" />
5254        <!-- @hide Which style of calendar delegate to use. -->
5255        <attr name="calendarViewMode">
5256            <enum name="holo" value="0" />
5257            <enum name="material" value="1" />
5258        </attr>
5259
5260        <!-- @deprecated Whether do show week numbers. -->
5261        <attr name="showWeekNumber" format="boolean" />
5262        <!-- @deprecated The number of weeks to be shown. -->
5263        <attr name="shownWeekCount" format="integer"/>
5264        <!-- @deprecated The background color for the selected week. -->
5265        <attr name="selectedWeekBackgroundColor" format="color|reference" />
5266        <!-- @deprecated The color for the dates of the focused month. -->
5267        <attr name="focusedMonthDateColor" format="color|reference" />
5268        <!-- @deprecated The color for the dates of an unfocused month. -->
5269        <attr name="unfocusedMonthDateColor" format="color|reference" />
5270        <!-- @deprecated The color for the week numbers. -->
5271        <attr name="weekNumberColor" format="color|reference" />
5272        <!-- @deprecated The color for the separator line between weeks. -->
5273        <attr name="weekSeparatorLineColor" format="color|reference" />
5274        <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
5275        <attr name="selectedDateVerticalBar" format="reference" />
5276    </declare-styleable>
5277
5278    <declare-styleable name="NumberPicker">
5279        <!-- @hide Color for the solid color background if such for optimized rendering. -->
5280        <attr name="solidColor" format="color|reference" />
5281        <!-- @hide The divider for making the selection area. -->
5282        <attr name="selectionDivider" format="reference" />
5283        <!-- @hide The height of the selection divider. -->
5284        <attr name="selectionDividerHeight" format="dimension" />
5285        <!-- @hide The distance between the two selection dividers. -->
5286        <attr name="selectionDividersDistance" format="dimension" />
5287        <!-- @hide The min height of the NumberPicker. -->
5288        <attr name="internalMinHeight" format="dimension" />
5289        <!-- @hide The max height of the NumberPicker. -->
5290        <attr name="internalMaxHeight" format="dimension" />
5291        <!-- @hide The min width of the NumberPicker. -->
5292        <attr name="internalMinWidth" format="dimension" />
5293        <!-- @hide The max width of the NumberPicker. -->
5294        <attr name="internalMaxWidth" format="dimension" />
5295        <!-- @hide The layout of the number picker. -->
5296        <attr name="internalLayout" />
5297        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
5298        <attr name="virtualButtonPressedDrawable" format="reference"/>
5299        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
5300        <attr name="hideWheelUntilFocused" format="boolean"/>
5301    </declare-styleable>
5302
5303    <declare-styleable name="TimePicker">
5304        <!-- @hide The layout of the legacy time picker. -->
5305        <attr name="legacyLayout" format="reference" />
5306        <!-- @hide The layout of the time picker. -->
5307        <attr name="internalLayout" />
5308
5309        <!-- The text color for the selected time header text, ex. "12" or
5310             "PM". This should be a color state list where the activated state
5311             will be used when the minute picker or hour picker is active.-->
5312        <attr name="headerTextColor" />
5313        <!-- The background for the header containing the currently selected time. -->
5314        <attr name="headerBackground" />
5315
5316        <!-- The color for the hours/minutes numbers. This should be a color
5317             state list where the activated state will be used when the number
5318             is active.-->
5319        <attr name="numbersTextColor" format="color" />
5320        <!-- The color for the inner hours numbers used in 24-hour mode. This
5321             should be a color state list where the activated state will be
5322             used when the number is active.-->
5323        <attr name="numbersInnerTextColor" format="color" />
5324        <!-- The background color for the hours/minutes numbers. -->
5325        <attr name="numbersBackgroundColor" format="color" />
5326        <!-- The color for the hours/minutes selector. -->
5327        <attr name="numbersSelectorColor" format="color" />
5328
5329        <!-- Defines the look of the widget. Prior to the L release, the only choice was
5330             spinner. As of L, with the Material theme selected, the default layout is clock,
5331             but this attribute can be used to force spinner to be used instead. -->
5332        <attr name="timePickerMode">
5333            <!-- Time picker with spinner controls to select the time. -->
5334            <enum name="spinner" value="1" />
5335            <!-- Time picker with clock face to select the time. -->
5336            <enum name="clock" value="2" />
5337        </attr>
5338
5339        <!-- The text appearance for the AM/PM header.
5340             @deprecated Use headerTextColor instead. -->
5341        <attr name="headerAmPmTextAppearance" format="reference" />
5342        <!-- The text appearance for the time header.
5343             @deprecated Use headerTextColor instead. -->
5344        <attr name="headerTimeTextAppearance" format="reference" />
5345        <!-- The color for the AM/PM selectors.
5346             {@deprecated Use headerTextColor instead.}-->
5347        <attr name="amPmTextColor" format="color" />
5348        <!-- The background color state list for the AM/PM selectors.
5349             {@deprecated Use headerBackground instead.}-->
5350        <attr name="amPmBackgroundColor" format="color" />
5351
5352        <!-- @hide Whether this time picker is being displayed within a dialog,
5353             in which case it may ignore the requested time picker mode due to
5354             space considerations. -->
5355        <attr name="dialogMode" />
5356    </declare-styleable>
5357
5358    <!-- ========================= -->
5359    <!-- Drawable class attributes -->
5360    <!-- ========================= -->
5361    <eat-comment />
5362
5363    <!-- Base attributes that are available to all Drawable objects. -->
5364    <declare-styleable name="Drawable">
5365        <!-- Provides initial visibility state of the drawable; the default
5366             value is false.  See
5367             {@link android.graphics.drawable.Drawable#setVisible}. -->
5368        <attr name="visible" format="boolean" />
5369        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5370             RTL (right-to-left).  See
5371             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
5372        <attr name="autoMirrored" format="boolean" />
5373    </declare-styleable>
5374
5375    <!-- Drawable class used to wrap other drawables. -->
5376    <declare-styleable name="DrawableWrapper">
5377        <!-- The wrapped drawable. -->
5378        <attr name="drawable" />
5379    </declare-styleable>
5380
5381    <!-- Drawable used to render several states. Each state is represented by
5382         a child drawable. -->
5383    <declare-styleable name="StateListDrawable">
5384        <!-- Indicates whether the drawable should be initially visible. -->
5385        <attr name="visible" />
5386        <!-- If true, allows the drawable's padding to change based on the
5387             current state that is selected.  If false, the padding will
5388             stay the same (based on the maximum padding of all the states).
5389             Enabling this feature requires that the owner of the drawable
5390             deal with performing layout when the state changes, which is
5391             often not supported. -->
5392        <attr name="variablePadding" format="boolean" />
5393        <!-- If true, the drawable's reported internal size will remain
5394             constant as the state changes; the size is the maximum of all
5395             of the states.  If false, the size will vary based on the
5396             current state. -->
5397        <attr name="constantSize" format="boolean" />
5398        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5399             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5400             an RGB 565 screen). -->
5401        <attr name="dither" format="boolean" />
5402        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5403        <attr name="enterFadeDuration" format="integer" />
5404        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5405        <attr name="exitFadeDuration" format="integer" />
5406        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5407             RTL (right-to-left). -->
5408        <attr name="autoMirrored"/>
5409    </declare-styleable>
5410
5411    <!-- Drawable used to render several states with animated transitions. Each state
5412         is represented by a child drawable with an optional keyframe ID. -->
5413    <declare-styleable name="AnimatedStateListDrawable">
5414        <!-- Indicates whether the drawable should be initially visible. -->
5415        <attr name="visible" />
5416        <!-- If true, allows the drawable's padding to change based on the
5417             current state that is selected.  If false, the padding will
5418             stay the same (based on the maximum padding of all the states).
5419             Enabling this feature requires that the owner of the drawable
5420             deal with performing layout when the state changes, which is
5421             often not supported. -->
5422        <attr name="variablePadding" />
5423        <!-- If true, the drawable's reported internal size will remain
5424             constant as the state changes; the size is the maximum of all
5425             of the states.  If false, the size will vary based on the
5426             current state. -->
5427        <attr name="constantSize" />
5428        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5429             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5430             an RGB 565 screen). -->
5431        <attr name="dither" />
5432        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5433        <attr name="enterFadeDuration" />
5434        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5435        <attr name="exitFadeDuration" />
5436        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5437             RTL (right-to-left). -->
5438        <attr name="autoMirrored"/>
5439    </declare-styleable>
5440
5441    <!-- Represents a single state inside a StateListDrawable. -->
5442    <declare-styleable name="StateListDrawableItem">
5443        <!-- Reference to a drawable resource to use for the state. If not
5444             given, the drawable must be defined by the first child tag. -->
5445        <attr name="drawable" />
5446    </declare-styleable>
5447
5448    <!-- Transition used to animate between states with keyframe IDs. -->
5449    <declare-styleable name="AnimatedStateListDrawableItem">
5450        <!-- Reference to a drawable resource to use for the frame.  If not
5451             given, the drawable must be defined by the first child tag. -->
5452        <attr name="drawable" />
5453        <!-- Keyframe identifier for use in specifying transitions. -->
5454        <attr name="id" />
5455    </declare-styleable>
5456
5457    <!-- Transition used to animate between states with keyframe IDs. -->
5458    <declare-styleable name="AnimatedStateListDrawableTransition">
5459        <!-- Keyframe identifier for the starting state. -->
5460        <attr name="fromId" format="reference" />
5461        <!-- Keyframe identifier for the ending state. -->
5462        <attr name="toId" format="reference" />
5463        <!-- Reference to a animation drawable resource to use for the frame.  If not
5464             given, the animation drawable must be defined by the first child tag. -->
5465        <attr name="drawable" />
5466        <!-- Whether this transition is reversible. -->
5467        <attr name="reversible" format="boolean" />
5468    </declare-styleable>
5469
5470    <!-- Drawable used to render several animated frames. -->
5471    <declare-styleable name="AnimationDrawable">
5472        <attr name="visible" />
5473        <attr name="variablePadding" />
5474        <!-- If true, the animation will only run a single time and then
5475             stop.  If false (the default), it will continually run,
5476             restarting at the first frame after the last has finished. -->
5477        <attr name="oneshot" format="boolean" />
5478    </declare-styleable>
5479
5480    <!-- Represents a single frame inside an AnimationDrawable. -->
5481    <declare-styleable name="AnimationDrawableItem">
5482        <!-- Amount of time (in milliseconds) to display this frame. -->
5483        <attr name="duration" format="integer" />
5484        <!-- Reference to a drawable resource to use for the frame.  If not
5485             given, the drawable must be defined by the first child tag. -->
5486        <attr name="drawable" format="reference" />
5487    </declare-styleable>
5488
5489    <!-- Attributes that can be assigned to a StateListAnimator item. -->
5490    <declare-styleable name="StateListAnimatorItem">
5491        <attr name="animation"/>
5492    </declare-styleable>
5493
5494    <!-- Attributes that can be assigned to a ColorStateList item. -->
5495    <declare-styleable name="ColorStateListItem">
5496        <!-- Base color for this state. -->
5497        <attr name="color" />
5498        <!-- Alpha multiplier applied to the base color. -->
5499        <attr name="alpha" />
5500    </declare-styleable>
5501
5502    <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery
5503         saver mode. It should contain one animatable drawable and one static drawable.
5504         @hide -->
5505    <declare-styleable name="AnimationScaleListDrawable">
5506    </declare-styleable>
5507
5508    <!-- Attributes that can be assigned to a AnimationScaleListDrawable item.
5509         @hide -->
5510    <declare-styleable name="AnimationScaleListDrawableItem">
5511        <!-- Reference to a drawable resource to use for the state. If not
5512             given, the drawable must be defined by the first child tag. -->
5513        <attr name="drawable" />
5514    </declare-styleable>
5515
5516
5517    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5518    <declare-styleable name="GradientDrawable">
5519        <!-- Indicates whether the drawable should intially be visible. -->
5520        <attr name="visible" />
5521        <!-- Enables or disables dithering. -->
5522        <attr name="dither" />
5523        <!-- Indicates what shape to fill with a gradient. -->
5524        <attr name="shape">
5525            <!-- Rectangle shape, with optional rounder corners. -->
5526            <enum name="rectangle" value="0" />
5527            <!-- Oval shape. -->
5528            <enum name="oval" value="1" />
5529            <!-- Line shape. -->
5530            <enum name="line" value="2" />
5531            <!-- Ring shape. -->
5532            <enum name="ring" value="3" />
5533        </attr>
5534        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5535             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5536             This value is ignored if innerRadius is defined. Default value is 9. -->
5537        <attr name="innerRadiusRatio" format="float" />
5538        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5539             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5540             This value is ignored if innerRadius is defined. Default value is 3. -->
5541        <attr name="thicknessRatio" format="float" />
5542        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5543        <attr name="innerRadius" format="dimension" />
5544        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5545        <attr name="thickness" format="dimension" />
5546        <!-- Whether the drawable level value (see
5547             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape.
5548             Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to
5549             360. For all other types, there is no effect. The default value is true. -->
5550        <attr name="useLevel" />
5551        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5552             no tint is applied. May be a color state list. -->
5553        <attr name="tint" />
5554        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5555             default value is src_in, which treats the drawable as an alpha mask. -->
5556        <attr name="tintMode" />
5557        <!-- Left optical inset.
5558             @hide Until optical insets are fully supported. -->
5559        <attr name="opticalInsetLeft" />
5560        <!-- Top optical inset.
5561             @hide Until optical insets are fully supported. -->
5562        <attr name="opticalInsetTop" />
5563        <!-- Right optical inset.
5564             @hide Until optical insets are fully supported. -->
5565        <attr name="opticalInsetRight" />
5566        <!-- Bottom optical inset.
5567             @hide Until optical insets are fully supported. -->
5568        <attr name="opticalInsetBottom" />
5569    </declare-styleable>
5570
5571    <!-- Used to specify the size of the shape for GradientDrawable. -->
5572    <declare-styleable name="GradientDrawableSize">
5573        <!-- Width of the gradient shape. -->
5574        <attr name="width" />
5575        <!-- Height of the gradient shape. -->
5576        <attr name="height" />
5577    </declare-styleable>
5578
5579    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5580    <declare-styleable name="GradientDrawableGradient">
5581        <!-- Start color of the gradient. -->
5582        <attr name="startColor" format="color" />
5583        <!-- Optional center color. For linear gradients, use centerX or centerY to place the center
5584             color. -->
5585        <attr name="centerColor" format="color" />
5586        <!-- End color of the gradient. -->
5587        <attr name="endColor" format="color" />
5588        <!-- Whether the drawable level value (see
5589             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient.
5590             Scaling behavior varies based on gradient type. For "linear", adjusts the ending
5591             position along the gradient's axis of orientation. For "radial", adjusts the outer
5592             radius. For "sweep", adjusts the ending angle. The default value is false. -->
5593        <attr name="useLevel" format="boolean" />
5594        <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the
5595             range [0, 315]. -->
5596        <attr name="angle" format="float" />
5597        <!-- Type of gradient. The default type is linear. -->
5598        <attr name="type">
5599            <!-- Linear gradient extending across the center point. -->
5600            <enum name="linear" value="0" />
5601            <!-- Radial gradient extending from the center point outward. -->
5602            <enum name="radial" value="1" />
5603            <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. -->
5604            <enum name="sweep"  value="2" />
5605        </attr>
5606        <!-- X-position of the center point of the gradient within the shape as a fraction of the
5607             width. The default value is 0.5. -->
5608        <attr name="centerX" format="float|fraction" />
5609        <!-- Y-position of the center point of the gradient within the shape as a fraction of the
5610             height. The default value is 0.5. -->
5611        <attr name="centerY" format="float|fraction" />
5612        <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension
5613             or a fractional value relative to the shape's minimum dimension. -->
5614        <attr name="gradientRadius" format="float|fraction|dimension" />
5615    </declare-styleable>
5616
5617    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5618    <declare-styleable name="GradientDrawableSolid">
5619        <!-- Solid color for the gradient shape. -->
5620        <attr name="color" format="color" />
5621    </declare-styleable>
5622
5623    <!-- Used to describe the optional stroke of a GradientDrawable. -->
5624    <declare-styleable name="GradientDrawableStroke">
5625        <!-- Width of the gradient shape's stroke. -->
5626        <attr name="width" />
5627        <!-- Color of the gradient shape's stroke. -->
5628        <attr name="color" />
5629        <!-- Length of a dash in the stroke. -->
5630        <attr name="dashWidth" format="dimension" />
5631        <!-- Gap between dashes in the stroke. -->
5632        <attr name="dashGap" format="dimension" />
5633    </declare-styleable>
5634
5635    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5636         This can be used to render rounded corners. -->
5637    <declare-styleable name="DrawableCorners">
5638        <!-- Defines the radius of the four corners. -->
5639        <attr name="radius" format="dimension" />
5640        <!-- Radius of the top left corner. -->
5641        <attr name="topLeftRadius" format="dimension" />
5642        <!-- Radius of the top right corner. -->
5643        <attr name="topRightRadius" format="dimension" />
5644        <!-- Radius of the bottom left corner. -->
5645        <attr name="bottomLeftRadius" format="dimension" />
5646        <!-- Radius of the bottom right corner. -->
5647        <attr name="bottomRightRadius" format="dimension" />
5648    </declare-styleable>
5649
5650    <!-- Used to specify the optional padding of a GradientDrawable. -->
5651    <declare-styleable name="GradientDrawablePadding">
5652        <!-- Amount of left padding inside the gradient shape. -->
5653        <attr name="left" format="dimension" />
5654        <!-- Amount of top padding inside the gradient shape. -->
5655        <attr name="top" format="dimension" />
5656        <!-- Amount of right padding inside the gradient shape. -->
5657        <attr name="right" format="dimension" />
5658        <!-- Amount of bottom padding inside the gradient shape. -->
5659        <attr name="bottom" format="dimension" />
5660    </declare-styleable>
5661
5662    <!-- Drawable used to render several drawables stacked on top of each other.
5663         Each child drawable can be controlled individually. -->
5664    <declare-styleable name="LayerDrawable">
5665        <!-- Indicates the opacity of the layer. This can be useful to allow the
5666              system to enable drawing optimizations. The default value is
5667              translucent. -->
5668        <attr name="opacity">
5669            <!-- Indicates that the layer is opaque and contains no transparent
5670                 nor translucent pixels. -->
5671            <enum name="opaque" value="-1" />
5672            <!-- The layer is completely transparent (no pixel will be drawn). -->
5673            <enum name="transparent" value="-2" />
5674            <!-- The layer has translucent pixels. -->
5675            <enum name="translucent" value="-3" />
5676        </attr>
5677        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5678             RTL (right-to-left). -->
5679        <attr name="autoMirrored" />
5680        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5681             The default padding mode value is nest. -->
5682        <attr name="paddingMode">
5683            <!-- Nest each layer inside the padding of the previous layer. -->
5684            <enum name="nest" value="0" />
5685            <!-- Stack each layer directly atop the previous layer. -->
5686            <enum name="stack" value="1" />
5687        </attr>
5688        <!-- Explicit top padding. Overrides child padding. -->
5689        <attr name="paddingTop" />
5690        <!-- Explicit bottom padding. Overrides child padding. -->
5691        <attr name="paddingBottom" />
5692        <!-- Explicit left padding. Overrides child padding. -->
5693        <attr name="paddingLeft" />
5694        <!-- Explicit right padding. Overrides child padding. -->
5695        <attr name="paddingRight" />
5696        <!-- Explicit start padding. Overrides child padding. Takes precedence
5697             over absolute padding (for example, left when layout direction is LTR). -->
5698        <attr name="paddingStart" />
5699        <!-- Explicit end padding. Overrides child padding. Takes precedence
5700             over absolute padding (for example, right when layout direction is LTR). -->
5701        <attr name="paddingEnd" />
5702    </declare-styleable>
5703
5704    <!-- Describes an item (or child) of a LayerDrawable. -->
5705    <declare-styleable name="LayerDrawableItem">
5706        <!-- Left inset to apply to the layer. -->
5707        <attr name="left" />
5708        <!-- Top inset to apply to the layer. -->
5709        <attr name="top" />
5710        <!-- Right inset to apply to the layer. -->
5711        <attr name="right" />
5712        <!-- Bottom inset to apply to the layer. -->
5713        <attr name="bottom" />
5714        <!-- Start inset to apply to the layer. Overrides {@code left} or
5715             {@code right} depending on layout direction. -->
5716        <attr name="start" format="dimension" />
5717        <!-- End inset to apply to the layer. Overrides {@code left} or
5718             {@code right} depending on layout direction. -->
5719        <attr name="end" format="dimension" />
5720        <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5721        <attr name="width" />
5722        <!-- Height of the layer. Defaults to the layer's intrinsic height. -->
5723        <attr name="height" />
5724        <!-- Gravity used to align the layer within its container. If no value
5725             is specified, the default behavior depends on whether an explicit
5726             width or height has been set, If no dimension is set, gravity in
5727             that direction defaults to {@code fill_horizontal} or
5728             {@code fill_vertical}; otherwise, it defaults to {@code left} or
5729             {@code top}. -->
5730        <attr name="gravity" />
5731        <!-- Drawable used to render the layer. -->
5732        <attr name="drawable" />
5733        <!-- Identifier of the layer. This can be used to retrieve the layer
5734             from a drawable container. -->
5735        <attr name="id" />
5736    </declare-styleable>
5737
5738    <declare-styleable name="LevelListDrawableItem">
5739        <!-- The minimum level allowed for this item. -->
5740        <attr name="minLevel" format="integer" />
5741        <!-- The maximum level allowed for this item. -->
5742        <attr name="maxLevel" format="integer" />
5743        <attr name="drawable" />
5744    </declare-styleable>
5745
5746    <!-- Drawable used to rotate another drawable. -->
5747    <declare-styleable name="RotateDrawable">
5748        <attr name="visible" />
5749        <attr name="fromDegrees" format="float" />
5750        <attr name="toDegrees" format="float" />
5751        <attr name="pivotX" format="float|fraction" />
5752        <attr name="pivotY" format="float|fraction" />
5753        <attr name="drawable" />
5754    </declare-styleable>
5755
5756    <declare-styleable name="AnimatedRotateDrawable">
5757        <attr name="visible" />
5758        <attr name="frameDuration" format="integer" />
5759        <attr name="framesCount" format="integer" />
5760        <attr name="pivotX" />
5761        <attr name="pivotY" />
5762        <attr name="drawable" />
5763    </declare-styleable>
5764
5765    <!-- Drawable used to render the Material progress indicator. -->
5766    <declare-styleable name="MaterialProgressDrawable">
5767        <attr name="visible" />
5768        <attr name="thickness" />
5769        <attr name="innerRadius" />
5770        <attr name="width" />
5771        <attr name="height" />
5772        <attr name="color" />
5773    </declare-styleable>
5774
5775    <!-- Drawable used to wrap and inset another drawable. -->
5776    <declare-styleable name="InsetDrawable">
5777        <attr name="visible" />
5778        <attr name="drawable" />
5779        <attr name="inset"  format="dimension"/>
5780        <attr name="insetLeft" format="dimension" />
5781        <attr name="insetRight" format="dimension" />
5782        <attr name="insetTop" format="dimension" />
5783        <attr name="insetBottom" format="dimension" />
5784    </declare-styleable>
5785
5786    <!-- Drawable used to draw bitmaps. -->
5787    <declare-styleable name="BitmapDrawable">
5788        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5789        <attr name="src" />
5790        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5791             edges of a bitmap when rotated. Default value is false. -->
5792        <attr name="antialias" format="boolean" />
5793        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5794             shrunk or stretched to smooth its apperance. Default value is true. -->
5795        <attr name="filter" format="boolean" />
5796        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5797             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5798             an RGB 565 screen). Default value is true. -->
5799        <attr name="dither" />
5800        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5801             the drawable in its container if the bitmap is smaller than the container. -->
5802        <attr name="gravity" />
5803        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5804             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5805        <attr name="tileMode">
5806            <!-- Do not tile the bitmap. This is the default value. -->
5807            <enum name="disabled" value="-1" />
5808            <!-- Replicates the edge color. -->
5809            <enum name="clamp" value="0" />
5810            <!-- Repeats the bitmap in both direction. -->
5811            <enum name="repeat" value="1" />
5812            <!-- Repeats the shader's image horizontally and vertically, alternating
5813                 mirror images so that adjacent images always seam. -->
5814            <enum name="mirror" value="2" />
5815        </attr>
5816        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5817             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5818        <attr name="tileModeX">
5819            <!-- Do not tile the bitmap. This is the default value. -->
5820            <enum name="disabled" value="-1" />
5821            <!-- Replicates the edge color. -->
5822            <enum name="clamp" value="0" />
5823            <!-- Repeats the bitmap horizontally. -->
5824            <enum name="repeat" value="1" />
5825            <!-- Repeats the shader's image horizontally, alternating
5826                 mirror images so that adjacent images always seam. -->
5827            <enum name="mirror" value="2" />
5828        </attr>
5829        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5830             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5831        <attr name="tileModeY">
5832            <!-- Do not tile the bitmap. This is the default value. -->
5833            <enum name="disabled" value="-1" />
5834            <!-- Replicates the edge color. -->
5835            <enum name="clamp" value="0" />
5836            <!-- Repeats the bitmap vertically. -->
5837            <enum name="repeat" value="1" />
5838            <!-- Repeats the shader's image vertically, alternating
5839                 mirror images so that adjacent images always seam. -->
5840            <enum name="mirror" value="2" />
5841        </attr>
5842        <!-- Enables or disables the mipmap hint. See
5843            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5844            Default value is false. -->
5845        <attr name="mipMap" format="boolean" />
5846        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5847             RTL (right-to-left). -->
5848        <attr name="autoMirrored" />
5849        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5850             no tint is applied. May be a color state list. -->
5851        <attr name="tint" />
5852        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5853             default value is src_in, which treats the drawable as an alpha mask. -->
5854        <attr name="tintMode">
5855            <!-- The tint is drawn on top of the drawable.
5856                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5857            <enum name="src_over" value="3" />
5858            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5859                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5860            <enum name="src_in" value="5" />
5861            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5862                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5863            <enum name="src_atop" value="9" />
5864            <!-- Multiplies the color and alpha channels of the drawable with those of
5865                 the tint. [Sa * Da, Sc * Dc] -->
5866            <enum name="multiply" value="14" />
5867            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5868            <enum name="screen" value="15" />
5869            <!-- Combines the tint and drawable color and alpha channels, clamping the
5870                 result to valid color values. Saturate(S + D) -->
5871            <enum name="add" value="16" />
5872        </attr>
5873        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5874        <attr name="alpha" />
5875    </declare-styleable>
5876
5877    <!-- Drawable used to draw 9-patches. -->
5878    <declare-styleable name="NinePatchDrawable">
5879        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5880        <attr name="src" />
5881        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5882             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5883             an RGB 565 screen). -->
5884        <attr name="dither" />
5885        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5886             RTL (right-to-left). -->
5887        <attr name="autoMirrored" />
5888        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5889             no tint is applied. May be a color state list. -->
5890        <attr name="tint" />
5891        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5892             default value is src_in, which treats the drawable as an alpha mask. -->
5893        <attr name="tintMode" />
5894        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5895        <attr name="alpha" />
5896    </declare-styleable>
5897
5898    <!-- Drawable used to draw a single color. -->
5899    <declare-styleable name="ColorDrawable">
5900        <!-- The color to use. -->
5901        <attr name="color" />
5902    </declare-styleable>
5903
5904    <!-- Drawable used to draw adaptive icons with foreground and background layers. -->
5905    <declare-styleable name="AdaptiveIconDrawableLayer">
5906        <!-- The drawable to use for the layer. -->
5907        <attr name="drawable" />
5908     </declare-styleable>
5909
5910    <!-- Drawable used to show animated touch feedback. -->
5911    <declare-styleable name="RippleDrawable">
5912        <!-- The color to use for ripple effects. This attribute is required. -->
5913        <attr name="color" />
5914        <!-- The radius of the ripple when fully expanded. By default, the
5915             radius is computed based on the size of the ripple's container. -->
5916        <attr name="radius" />
5917    </declare-styleable>
5918
5919    <declare-styleable name="ScaleDrawable">
5920        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5921             format is XX%. For instance: 100%, 12.5%, etc.-->
5922        <attr name="scaleWidth" format="string" />
5923        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5924             format is XX%. For instance: 100%, 12.5%, etc.-->
5925        <attr name="scaleHeight" format="string" />
5926        <!-- Specifies where the drawable is positioned after scaling. The default value is
5927             left. -->
5928        <attr name="scaleGravity">
5929            <!-- Push object to the top of its container, not changing its size. -->
5930            <flag name="top" value="0x30" />
5931            <!-- Push object to the bottom of its container, not changing its size. -->
5932            <flag name="bottom" value="0x50" />
5933            <!-- Push object to the left of its container, not changing its size. -->
5934            <flag name="left" value="0x03" />
5935            <!-- Push object to the right of its container, not changing its size. -->
5936            <flag name="right" value="0x05" />
5937            <!-- Place object in the vertical center of its container, not changing its size. -->
5938            <flag name="center_vertical" value="0x10" />
5939            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5940            <flag name="fill_vertical" value="0x70" />
5941            <!-- Place object in the horizontal center of its container, not changing its size. -->
5942            <flag name="center_horizontal" value="0x01" />
5943            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5944            <flag name="fill_horizontal" value="0x07" />
5945            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5946            <flag name="center" value="0x11" />
5947            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5948            <flag name="fill" value="0x77" />
5949            <!-- Additional option that can be set to have the top and/or bottom edges of
5950                 the child clipped to its container's bounds.
5951                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5952                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5953            <flag name="clip_vertical" value="0x80" />
5954            <!-- Additional option that can be set to have the left and/or right edges of
5955                 the child clipped to its container's bounds.
5956                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5957                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5958            <flag name="clip_horizontal" value="0x08" />
5959            <!-- Push object to the beginning of its container, not changing its size. -->
5960            <flag name="start" value="0x00800003" />
5961            <!-- Push object to the end of its container, not changing its size. -->
5962            <flag name="end" value="0x00800005" />
5963        </attr>
5964        <!-- Specifies the initial drawable level in the range 0 to 10000. -->
5965        <attr name="level" format="integer" />
5966        <!-- Reference to a drawable resource to draw with the specified scale. -->
5967        <attr name="drawable" />
5968        <!-- Use the drawable's intrinsic width and height as minimum size values.
5969             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5970             down beyond a minimum size. -->
5971        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5972    </declare-styleable>
5973
5974    <declare-styleable name="ClipDrawable">
5975        <!-- The orientation for the clip. -->
5976        <attr name="clipOrientation">
5977            <!-- Clip the drawable horizontally. -->
5978            <flag name="horizontal" value="1" />
5979            <!-- Clip the drawable vertically. -->
5980            <flag name="vertical" value="2" />
5981        </attr>
5982        <!-- Specifies where to clip within the drawable. The default value is
5983             left. -->
5984        <attr name="gravity" />
5985        <!-- Reference to a drawable resource to draw with the specified scale. -->
5986        <attr name="drawable" />
5987    </declare-styleable>
5988
5989    <!-- Defines the padding of a ShapeDrawable. -->
5990    <declare-styleable name="ShapeDrawablePadding">
5991        <!-- Left padding. -->
5992        <attr name="left" />
5993        <!-- Top padding. -->
5994        <attr name="top" />
5995        <!-- Right padding. -->
5996        <attr name="right" />
5997        <!-- Bottom padding. -->
5998        <attr name="bottom" />
5999    </declare-styleable>
6000
6001    <!-- Drawable used to draw shapes. -->
6002    <declare-styleable name="ShapeDrawable">
6003        <!-- Defines the color of the shape. -->
6004        <attr name="color" />
6005        <!-- Defines the width of the shape. -->
6006        <attr name="width" />
6007        <!-- Defines the height of the shape. -->
6008        <attr name="height" />
6009        <!-- Enables or disables dithering. -->
6010        <attr name="dither" />
6011        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6012             no tint is applied. May be a color state list. -->
6013        <attr name="tint" />
6014        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6015             default value is src_in, which treats the drawable as an alpha mask. -->
6016        <attr name="tintMode" />
6017    </declare-styleable>
6018
6019    <!-- ========================== -->
6020    <!--   VectorDrawable class   -->
6021    <!-- ========================== -->
6022    <eat-comment />
6023
6024    <!-- Drawable used to draw vector paths. -->
6025    <declare-styleable name="VectorDrawable">
6026        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
6027             no tint is applied. May be a color state list. -->
6028        <attr name="tint" />
6029        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
6030             default value is src_in, which treats the drawable as an alpha mask. -->
6031        <attr name="tintMode" />
6032        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
6033             RTL (right-to-left). -->
6034        <attr name="autoMirrored" />
6035        <!-- The intrinsic width of the Vector Drawable. -->
6036        <attr name="width" />
6037        <!-- The intrinsic height of the Vector Drawable. -->
6038        <attr name="height" />
6039        <!-- The width of the canvas the drawing is on. -->
6040        <attr name="viewportWidth" format="float"/>
6041        <!-- The height of the canvas the drawing is on. -->
6042        <attr name="viewportHeight" format="float"/>
6043        <!-- The name of this vector drawable. -->
6044        <attr name="name" />
6045        <!-- The opacity of the whole vector drawable, as a value between 0
6046             (completely transparent) and 1 (completely opaque). -->
6047        <attr name="alpha" />
6048        <!-- Left optical inset.
6049             @hide Until optical insets are fully supported. -->
6050        <attr name="opticalInsetLeft" format="dimension" />
6051        <!-- Top optical inset.
6052             @hide Until optical insets are fully supported. -->
6053        <attr name="opticalInsetTop" format="dimension" />
6054        <!-- Right optical inset.
6055             @hide Until optical insets are fully supported. -->
6056        <attr name="opticalInsetRight" format="dimension" />
6057        <!-- Bottom optical inset.
6058             @hide Until optical insets are fully supported. -->
6059        <attr name="opticalInsetBottom" format="dimension" />
6060    </declare-styleable>
6061
6062    <!-- Defines the group used in VectorDrawables. -->
6063    <declare-styleable name="VectorDrawableGroup">
6064        <!-- The name of this group. -->
6065        <attr name="name" />
6066        <!-- The amount to rotate the group. -->
6067        <attr name="rotation" />
6068        <!-- The X coordinate of the center of rotation of a group. -->
6069        <attr name="pivotX" />
6070        <!-- The Y coordinate of the center of rotation of a group. -->
6071        <attr name="pivotY" />
6072        <!-- The amount to translate the group on X coordinate. -->
6073        <attr name="translateX" format="float"/>
6074        <!-- The amount to translate the group on Y coordinate. -->
6075        <attr name="translateY" format="float"/>
6076        <!-- The amount to scale the group on X coordinate. -->
6077        <attr name="scaleX" />
6078        <!-- The amount to scale the group on X coordinate. -->
6079        <attr name="scaleY" />
6080    </declare-styleable>
6081
6082    <!-- Defines the path used in VectorDrawables. -->
6083    <declare-styleable name="VectorDrawablePath">
6084        <!-- The name of this path. -->
6085        <attr name="name" />
6086        <!-- The width a path stroke. -->
6087        <attr name="strokeWidth" format="float" />
6088        <!-- The color to stroke the path if not defined implies no stroke. -->
6089        <attr name="strokeColor" format="color" />
6090        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
6091             and 1 (completely opaque). -->
6092        <attr name="strokeAlpha" format="float" />
6093        <!-- The color to fill the path if not defined implies no fill. -->
6094        <attr name="fillColor" format="color" />
6095        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
6096             and 1 (completely opaque). -->
6097        <attr name="fillAlpha" format="float" />
6098        <!-- The specification of the operations that define the path. -->
6099        <attr name="pathData" format="string" />
6100        <!-- The fraction of the path to trim from the start from 0 to 1. -->
6101        <attr name="trimPathStart" format="float" />
6102        <!-- The fraction of the path to trim from the end from 0 to 1 . -->
6103        <attr name="trimPathEnd" format="float" />
6104        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1. -->
6105        <attr name="trimPathOffset" format="float" />
6106        <!-- sets the linecap for a stroked path. -->
6107        <attr name="strokeLineCap" format="enum">
6108            <enum name="butt" value="0"/>
6109            <enum name="round" value="1"/>
6110            <enum name="square" value="2"/>
6111        </attr>
6112        <!-- sets the lineJoin for a stroked path. -->
6113        <attr name="strokeLineJoin" format="enum">
6114            <enum name="miter" value="0"/>
6115            <enum name="round" value="1"/>
6116            <enum name="bevel" value="2"/>
6117        </attr>
6118        <!-- sets the Miter limit for a stroked path. -->
6119        <attr name="strokeMiterLimit" format="float"/>
6120        <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties.
6121             For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty. -->
6122        <attr name="fillType" format="enum">
6123            <enum name="nonZero" value="0"/>
6124            <enum name="evenOdd" value="1"/>
6125        </attr>
6126    </declare-styleable>
6127
6128    <!-- Defines the clip path used in VectorDrawables. -->
6129    <declare-styleable name="VectorDrawableClipPath">
6130        <!-- The Name of this path. -->
6131        <attr name="name" />
6132        <!-- The specification of the operations that define the path. -->
6133        <attr name="pathData"/>
6134    </declare-styleable>
6135
6136    <!-- ========================== -->
6137    <!--   AnimatedVectorDrawable class   -->
6138    <!-- ========================== -->
6139    <eat-comment />
6140
6141    <!-- Define the AnimatedVectorDrawable. -->
6142    <declare-styleable name="AnimatedVectorDrawable">
6143        <!-- The static vector drawable. -->
6144        <attr name="drawable" />
6145    </declare-styleable>
6146
6147    <!-- Defines the target used in the AnimatedVectorDrawable. -->
6148    <declare-styleable name="AnimatedVectorDrawableTarget">
6149        <!-- The name of the target path, group or vector drawable. -->
6150        <attr name="name" />
6151        <!-- The animation for the target path, group or vector drawable. -->
6152        <attr name="animation" />
6153    </declare-styleable>
6154
6155    <!-- ========================== -->
6156    <!-- Animation class attributes -->
6157    <!-- ========================== -->
6158    <eat-comment />
6159
6160    <declare-styleable name="Animation">
6161        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6162        <attr name="interpolator" />
6163        <!-- When set to true, the value of fillBefore is taken into account. -->
6164        <attr name="fillEnabled" format="boolean" />
6165        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
6166             is applied before the animation has started. The default value is true. -->
6167        <attr name="fillBefore" format="boolean" />
6168        <!-- When set to true, the animation transformation is applied after the animation is
6169             over. The default value is false. If fillEnabled is not set to true and the
6170             animation is not set on a View, fillAfter is assumed to be true.-->
6171        <attr name="fillAfter" format="boolean" />
6172        <!-- Amount of time (in milliseconds) for the animation to run. -->
6173        <attr name="duration" />
6174        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6175        <attr name="startOffset" format="integer" />
6176        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6177        <attr name="repeatCount" format="integer">
6178            <enum name="infinite" value="-1" />
6179        </attr>
6180        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6181             greater than 0 or infinite. The default value is restart. -->
6182        <attr name="repeatMode">
6183            <!-- The animation starts again from the beginning. -->
6184            <enum name="restart" value="1" />
6185            <!-- The animation plays backward. -->
6186            <enum name="reverse" value="2" />
6187        </attr>
6188        <!-- Allows for an adjustment of the Z ordering of the content being
6189             animated for the duration of the animation.  The default value is normal. -->
6190        <attr name="zAdjustment">
6191            <!-- The content being animated be kept in its current Z order. -->
6192            <enum name="normal" value="0" />
6193            <!-- The content being animated is forced on top of all other
6194                 content for the duration of the animation. -->
6195            <enum name="top" value="1" />
6196            <!-- The content being animated is forced under all other
6197                 content for the duration of the animation. -->
6198            <enum name="bottom" value="-1" />
6199        </attr>
6200        <!-- Special background behind animation.  Only for use with window
6201             animations.  Can only be a color, and only black.  If 0, the
6202             default, there is no background. -->
6203        <attr name="background" />
6204        <!-- Special option for window animations: if this window is on top
6205             of a wallpaper, don't animate the wallpaper with it. -->
6206        <attr name="detachWallpaper" format="boolean" />
6207    </declare-styleable>
6208
6209    <declare-styleable name="AnimationSet">
6210        <attr name="shareInterpolator" format="boolean" />
6211        <attr name="fillBefore" />
6212        <attr name="fillAfter" />
6213        <attr name="duration" />
6214        <attr name="startOffset" />
6215        <attr name="repeatMode" />
6216    </declare-styleable>
6217
6218    <declare-styleable name="RotateAnimation">
6219        <attr name="fromDegrees" />
6220        <attr name="toDegrees" />
6221        <attr name="pivotX" />
6222        <attr name="pivotY" />
6223    </declare-styleable>
6224
6225    <declare-styleable name="ScaleAnimation">
6226        <attr name="fromXScale" format="float|fraction|dimension" />
6227        <attr name="toXScale" format="float|fraction|dimension" />
6228        <attr name="fromYScale" format="float|fraction|dimension" />
6229        <attr name="toYScale" format="float|fraction|dimension" />
6230        <attr name="pivotX" />
6231        <attr name="pivotY" />
6232    </declare-styleable>
6233
6234    <declare-styleable name="TranslateAnimation">
6235        <attr name="fromXDelta" format="float|fraction" />
6236        <attr name="toXDelta" format="float|fraction" />
6237        <attr name="fromYDelta" format="float|fraction" />
6238        <attr name="toYDelta" format="float|fraction" />
6239    </declare-styleable>
6240
6241    <declare-styleable name="AlphaAnimation">
6242        <attr name="fromAlpha" format="float" />
6243        <attr name="toAlpha" format="float" />
6244    </declare-styleable>
6245
6246    <declare-styleable name="LayoutAnimation">
6247        <!-- Fraction of the animation duration used to delay the beginning of
6248         the animation of each child. -->
6249        <attr name="delay" format="float|fraction" />
6250        <!-- Animation to use on each child. -->
6251        <attr name="animation" format="reference" />
6252        <!-- The order in which the animations will be started. -->
6253        <attr name="animationOrder">
6254            <!-- Animations are started in the natural order. -->
6255            <enum name="normal" value="0" />
6256            <!-- Animations are started in the reverse order. -->
6257            <enum name="reverse" value="1" />
6258            <!-- Animations are started randomly. -->
6259            <enum name="random" value="2" />
6260        </attr>
6261        <!-- Interpolator used to interpolate the delay between the start of
6262         each animation. -->
6263        <attr name="interpolator" />
6264    </declare-styleable>
6265
6266    <declare-styleable name="GridLayoutAnimation">
6267        <!-- Fraction of the animation duration used to delay the beginning of
6268         the animation of each column. -->
6269        <attr name="columnDelay" format="float|fraction" />
6270        <!-- Fraction of the animation duration used to delay the beginning of
6271         the animation of each row. -->
6272        <attr name="rowDelay" format="float|fraction" />
6273        <!-- Direction of the animation in the grid. -->
6274        <attr name="direction">
6275            <!-- Animates columns from left to right. -->
6276            <flag name="left_to_right" value="0x0" />
6277            <!-- Animates columns from right to left. -->
6278            <flag name="right_to_left" value="0x1" />
6279            <!-- Animates rows from top to bottom. -->
6280            <flag name="top_to_bottom" value="0x0" />
6281            <!-- Animates rows from bottom to top. -->
6282            <flag name="bottom_to_top" value="0x2" />
6283        </attr>
6284        <!-- Priority of the rows and columns. When the priority is none,
6285         both rows and columns have the same priority. When the priority is
6286         column, the animations will be applied on the columns first. The same
6287         goes for rows. -->
6288        <attr name="directionPriority">
6289            <!-- Rows and columns are animated at the same time. -->
6290            <enum name="none"   value="0" />
6291            <!-- Columns are animated first. -->
6292            <enum name="column" value="1" />
6293            <!-- Rows are animated first. -->
6294            <enum name="row"    value="2" />
6295        </attr>
6296    </declare-styleable>
6297
6298    <declare-styleable name="AccelerateInterpolator">
6299        <!-- This is the amount of deceleration to add when easing in. -->
6300        <attr name="factor" format="float" />
6301    </declare-styleable>
6302
6303    <declare-styleable name="DecelerateInterpolator">
6304        <!-- This is the amount of acceleration to add when easing out. -->
6305        <attr name="factor" />
6306    </declare-styleable>
6307
6308    <declare-styleable name="CycleInterpolator">
6309        <attr name="cycles" format="float" />
6310    </declare-styleable>
6311
6312    <declare-styleable name="AnticipateInterpolator">
6313        <!-- This is the amount of tension. -->
6314        <attr name="tension" format="float" />
6315    </declare-styleable>
6316
6317    <declare-styleable name="OvershootInterpolator">
6318        <!-- This is the amount of tension. -->
6319        <attr name="tension" />
6320    </declare-styleable>
6321
6322    <declare-styleable name="AnticipateOvershootInterpolator">
6323        <!-- This is the amount of tension. -->
6324        <attr name="tension" />
6325        <!-- This is the amount by which to multiply the tension. -->
6326        <attr name="extraTension" format="float" />
6327    </declare-styleable>
6328
6329    <declare-styleable name="PathInterpolator">
6330        <!-- The x coordinate of the first control point of the cubic Bezier. -->
6331        <attr name="controlX1" format="float" />
6332        <!-- The y coordinate of the first control point of the cubic Bezier. -->
6333        <attr name="controlY1" format="float" />
6334        <!-- The x coordinate of the second control point of the cubic Bezier. -->
6335        <attr name="controlX2" format="float" />
6336        <!-- The y coordinate of the second control point of the cubic Bezier. -->
6337        <attr name="controlY2" format="float" />
6338        <!-- The control points defined as a path.
6339             When pathData is defined, then both of the control points of the
6340             cubic Bezier will be ignored. -->
6341        <attr name="pathData"/>
6342    </declare-styleable>
6343
6344    <!-- ========================== -->
6345    <!-- Transition attributes -->
6346    <!-- ========================== -->
6347    <eat-comment />
6348
6349    <!-- Use specific transition subclass names as the root tag of the XML resource that
6350         describes a {@link android.transition.Transition Transition},
6351         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
6352    <declare-styleable name="Transition">
6353        <!-- Amount of time (in milliseconds) that the transition should run. -->
6354        <attr name="duration" />
6355        <!-- Delay in milliseconds before the transition starts. -->
6356        <attr name="startDelay" format="integer" />
6357        <!-- Interpolator to be used in the animations spawned by this transition. -->
6358        <attr name="interpolator" />
6359        <!-- The match order to use for the transition. This is a comma-separated
6360             list of values, containing one or more of the following:
6361             id, itemId, name, instance. These correspond to
6362             {@link android.transition.Transition#MATCH_ID},
6363             {@link android.transition.Transition#MATCH_ITEM_ID},
6364             {@link android.transition.Transition#MATCH_NAME}, and
6365             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
6366             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
6367        <attr name="matchOrder" format="string" />
6368    </declare-styleable>
6369
6370    <!-- @hide For internal use only. Use only as directed. -->
6371    <declare-styleable name="EpicenterTranslateClipReveal">
6372        <attr name="interpolatorX" format="reference" />
6373        <attr name="interpolatorY" format="reference" />
6374        <attr name="interpolatorZ" format="reference" />
6375    </declare-styleable>
6376
6377    <!-- Use <code>fade</code>as the root tag of the XML resource that
6378         describes a {@link android.transition.Fade Fade} transition.
6379         The attributes of the {@link android.R.styleable#Transition Transition}
6380         resource are available in addition to the specific attributes of Fade
6381         described here. -->
6382    <declare-styleable name="Fade">
6383        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
6384             with the Fade transition. -->
6385        <attr name="fadingMode">
6386            <!-- Fade will only fade appearing items in. -->
6387            <enum name="fade_in" value="1" />
6388            <!-- Fade will only fade disappearing items out. -->
6389            <enum name="fade_out" value="2" />
6390            <!-- Fade will fade appearing items in and disappearing items out. -->
6391            <enum name="fade_in_out" value="3" />
6392        </attr>
6393    </declare-styleable>
6394
6395    <!-- Use <code>slide</code>as the root tag of the XML resource that
6396         describes a {@link android.transition.Slide Slide} transition.
6397         The attributes of the {@link android.R.styleable#Transition Transition}
6398         resource are available in addition to the specific attributes of Slide
6399         described here. -->
6400    <declare-styleable name="Slide">
6401        <attr name="slideEdge">
6402            <!-- Slide to and from the left edge of the Scene. -->
6403            <enum name="left" value="0x03" />
6404            <!-- Slide to and from the top edge of the Scene. -->
6405            <enum name="top" value="0x30" />
6406            <!-- Slide to and from the right edge of the Scene. -->
6407            <enum name="right" value="0x05" />
6408            <!-- Slide to and from the bottom edge of the Scene. -->
6409            <enum name="bottom" value="0x50" />
6410            <!-- Slide to and from the x-axis position at the start of the Scene root. -->
6411            <enum name="start" value="0x00800003"/>
6412            <!-- Slide to and from the x-axis position at the end of the Scene root. -->
6413            <enum name="end" value="0x00800005"/>
6414        </attr>
6415    </declare-styleable>
6416
6417    <!-- Use with {@link android.transition.Visibility} transitions, such as
6418         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
6419         views are supported. -->
6420    <declare-styleable name="VisibilityTransition">
6421        <!-- Changes whether the transition supports appearing and/or disappearing Views.
6422             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
6423        <attr name="transitionVisibilityMode">
6424            <!-- Only appearing Views will be supported. -->
6425            <flag name="mode_in" value="1" />
6426            <!-- Only disappearing Views will be supported. -->
6427            <flag name="mode_out" value="2" />
6428        </attr>
6429    </declare-styleable>
6430    <!-- Use <code>target</code> as the root tag of the XML resource that
6431     describes a {@link android.transition.Transition#addTarget(int)
6432     targetId} of a transition. There can be one or more targets inside
6433     a <code>targets</code> tag, which is itself inside an appropriate
6434     {@link android.R.styleable#Transition Transition} tag.
6435     -->
6436    <declare-styleable name="TransitionTarget">
6437        <!-- The id of a target on which this transition will animate changes. -->
6438        <attr name="targetId" format="reference" />
6439        <!-- The id of a target to exclude from this transition. -->
6440        <attr name="excludeId" format="reference" />
6441        <!-- The fully-qualified name of the Class to include in this transition. -->
6442        <attr name="targetClass" />
6443        <!-- The fully-qualified name of the Class to exclude from this transition. -->
6444        <attr name="excludeClass" format="string" />
6445        <!-- The transitionName of the target on which this transition will animation changes. -->
6446        <attr name="targetName" format="string" />
6447        <!-- The transitionName of the target to exclude from this transition. -->
6448        <attr name="excludeName" format="string" />
6449    </declare-styleable>
6450
6451    <!-- Use <code>set</code> as the root tag of the XML resource that
6452         describes a {@link android.transition.TransitionSet
6453         TransitionSet} transition. -->
6454    <declare-styleable name="TransitionSet">
6455        <attr name="transitionOrdering">
6456            <!-- child transitions should be played together. -->
6457            <enum name="together" value="0" />
6458            <!-- child transitions should be played sequentially, in the same order
6459            as the xml. -->
6460            <enum name="sequential" value="1" />
6461        </attr>
6462    </declare-styleable>
6463
6464    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6465         describes a {@link android.transition.ChangeTransform} transition. -->
6466    <declare-styleable name="ChangeTransform">
6467        <!-- A parent change should use an overlay or affect the transform of the
6468             transitionining View. Default is true. Corresponds to
6469             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6470        <attr name="reparentWithOverlay" format="boolean"/>
6471
6472        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6473             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6474        <attr name="reparent" format="boolean"/>
6475    </declare-styleable>
6476
6477    <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6478         describes a {@link android.transition.ChangeBounds} transition.
6479         The attributes of the {@link android.R.styleable#Transition Transition}
6480         resource are available in addition to the specific attributes of ChangeBounds
6481         described here. -->
6482    <declare-styleable name="ChangeBounds">
6483        <!-- Resize the view by adjusting the clipBounds rather than changing the
6484             dimensions of the view itself. The default value is false. -->
6485        <attr name="resizeClip" format="boolean"/>
6486    </declare-styleable>
6487
6488    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6489         describes a {@link android.transition.TransitionManager
6490         TransitionManager}. -->
6491    <declare-styleable name="TransitionManager">
6492        <!-- The id of a transition to be used in a particular scene change. -->
6493        <attr name="transition" format="reference" />
6494        <!-- The originating scene in this scene change. -->
6495        <attr name="fromScene" format="reference" />
6496        <!-- The destination scene in this scene change. -->
6497        <attr name="toScene" format="reference" />
6498    </declare-styleable>
6499
6500    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6501         describes a {@link android.transition.ArcMotion}. This must be used
6502         within a transition with which the PathMotion should be associated. -->
6503    <declare-styleable name="ArcMotion">
6504        <!-- The minimum arc angle in degrees between the start and end points when
6505             they are close to horizontal. -->
6506        <attr name="minimumHorizontalAngle" format="float" />
6507        <!-- The minimum arc angle in degrees between the start and end points when
6508             they are close to vertical. -->
6509        <attr name="minimumVerticalAngle" format="float" />
6510        <!-- The maximum arc angle in degrees between the start and end points. -->
6511        <attr name="maximumAngle" format="float" />
6512    </declare-styleable>
6513
6514    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6515         describes a {@link android.transition.PatternPathMotion}. This must be used
6516         within a transition with which the PathMotion should be associated. -->
6517    <declare-styleable name="PatternPathMotion">
6518        <!-- The path string describing the pattern to use for the PathPathMotion. -->
6519        <attr name="patternPathData" format="string" />
6520    </declare-styleable>
6521
6522    <!-- ========================== -->
6523    <!-- ValueAnimator class attributes -->
6524    <!-- ========================== -->
6525    <eat-comment />
6526
6527    <declare-styleable name="Animator">
6528        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6529        <attr name="interpolator" />
6530        <!-- Amount of time (in milliseconds) for the animation to run. -->
6531        <attr name="duration" />
6532        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6533        <attr name="startOffset"/>
6534        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6535        <attr name="repeatCount"/>
6536        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6537             greater than 0 or infinite. The default value is restart. -->
6538        <attr name="repeatMode"/>
6539        <!-- Value the animation starts from. -->
6540        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6541        <!-- Value the animation animates to. -->
6542        <attr name="valueTo" format="float|integer|color|dimension|string"/>
6543        <!-- The type of valueFrom and valueTo. -->
6544        <attr name="valueType">
6545            <!-- The given values are floats. This is the default value if valueType is
6546                 unspecified. Note that if any value attribute has a color value
6547                 (beginning with "#"), then this attribute is ignored and the color values are
6548                 interpreted as integers. -->
6549            <enum name="floatType" value="0" />
6550            <!-- values are integers. -->
6551            <enum name="intType"   value="1" />
6552            <!-- values are paths defined as strings.
6553                 This type is used for path morphing in AnimatedVectorDrawable. -->
6554            <enum name="pathType"   value="2" />
6555            <!-- values are colors, which are integers starting with "#". -->
6556            <enum name="colorType"   value="3" />
6557        </attr>
6558        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6559        <attr name="removeBeforeMRelease" format="integer" />
6560    </declare-styleable>
6561
6562    <declare-styleable name="PropertyValuesHolder">
6563        <attr name="valueType" />
6564        <attr name="propertyName" />
6565        <attr name="valueFrom" />
6566        <attr name="valueTo" />
6567    </declare-styleable>
6568
6569    <declare-styleable name="Keyframe">
6570        <attr name="valueType" />
6571        <attr name="value" />
6572        <attr name="fraction" format="float" />
6573        <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6574             to interpolate between this keyframe and the previous keyframe. -->
6575        <attr name="interpolator" />
6576    </declare-styleable>
6577
6578    <!-- ========================== -->
6579    <!-- ObjectAnimator class attributes -->
6580    <!-- ========================== -->
6581    <eat-comment />
6582
6583    <declare-styleable name="PropertyAnimator">
6584        <!-- Name of the property being animated. -->
6585        <attr name="propertyName" format="string"/>
6586        <!-- Name of the property being animated as the X coordinate of the pathData. -->
6587        <attr name="propertyXName" format="string"/>
6588        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6589        <attr name="propertyYName" format="string"/>
6590        <!-- The path used to animate the properties in the ObjectAnimator. -->
6591        <attr name="pathData"/>
6592    </declare-styleable>
6593
6594
6595    <!-- ========================== -->
6596    <!-- AnimatorSet class attributes -->
6597    <!-- ========================== -->
6598    <eat-comment />
6599
6600    <declare-styleable name="AnimatorSet">
6601        <!-- Name of the property being animated. -->
6602        <attr name="ordering">
6603            <!-- child animations should be played together. -->
6604            <enum name="together" value="0" />
6605            <!-- child animations should be played sequentially, in the same order as the xml. -->
6606            <enum name="sequentially" value="1" />
6607        </attr>
6608    </declare-styleable>
6609
6610    <!-- ========================== -->
6611    <!-- State attributes           -->
6612    <!-- ========================== -->
6613    <eat-comment />
6614
6615    <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of
6616         states may vary between view implementations, as documented on the individual state
6617         attributes. -->
6618    <declare-styleable name="DrawableStates">
6619        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6620             set when a view has input focus. -->
6621        <attr name="state_focused" format="boolean" />
6622        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6623             set when a view's window has input focus. -->
6624        <attr name="state_window_focused" format="boolean" />
6625        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6626             set when a view is enabled. -->
6627        <attr name="state_enabled" format="boolean" />
6628        <!-- State identifier indicating that the object <var>may</var> display a check mark. See
6629             {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6630             actually checked. -->
6631        <attr name="state_checkable" format="boolean"/>
6632        <!-- State identifier indicating that the object is currently checked.  See
6633             {@link android.R.attr#state_checkable} for an additional identifier that can indicate
6634             if any object may ever display a check, regardless of whether state_checked is
6635             currently set. -->
6636        <attr name="state_checked" format="boolean"/>
6637        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6638             set when a view (or one of its parents) is currently selected. -->
6639        <attr name="state_selected" format="boolean" />
6640        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6641             set when the user is pressing down in a view. -->
6642        <attr name="state_pressed" format="boolean" />
6643        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6644             set when a view or its parent has been "activated" meaning the user has currently
6645             marked it as being of interest.  This is an alternative representation of
6646             state_checked for when the state should be propagated down the view hierarchy. -->
6647        <attr name="state_activated" format="boolean" />
6648        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6649             set when a view or drawable is considered "active" by its host. Actual usage may vary
6650             between views. Consult the host view documentation for details. -->
6651        <attr name="state_active" format="boolean" />
6652        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6653             set when a view or drawable is considered "single" by its host. Actual usage may vary
6654             between views. Consult the host view documentation for details. -->
6655        <attr name="state_single" format="boolean" />
6656        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6657             set when a view or drawable is in the first position in an ordered set. Actual usage
6658             may vary between views. Consult the host view documentation for details. -->
6659        <attr name="state_first" format="boolean" />
6660        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6661             set when a view or drawable is in the middle position in an ordered set. Actual usage
6662             may vary between views. Consult the host view documentation for details. -->
6663        <attr name="state_middle" format="boolean" />
6664        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6665             set when a view or drawable is in the last position in an ordered set. Actual usage
6666             may vary between views. Consult the host view documentation for details. -->
6667        <attr name="state_last" format="boolean" />
6668        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6669             indicating that the Drawable is in a view that is hardware accelerated.
6670             This means that the device can at least render a full-screen scaled
6671             bitmap with one layer of text and bitmaps composited on top of it
6672             at 60fps.  When this is set, the colorBackgroundCacheHint will be
6673             ignored even if it specifies a solid color, since that optimization
6674             is not needed. -->
6675        <attr name="state_accelerated" format="boolean" />
6676        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6677             set when a pointer is hovering over the view. -->
6678        <attr name="state_hovered" format="boolean" />
6679        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6680             indicating that the Drawable is in a view that is capable of accepting a drop of
6681             the content currently being manipulated in a drag-and-drop operation. -->
6682        <attr name="state_drag_can_accept" format="boolean" />
6683        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6684             indicating that a drag operation (for which the Drawable's view is a valid recipient)
6685             is currently positioned over the Drawable. -->
6686        <attr name="state_drag_hovered" format="boolean" />
6687        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6688             indicating that a View has accessibility focus. -->
6689        <attr name="state_accessibility_focused" format="boolean" />
6690    </declare-styleable>
6691    <declare-styleable name="ViewDrawableStates">
6692        <attr name="state_pressed" />
6693        <attr name="state_focused" />
6694        <attr name="state_selected" />
6695        <attr name="state_window_focused" />
6696        <attr name="state_enabled" />
6697        <attr name="state_activated" />
6698        <attr name="state_accelerated" />
6699        <attr name="state_hovered" />
6700        <attr name="state_drag_can_accept" />
6701        <attr name="state_drag_hovered" />
6702    </declare-styleable>
6703    <!-- State array representing a menu item that is currently checked. -->
6704    <declare-styleable name="MenuItemCheckedState">
6705        <attr name="state_checkable" />
6706        <attr name="state_checked" />
6707    </declare-styleable>
6708    <!-- State array representing a menu item that is checkable but is not currently checked. -->
6709    <declare-styleable name="MenuItemUncheckedState">
6710        <attr name="state_checkable" />
6711    </declare-styleable>
6712    <!-- State array representing a menu item that is currently focused and checked. -->
6713    <declare-styleable name="MenuItemCheckedFocusedState">
6714        <attr name="state_checkable" />
6715        <attr name="state_checked" />
6716        <attr name="state_focused" />
6717    </declare-styleable>
6718    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6719    <declare-styleable name="MenuItemUncheckedFocusedState">
6720        <attr name="state_checkable" />
6721        <attr name="state_focused" />
6722    </declare-styleable>
6723    <!-- State array representing an expandable list child's indicator. -->
6724    <declare-styleable name="ExpandableListChildIndicatorState">
6725        <!-- State identifier indicating the child is the last child within its group. -->
6726        <attr name="state_last" />
6727    </declare-styleable>
6728    <!-- State array representing an expandable list group's indicator. -->
6729    <declare-styleable name="ExpandableListGroupIndicatorState">
6730        <!-- State identifier indicating the group is expanded. -->
6731        <attr name="state_expanded" format="boolean" />
6732        <!-- State identifier indicating the group is empty (has no children). -->
6733        <attr name="state_empty" format="boolean" />
6734    </declare-styleable>
6735    <declare-styleable name="PopupWindowBackgroundState">
6736        <!-- State identifier indicating the popup will be above the anchor. -->
6737        <attr name="state_above_anchor" format="boolean" />
6738    </declare-styleable>
6739    <declare-styleable name="TextViewMultiLineBackgroundState">
6740        <!-- State identifier indicating a TextView has a multi-line layout. -->
6741        <attr name="state_multiline" format="boolean" />
6742    </declare-styleable>
6743
6744    <!-- ***************************************************************** -->
6745    <!-- Support for Searchable activities. -->
6746    <!-- ***************************************************************** -->
6747    <eat-comment />
6748
6749    <!-- Searchable activities and applications must provide search configuration information
6750        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6751        For a more in-depth discussion of search configuration, please refer to
6752        {@link android.app.SearchManager}. -->
6753    <declare-styleable name="Searchable">
6754          <!--<strong>This is deprecated.</strong><br/>The default
6755              application icon is now always used, so this attribute is
6756              obsolete.-->
6757        <attr name="icon" />
6758        <!-- This is the user-displayed name of the searchable activity.  <i>Required
6759            attribute.</i> -->
6760        <attr name="label" />
6761        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6762            attribute.</i> -->
6763        <attr name="hint" />
6764        <!-- If supplied, this string will be displayed as the text of the "Search" button.
6765          <i>Optional attribute.</i>
6766          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6767                       changing to use only icons for its buttons.}-->
6768        <attr name="searchButtonText" format="string" />
6769        <attr name="inputType" />
6770        <attr name="imeOptions" />
6771
6772        <!-- Additional features are controlled by mode bits in this field.  Omitting
6773            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6774        -->
6775        <attr name="searchMode">
6776          <!-- If set, this flag enables the display of the search target (label) within the
6777               search bar.  If neither bad mode is selected, no badge will be shown. -->
6778          <flag name="showSearchLabelAsBadge" value="0x04" />
6779          <!--<strong>This is deprecated.</strong><br/>The default
6780              application icon is now always used, so this option is
6781              obsolete.-->
6782          <flag name="showSearchIconAsBadge" value="0x08" />
6783          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6784               be considered as the text for suggestion query rewriting.  This should only
6785               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6786               inspection and editing - typically, HTTP/HTTPS Uri's. -->
6787          <flag name="queryRewriteFromData" value="0x10" />
6788          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6789               be considered as the text for suggestion query rewriting.  This should be used
6790               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6791               values are not suitable for user inspection and editing. -->
6792          <flag name="queryRewriteFromText" value="0x20" />
6793        </attr>
6794
6795        <!-- Voice search features are controlled by mode bits in this field.  Omitting
6796            this field, or setting to zero, provides default behavior.
6797            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6798            also be set.  <i>Optional attribute.</i>
6799        -->
6800        <attr name="voiceSearchMode">
6801          <!-- If set, display a voice search button.  This only takes effect if voice search is
6802               available on the device. -->
6803          <flag name="showVoiceSearchButton" value="0x01" />
6804          <!-- If set, the voice search button will take the user directly to a built-in
6805               voice web search activity.  Most applications will not use this flag, as it
6806               will take the user away from the activity in which search was invoked. -->
6807          <flag name="launchWebSearch" value="0x02" />
6808          <!-- If set, the voice search button will take the user directly to a built-in
6809               voice recording activity.  This activity will prompt the user to speak,
6810               transcribe the spoken text, and forward the resulting query
6811               text to the searchable activity, just as if the user had typed it into
6812               the search UI and clicked the search button. -->
6813          <flag name="launchRecognizer" value="0x04" />
6814        </attr>
6815
6816        <!-- If provided, this specifies the language model that should be used by the
6817             voice recognition system.  See
6818             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6819             If not provided, the default value
6820             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6821        <attr name="voiceLanguageModel" format="string" />
6822        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6823        <attr name="voicePromptText" format="string" />
6824        <!-- If provided, this specifies the spoken language to be expected, and that it will be
6825             different than the one set in the {@link java.util.Locale#getDefault()}. -->
6826        <attr name="voiceLanguage" format="string" />
6827        <!-- If provided, enforces the maximum number of results to return, including the "best"
6828             result which will always be provided as the SEARCH intent's primary query.  Must be one
6829             or greater.  If not provided, the recognizer will choose how many results to return.
6830             -->
6831        <attr name="voiceMaxResults" format="integer" />
6832
6833        <!-- If provided, this is the trigger indicating that the searchable activity
6834            provides suggestions as well.  The value must be a fully-qualified content provider
6835            authority (for example, "com.example.android.apis.SuggestionProvider") and should match
6836            the "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6837            attribute.</i> -->
6838        <attr name="searchSuggestAuthority" format="string" />
6839        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6840            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6841            -->
6842        <attr name="searchSuggestPath" format="string" />
6843        <!-- If provided, suggestion queries will be passed into your query function
6844            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6845            database, and will contain a single question mark, which represents the actual query
6846            string that has been typed by the user.  If not provided, then the user query text
6847            will be appended to the query Uri (after an additional "/".)  <i>Optional
6848            attribute.</i> -->
6849        <attr name="searchSuggestSelection" format="string" />
6850
6851        <!-- If provided, and not overridden by an action in the selected suggestion, this
6852            string will be placed in the action field of the {@link android.content.Intent Intent}
6853            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6854        <attr name="searchSuggestIntentAction" format="string" />
6855        <!-- If provided, and not overridden by an action in the selected suggestion, this
6856            string will be placed in the data field of the {@link android.content.Intent Intent}
6857            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6858        <attr name="searchSuggestIntentData" format="string" />
6859
6860        <!-- If provided, this is the minimum number of characters needed to trigger
6861             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6862        <attr name="searchSuggestThreshold" format="integer" />
6863
6864        <!-- If provided and <code>true</code>, this searchable activity will be
6865             included in any global lists of search targets.
6866             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6867        <attr name="includeInGlobalSearch" format="boolean" />
6868
6869        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6870             queries in a particular session. If set to <code>false</code> and the activity
6871             returned zero results for a query, it will not be invoked again in that session for
6872             supersets of that zero-results query. For example, if the activity returned zero
6873             results for "bo", it would not be queried again for "bob".
6874             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6875        <attr name="queryAfterZeroResults" format="boolean" />
6876        <!-- If provided, this string will be used to describe the searchable item in the
6877             searchable items settings within system search settings. <i>Optional
6878             attribute.</i> -->
6879        <attr name="searchSettingsDescription" format="string" />
6880
6881        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6882             within this activity would be detected and treated as URLs (show a 'go' button in the
6883             keyboard and invoke the browser directly when user launches the URL instead of passing
6884             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6885             normal query text.
6886             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6887        <attr name="autoUrlDetect" format="boolean" />
6888
6889    </declare-styleable>
6890
6891    <!-- In order to process special action keys during search, you must define them using
6892            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6893            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6894    -->
6895    <declare-styleable name="SearchableActionKey">
6896        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6897            all action keys are actually supported using this mechanism, as many of them are
6898            used for typing, navigation, or system functions.  This will be added to the
6899            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6900            searchable activity.  To examine the key code, use
6901            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6902            <p>Note, in addition to the keycode, you must also provide one or more of the action
6903            specifier attributes.  <i>Required attribute.</i> -->
6904        <attr name="keycode" />
6905
6906        <!-- If you wish to handle an action key during normal search query entry, you
6907            must define an action string here.  This will be added to the
6908            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6909            searchable activity.  To examine the string, use
6910            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6911            <i>Optional attribute.</i> -->
6912        <attr name="queryActionMsg"  format="string" />
6913
6914        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6915            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6916            can handle the action key, you can simply define the action message using this
6917            attribute.  This will be added to the
6918            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6919            searchable activity.  To examine the string, use
6920            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6921            <i>Optional attribute.</i> -->
6922        <attr name="suggestActionMsg"  format="string" />
6923
6924        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6925            selected</i>, but you do not wish to enable this action key for every suggestion,
6926            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6927            First, you must define a column (and name it here) where your suggestions will include
6928            the action string.  Then, in your content provider, you must provide this column, and
6929            when desired, provide data in this column.
6930            The search manager will look at your suggestion cursor, using the string
6931            provided here in order to select a column, and will use that to select a string from
6932            the cursor.  That string will be added to the
6933            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6934            your searchable activity.  To examine the string, use
6935            {@link android.content.Intent#getStringExtra
6936            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6937            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6938        <attr name="suggestActionMsgColumn" format="string" />
6939
6940    </declare-styleable>
6941
6942    <!-- ***************************************************************** -->
6943    <!-- Support for MapView. -->
6944    <!-- ***************************************************************** -->
6945    <eat-comment />
6946
6947    <!-- The set of attributes for a MapView. -->
6948    <declare-styleable name="MapView">
6949        <!-- Value is a string that specifies the Maps API Key to use. -->
6950        <attr name="apiKey" format="string" />
6951    </declare-styleable>
6952
6953    <!-- **************************************************************** -->
6954    <!-- Menu XML inflation. -->
6955    <!-- **************************************************************** -->
6956    <eat-comment />
6957
6958    <!-- Base attributes that are available to all Menu objects. -->
6959    <declare-styleable name="Menu">
6960    </declare-styleable>
6961
6962    <!-- Base attributes that are available to all groups. -->
6963    <declare-styleable name="MenuGroup">
6964
6965        <!-- The ID of the group. -->
6966        <attr name="id" />
6967
6968        <!-- The category applied to all items within this group.
6969             (This will be or'ed with the orderInCategory attribute.) -->
6970        <attr name="menuCategory">
6971            <!-- Items are part of a container. -->
6972            <enum name="container" value="0x00010000" />
6973            <!-- Items are provided by the system. -->
6974            <enum name="system" value="0x00020000" />
6975            <!-- Items are user-supplied secondary (infrequently used). -->
6976            <enum name="secondary" value="0x00030000" />
6977            <!-- Items are alternative actions. -->
6978            <enum name="alternative" value="0x00040000" />
6979        </attr>
6980
6981        <!-- The order within the category applied to all items within this group.
6982             (This will be or'ed with the category attribute.) -->
6983        <attr name="orderInCategory" format="integer" />
6984
6985        <!-- Whether the items are capable of displaying a check mark. -->
6986        <attr name="checkableBehavior">
6987            <!-- The items are not checkable. -->
6988            <enum name="none" value="0" />
6989            <!-- The items are all checkable. -->
6990            <enum name="all" value="1" />
6991            <!-- The items are checkable and there will only be a single checked item in
6992                 this group. -->
6993            <enum name="single" value="2" />
6994        </attr>
6995
6996        <!-- Whether the items are shown/visible. -->
6997        <attr name="visible" />
6998
6999        <!-- Whether the items are enabled. -->
7000        <attr name="enabled" />
7001
7002    </declare-styleable>
7003
7004    <!-- Base attributes that are available to all Item objects. -->
7005    <declare-styleable name="MenuItem">
7006
7007        <!-- The ID of the item. -->
7008        <attr name="id" />
7009
7010        <!-- The category applied to the item.
7011             (This will be or'ed with the orderInCategory attribute.) -->
7012        <attr name="menuCategory" />
7013
7014        <!-- The order within the category applied to the item.
7015             (This will be or'ed with the category attribute.) -->
7016        <attr name="orderInCategory" />
7017
7018        <!-- The title associated with the item. -->
7019        <attr name="title" format="string" />
7020
7021        <!-- The condensed title associated with the item.  This is used in situations where the
7022             normal title may be too long to be displayed. -->
7023        <attr name="titleCondensed" format="string" />
7024
7025        <!-- The icon associated with this item.  This icon will not always be shown, so
7026             the title should be sufficient in describing this item. -->
7027        <attr name="icon" />
7028
7029        <!-- Tint to apply to the icon. -->
7030        <attr name="iconTint" format="color" />
7031
7032        <!-- Blending mode used to apply the icon tint. -->
7033        <attr name="iconTintMode">
7034            <!-- The tint is drawn on top of the icon.
7035                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7036            <enum name="src_over" value="3" />
7037            <!-- The tint is masked by the alpha channel of the icon. The icon’s
7038                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7039            <enum name="src_in" value="5" />
7040            <!-- The tint is drawn above the icon, but with the icon’s alpha
7041                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7042            <enum name="src_atop" value="9" />
7043            <!-- Multiplies the color and alpha channels of the icon with those of
7044                 the tint. [Sa * Da, Sc * Dc] -->
7045            <enum name="multiply" value="14" />
7046            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7047            <enum name="screen" value="15" />
7048            <!-- Combines the tint and icon color and alpha channels, clamping the
7049                 result to valid color values. Saturate(S + D) -->
7050            <enum name="add" value="16" />
7051        </attr>
7052
7053        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
7054             with alphabetic keys. -->
7055        <attr name="alphabeticShortcut" format="string" />
7056
7057        <!-- The alphabetic modifier key. This is the modifier when using a keyboard
7058             with alphabetic keys. The values should be kept in sync with KeyEvent -->
7059        <attr name="alphabeticModifiers">
7060            <flag name="META" value="0x10000" />
7061            <flag name="CTRL" value="0x1000" />
7062            <flag name="ALT" value="0x02" />
7063            <flag name="SHIFT" value="0x1" />
7064            <flag name="SYM" value="0x4" />
7065            <flag name="FUNCTION" value="0x8" />
7066        </attr>
7067
7068        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (for example,
7069             12-key) keyboard. -->
7070        <attr name="numericShortcut" format="string" />
7071
7072        <!-- The numeric modifier key. This is the modifier when using a numeric (for example,
7073             12-key) keyboard. The values should be kept in sync with KeyEvent -->
7074        <attr name="numericModifiers">
7075            <flag name="META" value="0x10000" />
7076            <flag name="CTRL" value="0x1000" />
7077            <flag name="ALT" value="0x02" />
7078            <flag name="SHIFT" value="0x1" />
7079            <flag name="SYM" value="0x4" />
7080            <flag name="FUNCTION" value="0x8" />
7081        </attr>
7082
7083        <!-- Whether the item is capable of displaying a check mark. -->
7084        <attr name="checkable" format="boolean" />
7085
7086        <!-- Whether the item is checked.  Note that you must first have enabled checking with
7087             the checkable attribute or else the check mark will not appear. -->
7088        <attr name="checked" />
7089
7090        <!-- Whether the item is shown/visible. -->
7091        <attr name="visible" />
7092
7093        <!-- Whether the item is enabled. -->
7094        <attr name="enabled" />
7095
7096        <!-- Name of a method on the Context used to inflate the menu that will be
7097             called when the item is clicked. -->
7098        <attr name="onClick" />
7099
7100        <!-- How this item should display in the Action Bar, if present. -->
7101        <attr name="showAsAction">
7102            <!-- Never show this item in an action bar, show it in the overflow menu instead.
7103                 Mutually exclusive with "ifRoom" and "always". -->
7104            <flag name="never" value="0" />
7105            <!-- Show this item in an action bar if there is room for it as determined
7106                 by the system. Favor this option over "always" where possible.
7107                 Mutually exclusive with "never" and "always". -->
7108            <flag name="ifRoom" value="1" />
7109            <!-- Always show this item in an actionbar, even if it would override
7110                 the system's limits of how much stuff to put there. This may make
7111                 your action bar look bad on some screens. In most cases you should
7112                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
7113            <flag name="always" value="2" />
7114            <!-- When this item is shown as an action in the action bar, show a text
7115                 label with it even if it has an icon representation. -->
7116            <flag name="withText" value="4" />
7117            <!-- This item's action view collapses to a normal menu
7118                 item. When expanded, the action view takes over a
7119                 larger segment of its container. -->
7120            <flag name="collapseActionView" value="8" />
7121        </attr>
7122
7123        <!-- An optional layout to be used as an action view.
7124             See {@link android.view.MenuItem#setActionView(android.view.View)}
7125             for more info. -->
7126        <attr name="actionLayout" format="reference" />
7127
7128        <!-- The name of an optional View class to instantiate and use as an
7129             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
7130             for more info. -->
7131        <attr name="actionViewClass" format="string" />
7132
7133        <!-- The name of an optional ActionProvider class to instantiate an action view
7134             and perform operations such as default action for that menu item.
7135             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
7136             for more info. -->
7137        <attr name="actionProviderClass" format="string" />
7138
7139        <!-- The content description associated with the item. -->
7140        <attr name="contentDescription" format="string" />
7141
7142        <!-- The tooltip text associated with the item. -->
7143        <attr name="tooltipText" format="string" />
7144
7145    </declare-styleable>
7146
7147    <!-- Attrbitutes for a ActvityChooserView. -->
7148    <declare-styleable name="ActivityChooserView">
7149        <!-- The maximal number of items initially shown in the activity list. -->
7150        <attr name="initialActivityCount" format="string" />
7151        <!-- The drawable to show in the button for expanding the activities overflow popup.
7152             <strong>Note:</strong> Clients would like to set this drawable
7153             as a clue about the action the chosen activity will perform. For
7154             example, if share activity is to be chosen the drawable should
7155             give a clue that sharing is to be performed.
7156         -->
7157        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
7158    </declare-styleable>
7159
7160    <!-- **************************************************************** -->
7161    <!-- Preferences framework. -->
7162    <!-- **************************************************************** -->
7163    <eat-comment />
7164
7165    <!-- Base attributes available to PreferenceGroup. -->
7166    <declare-styleable name="PreferenceGroup">
7167        <!-- Whether to order the Preference under this group as they appear in the XML file.
7168             If this is false, the ordering will follow the Preference order attribute and
7169             default to alphabetic for those without the order attribute. -->
7170        <attr name="orderingFromXml" format="boolean" />
7171    </declare-styleable>
7172
7173    <!-- Attribute for a header describing the item shown in the top-level list
7174         from which the selects the set of preference to dig in to. -->
7175    <declare-styleable name="PreferenceHeader">
7176        <!-- Identifier value for the header. -->
7177        <attr name="id" />
7178        <!-- The title of the item that is shown to the user. -->
7179        <attr name="title" />
7180        <!-- The summary for the item. -->
7181        <attr name="summary" format="string" />
7182        <!-- The title for the bread crumb of this item. -->
7183        <attr name="breadCrumbTitle" format="string" />
7184        <!-- The short title for the bread crumb of this item. -->
7185        <attr name="breadCrumbShortTitle" format="string" />
7186        <!-- An icon for the item. -->
7187        <attr name="icon" />
7188        <!-- The fragment that is displayed when the user selects this item. -->
7189        <attr name="fragment" format="string" />
7190    </declare-styleable>
7191
7192    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
7193                   with a View's attributes.  Some subclasses (for example, EditTextPreference)
7194                   proxy all attributes to its EditText widget. -->
7195    <eat-comment />
7196
7197    <!-- Base attributes available to Preference. -->
7198    <declare-styleable name="Preference">
7199        <!-- The optional icon for the preference. -->
7200        <attr name="icon" />
7201        <!-- The key to store the Preference value. -->
7202        <attr name="key" format="string" />
7203        <!-- The title for the Preference. In API 25 and earlier, this value is read as a
7204         plain string with styling information stripped. -->
7205        <attr name="title" />
7206        <!-- The summary for the Preference. In API 25 and earlier, this value is read as a
7207         plain string with styling information stripped. -->
7208        <attr name="summary" />
7209        <!-- The order for the Preference (lower values are to be ordered first). If this is not
7210             specified, the default ordering will be alphabetic. -->
7211        <attr name="order" format="integer" />
7212        <!-- When used inside of a modern PreferenceActivity, this declares
7213             a new PreferenceFragment to be shown when the user selects this item. -->
7214        <attr name="fragment" />
7215        <!-- The layout for the Preference in a PreferenceActivity screen. This should
7216             rarely need to be changed, look at widgetLayout instead. -->
7217        <attr name="layout" />
7218        <!-- The layout for the controllable widget portion of a Preference. This is inflated
7219             into the layout for a Preference and should be used more frequently than
7220             the layout attribute. For example, a checkbox preference would specify
7221             a custom layout (consisting of just the CheckBox) here. -->
7222        <attr name="widgetLayout" format="reference" />
7223        <!-- Whether the Preference is enabled. -->
7224        <attr name="enabled" />
7225        <!-- Whether the Preference is selectable. -->
7226        <attr name="selectable" format="boolean" />
7227        <!-- The key of another Preference that this Preference will depend on.  If the other
7228             Preference is not set or is off, this Preference will be disabled. -->
7229        <attr name="dependency" format="string" />
7230        <!-- Whether the Preference stores its value to the storage. -->
7231        <attr name="persistent" />
7232        <!-- The default value for the preference, which will be set either if persistence
7233             is off or persistence is on and the preference is not found in the persistent
7234             storage.  -->
7235        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
7236        <!-- Whether the view of this Preference should be disabled when
7237             this Preference is disabled. -->
7238        <attr name="shouldDisableView" format="boolean" />
7239        <!-- Whether the preference has enabled to have its view recycled when used in the list
7240             view. This is true by default. -->
7241        <attr name="recycleEnabled" format="boolean" />
7242        <!-- Whether to use single line for the preference title text. By default, preference title
7243             will be constrained to one line, so the default value of this attribute is true. -->
7244        <attr name="singleLineTitle" format="boolean" />
7245        <!-- Whether the space for the preference icon view will be reserved. By default, preference
7246             icon view visibility will be set to GONE when there is no icon provided, so the default
7247             value of this attribute is false. -->
7248        <attr name="iconSpaceReserved" format="boolean" />
7249    </declare-styleable>
7250
7251    <!-- Base attributes available to CheckBoxPreference. -->
7252    <declare-styleable name="CheckBoxPreference">
7253        <!-- The summary for the Preference in a PreferenceActivity screen when the
7254             CheckBoxPreference is checked. If separate on/off summaries are not
7255             needed, the summary attribute can be used instead. -->
7256        <attr name="summaryOn" format="string" />
7257        <!-- The summary for the Preference in a PreferenceActivity screen when the
7258             CheckBoxPreference is unchecked. If separate on/off summaries are not
7259             needed, the summary attribute can be used instead. -->
7260        <attr name="summaryOff" format="string" />
7261        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7262             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7263        <attr name="disableDependentsState" format="boolean" />
7264    </declare-styleable>
7265
7266    <!-- Base attributes available to DialogPreference. -->
7267    <declare-styleable name="DialogPreference">
7268        <!-- The title in the dialog. -->
7269        <attr name="dialogTitle" format="string" />
7270        <!-- The message in the dialog. If a dialogLayout is provided and contains
7271             a TextView with ID android:id/message, this message will be placed in there. -->
7272        <attr name="dialogMessage" format="string" />
7273        <!-- The icon for the dialog. -->
7274        <attr name="dialogIcon" format="reference" />
7275        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
7276        <attr name="positiveButtonText" format="string" />
7277        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
7278        <attr name="negativeButtonText" format="string" />
7279        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
7280             be needed. If a custom DialogPreference is required, this should be set. For example,
7281             the EditTextPreference uses a layout with an EditText as this attribute. -->
7282        <attr name="dialogLayout" format="reference" />
7283    </declare-styleable>
7284
7285    <!-- Base attributes available to ListPreference. -->
7286    <declare-styleable name="ListPreference">
7287        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7288             index in entryValues. -->
7289        <attr name="entries" />
7290        <!-- The array to find the value to save for a preference when an entry from
7291             entries is selected. If a user clicks on the second item in entries, the
7292             second item in this array will be saved to the preference. -->
7293        <attr name="entryValues" format="reference" />
7294    </declare-styleable>
7295
7296    <declare-styleable name="MultiSelectListPreference">
7297        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7298             index in entryValues. -->
7299        <attr name="entries" />
7300        <!-- The array to find the value to save for a preference when an entry from
7301             entries is selected. If a user clicks the second item in entries, the
7302             second item in this array will be saved to the preference. -->
7303        <attr name="entryValues" />
7304    </declare-styleable>
7305
7306    <!-- Base attributes available to RingtonePreference. -->
7307    <declare-styleable name="RingtonePreference">
7308        <!-- Which ringtone type(s) to show in the picker. -->
7309        <attr name="ringtoneType">
7310            <!-- Ringtones. -->
7311            <flag name="ringtone" value="1" />
7312            <!-- Notification sounds. -->
7313            <flag name="notification" value="2" />
7314            <!-- Alarm sounds. -->
7315            <flag name="alarm" value="4" />
7316            <!-- All available ringtone sounds. -->
7317            <flag name="all" value="7" />
7318        </attr>
7319        <!-- Whether to show an item for a default sound. -->
7320        <attr name="showDefault" format="boolean" />
7321        <!-- Whether to show an item for 'Silent'. -->
7322        <attr name="showSilent" format="boolean" />
7323    </declare-styleable>
7324
7325    <!-- Base attributes available to VolumePreference. -->
7326    <declare-styleable name="VolumePreference">
7327        <!-- Different audio stream types. -->
7328        <attr name="streamType">
7329            <enum name="voice" value="0" />
7330            <enum name="system" value="1" />
7331            <enum name="ring" value="2" />
7332            <enum name="music" value="3" />
7333            <enum name="alarm" value="4" />
7334        </attr>
7335    </declare-styleable>
7336
7337    <declare-styleable name="InputMethodService">
7338        <!-- Background to use for entire input method when it is being
7339             shown in fullscreen mode with the extract view, to ensure
7340             that it completely covers the application.  This allows,
7341             for example, the candidate view to be hidden
7342             while in fullscreen mode without having the application show through
7343             behind it.-->
7344        <attr name="imeFullscreenBackground" format="reference|color" />
7345        <!-- Animation to use when showing the fullscreen extract UI after
7346             it had previously been hidden. -->
7347        <attr name="imeExtractEnterAnimation" format="reference" />
7348        <!-- Animation to use when hiding the fullscreen extract UI after
7349             it had previously been shown. -->
7350        <attr name="imeExtractExitAnimation" format="reference" />
7351    </declare-styleable>
7352
7353    <declare-styleable name="VoiceInteractionSession">
7354    </declare-styleable>
7355
7356    <declare-styleable name="KeyboardView">
7357        <!-- Default KeyboardView style. -->
7358        <attr name="keyboardViewStyle" format="reference" />
7359
7360        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
7361             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
7362             checkable+checked+pressed. -->
7363        <attr name="keyBackground" format="reference" />
7364
7365        <!-- Size of the text for character keys. -->
7366        <attr name="keyTextSize" format="dimension" />
7367
7368        <!-- Size of the text for custom keys with some text and no icon. -->
7369        <attr name="labelTextSize" format="dimension" />
7370
7371        <!-- Color to use for the label in a key. -->
7372        <attr name="keyTextColor" format="color" />
7373
7374        <!-- Layout resource for key press feedback.-->
7375        <attr name="keyPreviewLayout" format="reference" />
7376
7377        <!-- Vertical offset of the key press feedback from the key. -->
7378        <attr name="keyPreviewOffset" format="dimension" />
7379
7380        <!-- Height of the key press feedback popup. -->
7381        <attr name="keyPreviewHeight" format="dimension" />
7382
7383        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
7384        <attr name="verticalCorrection" format="dimension" />
7385
7386        <!-- Layout resource for popup keyboards. -->
7387        <attr name="popupLayout" format="reference" />
7388
7389        <attr name="shadowColor" />
7390        <attr name="shadowRadius" />
7391    </declare-styleable>
7392
7393    <declare-styleable name="KeyboardViewPreviewState">
7394        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
7395                key preview background. -->
7396        <attr name="state_long_pressable" format="boolean" />
7397    </declare-styleable>
7398
7399    <declare-styleable name="Keyboard">
7400        <!-- Default width of a key, in pixels or percentage of display width. -->
7401        <attr name="keyWidth" format="dimension|fraction" />
7402        <!-- Default height of a key, in pixels or percentage of display width. -->
7403        <attr name="keyHeight" format="dimension|fraction" />
7404        <!-- Default horizontal gap between keys. -->
7405        <attr name="horizontalGap" format="dimension|fraction" />
7406        <!-- Default vertical gap between rows of keys. -->
7407        <attr name="verticalGap" format="dimension|fraction" />
7408    </declare-styleable>
7409
7410    <declare-styleable name="Keyboard_Row">
7411        <!-- Row edge flags. -->
7412        <attr name="rowEdgeFlags">
7413            <!-- Row is anchored to the top of the keyboard. -->
7414            <flag name="top" value="4" />
7415            <!-- Row is anchored to the bottom of the keyboard. -->
7416            <flag name="bottom" value="8" />
7417        </attr>
7418        <!-- Mode of the keyboard. If the mode doesn't match the
7419             requested keyboard mode, the row will be skipped. -->
7420        <attr name="keyboardMode" format="reference" />
7421    </declare-styleable>
7422
7423    <declare-styleable name="Keyboard_Key">
7424        <!-- The unicode value or comma-separated values that this key outputs. -->
7425        <attr name="codes" format="integer|string" />
7426        <!-- The XML keyboard layout of any popup keyboard. -->
7427        <attr name="popupKeyboard" format="reference" />
7428        <!-- The characters to display in the popup keyboard. -->
7429        <attr name="popupCharacters" format="string" />
7430        <!-- Key edge flags. -->
7431        <attr name="keyEdgeFlags">
7432            <!-- Key is anchored to the left of the keyboard. -->
7433            <flag name="left" value="1" />
7434            <!-- Key is anchored to the right of the keyboard. -->
7435            <flag name="right" value="2" />
7436        </attr>
7437        <!-- Whether this is a modifier key such as Alt or Shift. -->
7438        <attr name="isModifier" format="boolean" />
7439        <!-- Whether this is a toggle key. -->
7440        <attr name="isSticky" format="boolean" />
7441        <!-- Whether long-pressing on this key will make it repeat. -->
7442        <attr name="isRepeatable" format="boolean" />
7443        <!-- The icon to show in the popup preview. -->
7444        <attr name="iconPreview" format="reference" />
7445        <!-- The string of characters to output when this key is pressed. -->
7446        <attr name="keyOutputText" format="string" />
7447        <!-- The label to display on the key. -->
7448        <attr name="keyLabel" format="string" />
7449        <!-- The icon to display on the key instead of the label. -->
7450        <attr name="keyIcon" format="reference" />
7451        <!-- Mode of the keyboard. If the mode doesn't match the
7452             requested keyboard mode, the key will be skipped. -->
7453        <attr name="keyboardMode" />
7454    </declare-styleable>
7455
7456    <!-- =============================== -->
7457    <!-- AppWidget package class attributes -->
7458    <!-- =============================== -->
7459    <eat-comment />
7460
7461    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
7462         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
7463         package for more info.
7464     -->
7465    <declare-styleable name="AppWidgetProviderInfo">
7466        <!-- Minimum width of the AppWidget. -->
7467        <attr name="minWidth"/>
7468        <!-- Minimum height of the AppWidget. -->
7469        <attr name="minHeight"/>
7470        <!-- Minimum width that the AppWidget can be resized to. -->
7471        <attr name="minResizeWidth" format="dimension"/>
7472        <!-- Minimum height that the AppWidget can be resized to. -->
7473        <attr name="minResizeHeight" format="dimension"/>
7474        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
7475        <attr name="updatePeriodMillis" format="integer" />
7476        <!-- A resource id of a layout. -->
7477        <attr name="initialLayout" format="reference" />
7478        <!-- A resource id of a layout. -->
7479        <attr name="initialKeyguardLayout" format="reference" />
7480        <!-- A class name in the AppWidget's package to be launched to configure.
7481             If not supplied, then no activity will be launched. -->
7482        <attr name="configure" format="string" />
7483        <!-- A preview of what the AppWidget will look like after it's configured.
7484              If not supplied, the AppWidget's icon will be used. -->
7485        <attr name="previewImage" format="reference" />
7486        <!-- The view id of the AppWidget subview which should be auto-advanced.
7487             by the widget's host. -->
7488        <attr name="autoAdvanceViewId" format="reference" />
7489        <!-- Optional parameter which indicates if and how this widget can be
7490             resized. Supports combined values using | operator. -->
7491        <attr name="resizeMode" format="integer">
7492            <flag name="none" value="0x0" />
7493            <flag name="horizontal" value="0x1" />
7494            <flag name="vertical" value="0x2" />
7495        </attr>
7496        <!-- Optional parameter which indicates where this widget can be shown,
7497             ie. home screen, keyguard, search bar or any combination thereof.
7498             Supports combined values using | operator. -->
7499        <attr name="widgetCategory" format="integer">
7500            <flag name="home_screen" value="0x1" />
7501            <flag name="keyguard" value="0x2" />
7502            <flag name="searchbox" value="0x4" />
7503        </attr>
7504    </declare-styleable>
7505
7506    <!-- =============================== -->
7507    <!-- Wallpaper preview attributes    -->
7508    <!-- =============================== -->
7509    <eat-comment />
7510
7511    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7512         describes a wallpaper preview. -->
7513    <declare-styleable name="WallpaperPreviewInfo">
7514        <!-- A resource id of a static drawable. -->
7515        <attr name="staticWallpaperPreview" format="reference" />
7516    </declare-styleable>
7517
7518    <!-- =============================== -->
7519    <!-- App package class attributes -->
7520    <!-- =============================== -->
7521    <eat-comment />
7522
7523    <!-- ============================= -->
7524    <!-- View package class attributes -->
7525    <!-- ============================= -->
7526    <eat-comment />
7527
7528    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7529         tags inside of the layout of an Activity.  This instantiates
7530         the given {@link android.app.Fragment} and inserts its content
7531         view into the current location in the layout. -->
7532    <declare-styleable name="Fragment">
7533        <!-- Supply the name of the fragment class to instantiate. -->
7534        <attr name="name" />
7535
7536        <!-- Supply an identifier name for the top-level view, to later retrieve it
7537             with {@link android.view.View#findViewById View.findViewById()} or
7538             {@link android.app.Activity#findViewById Activity.findViewById()}.
7539             This must be a
7540             resource reference; typically you set this using the
7541             <code>@+</code> syntax to create a new ID resources.
7542             For example: <code>android:id="@+id/my_id"</code> which
7543             allows you to later retrieve the view
7544             with <code>findViewById(R.id.my_id)</code>. -->
7545        <attr name="id" />
7546
7547        <!-- Supply a tag for the top-level view containing a String, to be retrieved
7548             later with {@link android.view.View#getTag View.getTag()} or
7549             searched for with {@link android.view.View#findViewWithTag
7550             View.findViewWithTag()}.  It is generally preferable to use
7551             IDs (through the android:id attribute) instead of tags because
7552             they are faster and allow for compile-time type checking. -->
7553        <attr name="tag" />
7554
7555        <!-- The Transition that will be used to move Views out of the scene when the
7556             fragment is removed, hidden, or detached when not popping the back stack.
7557             Corresponds to {@link android.app.Fragment#setExitTransition(
7558             android.transition.Transition)} -->
7559        <attr name="fragmentExitTransition" format="reference"/>
7560
7561        <!-- The Transition that will be used to move Views into the initial scene.
7562             Corresponds to {@link android.app.Fragment#setEnterTransition(
7563             android.transition.Transition)} -->
7564        <attr name="fragmentEnterTransition" format="reference"/>
7565
7566        <!-- The Transition that will be used for shared elements transferred into the content
7567             Scene.
7568             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7569             android.transition.Transition)} -->
7570        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7571
7572        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7573             preparing to be removed, hidden, or detached because of popping the back stack.
7574             Corresponds to {@link android.app.Fragment#setReturnTransition(
7575             android.transition.Transition)} -->
7576        <attr name="fragmentReturnTransition" format="reference"/>
7577
7578        <!-- The Transition that will be used for shared elements transferred back during a
7579             pop of the back stack. This Transition acts in the leaving Fragment.
7580             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7581             android.transition.Transition)} -->
7582        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7583
7584        <!-- The Transition that will be used to move Views in to the scene when returning due
7585             to popping a back stack.
7586             Corresponds to {@link android.app.Fragment#setReenterTransition(
7587             android.transition.Transition)} -->
7588        <attr name="fragmentReenterTransition" format="reference"/>
7589
7590        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7591             forward.
7592             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7593             boolean)} -->
7594        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7595
7596        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7597             because of popping the back stack.
7598             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7599             boolean)} -->
7600        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7601    </declare-styleable>
7602
7603    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7604         describes a
7605         {@link android.app.admin.DeviceAdminReceiver}, which is
7606         referenced from its
7607         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7608         meta-data entry.  Described here are the attributes that can be
7609         included in that tag. -->
7610    <declare-styleable name="DeviceAdmin">
7611        <!-- Control whether the admin is visible to the user, even when it
7612             is not enabled.  This is true by default.  You may want to make
7613             it false if your admin does not make sense to be turned on
7614             unless some explicit action happens in your app. -->
7615        <attr name="visible" />
7616    </declare-styleable>
7617
7618    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7619         describes an
7620         {@link android.service.wallpaper.WallpaperService}, which is
7621         referenced from its
7622         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7623         meta-data entry.  Described here are the attributes that can be
7624         included in that tag. -->
7625    <declare-styleable name="Wallpaper">
7626        <attr name="settingsActivity" />
7627
7628        <!-- Reference to the wallpaper's thumbnail bitmap. -->
7629        <attr name="thumbnail" format="reference" />
7630
7631        <!-- Name of the author and/or source/collection of this component, for example,
7632             Art Collection, Picasso. -->
7633        <attr name="author" format="reference" />
7634
7635        <!-- Short description of the component's purpose or behavior. -->
7636        <attr name="description" />
7637
7638        <!-- Uri that specifies a link for further context of this wallpaper, for example,
7639             http://www.picasso.org. -->
7640        <attr name="contextUri" format="reference" />
7641
7642        <!-- Title of the uri that specifies a link for further context of this wallpaper,
7643             for example, Explore collection. -->
7644        <attr name="contextDescription" format="reference" />
7645
7646        <!-- Whether to show any metadata when previewing the wallpaper. If this value is
7647             set to true, any component that shows a preview of this live wallpaper should also show
7648             accompanying information like the title, the description, the author and the context
7649             description of this wallpaper so the user gets to know further information about this
7650             wallpaper. -->
7651        <attr name="showMetadataInPreview" format="boolean" />
7652
7653    </declare-styleable>
7654
7655    <!-- Use <code>dream</code> as the root tag of the XML resource that
7656         describes an
7657         {@link android.service.dreams.DreamService}, which is
7658         referenced from its
7659         {@link android.service.dreams.DreamService#DREAM_META_DATA}
7660         meta-data entry.  Described here are the attributes that can be
7661         included in that tag. -->
7662    <declare-styleable name="Dream">
7663        <!-- Component name of an activity that allows the user to modify
7664             the settings for this dream. -->
7665        <attr name="settingsActivity" />
7666    </declare-styleable>
7667
7668    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
7669         describes an {@link android.service.trust.TrustAgentService}, which is
7670         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7671         meta-data entry.  Described here are the attributes that can be included in that tag.
7672         @hide -->
7673    <declare-styleable name="TrustAgent">
7674        <!-- @SystemApi Component name of an activity that allows the user to modify
7675             the settings for this trust agent. @hide -->
7676        <attr name="settingsActivity" />
7677        <!-- @SystemApi Title for a preference that allows that user to launch the
7678             activity to modify trust agent settings. @hide -->
7679        <attr name="title" />
7680        <!-- @SystemApi Summary for the same preference as the title. @hide -->
7681        <attr name="summary" />
7682        <!-- @SystemApi Whether trust agent can unlock a user profile @hide -->
7683        <attr name="unlockProfile" format="boolean"/>
7684    </declare-styleable>
7685
7686    <!-- =============================== -->
7687    <!-- Accounts package class attributes -->
7688    <!-- =============================== -->
7689    <eat-comment />
7690
7691    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7692         describes an account authenticator.
7693     -->
7694    <declare-styleable name="AccountAuthenticator">
7695        <!-- The account type this authenticator handles. -->
7696        <attr name="accountType" format="string"/>
7697        <!-- The user-visible name of the authenticator. -->
7698        <attr name="label"/>
7699        <!-- The icon of the authenticator. -->
7700        <attr name="icon"/>
7701        <!-- Smaller icon of the authenticator. -->
7702        <attr name="smallIcon" format="reference"/>
7703        <!-- A preferences.xml file for authenticator-specific settings. -->
7704        <attr name="accountPreferences" format="reference"/>
7705        <!-- Account handles its own token storage and permissions.
7706             Default to false
7707          -->
7708        <attr name="customTokens" format="boolean"/>
7709    </declare-styleable>
7710
7711    <!-- =============================== -->
7712    <!-- Accounts package class attributes -->
7713    <!-- =============================== -->
7714    <eat-comment />
7715
7716    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7717         describes an account authenticator.
7718     -->
7719    <declare-styleable name="SyncAdapter">
7720        <!-- the authority of a content provider. -->
7721        <attr name="contentAuthority" format="string"/>
7722        <attr name="accountType"/>
7723        <attr name="userVisible" format="boolean"/>
7724        <attr name="supportsUploading" format="boolean"/>
7725        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7726             multiple simultaneous syncs for the same account type and authority.
7727             Otherwise the SyncManager will be sure not to issue a start sync request
7728             to this SyncAdapter if the SyncAdapter is already syncing another account.
7729             Defaults to false.
7730             -->
7731        <attr name="allowParallelSyncs" format="boolean"/>
7732        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7733             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7734             Defaults to false.
7735             -->
7736        <attr name="isAlwaysSyncable" format="boolean"/>
7737        <!-- If provided, specifies the action of the settings
7738             activity for this SyncAdapter.
7739             -->
7740        <attr name="settingsActivity"/>
7741    </declare-styleable>
7742
7743    <!-- =============================== -->
7744    <!-- Autofill attributes -->
7745    <!-- =============================== -->
7746    <eat-comment />
7747
7748    <!-- Use <code>autofill-service</code> as the root tag of the XML resource that describes a
7749         {@link android.service.autofill.AutofillService}, which is referenced from its
7750         {@link android.service.autofill#SERVICE_META_DATA} meta-data entry.
7751    -->
7752    <declare-styleable name="AutofillService">
7753        <!-- Fully qualified class name of an activity that allows the user to modify
7754             the settings for this service. -->
7755        <attr name="settingsActivity" />
7756    </declare-styleable>
7757
7758    <!-- =============================== -->
7759    <!-- Contacts meta-data attributes -->
7760    <!-- =============================== -->
7761    <eat-comment />
7762
7763    <!-- TODO: remove this deprecated styleable. -->
7764    <eat-comment />
7765    <declare-styleable name="Icon">
7766        <attr name="icon" />
7767        <attr name="mimeType" />
7768    </declare-styleable>
7769
7770    <!-- TODO: remove this deprecated styleable -->
7771    <eat-comment />
7772    <declare-styleable name="IconDefault">
7773        <attr name="icon" />
7774    </declare-styleable>
7775
7776    <!-- Maps a specific contact data MIME-type to styling information. -->
7777    <declare-styleable name="ContactsDataKind">
7778        <!-- Mime-type handled by this mapping. -->
7779        <attr name="mimeType" />
7780        <!-- Icon used to represent data of this kind. -->
7781        <attr name="icon" />
7782        <!-- Column in data table that summarizes this data. -->
7783        <attr name="summaryColumn" format="string" />
7784        <!-- Column in data table that contains details for this data. -->
7785        <attr name="detailColumn" format="string" />
7786        <!-- Flag indicating that detail should be built from SocialProvider. -->
7787        <attr name="detailSocialSummary" format="boolean" />
7788        <!-- Resource representing the term "All Contacts" (for example, "All Friends" or
7789        "All connections"). Optional (Default is "All Contacts"). -->
7790        <attr name="allContactsName" format="string" />
7791    </declare-styleable>
7792
7793    <!-- =============================== -->
7794    <!-- TabSelector class attributes -->
7795    <!-- =============================== -->
7796    <eat-comment />
7797
7798    <declare-styleable name="SlidingTab">
7799        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7800        <attr name="orientation" />
7801    </declare-styleable>
7802
7803    <!-- =============================== -->
7804    <!-- GlowPadView class attributes -->
7805    <!-- =============================== -->
7806    <eat-comment />
7807    <declare-styleable name="GlowPadView">
7808        <!-- Reference to an array resource that be used as description for the targets around the circle.
7809             {@deprecated Removed.} -->
7810        <attr name="targetDescriptions" format="reference" />
7811
7812        <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7813             {@deprecated Removed.} -->
7814        <attr name="directionDescriptions" format="reference" />
7815    </declare-styleable>
7816
7817    <!-- =============================== -->
7818    <!-- Location package class attributes -->
7819    <!-- =============================== -->
7820    <eat-comment />
7821
7822    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7823         describes an injected "Location services" setting. Note that the status value (subtitle)
7824         for the setting is specified dynamically by a subclass of SettingInjectorService.
7825     -->
7826    <declare-styleable name="SettingInjectorService">
7827        <!-- The title for the preference. -->
7828        <attr name="title"/>
7829        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7830             a generic icon for the developer. -->
7831        <attr name="icon"/>
7832        <!-- The activity to launch when the setting is clicked on. -->
7833        <attr name="settingsActivity"/>
7834    </declare-styleable>
7835
7836    <!-- =============================== -->
7837    <!-- LockPatternView class attributes -->
7838    <!-- =============================== -->
7839    <eat-comment />
7840
7841    <declare-styleable name="LockPatternView">
7842        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7843             or "lock_height" -->
7844        <attr name="aspect" format="string" />
7845        <!-- Color to use when drawing LockPatternView paths. -->
7846        <attr name="pathColor" format="color|reference" />
7847        <!-- The regular pattern color -->
7848        <attr name="regularColor" format="color|reference" />
7849        <!-- The error color -->
7850        <attr name="errorColor" format="color|reference" />
7851        <!-- The success color -->
7852        <attr name="successColor" format="color|reference"/>
7853    </declare-styleable>
7854
7855    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7856         describes a {@link android.speech.RecognitionService}, which is referenced from
7857         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7858         Described here are the attributes that can be included in that tag. -->
7859    <declare-styleable name="RecognitionService">
7860        <attr name="settingsActivity" />
7861    </declare-styleable>
7862
7863    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7864         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7865         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7866         Described here are the attributes that can be included in that tag. -->
7867    <declare-styleable name="VoiceInteractionService">
7868        <!-- The service that hosts active voice interaction sessions.  This is required. -->
7869        <attr name="sessionService" format="string" />
7870        <!-- The service that provides voice recognition.  This is required.  When the user
7871             selects this voice interaction service, they will also be implicitly selecting
7872             the component here for their recognition service. -->
7873        <attr name="recognitionService" format="string" />
7874        <attr name="settingsActivity" />
7875        <!-- Flag indicating whether this voice interaction service is capable of handling the
7876             assist action. -->
7877        <attr name="supportsAssist" format="boolean" />
7878        <!-- Flag indicating whether this voice interaction service is capable of being launched
7879             from the keyguard. -->
7880        <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
7881        <!-- Flag indicating whether this voice interaction service can handle local voice
7882             interaction requests from an Activity. This flag is new in
7883             {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. -->
7884        <attr name="supportsLocalInteraction" format="boolean" />
7885    </declare-styleable>
7886
7887    <!-- Use <code>voice-enrollment-application</code>
7888         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7889         by the enrollment application.
7890         Described here are the attributes that can be included in that tag.
7891         @hide
7892         @SystemApi -->
7893    <declare-styleable name="VoiceEnrollmentApplication">
7894        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7895        <attr name="searchKeyphraseId" format="integer" />
7896        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7897        <attr name="searchKeyphrase" format="string" />
7898        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7899             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7900        <attr name="searchKeyphraseSupportedLocales" format="string" />
7901        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7902        <attr name="searchKeyphraseRecognitionFlags">
7903            <flag name="none" value="0" />
7904            <flag name="voiceTrigger" value="0x1" />
7905            <flag name="userIdentification" value="0x2" />
7906        </attr>
7907    </declare-styleable>
7908
7909    <!-- Attributes used to style the Action Bar. -->
7910    <declare-styleable name="ActionBar">
7911        <!-- The type of navigation to use. -->
7912        <attr name="navigationMode">
7913            <!-- Normal static title text. -->
7914            <enum name="normal" value="0" />
7915            <!-- The action bar will use a selection list for navigation. -->
7916            <enum name="listMode" value="1" />
7917            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7918            <enum name="tabMode" value="2" />
7919        </attr>
7920        <!-- Options affecting how the action bar is displayed. -->
7921        <attr name="displayOptions">
7922            <flag name="none" value="0" />
7923            <flag name="useLogo" value="0x1" />
7924            <flag name="showHome" value="0x2" />
7925            <flag name="homeAsUp" value="0x4" />
7926            <flag name="showTitle" value="0x8" />
7927            <flag name="showCustom" value="0x10" />
7928            <flag name="disableHome" value="0x20" />
7929        </attr>
7930        <!-- Specifies title text used for navigationMode="normal". -->
7931        <attr name="title" />
7932        <!-- Specifies subtitle text used for navigationMode="normal". -->
7933        <attr name="subtitle" format="string" />
7934        <!-- Specifies a style to use for title text. -->
7935        <attr name="titleTextStyle" format="reference" />
7936        <!-- Specifies a style to use for subtitle text. -->
7937        <attr name="subtitleTextStyle" format="reference" />
7938        <!-- Specifies the drawable used for the application icon. -->
7939        <attr name="icon" />
7940        <!-- Specifies the drawable used for the application logo. -->
7941        <attr name="logo" />
7942        <!-- Specifies the drawable used for item dividers. -->
7943        <attr name="divider" />
7944        <!-- Specifies a background drawable for the action bar. -->
7945        <attr name="background" />
7946        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7947        <attr name="backgroundStacked" format="reference|color" />
7948        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7949        <attr name="backgroundSplit" format="reference|color" />
7950        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7951        <attr name="customNavigationLayout" format="reference" />
7952        <!-- Specifies a fixed height. -->
7953        <attr name="height" />
7954        <!-- Specifies a layout to use for the "home" section of the action bar. -->
7955        <attr name="homeLayout" format="reference" />
7956        <!-- Specifies a style resource to use for an embedded progress bar. -->
7957        <attr name="progressBarStyle" />
7958        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7959        <attr name="indeterminateProgressStyle" format="reference" />
7960        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7961        <attr name="progressBarPadding" format="dimension" />
7962        <!-- Up navigation glyph. -->
7963        <attr name="homeAsUpIndicator" />
7964        <!-- Specifies padding that should be applied to the left and right sides of
7965             system-provided items in the bar. -->
7966        <attr name="itemPadding" format="dimension" />
7967        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7968        <attr name="hideOnContentScroll" format="boolean" />
7969        <!-- Minimum inset for content views within a bar. Navigation buttons and
7970             menu views are excepted. Only valid for some themes and configurations. -->
7971        <attr name="contentInsetStart" format="dimension" />
7972        <!-- Minimum inset for content views within a bar. Navigation buttons and
7973             menu views are excepted. Only valid for some themes and configurations. -->
7974        <attr name="contentInsetEnd" format="dimension" />
7975        <!-- Minimum inset for content views within a bar. Navigation buttons and
7976             menu views are excepted. Only valid for some themes and configurations. -->
7977        <attr name="contentInsetLeft" format="dimension" />
7978        <!-- Minimum inset for content views within a bar. Navigation buttons and
7979             menu views are excepted. Only valid for some themes and configurations. -->
7980        <attr name="contentInsetRight" format="dimension" />
7981        <!-- Minimum inset for content views within a bar when a navigation button
7982             is present, such as the Up button. Only valid for some themes and configurations. -->
7983        <attr name="contentInsetStartWithNavigation" format="dimension" />
7984        <!-- Minimum inset for content views within a bar when actions from a menu
7985             are present. Only valid for some themes and configurations. -->
7986        <attr name="contentInsetEndWithActions" format="dimension" />
7987        <!-- Elevation for the action bar itself. -->
7988        <attr name="elevation" />
7989        <!-- Reference to a theme that should be used to inflate popups
7990             shown by widgets in the action bar. -->
7991        <attr name="popupTheme" />
7992    </declare-styleable>
7993
7994    <declare-styleable name="ActionMode">
7995        <!-- Specifies a style to use for title text. -->
7996        <attr name="titleTextStyle" />
7997        <!-- Specifies a style to use for subtitle text. -->
7998        <attr name="subtitleTextStyle" />
7999        <!-- Specifies a background for the action mode bar. -->
8000        <attr name="background" />
8001        <!-- Specifies a background for the split action mode bar. -->
8002        <attr name="backgroundSplit" />
8003        <!-- Specifies a fixed height for the action mode bar. -->
8004        <attr name="height" />
8005        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
8006        <attr name="closeItemLayout" format="reference" />
8007    </declare-styleable>
8008
8009    <declare-styleable name="SearchView">
8010        <!-- The layout to use for the search view. -->
8011        <attr name="layout" />
8012        <!-- The default state of the SearchView. If true, it will be iconified when not in
8013             use and expanded when clicked. -->
8014        <attr name="iconifiedByDefault" format="boolean" />
8015        <!-- An optional maximum width of the SearchView. -->
8016        <attr name="maxWidth" />
8017        <!-- An optional query hint string to be displayed in the empty query field. -->
8018        <attr name="queryHint" format="string" />
8019        <!-- Default query hint used when {@code queryHint} is undefined and
8020             the search view's {@code SearchableInfo} does not provide a hint.
8021             @hide -->
8022        <attr name="defaultQueryHint" format="string" />
8023        <!-- The IME options to set on the query text field. -->
8024        <attr name="imeOptions" />
8025        <!-- The input type to set on the query text field. -->
8026        <attr name="inputType" />
8027        <!-- Close button icon. -->
8028        <attr name="closeIcon" format="reference" />
8029        <!-- Go button icon. -->
8030        <attr name="goIcon" format="reference" />
8031        <!-- Search icon. -->
8032        <attr name="searchIcon" format="reference" />
8033        <!-- Search icon displayed as a text field hint. -->
8034        <attr name="searchHintIcon" format="reference" />
8035        <!-- Voice button icon. -->
8036        <attr name="voiceIcon" format="reference" />
8037        <!-- Commit icon shown in the query suggestion row. -->
8038        <attr name="commitIcon" format="reference" />
8039        <!-- Layout for query suggestion rows. -->
8040        <attr name="suggestionRowLayout" format="reference" />
8041        <!-- Background for the section containing the search query. -->
8042        <attr name="queryBackground" format="reference" />
8043        <!-- Background for the section containing the action (for example, voice search). -->
8044        <attr name="submitBackground" format="reference" />
8045    </declare-styleable>
8046
8047    <declare-styleable name="Switch">
8048        <!-- Drawable to use as the "thumb" that switches back and forth. -->
8049        <attr name="thumb" />
8050        <!-- Tint to apply to the thumb. -->
8051        <attr name="thumbTint" />
8052        <!-- Blending mode used to apply the thumb tint. -->
8053        <attr name="thumbTintMode" />
8054        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
8055        <attr name="track" format="reference" />
8056        <!-- Tint to apply to the track. -->
8057        <attr name="trackTint" format="color" />
8058        <!-- Blending mode used to apply the track tint. -->
8059        <attr name="trackTintMode">
8060            <!-- The tint is drawn on top of the drawable.
8061                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
8062            <enum name="src_over" value="3" />
8063            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
8064                 color channels are thrown out. [Sa * Da, Sc * Da] -->
8065            <enum name="src_in" value="5" />
8066            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
8067                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
8068            <enum name="src_atop" value="9" />
8069            <!-- Multiplies the color and alpha channels of the drawable with those of
8070                 the tint. [Sa * Da, Sc * Dc] -->
8071            <enum name="multiply" value="14" />
8072            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
8073            <enum name="screen" value="15" />
8074            <!-- Combines the tint and drawable color and alpha channels, clamping the
8075                 result to valid color values. Saturate(S + D) -->
8076            <enum name="add" value="16" />
8077        </attr>
8078        <!-- Text to use when the switch is in the checked/"on" state. -->
8079        <attr name="textOn" />
8080        <!-- Text to use when the switch is in the unchecked/"off" state. -->
8081        <attr name="textOff" />
8082        <!-- Amount of padding on either side of text within the switch thumb. -->
8083        <attr name="thumbTextPadding" format="dimension" />
8084        <!-- TextAppearance style for text displayed on the switch thumb. -->
8085        <attr name="switchTextAppearance" format="reference" />
8086        <!-- Minimum width for the switch component. -->
8087        <attr name="switchMinWidth" format="dimension" />
8088        <!-- Minimum space between the switch and caption text. -->
8089        <attr name="switchPadding" format="dimension" />
8090        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
8091        <attr name="splitTrack" />
8092        <!-- Whether to draw on/off text. -->
8093        <attr name="showText" format="boolean" />
8094    </declare-styleable>
8095
8096    <declare-styleable name="Pointer">
8097        <!-- Reference to a pointer icon drawable with STYLE_ARROW. -->
8098        <attr name="pointerIconArrow" format="reference" />
8099        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER. -->
8100        <attr name="pointerIconSpotHover" format="reference" />
8101        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH. -->
8102        <attr name="pointerIconSpotTouch" format="reference" />
8103        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR. -->
8104        <attr name="pointerIconSpotAnchor" format="reference" />
8105        <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU. -->
8106        <attr name="pointerIconContextMenu" format="reference"/>
8107        <!-- Reference to a pointer drawable with STYLE_HAND. -->
8108        <attr name="pointerIconHand" format="reference"/>
8109        <!-- Reference to a pointer drawable with STYLE_HELP. -->
8110        <attr name="pointerIconHelp" format="reference"/>
8111        <!-- Reference to a pointer drawable with STYLE_WAIT. -->
8112        <attr name="pointerIconWait" format="reference"/>
8113        <!-- Reference to a pointer drawable with STYLE_CELL. -->
8114        <attr name="pointerIconCell" format="reference"/>
8115        <!-- Reference to a pointer drawable with STYLE_CROSSHAIR. -->
8116        <attr name="pointerIconCrosshair" format="reference"/>
8117        <!-- Reference to a pointer drawable with STYLE_TEXT. -->
8118        <attr name="pointerIconText" format="reference"/>
8119        <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT. -->
8120        <attr name="pointerIconVerticalText" format="reference"/>
8121        <!-- Reference to a pointer drawable with STYLE_ALIAS. -->
8122        <attr name="pointerIconAlias" format="reference"/>
8123        <!-- Reference to a pointer drawable with STYLE_COPY. -->
8124        <attr name="pointerIconCopy" format="reference"/>
8125        <!-- Reference to a pointer drawable with STYLE_NODROP. -->
8126        <attr name="pointerIconNodrop" format="reference"/>
8127        <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL. -->
8128        <attr name="pointerIconAllScroll" format="reference"/>
8129        <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW. -->
8130        <attr name="pointerIconHorizontalDoubleArrow" format="reference"/>
8131        <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW. -->
8132        <attr name="pointerIconVerticalDoubleArrow" format="reference"/>
8133        <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW. -->
8134        <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/>
8135        <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW. -->
8136        <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/>
8137        <!-- Reference to a pointer drawable with STYLE_ZOOM_IN. -->
8138        <attr name="pointerIconZoomIn" format="reference"/>
8139        <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT. -->
8140        <attr name="pointerIconZoomOut" format="reference"/>
8141        <!-- Reference to a pointer drawable with STYLE_GRAB. -->
8142        <attr name="pointerIconGrab" format="reference"/>
8143        <!-- Reference to a pointer drawable with STYLE_GRABBING. -->
8144        <attr name="pointerIconGrabbing" format="reference"/>
8145    </declare-styleable>
8146
8147    <declare-styleable name="PointerIcon">
8148        <!-- Drawable to use as the icon bitmap. -->
8149        <attr name="bitmap" format="reference" />
8150        <!-- X coordinate of the icon hot spot. -->
8151        <attr name="hotSpotX" format="dimension" />
8152        <!-- Y coordinate of the icon hot spot. -->
8153        <attr name="hotSpotY" format="dimension" />
8154    </declare-styleable>
8155
8156    <declare-styleable name="Storage">
8157        <!-- path to mount point for the storage. -->
8158        <attr name="mountPoint" format="string" />
8159        <!-- user visible description of the storage. -->
8160        <attr name="storageDescription" format="string" />
8161        <!-- true if the storage is the primary external storage. -->
8162        <attr name="primary" format="boolean" />
8163        <!-- true if the storage is removable. -->
8164        <attr name="removable" format="boolean" />
8165        <!-- true if the storage is emulated via the FUSE sdcard daemon. -->
8166        <attr name="emulated" format="boolean" />
8167        <!-- number of megabytes of storage MTP should reserve for free storage
8168             (used for emulated storage that is shared with system's data partition). -->
8169        <attr name="mtpReserve" format="integer" />
8170        <!-- true if the storage can be shared via USB mass storage. -->
8171        <attr name="allowMassStorage" format="boolean" />
8172        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded. -->
8173        <attr name="maxFileSize" format="integer" />
8174    </declare-styleable>
8175
8176    <declare-styleable name="SwitchPreference">
8177        <!-- The summary for the Preference in a PreferenceActivity screen when the
8178             SwitchPreference is checked. If separate on/off summaries are not
8179             needed, the summary attribute can be used instead. -->
8180        <attr name="summaryOn" />
8181        <!-- The summary for the Preference in a PreferenceActivity screen when the
8182             SwitchPreference is unchecked. If separate on/off summaries are not
8183             needed, the summary attribute can be used instead. -->
8184        <attr name="summaryOff" />
8185        <!-- The text used on the switch itself when in the "on" state.
8186             This should be a very SHORT string, as it appears in a small space. -->
8187        <attr name="switchTextOn" format="string" />
8188        <!-- The text used on the switch itself when in the "off" state.
8189             This should be a very SHORT string, as it appears in a small space. -->
8190        <attr name="switchTextOff" format="string" />
8191        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
8192             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
8193        <attr name="disableDependentsState" />
8194    </declare-styleable>
8195
8196    <declare-styleable name="SeekBarPreference">
8197        <attr name="layout" />
8198        <!-- Attribute indicating whether the slider within this preference can be adjusted, that is
8199        pressing left/right keys when this preference is focused will move the slider accordingly
8200        (for example, inline adjustable preferences). False, if the slider within the preference is
8201        read-only and cannot be adjusted. By default, the seekbar is adjustable. -->
8202        <attr name="adjustable" format="boolean" />
8203        <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be
8204        displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. -->
8205        <attr name="showSeekBarValue" format="boolean" />
8206    </declare-styleable>
8207
8208    <!-- Base attributes available to PreferenceFragment. -->
8209    <declare-styleable name="PreferenceFragment">
8210        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
8211        <attr name="layout" />
8212        <attr name="divider" />
8213    </declare-styleable>
8214
8215    <!-- Base attributes available to PreferenceScreen. -->
8216    <declare-styleable name="PreferenceScreen">
8217        <!-- The layout for the PreferenceScreen. This should rarely need to be changed. -->
8218        <attr name="screenLayout" format="reference" />
8219        <attr name="divider" />
8220    </declare-styleable>
8221
8222    <!-- Base attributes available to PreferenceActivity. -->
8223    <declare-styleable name="PreferenceActivity">
8224        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
8225        <attr name="layout" />
8226        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
8227        <attr name="headerLayout" format="reference" />
8228        <!-- true if the Icon view will be removed when there is none and thus not showing
8229             the fixed margins. -->
8230        <attr name="headerRemoveIconIfEmpty" format="boolean" />
8231    </declare-styleable>
8232
8233    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
8234         describes a text to speech engine implemented as a subclass of
8235         {@link android.speech.tts.TextToSpeechService}.
8236
8237         The XML resource must be referenced from its
8238         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
8239         entry. -->
8240    <declare-styleable name="TextToSpeechEngine">
8241        <attr name="settingsActivity" />
8242    </declare-styleable>
8243
8244    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
8245         describes a collection of keyboard layouts provided by an application.
8246         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
8247         with these attributes.
8248
8249         The XML resource that contains the keyboard layouts must be referenced from its
8250         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
8251         meta-data entry used with broadcast receivers for
8252         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
8253    <declare-styleable name="KeyboardLayout">
8254        <!-- The name of the keyboard layout, must be unique in the receiver. -->
8255        <attr name="name" />
8256        <!-- The display label of the keyboard layout. -->
8257        <attr name="label" />
8258        <!-- The key character map file resource. -->
8259        <attr name="keyboardLayout" format="reference" />
8260        <!-- The locales the given keyboard layout corresponds to. -->
8261        <attr name="locale" format="string" />
8262        <!-- The vendor ID of the hardware the given layout corresponds to. @hide -->
8263        <attr name="vendorId" format="integer" />
8264        <!-- The product ID of the hardware the given layout corresponds to. @hide -->
8265        <attr name="productId" format="integer" />
8266    </declare-styleable>
8267
8268    <declare-styleable name="MediaRouteButton">
8269        <!-- This drawable is a state list where the "activated" state
8270             indicates active media routing. Non-activated indicates
8271             that media is playing to the local device only.
8272             @hide -->
8273        <attr name="externalRouteEnabledDrawable" format="reference" />
8274
8275        <!-- The types of media routes the button and its resulting
8276             chooser will filter by. -->
8277        <attr name="mediaRouteTypes" format="integer">
8278            <!-- Allow selection of live audio routes. -->
8279            <enum name="liveAudio" value="0x1" />
8280            <!-- Allow selection of user (app-specified) routes. -->
8281            <enum name="user" value="0x800000" />
8282        </attr>
8283
8284        <attr name="minWidth" />
8285        <attr name="minHeight" />
8286    </declare-styleable>
8287
8288    <!-- PagedView specific attributes. These attributes are used to customize
8289         a PagedView view in XML files. -->
8290    <declare-styleable name="PagedView">
8291        <!-- The space between adjacent pages of the PagedView. -->
8292        <attr name="pageSpacing" format="dimension" />
8293        <!-- The padding for the scroll indicator area. -->
8294        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
8295        <attr name="scrollIndicatorPaddingRight" format="dimension" />
8296    </declare-styleable>
8297
8298    <declare-styleable name="KeyguardGlowStripView">
8299        <attr name="dotSize" format="dimension" />
8300        <attr name="numDots" format="integer" />
8301        <attr name="glowDot" format="reference" />
8302        <attr name="leftToRight" format="boolean" />
8303    </declare-styleable>
8304
8305    <!-- Some child types have special behavior. -->
8306    <attr name="layout_childType">
8307        <!-- No special behavior. Layout will proceed as normal. -->
8308        <enum name="none" value="0" />
8309        <!-- Widget container.
8310             This will be resized in response to certain events. -->
8311        <enum name="widget" value="1" />
8312        <!-- Security challenge container.
8313             This will be dismissed/shown in response to certain events,
8314             possibly obscuring widget elements. -->
8315        <enum name="challenge" value="2" />
8316        <!-- User switcher.
8317             This will consume space from the total layout area. -->
8318        <enum name="userSwitcher" value="3" />
8319        <!-- Scrim. This will block access to child views that
8320             come before it in the child list in bouncer mode. -->
8321        <enum name="scrim" value="4" />
8322        <!-- The home for widgets. All widgets will be descendents of this. -->
8323        <enum name="widgets" value="5" />
8324        <!-- This is a handle that is used for expanding the
8325             security challenge container when it is collapsed. -->
8326        <enum name="expandChallengeHandle" value="6" />
8327        <!-- Delete drop target.  This will be the drop target to delete pages. -->
8328        <enum name="pageDeleteDropTarget" value="7" />
8329    </attr>
8330
8331    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
8332    tags. -->
8333    <declare-styleable name="FragmentBreadCrumbs">
8334        <attr name="gravity" />
8335        <attr name="itemLayout" format="reference" />
8336        <attr name="itemColor" format="color|reference" />
8337    </declare-styleable>
8338
8339    <declare-styleable name="Toolbar">
8340        <attr name="titleTextAppearance" format="reference" />
8341        <attr name="subtitleTextAppearance" format="reference" />
8342        <attr name="title" />
8343        <attr name="subtitle" />
8344        <attr name="gravity" />
8345        <!--  Specifies extra space on the left, start, right and end sides
8346              of the toolbar's title. Margin values should be positive. -->
8347        <attr name="titleMargin" format="dimension" />
8348        <!--  Specifies extra space on the start side of the toolbar's title.
8349              If both this attribute and titleMargin are specified, then this
8350              attribute takes precedence. Margin values should be positive. -->
8351        <attr name="titleMarginStart" format="dimension" />
8352        <!--  Specifies extra space on the end side of the toolbar's title.
8353              If both this attribute and titleMargin are specified, then this
8354              attribute takes precedence. Margin values should be positive. -->
8355        <attr name="titleMarginEnd" format="dimension" />
8356        <!--  Specifies extra space on the top side of the toolbar's title.
8357              If both this attribute and titleMargin are specified, then this
8358              attribute takes precedence. Margin values should be positive. -->
8359        <attr name="titleMarginTop" format="dimension" />
8360        <!--  Specifies extra space on the bottom side of the toolbar's title.
8361              If both this attribute and titleMargin are specified, then this
8362              attribute takes precedence. Margin values should be positive. -->
8363        <attr name="titleMarginBottom" format="dimension" />
8364        <attr name="contentInsetStart" />
8365        <attr name="contentInsetEnd" />
8366        <attr name="contentInsetLeft" />
8367        <attr name="contentInsetRight" />
8368        <attr name="contentInsetStartWithNavigation" />
8369        <attr name="contentInsetEndWithActions" />
8370        <attr name="maxButtonHeight" format="dimension" />
8371        <attr name="navigationButtonStyle" format="reference" />
8372        <attr name="buttonGravity">
8373            <!-- Push object to the top of its container, not changing its size. -->
8374            <flag name="top" value="0x30" />
8375            <!-- Push object to the bottom of its container, not changing its size. -->
8376            <flag name="bottom" value="0x50" />
8377        </attr>
8378        <!-- Icon drawable to use for the collapse button. -->
8379        <attr name="collapseIcon" format="reference" />
8380        <!-- Text to set as the content description for the collapse button. -->
8381        <attr name="collapseContentDescription" format="string" />
8382        <!-- Reference to a theme that should be used to inflate popups
8383             shown by widgets in the toolbar. -->
8384        <attr name="popupTheme" format="reference" />
8385        <!-- Icon drawable to use for the navigation button located at
8386             the start of the toolbar. -->
8387        <attr name="navigationIcon" format="reference" />
8388        <!-- Text to set as the content description for the navigation button
8389             located at the start of the toolbar. -->
8390        <attr name="navigationContentDescription" format="string" />
8391        <!-- Drawable to set as the logo that appears at the starting side of
8392             the Toolbar, just after the navigation button. -->
8393        <attr name="logo" />
8394        <!-- A content description string to describe the appearance of the
8395             associated logo image. -->
8396        <attr name="logoDescription" format="string" />
8397        <!-- A color to apply to the title string. -->
8398        <attr name="titleTextColor" format="color" />
8399        <!-- A color to apply to the subtitle string. -->
8400        <attr name="subtitleTextColor" format="color" />
8401    </declare-styleable>
8402
8403    <declare-styleable name="Toolbar_LayoutParams">
8404        <attr name="layout_gravity" />
8405    </declare-styleable>
8406
8407    <declare-styleable name="ActionBar_LayoutParams">
8408        <attr name="layout_gravity" />
8409    </declare-styleable>
8410
8411    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
8412    <declare-styleable name="EdgeEffect">
8413        <attr name="colorEdgeEffect" />
8414    </declare-styleable>
8415
8416    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
8417         {@link android.media.tv.TvInputService}, which is referenced from its
8418         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
8419         Described here are the attributes that can be included in that tag. -->
8420    <declare-styleable name="TvInputService">
8421        <!-- Component name of an activity that allows the user to set up this service. -->
8422        <attr name="setupActivity" format="string" />
8423        <!-- Component name of an activity that allows the user to modify the settings for this
8424             service.
8425             {@deprecated This value is deprecated and not used by the framework starting from API
8426                         level 26. Use setupActivity instead.} -->
8427        <attr name="settingsActivity" />
8428        <!-- Attribute whether the TV input service can record programs. This value can be changed
8429             at runtime by calling
8430             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8431        <attr name="canRecord" format="boolean" />
8432        <!-- The number of tuners that the TV input service is associated with. This value can be
8433             changed at runtime by calling
8434             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8435        <attr name="tunerCount" format="integer" />
8436    </declare-styleable>
8437
8438    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
8439         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8440         which is referenced from its
8441         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8442    <declare-styleable name="RatingSystemDefinition">
8443        <!-- The unique name of the content rating system. -->
8444        <attr name="name" />
8445        <!-- The title of the content rating system which is shown to the user. -->
8446        <attr name="title" />
8447        <!-- The short description of the content rating system. -->
8448        <attr name="description" />
8449        <!-- The country code associated with the content rating system, which consists of two
8450             uppercase letters that conform to the ISO 3166 standard. -->
8451        <attr name="country" format="string" />
8452    </declare-styleable>
8453
8454    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
8455         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8456         which is referenced from its
8457         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8458    <declare-styleable name="RatingDefinition">
8459        <!-- The unique name of the content rating. -->
8460        <attr name="name" />
8461        <!-- The title of the content rating which is shown to the user. -->
8462        <attr name="title" />
8463        <!-- The short description of the content rating. -->
8464        <attr name="description" />
8465        <!-- The age associated with the content rating. The content of this rating is suitable for
8466             people of this age or above. -->
8467        <attr name="contentAgeHint" format="integer" />
8468    </declare-styleable>
8469
8470    <declare-styleable name="ResolverDrawerLayout">
8471        <attr name="maxWidth" />
8472        <attr name="maxCollapsedHeight" format="dimension" />
8473        <attr name="maxCollapsedHeightSmall" format="dimension" />
8474    </declare-styleable>
8475
8476    <declare-styleable name="MessagingLinearLayout">
8477        <attr name="spacing" />
8478    </declare-styleable>
8479
8480    <declare-styleable name="DateTimeView">
8481        <attr name="showRelative" format="boolean" />
8482    </declare-styleable>
8483
8484    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
8485        <attr name="layout_alwaysShow" format="boolean" />
8486        <attr name="layout_ignoreOffset" format="boolean" />
8487        <attr name="layout_gravity" />
8488        <attr name="layout_hasNestedScrollIndicator" format="boolean" />
8489    </declare-styleable>
8490
8491    <!-- @hide -->
8492    <declare-styleable name="Lighting">
8493        <attr name="lightY" />
8494        <attr name="lightZ" />
8495        <attr name="lightRadius" />
8496        <attr name="ambientShadowAlpha" />
8497        <attr name="spotShadowAlpha" />
8498    </declare-styleable>
8499
8500    <declare-styleable name="RestrictionEntry">
8501        <attr name="key" />
8502        <attr name="restrictionType">
8503            <enum name="hidden" value="0" />
8504            <enum name="bool" value="1" />
8505            <enum name="choice" value="2" />
8506            <enum name="multi-select" value="4" />
8507            <enum name="integer" value="5" />
8508            <enum name="string" value="6" />
8509            <enum name="bundle" value="7" />
8510            <enum name="bundle_array" value="8" />
8511        </attr>
8512        <attr name="title" />
8513        <attr name="description" />
8514        <attr name="defaultValue" />
8515        <attr name="entries" />
8516        <attr name="entryValues" />
8517    </declare-styleable>
8518
8519    <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. -->
8520    <declare-styleable name="GradientColor">
8521        <!-- Start color of the gradient. -->
8522        <attr name="startColor" />
8523        <!-- Optional center color. -->
8524        <attr name="centerColor" />
8525        <!-- End color of the gradient. -->
8526        <attr name="endColor" />
8527        <!-- Type of gradient. The default type is linear. -->
8528        <attr name="type" />
8529
8530        <!-- Only applied to RadialGradient-->
8531        <!-- Radius of the gradient, used only with radial gradient. -->
8532        <attr name="gradientRadius" />
8533
8534        <!-- Only applied to SweepGradient / RadialGradient-->
8535        <!-- X coordinate of the center of the gradient within the path. -->
8536        <attr name="centerX" />
8537        <!-- Y coordinate of the center of the gradient within the path. -->
8538        <attr name="centerY" />
8539
8540        <!-- LinearGradient specific -->
8541        <!-- X coordinate of the start point origin of the gradient.
8542             Defined in same coordinates as the path itself -->
8543        <attr name="startX" format="float" />
8544        <!-- Y coordinate of the start point of the gradient within the shape.
8545             Defined in same coordinates as the path itself -->
8546        <attr name="startY" format="float" />
8547        <!-- X coordinate of the end point origin of the gradient.
8548             Defined in same coordinates as the path itself -->
8549        <attr name="endX" format="float" />
8550        <!-- Y coordinate of the end point of the gradient within the shape.
8551             Defined in same coordinates as the path itself -->
8552        <attr name="endY" format="float" />
8553
8554        <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. -->
8555        <attr name="tileMode"/>
8556    </declare-styleable>
8557
8558    <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient
8559         Colors defined in <item> override the simple color attributes such as
8560         "startColor / centerColor / endColor" are ignored. -->
8561    <declare-styleable name="GradientColorItem">
8562        <!-- The offset (or ratio) of this current color item inside the gradient.
8563             The value is only meaningful when it is between 0 and 1. -->
8564        <attr name="offset" format="float" />
8565        <!-- The current color for the offset inside the gradient. -->
8566        <attr name="color" />
8567    </declare-styleable>
8568
8569    <!-- @hide Attributes which will be read by the Activity to intialize the
8570               base activity TaskDescription. -->
8571    <declare-styleable name="ActivityTaskDescription">
8572        <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary
8573                   color. -->
8574        <attr name="colorPrimary" />
8575        <!-- @hide From Theme.colorBackground, used for the TaskDescription background
8576                   color. -->
8577        <attr name="colorBackground" />
8578        <!-- @hide From Theme.statusBarColor, used for the TaskDescription status bar color. -->
8579        <attr name="statusBarColor"/>
8580        <!-- @hide From Theme.navigationBarColor, used for the TaskDescription navigation bar
8581                   color. -->
8582        <attr name="navigationBarColor"/>
8583    </declare-styleable>
8584
8585    <declare-styleable name="Shortcut">
8586        <attr name="shortcutId" format="string" />
8587        <attr name="enabled" />
8588        <attr name="icon" />
8589        <attr name="shortcutShortLabel" format="reference" />
8590        <attr name="shortcutLongLabel" format="reference" />
8591        <attr name="shortcutDisabledMessage" format="reference" />
8592    </declare-styleable>
8593
8594    <declare-styleable name="ShortcutCategories">
8595        <attr name="name" />
8596    </declare-styleable>
8597
8598    <!-- Attributes that are read when parsing a <font> tag, which is a child of
8599         <font-family>. This represents an actual font file and its attributes. -->
8600    <declare-styleable name="FontFamilyFont">
8601        <!-- The style of the given font file. This will be used when the font is being loaded into
8602         the font stack and will override any style information in the font's header tables. If
8603         unspecified, the value in the font's header tables will be used. -->
8604        <attr name="fontStyle">
8605            <enum name="normal" value="0" />
8606            <enum name="italic" value="1" />
8607        </attr>
8608        <!-- The reference to the font file to be used. This should be a file in the res/font folder
8609         and should therefore have an R reference value. E.g. @font/myfont -->
8610        <attr name="font" format="reference" />
8611        <!-- The weight of the given font file. This will be used when the font is being loaded into
8612         the font stack and will override any weight information in the font's header tables. Must
8613         be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most
8614         common values are 400 for regular weight and 700 for bold weight. If unspecified, the value
8615         in the font's header tables will be used. -->
8616        <attr name="fontWeight" format="integer" />
8617    </declare-styleable>
8618
8619    <!-- Attributes that are read when parsing a <fontfamily> tag. -->
8620    <declare-styleable name="FontFamily">
8621        <!-- The authority of the Font Provider to be used for the request. -->
8622        <attr name="fontProviderAuthority" format="string" />
8623        <!-- The package for the Font Provider to be used for the request. This is used to verify
8624        the identity of the provider. -->
8625        <attr name="fontProviderPackage" format="string" />
8626        <!-- The query to be sent over to the provider. Refer to your font provider's documentation
8627        on the format of this string. -->
8628        <attr name="fontProviderQuery" format="string" />
8629        <!-- The sets of hashes for the certificates the provider should be signed with. This is
8630        used to verify the identity of the provider, and is only required if the provider is not
8631        part of the system image. This value may point to one list or a list of lists, where each
8632        individual list represents one collection of signature hashes. Refer to your font provider's
8633        documentation for these values. -->
8634        <attr name="fontProviderCerts" format="reference" />
8635    </declare-styleable>
8636
8637    <!-- @hide -->
8638    <declare-styleable name="RecyclerView">
8639        <attr name="layoutManager" format="string" />
8640        <attr name="orientation" />
8641        <attr name="descendantFocusability" />
8642        <attr name="spanCount" format="integer"/>
8643        <attr name="reverseLayout" format="boolean" />
8644        <attr name="stackFromEnd" format="boolean" />
8645    </declare-styleable>
8646
8647    <!-- @hide -->
8648    <declare-styleable name="NotificationTheme">
8649        <attr name="notificationHeaderStyle" format="reference" />
8650        <attr name="notificationHeaderTextAppearance" format="reference" />
8651        <attr name="notificationHeaderIconSize" format="dimension" />
8652    </declare-styleable>
8653
8654    <attr name="lockPatternStyle" format="reference" />
8655</resources>
8656