attrs.xml revision 27fcd9c97a2ceb50bab026237390207e5ee9e290
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        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
70        <attr name="backgroundDimAmount" format="float" />
71        <!-- Control whether dimming behind the window is enabled.  The default
72             theme does not set this value, meaning it is based on whether the
73             window is floating. -->
74        <attr name="backgroundDimEnabled" format="boolean" />
75
76        <!-- =========== -->
77        <!-- Text styles -->
78        <!-- =========== -->
79        <eat-comment />
80
81        <!-- Default appearance of text: color, typeface, size, and style. -->
82        <attr name="textAppearance" format="reference" />
83        <!-- Default appearance of text against an inverted background:
84             color, typeface, size, and style. -->
85        <attr name="textAppearanceInverse" format="reference" />
86
87        <!-- The most prominent text color.  -->
88        <attr name="textColorPrimary" format="reference|color" />
89        <!-- Secondary text color. -->
90        <attr name="textColorSecondary" format="reference|color" />
91        <!-- Tertiary text color. -->
92        <attr name="textColorTertiary" format="reference|color" />
93
94        <!-- Primary inverse text color, useful for inverted backgrounds. -->
95        <attr name="textColorPrimaryInverse" format="reference|color" />
96        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
97        <attr name="textColorSecondaryInverse" format="reference|color" />
98        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
99        <attr name="textColorTertiaryInverse" format="reference|color" />
100
101        <!-- Inverse hint text color. -->
102        <attr name="textColorHintInverse" format="reference|color" />
103
104        <!-- Bright text color. Only differentiates based on the disabled state. -->
105        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
106
107        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
108        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
109
110        <!-- Bright text color. This does not differentiate the disabled state. As an example,
111             buttons use this since they display the disabled state via the background and not the
112             foreground text color. -->
113        <attr name="textColorPrimaryNoDisable" format="reference|color" />
114        <!-- Dim text color. This does not differentiate the disabled state. -->
115        <attr name="textColorSecondaryNoDisable" format="reference|color" />
116
117        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
118        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
119        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
120        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
121
122        <!-- Bright text color for use over activated backgrounds. -->
123        <attr name="textColorPrimaryActivated" format="reference|color" />
124        <!-- Dim text color for use over activated backgrounds. -->
125        <attr name="textColorSecondaryActivated" format="reference|color" />
126
127        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
128        <attr name="textColorSearchUrl" format="reference|color" />
129
130        <!-- Color of highlighted text, when used in a light theme. -->
131        <attr name="textColorHighlightInverse" format="reference|color" />
132        <!-- Color of link text (URLs), when used in a light theme. -->
133        <attr name="textColorLinkInverse" format="reference|color" />
134
135        <!-- Color of list item text in alert dialogs. -->
136        <attr name="textColorAlertDialogListItem" format="reference|color" />
137
138        <!-- Text color for errors. -->
139        <attr name="textColorError" 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
580        <!-- ============ -->
581        <!-- Alert Dialog styles -->
582        <!-- ============ -->
583        <eat-comment />
584        <attr name="alertDialogStyle" format="reference" />
585        <attr name="alertDialogButtonGroupStyle" format="reference" />
586        <attr name="alertDialogCenterButtons" format="boolean" />
587
588        <!-- ============== -->
589        <!-- Image elements -->
590        <!-- ============== -->
591        <eat-comment />
592
593        <!-- Background that can be used behind parts of a UI that provide
594             details on data the user is selecting.  For example, this is
595             the background element of PreferenceActivity's embedded
596             preference fragment. -->
597        <attr name="detailsElementBackground" format="reference" />
598
599        <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan.
600             This should be used whenever an app is requesting the user to place a finger on the
601             fingerprint sensor. It can be combined with other drawables such as colored circles, so
602             the appearance matches the branding of the app requesting the fingerprint scan.-->
603        <attr name="fingerprintAuthDrawable" format="reference" />
604
605        <!-- ============ -->
606        <!-- Panel styles -->
607        <!-- ============ -->
608        <eat-comment />
609
610        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
611        <attr name="panelBackground" format="reference|color" />
612        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
613        <attr name="panelFullBackground" format="reference|color" />
614        <!-- Default color of foreground panel imagery. -->
615        <attr name="panelColorForeground" format="reference|color" />
616        <!-- Color that matches (as closely as possible) the panel background. -->
617        <attr name="panelColorBackground" format="reference|color" />
618        <!-- Default appearance of panel text. -->
619        <attr name="panelTextAppearance" format="reference" />
620
621        <attr name="panelMenuIsCompact" format="boolean" />
622        <attr name="panelMenuListWidth" format="dimension" />
623        <attr name="panelMenuListTheme" format="reference" />
624
625        <!-- =================== -->
626        <!-- Other widget styles -->
627        <!-- =================== -->
628        <eat-comment />
629
630        <!-- Default AbsListView style. -->
631        <attr name="absListViewStyle" format="reference" />
632        <!-- Default AutoCompleteTextView style. -->
633        <attr name="autoCompleteTextViewStyle" format="reference" />
634        <!-- Default Checkbox style. -->
635        <attr name="checkboxStyle" format="reference" />
636        <!-- Default CheckedTextView style. -->
637        <attr name="checkedTextViewStyle" format="reference" />
638        <!-- Default ListView style for drop downs. -->
639        <attr name="dropDownListViewStyle" format="reference" />
640        <!-- Default EditText style. -->
641        <attr name="editTextStyle" format="reference" />
642        <!-- Default ExpandableListView style. -->
643        <attr name="expandableListViewStyle" format="reference" />
644        <!-- ExpandableListView with white background. -->
645        <attr name="expandableListViewWhiteStyle" format="reference" />
646        <!-- Default Gallery style. -->
647        <attr name="galleryStyle" format="reference" />
648        <!-- Default GestureOverlayView style. -->
649        <attr name="gestureOverlayViewStyle" format="reference" />
650        <!-- Default GridView style. -->
651        <attr name="gridViewStyle" format="reference" />
652        <!-- The style resource to use for an ImageButton. -->
653        <attr name="imageButtonStyle" format="reference" />
654        <!-- The style resource to use for an ImageButton that is an image well. -->
655        <attr name="imageWellStyle" format="reference" />
656        <!-- Default menu-style ListView style. -->
657        <attr name="listMenuViewStyle" format="reference" />
658        <!-- Default ListView style. -->
659        <attr name="listViewStyle" format="reference" />
660        <!-- ListView with white background. -->
661        <attr name="listViewWhiteStyle" format="reference" />
662        <!-- Default PopupWindow style. -->
663        <attr name="popupWindowStyle" format="reference" />
664        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
665        <attr name="progressBarStyle" format="reference" />
666        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
667        <attr name="progressBarStyleHorizontal" format="reference" />
668        <!-- Small ProgressBar style. This is a small circular progress bar. -->
669        <attr name="progressBarStyleSmall" format="reference" />
670        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
671        <attr name="progressBarStyleSmallTitle" format="reference" />
672        <!-- Large ProgressBar style. This is a large circular progress bar. -->
673        <attr name="progressBarStyleLarge" format="reference" />
674        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
675        <attr name="progressBarStyleInverse" format="reference" />
676        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
677        <attr name="progressBarStyleSmallInverse" format="reference" />
678        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
679        <attr name="progressBarStyleLargeInverse" format="reference" />
680        <!-- Default SeekBar style. -->
681        <attr name="seekBarStyle" format="reference" />
682        <!-- Default RatingBar style. -->
683        <attr name="ratingBarStyle" format="reference" />
684        <!-- Indicator RatingBar style. -->
685        <attr name="ratingBarStyleIndicator" format="reference" />
686        <!-- Small indicator RatingBar style. -->
687        <attr name="ratingBarStyleSmall" format="reference" />
688        <!-- Default RadioButton style. -->
689        <attr name="radioButtonStyle" format="reference" />
690        <!-- Default ScrollView style. -->
691        <attr name="scrollViewStyle" format="reference" />
692        <!-- Default HorizontalScrollView style. -->
693        <attr name="horizontalScrollViewStyle" format="reference" />
694        <!-- Default Spinner style. -->
695        <attr name="spinnerStyle" format="reference" />
696        <!-- Default dropdown Spinner style. -->
697        <attr name="dropDownSpinnerStyle" format="reference" />
698        <!-- Default ActionBar dropdown style. -->
699        <attr name="actionDropDownStyle" format="reference" />
700        <!-- Default action button style. -->
701        <attr name="actionButtonStyle" format="reference" />
702        <!-- Default Star style. -->
703        <attr name="starStyle" format="reference" />
704        <!-- Default TabWidget style. -->
705        <attr name="tabWidgetStyle" format="reference" />
706        <!-- Default TextView style. -->
707        <attr name="textViewStyle" format="reference" />
708        <!-- Default WebTextView style. -->
709        <attr name="webTextViewStyle" format="reference" />
710        <!-- Default WebView style. -->
711        <attr name="webViewStyle" format="reference" />
712        <!-- Default style for drop down items. -->
713        <attr name="dropDownItemStyle" format="reference" />
714         <!-- Default style for spinner drop down items. -->
715        <attr name="spinnerDropDownItemStyle" format="reference" />
716        <!-- Default style for drop down hints. -->
717        <attr name="dropDownHintAppearance" format="reference" />
718        <!-- Default spinner item style. -->
719        <attr name="spinnerItemStyle" format="reference" />
720        <!-- Default MapView style. -->
721        <attr name="mapViewStyle" format="reference" />
722        <!-- Drawable used as an overlay on top of quickcontact photos. -->
723        <attr name="quickContactBadgeOverlay" format="reference" />
724        <!-- Default quickcontact badge style with small quickcontact window. -->
725        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
726        <!-- Default quickcontact badge style with medium quickcontact window. -->
727        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
728        <!-- Default quickcontact badge style with large quickcontact window. -->
729        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
730        <!-- Default quickcontact badge style with small quickcontact window. -->
731        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
732        <!-- Default quickcontact badge style with medium quickcontact window. -->
733        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
734        <!-- Default quickcontact badge style with large quickcontact window. -->
735        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
736        <!-- Reference to a style that will be used for the window containing a text
737             selection anchor. -->
738        <attr name="textSelectHandleWindowStyle" format="reference" />
739        <!-- Reference to a style that will be used for the window containing a list of possible
740             text suggestions in an EditText. -->
741        <attr name="textSuggestionsWindowStyle" format="reference" />
742        <!-- Default ListPopupWindow style. -->
743        <attr name="listPopupWindowStyle" format="reference" />
744        <!-- Default PopupMenu style. -->
745        <attr name="popupMenuStyle" format="reference" />
746        <!-- Default context menu PopupMenu style. -->
747        <attr name="contextPopupMenuStyle" format="reference" />
748        <!-- Default StackView style. -->
749        <attr name="stackViewStyle" format="reference" />
750
751        <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated
752             starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). -->
753        <attr name="fragmentBreadCrumbsStyle" format="reference" />
754
755        <!-- NumberPicker style. -->
756        <attr name="numberPickerStyle" format="reference" />
757
758        <!-- The CalendarView style. -->
759        <attr name="calendarViewStyle" format="reference" />
760
761        <!-- The TimePicker style. -->
762        <attr name="timePickerStyle" format="reference" />
763
764        <!-- The TimePicker dialog theme. -->
765        <attr name="timePickerDialogTheme" format="reference" />
766
767        <!-- The DatePicker style. -->
768        <attr name="datePickerStyle" format="reference" />
769
770        <!-- The DatePicker dialog theme. -->
771        <attr name="datePickerDialogTheme" format="reference" />
772
773        <!-- Default ActivityChooserView style. -->
774        <attr name="activityChooserViewStyle" format="reference" />
775
776        <!-- Default Toolbar style. -->
777        <attr name="toolbarStyle" format="reference" />
778
779        <!-- Fast scroller styles -->
780        <eat-comment />
781
782        <!-- Drawable to use as the fast scroll thumb. -->
783        <attr name="fastScrollThumbDrawable" format="reference" />
784        <!-- Drawable to use as the fast scroll index preview window background
785             when shown on the right. -->
786        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
787        <!-- Drawable to use as the fast scroll index preview window background
788             when shown on the left. -->
789        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
790        <!-- Drawable to use as the track for the fast scroll thumb.
791             This may be null. -->
792        <attr name="fastScrollTrackDrawable" format="reference" />
793        <!-- Position of the fast scroll index overlay window. -->
794        <attr name="fastScrollOverlayPosition">
795            <enum name="floating" value="0" />
796            <enum name="atThumb" value="1" />
797            <enum name="aboveThumb" value="2" />
798        </attr>
799        <!-- Text color for the fast scroll index overlay. Make sure it
800             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
801        <attr name="fastScrollTextColor" format="color" />
802
803        <!-- =================== -->
804        <!-- Action bar styles   -->
805        <!-- =================== -->
806        <eat-comment />
807        <!-- Default style for tabs within an action bar -->
808        <attr name="actionBarTabStyle" format="reference" />
809        <attr name="actionBarTabBarStyle" format="reference" />
810        <attr name="actionBarTabTextStyle" format="reference" />
811        <attr name="actionOverflowButtonStyle" format="reference" />
812        <attr name="actionOverflowMenuStyle" format="reference" />
813        <!-- Reference to a theme that should be used to inflate popups
814             shown by widgets in the action bar. -->
815        <attr name="actionBarPopupTheme" format="reference" />
816        <!-- Reference to a style for the Action Bar -->
817        <attr name="actionBarStyle" format="reference" />
818        <!-- Reference to a style for the split Action Bar. This style
819             controls the split component that holds the menu/action
820             buttons. actionBarStyle is still used for the primary
821             bar. -->
822        <attr name="actionBarSplitStyle" format="reference" />
823        <!-- Reference to a theme that should be used to inflate the
824             action bar. This will be inherited by any widget inflated
825             into the action bar. -->
826        <attr name="actionBarTheme" format="reference" />
827        <!-- Reference to a theme that should be used to inflate widgets
828             and layouts destined for the action bar. Most of the time
829             this will be a reference to the current theme, but when
830             the action bar has a significantly different contrast
831             profile than the rest of the activity the difference
832             can become important. If this is set to @null the current
833             theme will be used.-->
834        <attr name="actionBarWidgetTheme" format="reference" />
835        <!-- Size of the Action Bar, including the contextual
836             bar used to present Action Modes. -->
837        <attr name="actionBarSize" format="dimension" >
838            <enum name="wrap_content" value="0" />
839        </attr>
840        <!-- Custom divider drawable to use for elements in the action bar. -->
841        <attr name="actionBarDivider" format="reference" />
842        <!-- Custom item state list drawable background for action bar items. -->
843        <attr name="actionBarItemBackground" format="reference" />
844        <!-- TextAppearance style that will be applied to text that
845             appears within action menu items. -->
846        <attr name="actionMenuTextAppearance" format="reference" />
847        <!-- Color for text that appears within action menu items. -->
848        <attr name="actionMenuTextColor" format="color|reference" />
849
850        <!-- =================== -->
851        <!-- Action mode styles  -->
852        <!-- =================== -->
853        <eat-comment />
854        <attr name="actionModeStyle" format="reference" />
855        <attr name="actionModeCloseButtonStyle" format="reference" />
856        <!-- Background drawable to use for action mode UI -->
857        <attr name="actionModeBackground" format="reference" />
858        <!-- Background drawable to use for action mode UI in the lower split bar -->
859        <attr name="actionModeSplitBackground" format="reference" />
860        <!-- Drawable to use for the close action mode button -->
861        <attr name="actionModeCloseDrawable" format="reference" />
862
863        <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
864        <attr name="actionModeCutDrawable" format="reference" />
865        <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
866        <attr name="actionModeCopyDrawable" format="reference" />
867        <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
868        <attr name="actionModePasteDrawable" format="reference" />
869        <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
870        <attr name="actionModeSelectAllDrawable" format="reference" />
871        <!-- Drawable to use for the Share action button in WebView selection action modes -->
872        <attr name="actionModeShareDrawable" format="reference" />
873        <!-- Drawable to use for the Find action button in WebView selection action modes -->
874        <attr name="actionModeFindDrawable" format="reference" />
875        <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
876        <attr name="actionModeWebSearchDrawable" format="reference" />
877
878        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
879        <attr name="actionModePopupWindowStyle" format="reference" />
880
881        <!-- =================== -->
882        <!-- Preference styles   -->
883        <!-- =================== -->
884        <eat-comment />
885
886        <!-- Default style for PreferenceScreen. -->
887        <attr name="preferenceScreenStyle" format="reference" />
888        <!-- Default style for the PreferenceActivity. -->
889        <attr name="preferenceActivityStyle" format="reference" />
890        <!-- Default style for Headers pane in PreferenceActivity. -->
891        <attr name="preferenceFragmentStyle" format="reference" />
892        <!-- Default style for PreferenceCategory. -->
893        <attr name="preferenceCategoryStyle" format="reference" />
894        <!-- Default style for Preference. -->
895        <attr name="preferenceStyle" format="reference" />
896        <!-- Default style for informational Preference. -->
897        <attr name="preferenceInformationStyle" format="reference" />
898        <!-- Default style for CheckBoxPreference. -->
899        <attr name="checkBoxPreferenceStyle" format="reference" />
900        <!-- Default style for YesNoPreference. -->
901        <attr name="yesNoPreferenceStyle" format="reference" />
902        <!-- Default style for DialogPreference. -->
903        <attr name="dialogPreferenceStyle" format="reference" />
904        <!-- Default style for EditTextPreference. -->
905        <attr name="editTextPreferenceStyle" format="reference" />
906        <!-- @hide Default style for SeekBarDialogPreference. -->
907        <attr name="seekBarDialogPreferenceStyle" format="reference" />
908        <!-- Default style for RingtonePreference. -->
909        <attr name="ringtonePreferenceStyle" format="reference" />
910        <!-- The preference layout that has the child/tabbed effect. -->
911        <attr name="preferenceLayoutChild" format="reference" />
912        <!-- Preference panel style -->
913        <attr name="preferencePanelStyle" format="reference" />
914        <!-- Preference headers panel style -->
915        <attr name="preferenceHeaderPanelStyle" format="reference" />
916        <!-- Preference list style -->
917        <attr name="preferenceListStyle" format="reference" />
918        <!-- Preference fragment list style -->
919        <attr name="preferenceFragmentListStyle" format="reference" />
920        <!-- Preference fragment padding side -->
921        <attr name="preferenceFragmentPaddingSide" format="dimension" />
922        <!-- Default style for switch preferences. -->
923        <attr name="switchPreferenceStyle" format="reference" />
924        <!-- Default style for seekbar preferences. -->
925        <attr name="seekBarPreferenceStyle" format="reference" />
926
927        <!-- ============================ -->
928        <!-- Text selection handle styles -->
929        <!-- ============================ -->
930        <eat-comment />
931
932        <!-- Reference to a drawable that will be used to display a text selection
933             anchor on the left side of a selection region. -->
934        <attr name="textSelectHandleLeft" format="reference" />
935        <!-- Reference to a drawable that will be used to display a text selection
936             anchor on the right side of a selection region. -->
937        <attr name="textSelectHandleRight" format="reference" />
938        <!-- Reference to a drawable that will be used to display a text selection
939             anchor for positioning the cursor within text. -->
940        <attr name="textSelectHandle" format="reference" />
941        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
942             TextEdit field. -->
943        <attr name="textEditPasteWindowLayout" format="reference" />
944        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
945        <attr name="textEditNoPasteWindowLayout" format="reference" />
946        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
947             insertion cursor because it would be clipped if it were positioned on top. -->
948        <attr name="textEditSidePasteWindowLayout" format="reference" />
949        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
950        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
951
952        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
953        <attr name="textEditSuggestionItemLayout" format="reference" />
954        <!-- Layout of the container of the suggestion popup window. -->
955        <attr name="textEditSuggestionContainerLayout" format="reference" />
956        <!-- Text appearance of the focused words to be replaced by suggested word. -->
957        <attr name="textEditSuggestionHighlightStyle" format="reference" />
958
959        <!-- Theme to use for dialogs spawned from this theme. -->
960        <attr name="dialogTheme" format="reference" />
961        <!-- Window decor layout to use in dialog mode with icons. -->
962        <attr name="dialogTitleIconsDecorLayout" format="reference" />
963        <!-- Window decor layout to use in dialog mode with custom titles. -->
964        <attr name="dialogCustomTitleDecorLayout" format="reference" />
965        <!-- Window decor layout to use in dialog mode with title only. -->
966        <attr name="dialogTitleDecorLayout" format="reference" />
967        <!-- Preferred padding for dialog content. -->
968        <attr name="dialogPreferredPadding" format="dimension" />
969
970        <!-- Theme to use for alert dialogs spawned from this theme. -->
971        <attr name="alertDialogTheme" format="reference" />
972        <!-- Icon drawable to use for alerts -->
973        <attr name="alertDialogIcon" format="reference" />
974
975        <!-- Theme to use for presentations spawned from this theme. -->
976        <attr name="presentationTheme" format="reference" />
977
978        <!-- Drawable to use for generic vertical dividers. -->
979        <attr name="dividerVertical" format="reference" />
980
981        <!-- Drawable to use for generic horizontal dividers. -->
982        <attr name="dividerHorizontal" format="reference" />
983
984        <!-- Style for button bars -->
985        <attr name="buttonBarStyle" format="reference" />
986
987        <!-- Style for buttons within button bars -->
988        <attr name="buttonBarButtonStyle" format="reference" />
989
990        <!-- Style for the "positive" buttons within button bars -->
991        <attr name="buttonBarPositiveButtonStyle" format="reference" />
992
993        <!-- Style for the "negative" buttons within button bars -->
994        <attr name="buttonBarNegativeButtonStyle" format="reference" />
995
996        <!-- Style for the "neutral" buttons within button bars -->
997        <attr name="buttonBarNeutralButtonStyle" format="reference" />
998
999        <!-- Style for the search query widget. -->
1000        <attr name="searchViewStyle" format="reference" />
1001
1002        <!-- Style for segmented buttons - a container that houses several buttons
1003             with the appearance of a singel button broken into segments. -->
1004        <attr name="segmentedButtonStyle" format="reference" />
1005
1006        <!-- Background drawable for bordered standalone items that need focus/pressed states. -->
1007        <attr name="selectableItemBackground" format="reference" />
1008
1009        <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
1010        <attr name="selectableItemBackgroundBorderless" format="reference" />
1011
1012        <!-- Style for buttons without an explicit border, often used in groups. -->
1013        <attr name="borderlessButtonStyle" format="reference" />
1014
1015        <!-- Background to use for toasts -->
1016        <attr name="toastFrameBackground" format="reference" />
1017
1018        <!-- Background to use for tooltip popups -->
1019        <attr name="tooltipFrameBackground" format="reference" />
1020
1021        <!-- Foreground color to use for tooltip popups -->
1022        <attr name="tooltipForegroundColor" format="reference|color" />
1023
1024        <!-- Background color to use for tooltip popups -->
1025        <attr name="tooltipBackgroundColor" format="reference|color" />
1026
1027        <!-- Theme to use for Search Dialogs -->
1028        <attr name="searchDialogTheme" format="reference" />
1029
1030        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
1031        <attr name="homeAsUpIndicator" format="reference" />
1032
1033        <!-- Preference frame layout styles. -->
1034        <attr name="preferenceFrameLayoutStyle" format="reference" />
1035
1036        <!-- Default style for the Switch widget. -->
1037        <attr name="switchStyle" format="reference" />
1038
1039        <!-- Default style for the MediaRouteButton widget. -->
1040        <attr name="mediaRouteButtonStyle" format="reference" />
1041
1042        <!-- ============== -->
1043        <!-- Pointer styles -->
1044        <!-- ============== -->
1045        <eat-comment />
1046
1047        <!-- The drawable for accessibility focused views. -->
1048        <attr name="accessibilityFocusedDrawable" format="reference" />
1049
1050        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
1051        <attr name="findOnPageNextDrawable" format="reference" />
1052
1053        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
1054        <attr name="findOnPagePreviousDrawable" format="reference" />
1055
1056        <!-- ============= -->
1057        <!-- Color palette -->
1058        <!-- ============= -->
1059        <eat-comment />
1060
1061        <!-- The primary branding color for the app. By default, this is the color applied to the
1062             action bar background. -->
1063        <attr name="colorPrimary" format="color" />
1064
1065        <!-- Dark variant of the primary branding color. By default, this is the color applied to
1066             the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
1067        <attr name="colorPrimaryDark" format="color" />
1068
1069        <!-- The secondary branding color for the app. -->
1070        <attr name="colorSecondary" format="color" />
1071
1072        <!-- Bright complement to the primary branding color. By default, this is the color applied
1073             to framework controls (via colorControlActivated). -->
1074        <attr name="colorAccent" format="color" />
1075
1076        <!-- The color applied to framework controls in their normal state. -->
1077        <attr name="colorControlNormal" format="color" />
1078
1079        <!-- The color applied to framework controls in their activated (ex. checked) state. -->
1080        <attr name="colorControlActivated" format="color" />
1081
1082        <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
1083        <attr name="colorControlHighlight" format="color" />
1084
1085        <!-- The color applied to framework buttons in their normal state. -->
1086        <attr name="colorButtonNormal" format="color" />
1087
1088        <!-- The color applied to framework switch thumbs in their normal state. -->
1089        <attr name="colorSwitchThumbNormal" format="color" />
1090
1091        <!-- The color applied to the edge effect on scrolling containers. -->
1092        <attr name="colorEdgeEffect" format="color" />
1093
1094        <!-- =================== -->
1095        <!-- Lighting properties -->
1096        <!-- =================== -->
1097        <eat-comment />
1098
1099        <!-- @hide The default Y position of the light used to project view shadows. -->
1100        <attr name="lightY" format="dimension" />
1101
1102        <!-- @hide The default Z position of the light used to project view shadows. -->
1103        <attr name="lightZ" format="dimension" />
1104
1105        <!-- @hide The default radius of the light used to project view shadows. -->
1106        <attr name="lightRadius" format="dimension" />
1107
1108        <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. -->
1109        <attr name="ambientShadowAlpha" format="float" />
1110
1111        <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. -->
1112        <attr name="spotShadowAlpha" format="float" />
1113    </declare-styleable>
1114
1115    <!-- **************************************************************** -->
1116    <!-- Other non-theme attributes. -->
1117    <!-- **************************************************************** -->
1118    <eat-comment />
1119
1120    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
1121         Supported values include the following:<p/>
1122    <ul>
1123        <li><b>px</b> Pixels</li>
1124        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
1125        <li><b>pt</b> Points</li>
1126        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
1127    </ul>
1128        -->
1129    <attr name="textSize" format="dimension" />
1130
1131    <!-- Default font family. -->
1132    <attr name="fontFamily" format="string" />
1133
1134    <!-- Default text typeface. -->
1135    <attr name="typeface">
1136        <enum name="normal" value="0" />
1137        <enum name="sans" value="1" />
1138        <enum name="serif" value="2" />
1139        <enum name="monospace" value="3" />
1140    </attr>
1141
1142    <!-- Default text typeface style. -->
1143    <attr name="textStyle">
1144        <flag name="normal" value="0" />
1145        <flag name="bold" value="1" />
1146        <flag name="italic" value="2" />
1147    </attr>
1148
1149    <!-- Color of text (usually same as colorForeground). -->
1150    <attr name="textColor" format="reference|color" />
1151
1152    <!-- Color of highlighted text. -->
1153    <attr name="textColorHighlight" format="reference|color" />
1154
1155    <!-- Color of hint text (displayed when the field is empty). -->
1156    <attr name="textColorHint" format="reference|color" />
1157
1158    <!-- Color of link text (URLs). -->
1159    <attr name="textColorLink" format="reference|color" />
1160
1161    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1162    <attr name="textCursorDrawable" format="reference" />
1163
1164    <!-- Indicates that the content of a non-editable TextView can be selected.
1165     Default value is false. EditText content is always selectable. -->
1166    <attr name="textIsSelectable" format="boolean" />
1167
1168    <!-- Where to ellipsize text. -->
1169    <attr name="ellipsize">
1170        <enum name="none" value="0" />
1171        <enum name="start" value="1" />
1172        <enum name="middle" value="2" />
1173        <enum name="end" value="3" />
1174        <enum name="marquee" value="4" />
1175    </attr>
1176
1177    <!-- The type of data being placed in a text field, used to help an
1178         input method decide how to let the user enter text.  The constants
1179         here correspond to those defined by
1180         {@link android.text.InputType}.  Generally you can select
1181         a single value, though some can be combined together as
1182         indicated.  Setting this attribute to anything besides
1183         <var>none</var> also implies that the text is editable. -->
1184    <attr name="inputType">
1185        <!-- There is no content type.  The text is not editable. -->
1186        <flag name="none" value="0x00000000" />
1187        <!-- Just plain old text.  Corresponds to
1188             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1189             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1190        <flag name="text" value="0x00000001" />
1191        <!-- Can be combined with <var>text</var> and its variations to
1192             request capitalization of all characters.  Corresponds to
1193             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1194        <flag name="textCapCharacters" value="0x00001001" />
1195        <!-- Can be combined with <var>text</var> and its variations to
1196             request capitalization of the first character of every word.  Corresponds to
1197             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1198        <flag name="textCapWords" value="0x00002001" />
1199        <!-- Can be combined with <var>text</var> and its variations to
1200             request capitalization of the first character of every sentence.  Corresponds to
1201             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1202        <flag name="textCapSentences" value="0x00004001" />
1203        <!-- Can be combined with <var>text</var> and its variations to
1204             request auto-correction of text being input.  Corresponds to
1205             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1206        <flag name="textAutoCorrect" value="0x00008001" />
1207        <!-- Can be combined with <var>text</var> and its variations to
1208             specify that this field will be doing its own auto-completion and
1209             talking with the input method appropriately.  Corresponds to
1210             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1211        <flag name="textAutoComplete" value="0x00010001" />
1212        <!-- Can be combined with <var>text</var> and its variations to
1213             allow multiple lines of text in the field.  If this flag is not set,
1214             the text field will be constrained to a single line.  Corresponds to
1215             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1216        <flag name="textMultiLine" value="0x00020001" />
1217        <!-- Can be combined with <var>text</var> and its variations to
1218             indicate that though the regular text view should not be multiple
1219             lines, the IME should provide multiple lines if it can.  Corresponds to
1220             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1221        <flag name="textImeMultiLine" value="0x00040001" />
1222        <!-- Can be combined with <var>text</var> and its variations to
1223             indicate that the IME should not show any
1224             dictionary-based word suggestions.  Corresponds to
1225             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1226        <flag name="textNoSuggestions" value="0x00080001" />
1227        <!-- Text that will be used as a URI.  Corresponds to
1228             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1229             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1230        <flag name="textUri" value="0x00000011" />
1231        <!-- Text that will be used as an e-mail address.  Corresponds to
1232             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1233             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1234        <flag name="textEmailAddress" value="0x00000021" />
1235        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1236             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1237             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1238        <flag name="textEmailSubject" value="0x00000031" />
1239        <!-- Text that is the content of a short message.  Corresponds to
1240             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1241             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1242        <flag name="textShortMessage" value="0x00000041" />
1243        <!-- Text that is the content of a long message.  Corresponds to
1244             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1245             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1246        <flag name="textLongMessage" value="0x00000051" />
1247        <!-- Text that is the name of a person.  Corresponds to
1248             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1249             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1250        <flag name="textPersonName" value="0x00000061" />
1251        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1252             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1253             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1254        <flag name="textPostalAddress" value="0x00000071" />
1255        <!-- Text that is a password.  Corresponds to
1256             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1257             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1258        <flag name="textPassword" value="0x00000081" />
1259        <!-- Text that is a password that should be visible.  Corresponds to
1260             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1261             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1262        <flag name="textVisiblePassword" value="0x00000091" />
1263        <!-- Text that is being supplied as text in a web form.  Corresponds to
1264             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1265             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1266        <flag name="textWebEditText" value="0x000000a1" />
1267        <!-- Text that is filtering some other data.  Corresponds to
1268             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1269             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1270        <flag name="textFilter" value="0x000000b1" />
1271        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1272             field in a contact entry.  Corresponds to
1273             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1274             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1275        <flag name="textPhonetic" value="0x000000c1" />
1276        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1277             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1278             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1279        <flag name="textWebEmailAddress" value="0x000000d1" />
1280        <!-- Text that will be used as a password on a web form.  Corresponds to
1281             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1282             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1283        <flag name="textWebPassword" value="0x000000e1" />
1284        <!-- A numeric only field.  Corresponds to
1285             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1286             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1287        <flag name="number" value="0x00000002" />
1288        <!-- Can be combined with <var>number</var> and its other options to
1289             allow a signed number.  Corresponds to
1290             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1291             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1292        <flag name="numberSigned" value="0x00001002" />
1293        <!-- Can be combined with <var>number</var> and its other options to
1294             allow a decimal (fractional) number.  Corresponds to
1295             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1296             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1297        <flag name="numberDecimal" value="0x00002002" />
1298        <!-- A numeric password field.  Corresponds to
1299             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1300             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1301        <flag name="numberPassword" value="0x00000012" />
1302        <!-- For entering a phone number.  Corresponds to
1303             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1304        <flag name="phone" value="0x00000003" />
1305        <!-- For entering a date and time.  Corresponds to
1306             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1307             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1308        <flag name="datetime" value="0x00000004" />
1309        <!-- For entering a date.  Corresponds to
1310             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1311             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1312        <flag name="date" value="0x00000014" />
1313        <!-- For entering a time.  Corresponds to
1314             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1315             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1316        <flag name="time" value="0x00000024" />
1317    </attr>
1318
1319    <!-- Additional features you can enable in an IME associated with an editor
1320         to improve the integration with your application.  The constants
1321         here correspond to those defined by
1322         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1323    <attr name="imeOptions">
1324        <!-- There are no special semantics associated with this editor. -->
1325        <flag name="normal" value="0x00000000" />
1326        <!-- There is no specific action associated with this editor, let the
1327             editor come up with its own if it can.
1328             Corresponds to
1329             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1330        <flag name="actionUnspecified" value="0x00000000" />
1331        <!-- This editor has no action associated with it.
1332             Corresponds to
1333             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1334        <flag name="actionNone" value="0x00000001" />
1335        <!-- The action key performs a "go"
1336             operation to take the user to the target of the text they typed.
1337             Typically used, for example, when entering a URL.
1338             Corresponds to
1339             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1340        <flag name="actionGo" value="0x00000002" />
1341        <!-- The action key performs a "search"
1342             operation, taking the user to the results of searching for the text
1343             the have typed (in whatever context is appropriate).
1344             Corresponds to
1345             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1346        <flag name="actionSearch" value="0x00000003" />
1347        <!-- The action key performs a "send"
1348             operation, delivering the text to its target.  This is typically used
1349             when composing a message.
1350             Corresponds to
1351             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1352        <flag name="actionSend" value="0x00000004" />
1353        <!-- The action key performs a "next"
1354             operation, taking the user to the next field that will accept text.
1355             Corresponds to
1356             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1357        <flag name="actionNext" value="0x00000005" />
1358        <!-- The action key performs a "done"
1359             operation, closing the soft input method.
1360             Corresponds to
1361             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1362        <flag name="actionDone" value="0x00000006" />
1363        <!-- The action key performs a "previous"
1364             operation, taking the user to the previous field that will accept text.
1365             Corresponds to
1366             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1367        <flag name="actionPrevious" value="0x00000007" />
1368        <!-- Used to request that the IME never go
1369             into fullscreen mode.  Applications need to be aware that the flag is not
1370             a guarantee, and not all IMEs will respect it.
1371             <p>Corresponds to
1372             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1373        <flag name="flagNoFullscreen" value="0x2000000" />
1374        <!-- Like flagNavigateNext, but
1375             specifies there is something interesting that a backward navigation
1376             can focus on.  If the user selects the IME's facility to backward
1377             navigate, this will show up in the application as an actionPrevious
1378             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1379             InputConnection.performEditorAction(int)}.
1380             <p>Corresponds to
1381             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1382        <flag name="flagNavigatePrevious" value="0x4000000" />
1383        <!-- Used to specify that there is something
1384             interesting that a forward navigation can focus on. This is like using
1385             actionNext, except allows the IME to be multiline (with
1386             an enter key) as well as provide forward navigation.  Note that some
1387             IMEs may not be able to do this, especially when running on a small
1388             screen where there is little space.  In that case it does not need to
1389             present a UI for this option.  Like actionNext, if the
1390             user selects the IME's facility to forward navigate, this will show up
1391             in the application at
1392             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1393             InputConnection.performEditorAction(int)}.
1394             <p>Corresponds to
1395             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1396        <flag name="flagNavigateNext" value="0x8000000" />
1397        <!-- Used to specify that the IME does not need
1398             to show its extracted text UI.  For input methods that may be fullscreen,
1399             often when in landscape mode, this allows them to be smaller and let part
1400             of the application be shown behind.  Though there will likely be limited
1401             access to the application available from the user, it can make the
1402             experience of a (mostly) fullscreen IME less jarring.  Note that when
1403             this flag is specified the IME may <em>not</em> be set up to be able
1404             to display text, so it should only be used in situations where this is
1405             not needed.
1406             <p>Corresponds to
1407             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1408        <flag name="flagNoExtractUi" value="0x10000000" />
1409        <!-- Used in conjunction with a custom action, this indicates that the
1410             action should not be available as an accessory button when the
1411             input method is full-screen.
1412             Note that by setting this flag, there can be cases where the action
1413             is simply never available to the user.  Setting this generally means
1414             that you think showing text being edited is more important than the
1415             action you have supplied.
1416             <p>Corresponds to
1417             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1418        <flag name="flagNoAccessoryAction" value="0x20000000" />
1419        <!-- Used in conjunction with a custom action,
1420             this indicates that the action should not be available in-line as
1421             a replacement for the "enter" key.  Typically this is
1422             because the action has such a significant impact or is not recoverable
1423             enough that accidentally hitting it should be avoided, such as sending
1424             a message.    Note that {@link android.widget.TextView} will
1425             automatically set this flag for you on multi-line text views.
1426             <p>Corresponds to
1427             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1428        <flag name="flagNoEnterAction" value="0x40000000" />
1429        <!-- Used to request that the IME should be capable of inputting ASCII
1430             characters.  The intention of this flag is to ensure that the user
1431             can type Roman alphabet characters in a {@link android.widget.TextView}
1432             used for, typically, account ID or password input.  It is expected that IMEs
1433             normally are able to input ASCII even without being told so (such IMEs
1434             already respect this flag in a sense), but there could be some cases they
1435             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1436             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1437             aware that the flag is not a guarantee, and not all IMEs will respect it.
1438             However, it is strongly recommended for IME authors to respect this flag
1439             especially when their IME could end up with a state that has only non-ASCII
1440             input languages enabled.
1441             <p>Corresponds to
1442             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1443        <flag name="flagForceAscii" value="0x80000000" />
1444    </attr>
1445
1446    <!-- A coordinate in the X dimension. -->
1447    <attr name="x" format="dimension" />
1448    <!-- A coordinate in the Y dimension. -->
1449    <attr name="y" format="dimension" />
1450
1451    <!-- Specifies how an object should position its content, on both the X and Y axes,
1452         within its own bounds.  -->
1453    <attr name="gravity">
1454        <!-- Push object to the top of its container, not changing its size. -->
1455        <flag name="top" value="0x30" />
1456        <!-- Push object to the bottom of its container, not changing its size. -->
1457        <flag name="bottom" value="0x50" />
1458        <!-- Push object to the left of its container, not changing its size. -->
1459        <flag name="left" value="0x03" />
1460        <!-- Push object to the right of its container, not changing its size. -->
1461        <flag name="right" value="0x05" />
1462        <!-- Place object in the vertical center of its container, not changing its size. -->
1463        <flag name="center_vertical" value="0x10" />
1464        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1465        <flag name="fill_vertical" value="0x70" />
1466        <!-- Place object in the horizontal center of its container, not changing its size. -->
1467        <flag name="center_horizontal" value="0x01" />
1468        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1469        <flag name="fill_horizontal" value="0x07" />
1470        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1471        <flag name="center" value="0x11" />
1472        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1473        <flag name="fill" value="0x77" />
1474        <!-- Additional option that can be set to have the top and/or bottom edges of
1475             the child clipped to its container's bounds.
1476             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1477             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1478        <flag name="clip_vertical" value="0x80" />
1479        <!-- Additional option that can be set to have the left and/or right edges of
1480             the child clipped to its container's bounds.
1481             The clip will be based on the horizontal gravity: a left gravity will clip the right
1482             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1483        <flag name="clip_horizontal" value="0x08" />
1484        <!-- Push object to the beginning of its container, not changing its size. -->
1485        <flag name="start" value="0x00800003" />
1486        <!-- Push object to the end of its container, not changing its size. -->
1487        <flag name="end" value="0x00800005" />
1488    </attr>
1489
1490    <!-- Controls whether links such as urls and email addresses are
1491         automatically found and converted to clickable links.  The default
1492         value is "none", disabling this feature. -->
1493    <attr name="autoLink">
1494        <!-- Match no patterns (default). -->
1495        <flag name="none" value="0x00" />
1496        <!-- Match Web URLs. -->
1497        <flag name="web" value="0x01" />
1498        <!-- Match email addresses. -->
1499        <flag name="email" value="0x02" />
1500        <!-- Match phone numbers. -->
1501        <flag name="phone" value="0x04" />
1502        <!-- Match map addresses. -->
1503        <flag name="map" value="0x08" />
1504        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1505        <flag name="all" value="0x0f" />
1506    </attr>
1507
1508    <!-- Reference to an array resource that will populate a list/adapter. -->
1509    <attr name="entries" format="reference" />
1510
1511    <!-- Standard gravity constant that a child supplies to its parent.
1512         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1513    <attr name="layout_gravity">
1514        <!-- Push object to the top of its container, not changing its size. -->
1515        <flag name="top" value="0x30" />
1516        <!-- Push object to the bottom of its container, not changing its size. -->
1517        <flag name="bottom" value="0x50" />
1518        <!-- Push object to the left of its container, not changing its size. -->
1519        <flag name="left" value="0x03" />
1520        <!-- Push object to the right of its container, not changing its size. -->
1521        <flag name="right" value="0x05" />
1522        <!-- Place object in the vertical center of its container, not changing its size. -->
1523        <flag name="center_vertical" value="0x10" />
1524        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1525        <flag name="fill_vertical" value="0x70" />
1526        <!-- Place object in the horizontal center of its container, not changing its size. -->
1527        <flag name="center_horizontal" value="0x01" />
1528        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1529        <flag name="fill_horizontal" value="0x07" />
1530        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1531        <flag name="center" value="0x11" />
1532        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1533        <flag name="fill" value="0x77" />
1534        <!-- Additional option that can be set to have the top and/or bottom edges of
1535             the child clipped to its container's bounds.
1536             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1537             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1538        <flag name="clip_vertical" value="0x80" />
1539        <!-- Additional option that can be set to have the left and/or right edges of
1540             the child clipped to its container's bounds.
1541             The clip will be based on the horizontal gravity: a left gravity will clip the right
1542             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1543        <flag name="clip_horizontal" value="0x08" />
1544        <!-- Push object to the beginning of its container, not changing its size. -->
1545        <flag name="start" value="0x00800003" />
1546        <!-- Push object to the end of its container, not changing its size. -->
1547        <flag name="end" value="0x00800005" />
1548    </attr>
1549
1550    <!-- Standard orientation constant. -->
1551    <attr name="orientation">
1552        <!-- Defines an horizontal widget. -->
1553        <enum name="horizontal" value="0" />
1554        <!-- Defines a vertical widget. -->
1555        <enum name="vertical" value="1" />
1556    </attr>
1557
1558    <!-- Alignment constants. -->
1559    <attr name="alignmentMode">
1560        <!-- Align the bounds of the children.
1561        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1562        <enum name="alignBounds" value="0" />
1563        <!-- Align the margins of the children.
1564        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1565        <enum name="alignMargins" value="1" />
1566    </attr>
1567
1568    <!-- ========================== -->
1569    <!-- Key Codes                  -->
1570    <!-- ========================== -->
1571    <eat-comment />
1572
1573    <!-- This enum provides the same keycode values as can be found in
1574        {@link android.view.KeyEvent}. -->
1575    <attr name="keycode">
1576        <enum name="KEYCODE_UNKNOWN" value="0" />
1577        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1578        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1579        <enum name="KEYCODE_HOME" value="3" />
1580        <enum name="KEYCODE_BACK" value="4" />
1581        <enum name="KEYCODE_CALL" value="5" />
1582        <enum name="KEYCODE_ENDCALL" value="6" />
1583        <enum name="KEYCODE_0" value="7" />
1584        <enum name="KEYCODE_1" value="8" />
1585        <enum name="KEYCODE_2" value="9" />
1586        <enum name="KEYCODE_3" value="10" />
1587        <enum name="KEYCODE_4" value="11" />
1588        <enum name="KEYCODE_5" value="12" />
1589        <enum name="KEYCODE_6" value="13" />
1590        <enum name="KEYCODE_7" value="14" />
1591        <enum name="KEYCODE_8" value="15" />
1592        <enum name="KEYCODE_9" value="16" />
1593        <enum name="KEYCODE_STAR" value="17" />
1594        <enum name="KEYCODE_POUND" value="18" />
1595        <enum name="KEYCODE_DPAD_UP" value="19" />
1596        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1597        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1598        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1599        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1600        <enum name="KEYCODE_VOLUME_UP" value="24" />
1601        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1602        <enum name="KEYCODE_POWER" value="26" />
1603        <enum name="KEYCODE_CAMERA" value="27" />
1604        <enum name="KEYCODE_CLEAR" value="28" />
1605        <enum name="KEYCODE_A" value="29" />
1606        <enum name="KEYCODE_B" value="30" />
1607        <enum name="KEYCODE_C" value="31" />
1608        <enum name="KEYCODE_D" value="32" />
1609        <enum name="KEYCODE_E" value="33" />
1610        <enum name="KEYCODE_F" value="34" />
1611        <enum name="KEYCODE_G" value="35" />
1612        <enum name="KEYCODE_H" value="36" />
1613        <enum name="KEYCODE_I" value="37" />
1614        <enum name="KEYCODE_J" value="38" />
1615        <enum name="KEYCODE_K" value="39" />
1616        <enum name="KEYCODE_L" value="40" />
1617        <enum name="KEYCODE_M" value="41" />
1618        <enum name="KEYCODE_N" value="42" />
1619        <enum name="KEYCODE_O" value="43" />
1620        <enum name="KEYCODE_P" value="44" />
1621        <enum name="KEYCODE_Q" value="45" />
1622        <enum name="KEYCODE_R" value="46" />
1623        <enum name="KEYCODE_S" value="47" />
1624        <enum name="KEYCODE_T" value="48" />
1625        <enum name="KEYCODE_U" value="49" />
1626        <enum name="KEYCODE_V" value="50" />
1627        <enum name="KEYCODE_W" value="51" />
1628        <enum name="KEYCODE_X" value="52" />
1629        <enum name="KEYCODE_Y" value="53" />
1630        <enum name="KEYCODE_Z" value="54" />
1631        <enum name="KEYCODE_COMMA" value="55" />
1632        <enum name="KEYCODE_PERIOD" value="56" />
1633        <enum name="KEYCODE_ALT_LEFT" value="57" />
1634        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1635        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1636        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1637        <enum name="KEYCODE_TAB" value="61" />
1638        <enum name="KEYCODE_SPACE" value="62" />
1639        <enum name="KEYCODE_SYM" value="63" />
1640        <enum name="KEYCODE_EXPLORER" value="64" />
1641        <enum name="KEYCODE_ENVELOPE" value="65" />
1642        <enum name="KEYCODE_ENTER" value="66" />
1643        <enum name="KEYCODE_DEL" value="67" />
1644        <enum name="KEYCODE_GRAVE" value="68" />
1645        <enum name="KEYCODE_MINUS" value="69" />
1646        <enum name="KEYCODE_EQUALS" value="70" />
1647        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1648        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1649        <enum name="KEYCODE_BACKSLASH" value="73" />
1650        <enum name="KEYCODE_SEMICOLON" value="74" />
1651        <enum name="KEYCODE_APOSTROPHE" value="75" />
1652        <enum name="KEYCODE_SLASH" value="76" />
1653        <enum name="KEYCODE_AT" value="77" />
1654        <enum name="KEYCODE_NUM" value="78" />
1655        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1656        <enum name="KEYCODE_FOCUS" value="80" />
1657        <enum name="KEYCODE_PLUS" value="81" />
1658        <enum name="KEYCODE_MENU" value="82" />
1659        <enum name="KEYCODE_NOTIFICATION" value="83" />
1660        <enum name="KEYCODE_SEARCH" value="84" />
1661        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1662        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1663        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1664        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1665        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1666        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1667        <enum name="KEYCODE_MUTE" value="91" />
1668        <enum name="KEYCODE_PAGE_UP" value="92" />
1669        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1670        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1671        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1672        <enum name="KEYCODE_BUTTON_A" value="96" />
1673        <enum name="KEYCODE_BUTTON_B" value="97" />
1674        <enum name="KEYCODE_BUTTON_C" value="98" />
1675        <enum name="KEYCODE_BUTTON_X" value="99" />
1676        <enum name="KEYCODE_BUTTON_Y" value="100" />
1677        <enum name="KEYCODE_BUTTON_Z" value="101" />
1678        <enum name="KEYCODE_BUTTON_L1" value="102" />
1679        <enum name="KEYCODE_BUTTON_R1" value="103" />
1680        <enum name="KEYCODE_BUTTON_L2" value="104" />
1681        <enum name="KEYCODE_BUTTON_R2" value="105" />
1682        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1683        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1684        <enum name="KEYCODE_BUTTON_START" value="108" />
1685        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1686        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1687        <enum name="KEYCODE_ESCAPE" value="111" />
1688        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1689        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1690        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1691        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1692        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1693        <enum name="KEYCODE_META_LEFT" value="117" />
1694        <enum name="KEYCODE_META_RIGHT" value="118" />
1695        <enum name="KEYCODE_FUNCTION" value="119" />
1696        <enum name="KEYCODE_SYSRQ" value="120" />
1697        <enum name="KEYCODE_BREAK" value="121" />
1698        <enum name="KEYCODE_MOVE_HOME" value="122" />
1699        <enum name="KEYCODE_MOVE_END" value="123" />
1700        <enum name="KEYCODE_INSERT" value="124" />
1701        <enum name="KEYCODE_FORWARD" value="125" />
1702        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1703        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1704        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1705        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1706        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1707        <enum name="KEYCODE_F1" value="131" />
1708        <enum name="KEYCODE_F2" value="132" />
1709        <enum name="KEYCODE_F3" value="133" />
1710        <enum name="KEYCODE_F4" value="134" />
1711        <enum name="KEYCODE_F5" value="135" />
1712        <enum name="KEYCODE_F6" value="136" />
1713        <enum name="KEYCODE_F7" value="137" />
1714        <enum name="KEYCODE_F8" value="138" />
1715        <enum name="KEYCODE_F9" value="139" />
1716        <enum name="KEYCODE_F10" value="140" />
1717        <enum name="KEYCODE_F11" value="141" />
1718        <enum name="KEYCODE_F12" value="142" />
1719        <enum name="KEYCODE_NUM_LOCK" value="143" />
1720        <enum name="KEYCODE_NUMPAD_0" value="144" />
1721        <enum name="KEYCODE_NUMPAD_1" value="145" />
1722        <enum name="KEYCODE_NUMPAD_2" value="146" />
1723        <enum name="KEYCODE_NUMPAD_3" value="147" />
1724        <enum name="KEYCODE_NUMPAD_4" value="148" />
1725        <enum name="KEYCODE_NUMPAD_5" value="149" />
1726        <enum name="KEYCODE_NUMPAD_6" value="150" />
1727        <enum name="KEYCODE_NUMPAD_7" value="151" />
1728        <enum name="KEYCODE_NUMPAD_8" value="152" />
1729        <enum name="KEYCODE_NUMPAD_9" value="153" />
1730        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1731        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1732        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1733        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1734        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1735        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1736        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1737        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1738        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1739        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1740        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1741        <enum name="KEYCODE_INFO" value="165" />
1742        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1743        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1744        <enum name="KEYCODE_ZOOM_IN" value="168" />
1745        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1746        <enum name="KEYCODE_TV" value="170" />
1747        <enum name="KEYCODE_WINDOW" value="171" />
1748        <enum name="KEYCODE_GUIDE" value="172" />
1749        <enum name="KEYCODE_DVR" value="173" />
1750        <enum name="KEYCODE_BOOKMARK" value="174" />
1751        <enum name="KEYCODE_CAPTIONS" value="175" />
1752        <enum name="KEYCODE_SETTINGS" value="176" />
1753        <enum name="KEYCODE_TV_POWER" value="177" />
1754        <enum name="KEYCODE_TV_INPUT" value="178" />
1755        <enum name="KEYCODE_STB_POWER" value="179" />
1756        <enum name="KEYCODE_STB_INPUT" value="180" />
1757        <enum name="KEYCODE_AVR_POWER" value="181" />
1758        <enum name="KEYCODE_AVR_INPUT" value="182" />
1759        <enum name="KEYCODE_PROG_GRED" value="183" />
1760        <enum name="KEYCODE_PROG_GREEN" value="184" />
1761        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1762        <enum name="KEYCODE_PROG_BLUE" value="186" />
1763        <enum name="KEYCODE_APP_SWITCH" value="187" />
1764        <enum name="KEYCODE_BUTTON_1" value="188" />
1765        <enum name="KEYCODE_BUTTON_2" value="189" />
1766        <enum name="KEYCODE_BUTTON_3" value="190" />
1767        <enum name="KEYCODE_BUTTON_4" value="191" />
1768        <enum name="KEYCODE_BUTTON_5" value="192" />
1769        <enum name="KEYCODE_BUTTON_6" value="193" />
1770        <enum name="KEYCODE_BUTTON_7" value="194" />
1771        <enum name="KEYCODE_BUTTON_8" value="195" />
1772        <enum name="KEYCODE_BUTTON_9" value="196" />
1773        <enum name="KEYCODE_BUTTON_10" value="197" />
1774        <enum name="KEYCODE_BUTTON_11" value="198" />
1775        <enum name="KEYCODE_BUTTON_12" value="199" />
1776        <enum name="KEYCODE_BUTTON_13" value="200" />
1777        <enum name="KEYCODE_BUTTON_14" value="201" />
1778        <enum name="KEYCODE_BUTTON_15" value="202" />
1779        <enum name="KEYCODE_BUTTON_16" value="203" />
1780        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1781        <enum name="KEYCODE_MANNER_MODE" value="205" />
1782        <enum name="KEYCODE_3D_MODE" value="206" />
1783        <enum name="KEYCODE_CONTACTS" value="207" />
1784        <enum name="KEYCODE_CALENDAR" value="208" />
1785        <enum name="KEYCODE_MUSIC" value="209" />
1786        <enum name="KEYCODE_CALCULATOR" value="210" />
1787        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1788        <enum name="KEYCODE_EISU" value="212" />
1789        <enum name="KEYCODE_MUHENKAN" value="213" />
1790        <enum name="KEYCODE_HENKAN" value="214" />
1791        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1792        <enum name="KEYCODE_YEN" value="216" />
1793        <enum name="KEYCODE_RO" value="217" />
1794        <enum name="KEYCODE_KANA" value="218" />
1795        <enum name="KEYCODE_ASSIST" value="219" />
1796        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1797        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1798        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1799        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1800        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1801        <enum name="KEYCODE_PAIRING" value="225" />
1802        <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" />
1803        <enum name="KEYCODE_11" value="227" />
1804        <enum name="KEYCODE_12" value="228" />
1805        <enum name="KEYCODE_LAST_CHANNEL" value="229" />
1806        <enum name="KEYCODE_TV_DATA_SERVICE" value="230" />
1807        <enum name="KEYCODE_VOICE_ASSIST" value="231" />
1808        <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" />
1809        <enum name="KEYCODE_TV_TELETEXT" value="233" />
1810        <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" />
1811        <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" />
1812        <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" />
1813        <enum name="KEYCODE_TV_SATELLITE" value="237" />
1814        <enum name="KEYCODE_TV_SATELLITE_BS" value="238" />
1815        <enum name="KEYCODE_TV_SATELLITE_CS" value="239" />
1816        <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" />
1817        <enum name="KEYCODE_TV_NETWORK" value="241" />
1818        <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" />
1819        <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" />
1820        <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" />
1821        <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" />
1822        <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" />
1823        <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" />
1824        <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" />
1825        <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" />
1826        <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" />
1827        <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" />
1828        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" />
1829        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" />
1830        <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" />
1831        <enum name="KEYCODE_TV_ZOOM_MODE" value="255" />
1832        <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" />
1833        <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" />
1834        <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" />
1835        <enum name="KEYCODE_HELP" value="259" />
1836        <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" />
1837        <enum name="KEYCODE_NAVIGATE_NEXT" value="261" />
1838        <enum name="KEYCODE_NAVIGATE_IN" value="262" />
1839        <enum name="KEYCODE_NAVIGATE_OUT" value="263" />
1840        <enum name="KEYCODE_STEM_PRIMARY" value="264" />
1841        <enum name="KEYCODE_STEM_1" value="265" />
1842        <enum name="KEYCODE_STEM_2" value="266" />
1843        <enum name="KEYCODE_STEM_3" value="267" />
1844        <enum name="KEYCODE_DPAD_UP_LEFT" value="268" />
1845        <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" />
1846        <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" />
1847        <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" />
1848        <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" />
1849        <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" />
1850        <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" />
1851        <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" />
1852        <enum name="KEYCODE_SOFT_SLEEP" value="276" />
1853        <enum name="KEYCODE_CUT" value="277" />
1854        <enum name="KEYCODE_COPY" value="278" />
1855        <enum name="KEYCODE_PASTE" value="279" />
1856        <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" />
1857        <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" />
1858        <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" />
1859        <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" />
1860    </attr>
1861
1862    <!-- ***************************************************************** -->
1863    <!-- These define collections of attributes that can are with classes. -->
1864    <!-- ***************************************************************** -->
1865
1866    <!-- ========================== -->
1867    <!-- Special attribute classes. -->
1868    <!-- ========================== -->
1869    <eat-comment />
1870
1871    <!-- The set of attributes that describe a Windows's theme. -->
1872    <declare-styleable name="Window">
1873        <attr name="windowBackground" />
1874        <attr name="windowBackgroundFallback" />
1875        <attr name="windowContentOverlay" />
1876        <attr name="windowFrame" />
1877        <attr name="windowNoTitle" />
1878        <attr name="windowFullscreen" />
1879        <attr name="windowOverscan" />
1880        <attr name="windowIsFloating" />
1881        <attr name="windowIsTranslucent" />
1882        <attr name="windowShowWallpaper" />
1883        <attr name="windowAnimationStyle" />
1884        <attr name="windowSoftInputMode" />
1885        <attr name="windowDisablePreview" />
1886        <attr name="windowNoDisplay" />
1887        <attr name="textColor" />
1888        <attr name="backgroundDimEnabled" />
1889        <attr name="backgroundDimAmount" />
1890        <attr name="windowActionBar" />
1891        <attr name="windowActionModeOverlay" />
1892        <attr name="windowActionBarOverlay" />
1893        <attr name="windowEnableSplitTouch" />
1894        <attr name="windowCloseOnTouchOutside" />
1895        <attr name="windowTranslucentStatus" />
1896        <attr name="windowTranslucentNavigation" />
1897        <attr name="windowSwipeToDismiss" />
1898        <attr name="windowContentTransitions" />
1899        <attr name="windowActivityTransitions" />
1900        <attr name="windowContentTransitionManager" />
1901        <attr name="windowActionBarFullscreenDecorLayout" />
1902
1903        <!-- The minimum width the window is allowed to be, along the major
1904             axis of the screen.  That is, when in landscape.  Can be either
1905             an absolute dimension or a fraction of the screen size in that
1906             dimension. -->
1907        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1908        <!-- The minimum width the window is allowed to be, along the minor
1909             axis of the screen.  That is, when in portrait.  Can be either
1910             an absolute dimension or a fraction of the screen size in that
1911             dimension. -->
1912        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1913
1914        <!-- A fixed width for the window along the major axis of the screen,
1915             that is, when in landscape. Can be either an absolute dimension
1916             or a fraction of the screen size in that dimension. -->
1917        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1918        <!-- A fixed height for the window along the minor axis of the screen,
1919             that is, when in landscape. Can be either an absolute dimension
1920             or a fraction of the screen size in that dimension. -->
1921        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1922
1923        <!-- A fixed width for the window along the minor axis of the screen,
1924             that is, when in portrait. Can be either an absolute dimension
1925             or a fraction of the screen size in that dimension. -->
1926        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1927        <!-- A fixed height for the window along the major axis of the screen,
1928             that is, when in portrait. Can be either an absolute dimension
1929             or a fraction of the screen size in that dimension. -->
1930        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1931        <attr name="windowOutsetBottom" format="dimension" />
1932        <!-- Reference to a Transition XML resource defining the desired Transition
1933             used to move Views into the initial Window's content Scene. Corresponds to
1934             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1935        <attr name="windowEnterTransition"/>
1936
1937        <!-- Reference to a Transition XML resource defining the desired Transition
1938             used to move Views out of the scene when the Window is
1939             preparing to close. Corresponds to
1940             {@link android.view.Window#setReturnTransition(android.transition.Transition)}. -->
1941        <attr name="windowReturnTransition"/>
1942
1943        <!-- Reference to a Transition XML resource defining the desired Transition
1944             used to move Views out of the Window's content Scene when launching a new Activity.
1945             Corresponds to
1946             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1947        <attr name="windowExitTransition"/>
1948
1949        <!-- Reference to a Transition XML resource defining the desired Transition
1950             used to move Views in to the scene when returning from a previously-started Activity.
1951             Corresponds to
1952             {@link android.view.Window#setReenterTransition(android.transition.Transition)}. -->
1953        <attr name="windowReenterTransition"/>
1954
1955        <!-- Reference to a Transition XML resource defining the desired Transition
1956             used to move shared elements transferred into the Window's initial content Scene.
1957             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1958             android.transition.Transition)}. -->
1959        <attr name="windowSharedElementEnterTransition"/>
1960
1961        <!-- Reference to a Transition XML resource defining the desired Transition
1962             used to move shared elements transferred back to a calling Activity.
1963             Corresponds to {@link android.view.Window#setSharedElementReturnTransition(
1964             android.transition.Transition)}. -->
1965        <attr name="windowSharedElementReturnTransition"/>
1966
1967        <!-- Reference to a Transition XML resource defining the desired Transition
1968             used when starting a new Activity to move shared elements prior to transferring
1969             to the called Activity.
1970             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1971             android.transition.Transition)}. -->
1972        <attr name="windowSharedElementExitTransition"/>
1973
1974        <!-- Reference to a Transition XML resource defining the desired Transition
1975             used for shared elements transferred back to a calling Activity.
1976             Corresponds to {@link android.view.Window#setSharedElementReenterTransition(
1977             android.transition.Transition)}. -->
1978        <attr name="windowSharedElementReenterTransition"/>
1979
1980
1981        <!-- Flag indicating whether this Window's transition should overlap with
1982             the exiting transition of the calling Activity. Corresponds to
1983             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
1984        <attr name="windowAllowEnterTransitionOverlap"/>
1985
1986        <!-- Flag indicating whether this Window's transition should overlap with
1987             the exiting transition of the called Activity when the called Activity
1988             finishes. Corresponds to
1989             {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. -->
1990        <attr name="windowAllowReturnTransitionOverlap"/>
1991
1992        <!-- Indicates whether or not shared elements should use an overlay
1993             during transitions. The default value is true. -->
1994        <attr name="windowSharedElementsUseOverlay"/>
1995
1996        <!-- Flag indicating whether this Window is responsible for drawing the background for the
1997             system bars. If true and the window is not floating, the system bars are drawn with a
1998             transparent background and the corresponding areas in this window are filled with the
1999             colors specified in {@link android.R.attr#statusBarColor} and
2000             {@link android.R.attr#navigationBarColor}. Corresponds to
2001             {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. -->
2002        <attr name="windowDrawsSystemBarBackgrounds" format="boolean" />
2003
2004        <!-- The color for the status bar. If the color is not opaque, consider setting
2005             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2006             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}.
2007             For this to take effect, the window must be drawing the system bar backgrounds with
2008             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2009             have been requested to be translucent with
2010             {@link android.R.attr#windowTranslucentStatus}.
2011             Corresponds to {@link android.view.Window#setStatusBarColor(int)}. -->
2012        <attr name="statusBarColor" format="color" />
2013
2014        <!-- The color for the navigation bar. If the color is not opaque, consider setting
2015             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and
2016             {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}.
2017             For this to take effect, the window must be drawing the system bar backgrounds with
2018             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not
2019             have been requested to be translucent with
2020             {@link android.R.attr#windowTranslucentNavigation}.
2021             Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. -->
2022        <attr name="navigationBarColor" format="color" />
2023
2024        <!-- The duration, in milliseconds, of the window background fade duration
2025             when transitioning into or away from an Activity when called with an
2026             Activity Transition. Corresponds to
2027             {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. -->
2028        <attr name="windowTransitionBackgroundFadeDuration" />
2029
2030        <!-- Elevation to use for the window. -->
2031        <attr name="windowElevation" format="dimension" />
2032
2033        <!-- Whether to clip window content to the outline of the window background. -->
2034        <attr name="windowClipToOutline" format="boolean" />
2035
2036        <!-- If set, the status bar will be drawn such that it is compatible with a light
2037             status bar background.
2038             <p>For this to take effect, the window must be drawing the system bar backgrounds with
2039             {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not
2040             have been requested to be translucent with
2041             {@link android.R.attr#windowTranslucentStatus}.
2042             Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on
2043             the decor view. -->
2044        <attr name="windowLightStatusBar" format="boolean" />
2045    </declare-styleable>
2046
2047    <!-- The set of attributes that describe a AlertDialog's theme. -->
2048    <declare-styleable name="AlertDialog">
2049        <attr name="fullDark" format="reference|color" />
2050        <attr name="topDark" format="reference|color" />
2051        <attr name="centerDark" format="reference|color" />
2052        <attr name="bottomDark" format="reference|color" />
2053        <attr name="fullBright" format="reference|color" />
2054        <attr name="topBright" format="reference|color" />
2055        <attr name="centerBright" format="reference|color" />
2056        <attr name="bottomBright" format="reference|color" />
2057        <attr name="bottomMedium" format="reference|color" />
2058        <attr name="centerMedium" format="reference|color" />
2059        <attr name="layout" />
2060        <attr name="buttonPanelSideLayout" format="reference" />
2061        <attr name="listLayout" format="reference" />
2062        <attr name="multiChoiceItemLayout" format="reference" />
2063        <attr name="singleChoiceItemLayout" format="reference" />
2064        <attr name="listItemLayout" format="reference" />
2065        <attr name="progressLayout" format="reference" />
2066        <attr name="horizontalProgressLayout" format="reference" />
2067        <!-- @hide Not ready for public use. -->
2068        <attr name="showTitle" format="boolean" />
2069        <!-- @hide Whether fullDark, etc. should use default values if null. -->
2070        <attr name="needsDefaultBackgrounds" format="boolean" />
2071        <!-- @hide Workaround until we replace AlertController with custom layout. -->
2072        <attr name="controllerType">
2073            <!-- The default controller. -->
2074            <enum name="normal" value="0" />
2075            <!-- Controller for micro specific layout. -->
2076            <enum name="micro" value="1" />
2077        </attr>
2078        <!-- @hide Offset when scrolling to a selection. -->
2079        <attr name="selectionScrollOffset" format="dimension" />
2080    </declare-styleable>
2081
2082    <!-- @hide -->
2083    <declare-styleable name="ButtonBarLayout">
2084        <!-- Whether to automatically stack the buttons when there is not
2085             enough space to lay them out side-by-side. -->
2086        <attr name="allowStacking" format="boolean" />
2087    </declare-styleable>
2088
2089    <!-- Fragment animation class attributes. -->
2090    <declare-styleable name="FragmentAnimation">
2091        <attr name="fragmentOpenEnterAnimation" format="reference" />
2092        <attr name="fragmentOpenExitAnimation" format="reference" />
2093        <attr name="fragmentCloseEnterAnimation" format="reference" />
2094        <attr name="fragmentCloseExitAnimation" format="reference" />
2095        <attr name="fragmentFadeEnterAnimation" format="reference" />
2096        <attr name="fragmentFadeExitAnimation" format="reference" />
2097    </declare-styleable>
2098
2099    <!-- Window animation class attributes. -->
2100    <declare-styleable name="WindowAnimation">
2101        <!-- The animation used when a window is being added. -->
2102        <attr name="windowEnterAnimation" format="reference" />
2103        <!-- The animation used when a window is being removed. -->
2104        <attr name="windowExitAnimation" format="reference" />
2105        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
2106        <attr name="windowShowAnimation" format="reference" />
2107        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
2108        <attr name="windowHideAnimation" format="reference" />
2109
2110        <!--  When opening a new activity, this is the animation that is
2111              run on the next activity (which is entering the screen). -->
2112        <attr name="activityOpenEnterAnimation" format="reference" />
2113        <!--  When opening a new activity, this is the animation that is
2114              run on the previous activity (which is exiting the screen). -->
2115        <attr name="activityOpenExitAnimation" format="reference" />
2116        <!--  When closing the current activity, this is the animation that is
2117              run on the next activity (which is entering the screen). -->
2118        <attr name="activityCloseEnterAnimation" format="reference" />
2119        <!--  When closing the current activity, this is the animation that is
2120              run on the current activity (which is exiting the screen). -->
2121        <attr name="activityCloseExitAnimation" format="reference" />
2122        <!--  When opening an activity in a new task, this is the animation that is
2123              run on the activity of the new task (which is entering the screen). -->
2124        <attr name="taskOpenEnterAnimation" format="reference" />
2125        <!--  When opening an activity in a new task, this is the animation that is
2126              run on the activity of the old task (which is exiting the screen). -->
2127        <attr name="taskOpenExitAnimation" format="reference" />
2128        <!--  When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND,
2129              this is the animation that is run on the activity of the new task (which is
2130              entering the screen and then leaving). -->
2131        <attr name="launchTaskBehindTargetAnimation" format="reference" />
2132        <!--  When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND,
2133              this is the animation that is run on the activity of the old task (which is
2134              already on the screen and then stays on). -->
2135        <attr name="launchTaskBehindSourceAnimation" format="reference" />
2136        <!--  When closing the last activity of a task, this is the animation that is
2137              run on the activity of the next task (which is entering the screen). -->
2138        <attr name="taskCloseEnterAnimation" format="reference" />
2139        <!--  When opening an activity in a new task, this is the animation that is
2140              run on the activity of the old task (which is exiting the screen). -->
2141        <attr name="taskCloseExitAnimation" format="reference" />
2142        <!--  When bringing an existing task to the foreground, this is the
2143              animation that is run on the top activity of the task being brought
2144              to the foreground (which is entering the screen). -->
2145        <attr name="taskToFrontEnterAnimation" format="reference" />
2146        <!--  When bringing an existing task to the foreground, this is the
2147              animation that is run on the current foreground activity
2148              (which is exiting the screen). -->
2149        <attr name="taskToFrontExitAnimation" format="reference" />
2150        <!--  When sending the current task to the background, this is the
2151              animation that is run on the top activity of the task behind
2152              it (which is entering the screen). -->
2153        <attr name="taskToBackEnterAnimation" format="reference" />
2154        <!--  When sending the current task to the background, this is the
2155              animation that is run on the top activity of the current task
2156              (which is exiting the screen). -->
2157        <attr name="taskToBackExitAnimation" format="reference" />
2158
2159        <!--  When opening a new activity that shows the wallpaper, while
2160              currently not showing the wallpaper, this is the animation that
2161              is run on the new wallpaper activity (which is entering the screen). -->
2162        <attr name="wallpaperOpenEnterAnimation" format="reference" />
2163        <!--  When opening a new activity that shows the wallpaper, while
2164              currently not showing the wallpaper, this is the animation that
2165              is run on the current activity (which is exiting the screen). -->
2166        <attr name="wallpaperOpenExitAnimation" format="reference" />
2167        <!--  When opening a new activity that hides the wallpaper, while
2168              currently showing the wallpaper, this is the animation that
2169              is run on the new activity (which is entering the screen). -->
2170        <attr name="wallpaperCloseEnterAnimation" format="reference" />
2171        <!--  When opening a new activity that hides the wallpaper, while
2172              currently showing the wallpaper, this is the animation that
2173              is run on the old wallpaper activity (which is exiting the screen). -->
2174        <attr name="wallpaperCloseExitAnimation" format="reference" />
2175
2176        <!--  When opening a new activity that is on top of the wallpaper
2177              when the current activity is also on top of the wallpaper,
2178              this is the animation that is run on the new activity
2179              (which is entering the screen).  The wallpaper remains
2180              static behind the animation. -->
2181        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
2182        <!--  When opening a new activity that is on top of the wallpaper
2183              when the current activity is also on top of the wallpaper,
2184              this is the animation that is run on the current activity
2185              (which is exiting the screen).  The wallpaper remains
2186              static behind the animation. -->
2187        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
2188        <!--  When closing a foreround activity that is on top of the wallpaper
2189              when the previous activity is also on top of the wallpaper,
2190              this is the animation that is run on the previous activity
2191              (which is entering the screen).  The wallpaper remains
2192              static behind the animation. -->
2193        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
2194        <!--  When closing a foreround activity that is on top of the wallpaper
2195              when the previous activity is also on top of the wallpaper,
2196              this is the animation that is run on the current activity
2197              (which is exiting the screen).  The wallpaper remains
2198              static behind the animation. -->
2199        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
2200
2201        <!--  When opening a new activity from a RemoteViews, this is the
2202              animation that is run on the next activity (which is entering the
2203              screen). Requires config_overrideRemoteViewsActivityTransition to
2204              be true. -->
2205        <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" />
2206
2207    </declare-styleable>
2208
2209    <!-- ============================= -->
2210    <!-- View package class attributes -->
2211    <!-- ============================= -->
2212    <eat-comment />
2213
2214    <!-- Attributes that can be used with {@link android.view.View} or
2215         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
2216         attributes that are processed by the view's parent. -->
2217    <declare-styleable name="View">
2218        <!-- Supply an identifier name for this view, to later retrieve it
2219             with {@link android.view.View#findViewById View.findViewById()} or
2220             {@link android.app.Activity#findViewById Activity.findViewById()}.
2221             This must be a
2222             resource reference; typically you set this using the
2223             <code>@+</code> syntax to create a new ID resources.
2224             For example: <code>android:id="@+id/my_id"</code> which
2225             allows you to later retrieve the view
2226             with <code>findViewById(R.id.my_id)</code>. -->
2227        <attr name="id" format="reference" />
2228
2229        <!-- Supply a tag for this view containing a String, to be retrieved
2230             later with {@link android.view.View#getTag View.getTag()} or
2231             searched for with {@link android.view.View#findViewWithTag
2232             View.findViewWithTag()}.  It is generally preferable to use
2233             IDs (through the android:id attribute) instead of tags because
2234             they are faster and allow for compile-time type checking. -->
2235        <attr name="tag" format="string" />
2236
2237        <!-- The initial horizontal scroll offset, in pixels.-->
2238        <attr name="scrollX" format="dimension" />
2239
2240        <!-- The initial vertical scroll offset, in pixels. -->
2241        <attr name="scrollY" format="dimension" />
2242
2243        <!-- A drawable to use as the background.  This can be either a reference
2244             to a full drawable resource (such as a PNG image, 9-patch,
2245             XML state list description, etc), or a solid color such as "#ff000000"
2246            (black). -->
2247        <attr name="background" format="reference|color" />
2248
2249        <!-- Sets the padding, in pixels, of all four edges. Padding is defined as
2250             space between the edges of the view and the view's content. This value will take
2251             precedence over any of the edge-specific values, including
2252             paddingHorizontal and paddingVertical, if set. A view's size
2253             will include its padding. If a {@link android.R.attr#background}
2254             is provided, the padding will initially be set to that (0 if the
2255             drawable does not have padding). Explicitly setting a padding value
2256             will override the corresponding padding found in the background. -->
2257        <attr name="padding" format="dimension" />
2258        <!-- Sets the padding, in pixels, of the left and right edges; see
2259             {@link android.R.attr#padding}. This value will take precedence over
2260             paddingLeft, paddingRight, paddingStart, and paddingEnd, if set. -->
2261        <attr name="paddingHorizontal" format="dimension" />
2262        <!-- Sets the padding, in pixels, of the top and bottom edges; see
2263             {@link android.R.attr#padding}. This value will take precedence over
2264             paddingTop and paddingBottom, if set. -->
2265        <attr name="paddingVertical" format="dimension" />
2266        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
2267        <attr name="paddingLeft" format="dimension" />
2268        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
2269        <attr name="paddingTop" format="dimension" />
2270        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
2271        <attr name="paddingRight" format="dimension" />
2272        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
2273        <attr name="paddingBottom" format="dimension" />
2274        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
2275        <attr name="paddingStart" format="dimension" />
2276        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
2277        <attr name="paddingEnd" format="dimension" />
2278
2279        <!-- Controls whether a view can take focus.  By default, this is "auto" which lets the
2280             framework determine whether a user can move focus to a view.  By setting this attribute
2281             to true the view is allowed to take focus. By setting it to "false" the view will not
2282             take focus. This value does not impact the behavior of
2283             directly calling {@link android.view.View#requestFocus}, which will
2284             always request focus regardless of this view.  It only impacts where
2285             focus navigation will try to move focus. -->
2286        <attr name="focusable" format="boolean|enum">
2287            <enum name="auto" value="0x00000010" />
2288        </attr>
2289
2290        <!-- Boolean that controls whether a view can take focus while in touch mode.
2291             If this is true for a view, that view can gain focus when clicked on, and can keep
2292             focus if another view is clicked on that doesn't have this attribute set to true. -->
2293        <attr name="focusableInTouchMode" format="boolean" />
2294
2295        <!-- Controls the initial visibility of the view.  -->
2296        <attr name="visibility">
2297            <!-- Visible on screen; the default value. -->
2298            <enum name="visible" value="0" />
2299            <!-- Not displayed, but taken into account during layout (space is left for it). -->
2300            <enum name="invisible" value="1" />
2301            <!-- Completely hidden, as if the view had not been added. -->
2302            <enum name="gone" value="2" />
2303        </attr>
2304
2305        <!-- Boolean internal attribute to adjust view layout based on
2306             system windows such as the status bar.
2307             If true, adjusts the padding of this view to leave space for the system windows.
2308             Will only take effect if this view is in a non-embedded activity. -->
2309        <attr name="fitsSystemWindows" format="boolean" />
2310
2311        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
2312        <attr name="scrollbars">
2313            <!-- No scrollbar is displayed. -->
2314            <flag name="none" value="0x00000000" />
2315            <!-- Displays horizontal scrollbar only. -->
2316            <flag name="horizontal" value="0x00000100" />
2317            <!-- Displays vertical scrollbar only. -->
2318            <flag name="vertical" value="0x00000200" />
2319        </attr>
2320
2321        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
2322             inset. When inset, they add to the padding of the view. And the
2323             scrollbars can be drawn inside the padding area or on the edge of
2324             the view. For example, if a view has a background drawable and you
2325             want to draw the scrollbars inside the padding specified by the
2326             drawable, you can use insideOverlay or insideInset. If you want them
2327             to appear at the edge of the view, ignoring the padding, then you can
2328             use outsideOverlay or outsideInset.-->
2329        <attr name="scrollbarStyle">
2330            <!-- Inside the padding and overlaid -->
2331            <enum name="insideOverlay" value="0x0" />
2332            <!-- Inside the padding and inset -->
2333            <enum name="insideInset" value="0x01000000" />
2334            <!-- Edge of the view and overlaid -->
2335            <enum name="outsideOverlay" value="0x02000000" />
2336            <!-- Edge of the view and inset -->
2337            <enum name="outsideInset" value="0x03000000" />
2338        </attr>
2339
2340        <!-- Set this if the view will serve as a scrolling container, meaning
2341             that it can be resized to shrink its overall window so that there
2342             will be space for an input method.  If not set, the default
2343             value will be true if "scrollbars" has the vertical scrollbar
2344             set, else it will be false. -->
2345        <attr name="isScrollContainer" format="boolean" />
2346
2347          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2348         <attr name="fadeScrollbars" format="boolean" />
2349         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2350         <attr name="scrollbarFadeDuration" format="integer" />
2351         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2352        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2353        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2354        <attr name="scrollbarSize" format="dimension" />
2355        <!-- Defines the horizontal scrollbar thumb drawable. -->
2356        <attr name="scrollbarThumbHorizontal" format="reference" />
2357        <!-- Defines the vertical scrollbar thumb drawable. -->
2358        <attr name="scrollbarThumbVertical" format="reference" />
2359        <!-- Defines the horizontal scrollbar track drawable. -->
2360        <attr name="scrollbarTrackHorizontal" format="reference" />
2361        <!-- Defines the vertical scrollbar track drawable. -->
2362        <attr name="scrollbarTrackVertical" format="reference" />
2363        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2364        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2365        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2366        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2367
2368        <!-- This attribute is ignored in API level 14
2369             ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher.
2370             Using fading edges may introduce noticeable performance
2371             degradations and should be used only when required by the application's
2372             visual design. To request fading edges with API level 14 and above,
2373             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2374        <attr name="fadingEdge">
2375            <!-- No edge is faded. -->
2376            <flag name="none" value="0x00000000" />
2377            <!-- Fades horizontal edges only. -->
2378            <flag name="horizontal" value="0x00001000" />
2379            <!-- Fades vertical edges only. -->
2380            <flag name="vertical" value="0x00002000" />
2381        </attr>
2382        <!-- Defines which edges should be faded on scrolling. -->
2383        <attr name="requiresFadingEdge">
2384            <!-- No edge is faded. -->
2385            <flag name="none" value="0x00000000" />
2386            <!-- Fades horizontal edges only. -->
2387            <flag name="horizontal" value="0x00001000" />
2388            <!-- Fades vertical edges only. -->
2389            <flag name="vertical" value="0x00002000" />
2390        </attr>
2391        <!-- Defines the length of the fading edges. -->
2392        <attr name="fadingEdgeLength" format="dimension" />
2393
2394        <!-- Defines the next view to give focus to when the next focus is
2395             {@link android.view.View#FOCUS_LEFT}.
2396
2397             If the reference refers to a view that does not exist or is part
2398             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2399             will result when the reference is accessed.-->
2400        <attr name="nextFocusLeft" format="reference"/>
2401
2402        <!-- Defines the next view to give focus to when the next focus is
2403             {@link android.view.View#FOCUS_RIGHT}
2404
2405             If the reference refers to a view that does not exist or is part
2406             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2407             will result when the reference is accessed.-->
2408        <attr name="nextFocusRight" format="reference"/>
2409
2410        <!-- Defines the next view to give focus to when the next focus is
2411             {@link android.view.View#FOCUS_UP}
2412
2413             If the reference refers to a view that does not exist or is part
2414             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2415             will result when the reference is accessed.-->
2416        <attr name="nextFocusUp" format="reference"/>
2417
2418        <!-- Defines the next view to give focus to when the next focus is
2419             {@link android.view.View#FOCUS_DOWN}
2420
2421             If the reference refers to a view that does not exist or is part
2422             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2423             will result when the reference is accessed.-->
2424        <attr name="nextFocusDown" format="reference"/>
2425
2426        <!-- Defines the next view to give focus to when the next focus is
2427             {@link android.view.View#FOCUS_FORWARD}
2428
2429             If the reference refers to a view that does not exist or is part
2430             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2431             will result when the reference is accessed.-->
2432        <attr name="nextFocusForward" format="reference"/>
2433
2434        <!-- Defines whether this view reacts to click events. -->
2435        <attr name="clickable" format="boolean" />
2436
2437        <!-- Defines whether this view reacts to long click events. -->
2438        <attr name="longClickable" format="boolean" />
2439
2440        <!--  Defines whether this view reacts to context click events. -->
2441        <attr name="contextClickable" format="boolean" />
2442
2443        <!-- If false, no state will be saved for this view when it is being
2444             frozen. The default is true, allowing the view to be saved
2445             (however it also must have an ID assigned to it for its
2446             state to be saved).  Setting this to false only disables the
2447             state for this view, not for its children which may still
2448             be saved. -->
2449        <attr name="saveEnabled" format="boolean" />
2450
2451        <!-- Specifies whether to filter touches when the view's window is obscured by
2452             another visible window.  When set to true, the view will not receive touches
2453             whenever a toast, dialog or other window appears above the view's window.
2454             Refer to the {@link android.view.View} security documentation for more details. -->
2455        <attr name="filterTouchesWhenObscured" format="boolean" />
2456
2457        <!-- Defines the quality of translucent drawing caches. This property is used
2458             only when the drawing cache is enabled and translucent. The default value is auto. -->
2459        <attr name="drawingCacheQuality">
2460            <!-- Lets the framework decide what quality level should be used
2461                 for the drawing cache. -->
2462            <enum name="auto" value="0" />
2463            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2464                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2465            <enum name="low" value="1" />
2466            <!-- High quality. When set to high quality, the drawing cache uses a higher
2467                 color depth but uses more memory. -->
2468            <enum name="high" value="2" />
2469        </attr>
2470
2471        <!-- Controls whether the view's window should keep the screen on
2472             while visible. -->
2473        <attr name="keepScreenOn" format="boolean" />
2474
2475        <!-- When this attribute is set to true, the view gets its drawable state
2476             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2477        <attr name="duplicateParentState" format="boolean" />
2478
2479        <!-- Defines the minimum height of the view. It is not guaranteed
2480             the view will be able to achieve this minimum height (for example,
2481             if its parent layout constrains it with less available height). -->
2482        <attr name="minHeight" />
2483
2484        <!-- Defines the minimum width of the view. It is not guaranteed
2485             the view will be able to achieve this minimum width (for example,
2486             if its parent layout constrains it with less available width). -->
2487        <attr name="minWidth" />
2488
2489        <!-- Boolean that controls whether a view should have sound effects
2490             enabled for events such as clicking and touching. -->
2491        <attr name="soundEffectsEnabled" format="boolean" />
2492
2493        <!-- Boolean that controls whether a view should have haptic feedback
2494             enabled for events such as long presses. -->
2495        <attr name="hapticFeedbackEnabled" format="boolean" />
2496
2497        <!-- Defines text that briefly describes content of the view. This property is used
2498             primarily for accessibility. Since some views do not have textual
2499             representation this attribute can be used for providing such. -->
2500        <attr name="contentDescription" format="string" localization="suggested" />
2501
2502        <!-- Sets the id of a view before which this one is visited in accessibility traversal.
2503             A screen-reader must visit the content of this view before the content of the one
2504             it precedes.
2505             {@see android.view.View#setAccessibilityTraversalBefore(int)} -->
2506        <attr name="accessibilityTraversalBefore" format="integer" />
2507
2508        <!-- Sets the id of a view after which this one is visited in accessibility traversal.
2509             A screen-reader must visit the content of the other view before the content of
2510             this one.
2511             {@see android.view.View#setAccessibilityTraversalAfter(int)} -->
2512        <attr name="accessibilityTraversalAfter" format="integer" />
2513
2514        <!-- Name of the method in this View's context to invoke when the view is
2515             clicked. This name must correspond to a public method that takes
2516             exactly one parameter of type View. For instance, if you specify
2517             <code>android:onClick="sayHello"</code>, you must declare a
2518             <code>public void sayHello(View v)</code> method of your context
2519             (typically, your Activity). -->
2520        <attr name="onClick" format="string" />
2521
2522        <!-- Defines over-scrolling behavior. This property is used only if the
2523             View is scrollable. Over-scrolling is the ability for the user to
2524             receive feedback when attempting to scroll beyond meaningful content. -->
2525        <attr name="overScrollMode">
2526            <!-- Always show over-scroll effects, even if the content fits entirely
2527                 within the available space. -->
2528            <enum name="always" value="0" />
2529            <!-- Only show over-scroll effects if the content is large
2530                 enough to meaningfully scroll. -->
2531            <enum name="ifContentScrolls" value="1" />
2532            <!-- Never show over-scroll effects. -->
2533            <enum name="never" value="2" />
2534        </attr>
2535
2536        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2537             (completely opaque). -->
2538        <attr name="alpha" format="float" />
2539
2540        <!-- base z depth of the view -->
2541        <attr name="elevation" format="dimension" />
2542
2543        <!-- translation in x of the view. This value is added post-layout to the left
2544             property of the view, which is set by its layout. -->
2545        <attr name="translationX" format="dimension" />
2546
2547        <!-- translation in y of the view. This value is added post-layout to the top
2548             property of the view, which is set by its layout. -->
2549        <attr name="translationY" format="dimension" />
2550
2551        <!-- translation in z of the view. This value is added to its elevation. -->
2552        <attr name="translationZ" format="dimension" />
2553
2554        <!-- x location of the pivot point around which the view will rotate and scale.
2555             This xml attribute sets the pivotX property of the View. -->
2556        <attr name="transformPivotX" format="dimension" />
2557
2558        <!-- y location of the pivot point around which the view will rotate and scale.
2559             This xml attribute sets the pivotY property of the View. -->
2560        <attr name="transformPivotY" format="dimension" />
2561
2562        <!-- rotation of the view, in degrees. -->
2563        <attr name="rotation" format="float" />
2564
2565        <!-- rotation of the view around the x axis, in degrees. -->
2566        <attr name="rotationX" format="float" />
2567
2568        <!-- rotation of the view around the y axis, in degrees. -->
2569        <attr name="rotationY" format="float" />
2570
2571        <!-- scale of the view in the x direction. -->
2572        <attr name="scaleX" format="float" />
2573
2574        <!-- scale of the view in the y direction. -->
2575        <attr name="scaleY" format="float" />
2576
2577        <!-- Determines which side the vertical scroll bar should be placed on. -->
2578        <attr name="verticalScrollbarPosition">
2579            <!-- Place the scroll bar wherever the system default determines. -->
2580            <enum name="defaultPosition" value="0" />
2581            <!-- Place the scroll bar on the left. -->
2582            <enum name="left" value="1" />
2583            <!-- Place the scroll bar on the right. -->
2584            <enum name="right" value="2" />
2585        </attr>
2586
2587        <!-- Specifies the type of layer backing this view. The default value is none.
2588             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2589             for more information.-->
2590        <attr name="layerType">
2591            <!-- Don't use a layer. -->
2592            <enum name="none" value="0" />
2593            <!-- Use a software layer. Refer to
2594                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2595                 more information. -->
2596            <enum name="software" value="1" />
2597            <!-- Use a hardware layer. Refer to
2598                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2599                 more information. -->
2600            <enum name="hardware" value="2" />
2601        </attr>
2602
2603        <!-- Defines the direction of layout drawing. This typically is associated with writing
2604             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2605             "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing
2606             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2607             used in "en-US". The default for this attribute is "inherit". -->
2608        <attr name="layoutDirection">
2609            <!-- Left-to-Right -->
2610            <enum name="ltr" value="0" />
2611            <!-- Right-to-Left -->
2612            <enum name="rtl" value="1" />
2613            <!-- Inherit from parent -->
2614            <enum name="inherit" value="2" />
2615            <!-- Locale -->
2616            <enum name="locale" value="3" />
2617        </attr>
2618
2619        <!-- Defines the direction of the text. -->
2620         <attr name="textDirection" format="integer">
2621            <!-- Default -->
2622            <enum name="inherit" value="0" />
2623            <!-- Default for the root view. The first strong directional character determines the
2624                 paragraph direction.  If there is no strong directional character, the paragraph
2625                 direction is the view’s resolved layout direction. -->
2626            <enum name="firstStrong" value="1" />
2627            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2628                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2629                 paragraph direction is the view’s resolved layout direction. -->
2630            <enum name="anyRtl" value="2" />
2631            <!-- The paragraph direction is left to right. -->
2632            <enum name="ltr" value="3" />
2633            <!-- The paragraph direction is right to left. -->
2634            <enum name="rtl" value="4" />
2635            <!-- The paragraph direction is coming from the system Locale. -->
2636            <enum name="locale" value="5" />
2637            <!-- The first strong directional character determines the paragraph direction. If
2638                 there is no strong directional character, the paragraph direction is LTR. -->
2639            <enum name="firstStrongLtr" value="6" />
2640            <!-- The first strong directional character determines the paragraph direction. If
2641                 there is no strong directional character, the paragraph direction is RTL. -->
2642            <enum name="firstStrongRtl" value="7" />
2643        </attr>
2644
2645        <!-- Defines the alignment of the text. -->
2646        <attr name="textAlignment" format="integer">
2647            <!-- Default -->
2648            <enum name="inherit" value="0" />
2649            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2650                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2651                text direction -->
2652            <enum name="gravity" value="1" />
2653            <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. -->
2654            <enum name="textStart" value="2" />
2655            <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. -->
2656            <enum name="textEnd" value="3" />
2657            <!-- Center the paragraph, e.g. ALIGN_CENTER. -->
2658            <enum name="center" value="4" />
2659            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2660                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2661            <enum name="viewStart" value="5" />
2662            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2663                layoutDirection is LTR, and ALIGN_LEFT otherwise -->
2664            <enum name="viewEnd" value="6" />
2665        </attr>
2666
2667        <!-- Describes whether or not this view is important for accessibility.
2668             If it is important, the view fires accessibility events and is
2669             reported to accessibility services that query the screen. Note:
2670             While not recommended, an accessibility service may decide to
2671             ignore this attribute and operate on all views in the view tree. -->
2672        <attr name="importantForAccessibility" format="integer">
2673            <!-- The system determines whether the view is important for accessibility - default
2674                 (recommended). -->
2675            <enum name="auto" value="0" />
2676            <!-- The view is important for accessibility. -->
2677            <enum name="yes" value="1" />
2678            <!-- The view is not important for accessibility. -->
2679            <enum name="no" value="2" />
2680            <!-- The view is not important for accessibility, nor are any of its descendant
2681                 views. -->
2682            <enum name="noHideDescendants" value="4" />
2683        </attr>
2684
2685        <!-- Indicates to accessibility services whether the user should be notified when
2686             this view changes. -->
2687        <attr name="accessibilityLiveRegion" format="integer">
2688            <!-- Accessibility services should not announce changes to this view. -->
2689            <enum name="none" value="0" />
2690            <!-- Accessibility services should announce changes to this view. -->
2691            <enum name="polite" value="1" />
2692            <!-- Accessibility services should interrupt ongoing speech to immediately
2693                 announce changes to this view. -->
2694            <enum name="assertive" value="2" />
2695        </attr>
2696
2697        <!-- Specifies the id of a view for which this view serves as a label for
2698             accessibility purposes. For example, a TextView before an EditText in
2699             the UI usually specifies what infomation is contained in the EditText.
2700             Hence, the TextView is a label for the EditText. -->
2701        <attr name="labelFor" format="reference" />
2702
2703        <!-- Specifies a theme override for a view. When a theme override is set, the
2704             view will be inflated using a {@link android.content.Context} themed with
2705             the specified resource. During XML inflation, any child views under the
2706             view with a theme override will inherit the themed context. -->
2707        <attr name="theme" />
2708
2709        <!-- Names a View such that it can be identified for Transitions. Names should be
2710             unique in the View hierarchy. -->
2711        <attr name="transitionName" format="string" />
2712
2713        <!-- Specifies that this view should permit nested scrolling within a compatible
2714             ancestor view. -->
2715        <attr name="nestedScrollingEnabled" format="boolean" />
2716
2717        <!-- Sets the state-based animator for the View. -->
2718        <attr name="stateListAnimator" format="reference"/>
2719
2720        <!-- Tint to apply to the background. -->
2721        <attr name="backgroundTint" format="color" />
2722
2723        <!-- Blending mode used to apply the background tint. -->
2724        <attr name="backgroundTintMode">
2725            <!-- The tint is drawn on top of the drawable.
2726                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2727            <enum name="src_over" value="3" />
2728            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2729                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2730            <enum name="src_in" value="5" />
2731            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2732                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2733            <enum name="src_atop" value="9" />
2734            <!-- Multiplies the color and alpha channels of the drawable with those of
2735                 the tint. [Sa * Da, Sc * Dc] -->
2736            <enum name="multiply" value="14" />
2737            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2738            <enum name="screen" value="15" />
2739            <!-- Combines the tint and drawable color and alpha channels, clamping the
2740                 result to valid color values. Saturate(S + D) -->
2741            <enum name="add" value="16" />
2742        </attr>
2743
2744        <!-- ViewOutlineProvider used to determine the View's Outline. -->
2745        <attr name="outlineProvider">
2746            <!-- Default, background drawable-driven outline. -->
2747            <enum name="background" value="0" />
2748            <!-- No outline provider. -->
2749            <enum name="none" value="1" />
2750            <!-- Generates an opaque outline for the bounds of the view. -->
2751            <enum name="bounds" value="2" />
2752            <!-- Generates an opaque outline for the padded bounds of the view. -->
2753            <enum name="paddedBounds" value="3" />
2754        </attr>
2755
2756        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2757             The foreground drawable participates in the padding of the content if the gravity
2758             is set to fill. -->
2759        <attr name="foreground" format="reference|color" />
2760        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
2761             to fill. -->
2762        <attr name="foregroundGravity">
2763            <!-- Push object to the top of its container, not changing its size. -->
2764            <flag name="top" value="0x30" />
2765            <!-- Push object to the bottom of its container, not changing its size. -->
2766            <flag name="bottom" value="0x50" />
2767            <!-- Push object to the left of its container, not changing its size. -->
2768            <flag name="left" value="0x03" />
2769            <!-- Push object to the right of its container, not changing its size. -->
2770            <flag name="right" value="0x05" />
2771            <!-- Place object in the vertical center of its container, not changing its size. -->
2772            <flag name="center_vertical" value="0x10" />
2773            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2774            <flag name="fill_vertical" value="0x70" />
2775            <!-- Place object in the horizontal center of its container, not changing its size. -->
2776            <flag name="center_horizontal" value="0x01" />
2777            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2778            <flag name="fill_horizontal" value="0x07" />
2779            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2780            <flag name="center" value="0x11" />
2781            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2782            <flag name="fill" value="0x77" />
2783            <!-- Additional option that can be set to have the top and/or bottom edges of
2784                 the child clipped to its container's bounds.
2785                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
2786                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2787            <flag name="clip_vertical" value="0x80" />
2788            <!-- Additional option that can be set to have the left and/or right edges of
2789                 the child clipped to its container's bounds.
2790                 The clip will be based on the horizontal gravity: a left gravity will clip the right
2791                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2792            <flag name="clip_horizontal" value="0x08" />
2793        </attr>
2794        <!-- Defines whether the foreground drawable should be drawn inside the padding.
2795             This property is turned on by default. -->
2796        <attr name="foregroundInsidePadding" format="boolean" />
2797        <!-- Tint to apply to the foreground. -->
2798        <attr name="foregroundTint" format="color" />
2799        <!-- Blending mode used to apply the foreground tint. -->
2800        <attr name="foregroundTintMode">
2801            <!-- The tint is drawn on top of the drawable.
2802                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
2803            <enum name="src_over" value="3" />
2804            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
2805                 color channels are thrown out. [Sa * Da, Sc * Da] -->
2806            <enum name="src_in" value="5" />
2807            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
2808                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
2809            <enum name="src_atop" value="9" />
2810            <!-- Multiplies the color and alpha channels of the drawable with those of
2811                 the tint. [Sa * Da, Sc * Dc] -->
2812            <enum name="multiply" value="14" />
2813            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
2814            <enum name="screen" value="15" />
2815            <!-- Combines the tint and drawable color and alpha channels, clamping the
2816                 result to valid color values. Saturate(S + D) -->
2817            <enum name="add" value="16" />
2818        </attr>
2819
2820        <!-- Defines which scroll indicators should be displayed when the view
2821             can be scrolled. Multiple values may be combined using logical OR,
2822             for example "top|bottom". -->
2823        <attr name="scrollIndicators">
2824            <!-- No scroll indicators are displayed. -->
2825            <flag name="none" value="0x00" />
2826            <!-- Displays top scroll indicator when view can be scrolled up. -->
2827            <flag name="top" value="0x01" />
2828            <!-- Displays bottom scroll indicator when vew can be scrolled down. -->
2829            <flag name="bottom" value="0x02" />
2830            <!-- Displays left scroll indicator when vew can be scrolled left. -->
2831            <flag name="left" value="0x04" />
2832            <!-- Displays right scroll indicator when vew can be scrolled right. -->
2833            <flag name="right" value="0x08" />
2834            <!-- Displays right scroll indicator when vew can be scrolled in the
2835                 start direction. -->
2836            <flag name="start" value="0x10" />
2837            <!-- Displays right scroll indicator when vew can be scrolled in the
2838                 end direction. -->
2839            <flag name="end" value="0x20" />
2840        </attr>
2841
2842        <attr name="pointerIcon">
2843            <!-- Null icon, pointer becomes invisible. -->
2844            <enum name="none" value="0" />
2845            <!-- The default icon of arrow pointer. -->
2846            <enum name="arrow" value="1000" />
2847            <!-- Pointer icon indicating context-menu will appear. -->
2848            <enum name="context_menu" value="1001" />
2849            <!-- Pointer icon of a hand with the index finger. -->
2850            <enum name="hand" value="1002" />
2851            <!-- Pointer icon indicating help. -->
2852            <enum name="help" value="1003" />
2853            <!-- Pointer icon indicating something is going on and waiting. -->
2854            <enum name="wait" value="1004" />
2855            <!-- Pointer icon for cell and grid. -->
2856            <enum name="cell" value="1006" />
2857            <!-- Pointer icon of crosshair, indicating to spot a location. -->
2858            <enum name="crosshair" value="1007" />
2859            <!-- Pointer icon of I-beam, usually for text. -->
2860            <enum name="text" value="1008" />
2861            <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. -->
2862            <enum name="vertical_text" value="1009" />
2863            <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be
2864                 created. -->
2865            <enum name="alias" value="1010" />
2866            <!-- Pointer icon of 'copy', used for drag/drop. -->
2867            <enum name="copy" value="1011" />
2868            <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the
2869                 current location. -->
2870            <enum name="no_drop" value="1012" />
2871            <!-- Pointer icon of four-way arrows, indicating scrolling all direction. -->
2872            <enum name="all_scroll" value="1013" />
2873            <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. -->
2874            <enum name="horizontal_double_arrow" value="1014" />
2875            <!-- Pointer icon of vertical double arrow, indicating vertical resize. -->
2876            <enum name="vertical_double_arrow" value="1015" />
2877            <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left.
2878                 Indicating freeform resize. -->
2879            <enum name="top_right_diagonal_double_arrow" value="1016" />
2880            <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right.
2881                 Indicating freeform resize. -->
2882            <enum name="top_left_diagonal_double_arrow" value="1017" />
2883            <!-- Pointer icon indicating zoom-in. -->
2884            <enum name="zoom_in" value="1018" />
2885            <!-- Pointer icon indicating zoom-out. -->
2886            <enum name="zoom_out" value="1019" />
2887            <!-- Pointer icon of a hand sign to grab something. -->
2888            <enum name="grab" value="1020" />
2889            <!-- Pointer icon of a hand sign while grabbing something. -->
2890            <enum name="grabbing" value="1021" />
2891        </attr>
2892
2893        <!-- Whether this view has elements that may overlap when drawn. See
2894             {@link android.view.View#forceHasOverlappingRendering(boolean)}. -->
2895        <attr name="forceHasOverlappingRendering" format="boolean" />
2896
2897        <!-- Defines text displayed in a small popup window on hover or long press. -->
2898        <attr name="tooltipText" format="string" localization="suggested" />
2899
2900        <!-- Whether this view is a root of a keyboard navigation cluster.
2901             See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. -->
2902        <attr name="keyboardNavigationCluster" format="boolean" />
2903
2904        <attr name="__removed0" format="boolean" />
2905
2906        <!-- Defines the next keyboard navigation cluster.
2907
2908             If the reference refers to a view that does not exist or is part
2909             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2910             will result when the reference is accessed.-->
2911        <attr name="nextClusterForward" format="reference"/>
2912
2913        <attr name="__removed1" format="reference"/>
2914
2915        <!-- Whether this view is a default-focus view.
2916             Only one view per keyboard navigation cluster can have this attribute set to true.
2917             See {@link android.view.View#setFocusedByDefault(boolean)}. -->
2918        <attr name="focusedByDefault" format="boolean" />
2919
2920    </declare-styleable>
2921
2922    <!-- Attributes that can be assigned to a tag for a particular View. -->
2923    <declare-styleable name="ViewTag">
2924        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2925        <attr name="id" />
2926        <!-- Specifies the value with which to tag the view. -->
2927        <attr name="value" />
2928    </declare-styleable>
2929
2930    <!-- Attributes that can be assigned to an &lt;include&gt; tag.
2931         @hide -->
2932    <declare-styleable name="Include">
2933        <attr name="id" />
2934        <attr name="visibility" />
2935    </declare-styleable>
2936
2937    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2938         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2939         attributes that this class processes in its children. -->
2940    <declare-styleable name="ViewGroup">
2941        <!-- Defines whether changes in layout (caused by adding and removing items) should
2942             cause a LayoutTransition to run. When this flag is set to true, a default
2943             LayoutTransition object will be set on the ViewGroup container and default
2944             animations will run when these layout changes occur.-->
2945        <attr name="animateLayoutChanges" format="boolean" />
2946        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2947             This is useful with animations that scale the size of the children to more
2948             than 100% for instance. In such a case, this property should be set to false
2949             to allow the children to draw outside of their bounds. The default value of
2950             this property is true. -->
2951        <attr name="clipChildren" format="boolean" />
2952        <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any
2953             EdgeEffect to its padding, if padding is not zero. This property is set to true by
2954             default. -->
2955        <attr name="clipToPadding" format="boolean" />
2956        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
2957             Layout animations can also be started manually after the first layout. -->
2958        <attr name="layoutAnimation" format="reference" />
2959        <!-- Defines whether layout animations should create a drawing cache for their
2960             children. Enabling the animation cache consumes more memory and requires
2961             a longer initialization but provides better performance. The animation
2962             cache is enabled by default. -->
2963        <attr name="animationCache" format="boolean" />
2964        <!-- Defines the persistence of the drawing cache. The drawing cache might be
2965             enabled by a ViewGroup for all its children in specific situations (for
2966             instance during a scrolling.) This property lets you persist the cache
2967             in memory after its initial usage. Persisting the cache consumes more
2968             memory but may prevent frequent garbage collection is the cache is created
2969             over and over again. By default the persistence is set to scrolling. -->
2970        <attr name="persistentDrawingCache">
2971            <!-- The drawing cache is not persisted after use. -->
2972            <flag name="none" value="0x0" />
2973            <!-- The drawing cache is persisted after a layout animation. -->
2974            <flag name="animation" value="0x1" />
2975            <!-- The drawing cache is persisted after a scroll. -->
2976            <flag name="scrolling" value="0x2" />
2977            <!-- The drawing cache is always persisted. -->
2978            <flag name="all" value="0x3" />
2979        </attr>
2980        <!-- Defines whether the ViewGroup should always draw its children using their
2981             drawing cache or not. The default value is true. -->
2982        <attr name="alwaysDrawnWithCache" format="boolean" />
2983        <!-- Sets whether this ViewGroup's drawable states also include
2984             its children's drawable states.  This is used, for example, to
2985             make a group appear to be focused when its child EditText or button
2986             is focused. -->
2987        <attr name="addStatesFromChildren" format="boolean" />
2988
2989        <!-- Defines the relationship between the ViewGroup and its descendants
2990             when looking for a View to take focus. -->
2991        <attr name="descendantFocusability">
2992            <!-- The ViewGroup will get focus before any of its descendants. -->
2993            <enum name="beforeDescendants" value="0" />
2994            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
2995            <enum name="afterDescendants" value="1" />
2996            <!-- The ViewGroup will block its descendants from receiving focus. -->
2997            <enum name="blocksDescendants" value="2" />
2998        </attr>
2999
3000        <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. -->
3001        <attr name="touchscreenBlocksFocus" format="boolean" />
3002
3003        <!-- Sets whether this ViewGroup should split MotionEvents
3004             to separate child views during touch event dispatch.
3005             If false (default), touch events will be dispatched to
3006             the child view where the first pointer went down until
3007             the last pointer goes up.
3008             If true, touch events may be dispatched to multiple children.
3009             MotionEvents for each pointer will be dispatched to the child
3010             view where the initial ACTION_DOWN event happened.
3011             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
3012             for more information. -->
3013        <attr name="splitMotionEvents" format="boolean" />
3014
3015        <!-- Defines the layout mode of this ViewGroup. -->
3016        <attr name="layoutMode">
3017            <!-- Use the children's clip bounds when laying out this container. -->
3018            <enum name="clipBounds" value="0" />
3019            <!-- Use the children's optical bounds when laying out this container. -->
3020            <enum name="opticalBounds" value="1" />
3021        </attr>
3022
3023        <!-- Sets whether or not this ViewGroup should be treated as a single entity
3024             when doing an Activity transition. Typically, the elements inside a
3025             ViewGroup are each transitioned from the scene individually. The default
3026             for a ViewGroup is false unless it has a background. See
3027             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity,
3028             android.view.View, String)} for more information. Corresponds to
3029             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
3030        <attr name="transitionGroup" format="boolean" />
3031    </declare-styleable>
3032
3033    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
3034         inside your application at runtime. -->
3035    <declare-styleable name="ViewStub">
3036        <!-- Supply an identifier name for this view. -->
3037        <attr name="id" />
3038        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
3039             becomes visible or when forced to do so. The layout resource must be a
3040             valid reference to a layout. -->
3041        <attr name="layout" format="reference" />
3042        <!-- Overrides the id of the inflated View with this value. -->
3043        <attr name="inflatedId" format="reference" />
3044    </declare-styleable>
3045
3046    <!-- ===================================== -->
3047    <!-- View package parent layout attributes -->
3048    <!-- ===================================== -->
3049    <eat-comment />
3050
3051    <!-- This is the basic set of layout attributes that are common to all
3052         layout managers.  These attributes are specified with the rest of
3053         a view's normal attributes (such as {@link android.R.attr#background},
3054         but will be parsed by the view's parent and ignored by the child.
3055        <p>The values defined here correspond to the base layout attribute
3056        class {@link android.view.ViewGroup.LayoutParams}. -->
3057    <declare-styleable name="ViewGroup_Layout">
3058        <!-- Specifies the basic width of the view.  This is a required attribute
3059             for any view inside of a containing layout manager.  Its value may
3060             be a dimension (such as "12dip") for a constant width or one of
3061             the special constants. -->
3062        <attr name="layout_width" format="dimension">
3063            <!-- The view should be as big as its parent (minus padding).
3064                 This constant is deprecated starting from API Level 8 and
3065                 is replaced by {@code match_parent}. -->
3066            <enum name="fill_parent" value="-1" />
3067            <!-- The view should be as big as its parent (minus padding).
3068                 Introduced in API Level 8. -->
3069            <enum name="match_parent" value="-1" />
3070            <!-- The view should be only big enough to enclose its content (plus padding). -->
3071            <enum name="wrap_content" value="-2" />
3072        </attr>
3073
3074        <!-- Specifies the basic height of the view.  This is a required attribute
3075             for any view inside of a containing layout manager.  Its value may
3076             be a dimension (such as "12dip") for a constant height or one of
3077             the special constants. -->
3078        <attr name="layout_height" format="dimension">
3079            <!-- The view should be as big as its parent (minus padding).
3080                 This constant is deprecated starting from API Level 8 and
3081                 is replaced by {@code match_parent}. -->
3082            <enum name="fill_parent" value="-1" />
3083            <!-- The view should be as big as its parent (minus padding).
3084                 Introduced in API Level 8. -->
3085            <enum name="match_parent" value="-1" />
3086            <!-- The view should be only big enough to enclose its content (plus padding). -->
3087            <enum name="wrap_content" value="-2" />
3088        </attr>
3089    </declare-styleable>
3090
3091    <!-- This is the basic set of layout attributes for layout managers that
3092         wish to place margins around their child views.
3093         These attributes are specified with the rest of
3094         a view's normal attributes (such as {@link android.R.attr#background},
3095         but will be parsed by the view's parent and ignored by the child.
3096        <p>The values defined here correspond to the base layout attribute
3097        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
3098    <declare-styleable name="ViewGroup_MarginLayout">
3099        <attr name="layout_width" />
3100        <attr name="layout_height" />
3101        <!--  Specifies extra space on the left, top, right and bottom
3102              sides of this view.  If both layout_margin and any of layout_marginLeft,
3103              layout_marginRight, layout_marginStart, layout_marginEnd,
3104              layout_marginTop, and layout_marginBottom are
3105              also specified, the layout_margin value will take precedence over the
3106              edge-specific values. This space is outside this view's bounds.
3107              Margin values should be positive. -->
3108        <attr name="layout_margin" format="dimension"  />
3109        <!--  Specifies extra space on the left side of this view.
3110              This space is outside this view's bounds.
3111              Margin values should be positive. -->
3112        <attr name="layout_marginLeft" format="dimension"  />
3113        <!--  Specifies extra space on the top side of this view.
3114              This space is outside this view's bounds.
3115              Margin values should be positive.-->
3116        <attr name="layout_marginTop" format="dimension" />
3117        <!--  Specifies extra space on the right side of this view.
3118              This space is outside this view's bounds.
3119              Margin values should be positive.-->
3120        <attr name="layout_marginRight" format="dimension"  />
3121        <!--  Specifies extra space on the bottom side of this view.
3122              This space is outside this view's bounds.
3123              Margin values should be positive.-->
3124        <attr name="layout_marginBottom" format="dimension"  />
3125        <!--  Specifies extra space on the start side of this view.
3126              This space is outside this view's bounds.
3127              Margin values should be positive.-->
3128        <attr name="layout_marginStart" format="dimension"  />
3129        <!--  Specifies extra space on the end side of this view.
3130              This space is outside this view's bounds.
3131              Margin values should be positive.-->
3132        <attr name="layout_marginEnd" format="dimension"  />
3133        <!--  Specifies extra space on the left and right sides of this view.
3134              Specifying layout_marginHorizontal is equivalent to specifying
3135              either layout_marginLeft and layout_marginRight or
3136              layout_marginStart and layout_marginEnd with that same value.
3137              If both layout_marginHorizontal and any of layout_marginLeft,
3138              layout_marginRight, layout_marginStart, and layout_marginEnd are
3139              also specified, the layout_marginHorizontal value will take precedence over the
3140              edge-specific values. Also, layout_margin will always take precendent over
3141              any of these values, including layout_marginHorizontal.
3142              This space is outside this view's bounds.
3143              Margin values should be positive.-->
3144        <attr name="layout_marginHorizontal" format="dimension"  />
3145        <!--  Specifies extra space on the tyop and bottom sides of this view.
3146              Specifying layout_marginVertical is equivalent to specifying
3147              layout_marginTop and layout_marginBottom with that same value.
3148              If both layout_marginVertical and either/both layout_marginTop and
3149              layout_marginBottom are also specified, the layout_marginVertical value
3150              will take precedence over the edge-specific values.
3151              Also, layout_margin will always take precendent over
3152              any of these values, including layout_marginHorizontal.
3153              This space is outside this view's bounds.
3154              Margin values should be positive.-->
3155        <attr name="layout_marginVertical" format="dimension"  />
3156    </declare-styleable>
3157
3158    <!-- Use <code>input-method</code> as the root tag of the XML resource that
3159         describes an
3160         {@link android.view.inputmethod.InputMethod} service, which is
3161         referenced from its
3162         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
3163         meta-data entry.  Described here are the attributes that can be
3164         included in that tag. -->
3165    <declare-styleable name="InputMethod">
3166        <!-- Component name of an activity that allows the user to modify
3167             the settings for this service. -->
3168        <attr name="settingsActivity" format="string" />
3169        <!-- Set to true in all of the configurations for which this input
3170             method should be considered an option as the default. -->
3171        <attr name="isDefault" format="boolean" />
3172        <!-- Set to true if this input method supports ways to switch to
3173             a next input method (e.g. a globe key.). When this is true and
3174             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
3175             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
3176             accordingly.
3177             <p> Note that the system determines the most appropriate next input method
3178             and subtype in order to provide the consistent user experience in switching
3179             between IMEs and subtypes. -->
3180        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
3181        <!-- Set to true if this input method supports ways to dismiss the windows assigned to
3182             the input method (e.g. a dismiss button rendered by the input method itself).  The
3183             System UI may optimize the UI by not showing system-level dismiss button if this
3184             value is true.
3185             <p> Must be a boolean value, either "true" or "false". The default value is "false".
3186             <p> This may also be a reference to a resource (in the form "@[package:]type:name")
3187             or theme attribute (in the form "?[package:]type:name") containing a value of this
3188             type.
3189             <p> A UI element that dismisses the input method window should report
3190             {@link android.view.accessibility.AccessibilityNodeInfo#ACTION_DISMISS} action, so
3191             that accessibility services can handle it accordingly. -->
3192        <attr name="supportsDismissingWindow" format="boolean" />
3193    </declare-styleable>
3194
3195    <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...)
3196         and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows
3197         the system to call the specified subtype of the IME directly. -->
3198    <declare-styleable name="InputMethod_Subtype">
3199        <!-- The name of the subtype. -->
3200        <attr name="label" />
3201        <!-- The icon of the subtype. -->
3202        <attr name="icon" />
3203        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
3204             and will be passed to the IME when the framework calls the IME
3205             with the subtype. This is also used by the framework to know the supported locales
3206             of the IME.  -->
3207        <attr name="imeSubtypeLocale" format="string" />
3208        <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this
3209             string will be passed to the IME when the framework calls the IME with the
3210             subtype.  {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the
3211             value specified in this attribute.  -->
3212        <attr name="imeSubtypeMode" format="string" />
3213        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
3214             input method selection list in the settings app.
3215             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
3216             chooses a target subtype. -->
3217        <attr name="isAuxiliary" format="boolean" />
3218        <!-- Set true when this subtype should be selected by default if no other subtypes are
3219             selected explicitly. Note that a subtype with this parameter being true will
3220             not be shown in the subtypes list. -->
3221        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
3222        <!-- The extra value of the subtype. This string can be any string and will be passed to
3223             the IME when the framework calls the IME with the subtype.  -->
3224        <attr name="imeSubtypeExtraValue" format="string" />
3225        <!-- The unique id for the subtype. The input method framework keeps track of enabled
3226             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
3227             if other attributes are different. If the ID is unspecified (by calling the other
3228             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
3229             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
3230        <attr name="subtypeId" format="integer"/>
3231        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
3232             capable, it should guarantee that the user can input ASCII characters with
3233             this subtype. This is important because many password fields only allow
3234             ASCII-characters. -->
3235        <attr name="isAsciiCapable" format="boolean" />
3236        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3237        {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}.  -->
3238        <attr name="languageTag" format="string" />
3239    </declare-styleable>
3240
3241    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
3242         describes an
3243         {@link android.service.textservice.SpellCheckerService} service, which is
3244         referenced from its
3245         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
3246         meta-data entry.  Described here are the attributes that can be
3247         included in that tag. -->
3248    <declare-styleable name="SpellChecker">
3249        <!-- The name of the spell checker. -->
3250        <attr name="label" />
3251        <!-- Component name of an activity that allows the user to modify
3252             the settings for this service. -->
3253        <attr name="settingsActivity"/>
3254    </declare-styleable>
3255
3256    <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) -->
3257    <declare-styleable name="SpellChecker_Subtype">
3258        <!-- The name of the subtype. -->
3259        <attr name="label" />
3260        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
3261             This is also used by the framework to know the supported locales
3262             of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()}
3263             returns the value specified in this attribute.  -->
3264        <attr name="subtypeLocale" format="string" />
3265        <!-- The extra value of the subtype. This string can be any string and will be passed to
3266             the SpellChecker.  -->
3267        <attr name="subtypeExtraValue" format="string" />
3268        <!-- The unique id for the subtype. The text service (spell checker) framework keeps track
3269             of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs
3270             will stay enabled even if other attributes are different. If the ID is unspecified or
3271             explicitly specified to 0 in XML resources,
3272             {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue})} will be used instead.
3273              -->
3274        <attr name="subtypeId" />
3275        <!-- The BCP-47 Language Tag of the subtype.  This replaces
3276        {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}.  -->
3277        <attr name="languageTag" />
3278    </declare-styleable>
3279
3280    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
3281         describes an {@link android.accessibilityservice.AccessibilityService} service,
3282         which is referenced from its
3283         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
3284         meta-data entry. -->
3285    <declare-styleable name="AccessibilityService">
3286        <!-- The event types this serivce would like to receive as specified in
3287             {@link android.view.accessibility.AccessibilityEvent}. This setting
3288             can be changed at runtime by calling
3289             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3290             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3291        <attr name="accessibilityEventTypes">
3292            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
3293            <flag name="typeViewClicked" value="0x00000001" />
3294            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
3295            <flag name="typeViewLongClicked" value="0x00000002" />
3296            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
3297            <flag name="typeViewSelected" value="0x00000004" />
3298            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
3299            <flag name="typeViewFocused" value="0x00000008" />
3300            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
3301            <flag name="typeViewTextChanged" value="0x00000010" />
3302            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
3303            <flag name="typeWindowStateChanged" value="0x00000020" />
3304            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
3305            <flag name="typeNotificationStateChanged" value="0x00000040" />
3306            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
3307            <flag name="typeViewHoverEnter" value="0x00000080" />
3308            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
3309            <flag name="typeViewHoverExit" value="0x00000100" />
3310            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
3311            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
3312            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
3313            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
3314            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
3315            <flag name="typeWindowContentChanged" value="0x00000800" />
3316            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
3317            <flag name="typeViewScrolled" value="0x000001000" />
3318            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
3319            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
3320            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. -->
3321            <flag name="typeAnnouncement" value="0x00004000" />
3322            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. -->
3323            <flag name="typeViewAccessibilityFocused" value="0x00008000" />
3324            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. -->
3325            <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" />
3326            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. -->
3327            <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" />
3328            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. -->
3329            <flag name="typeGestureDetectionStart" value="0x00040000" />
3330            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. -->
3331            <flag name="typeGestureDetectionEnd" value="0x00080000" />
3332            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. -->
3333            <flag name="typeTouchInteractionStart" value="0x00100000" />
3334            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. -->
3335            <flag name="typeTouchInteractionEnd" value="0x00200000" />
3336            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. -->
3337            <flag name="typeWindowsChanged" value="0x00400000" />
3338            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. -->
3339            <flag name="typeContextClicked" value="0x00800000" />
3340            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. -->
3341            <flag name="typeAssistReadingContext" value="0x01000000" />
3342            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
3343            <flag name="typeAllMask" value="0xffffffff" />
3344        </attr>
3345        <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages).
3346             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3347             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3348        <attr name="packageNames" format="string" />
3349        <!-- The feedback types this serivce provides as specified in
3350             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
3351             can be changed at runtime by calling
3352             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3353             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3354        <attr name="accessibilityFeedbackType">
3355            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
3356            <flag name="feedbackSpoken" value="0x00000001" />
3357            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
3358            <flag name="feedbackHaptic" value="0x00000002" />
3359            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
3360            <flag name="feedbackAudible" value="0x00000004" />
3361            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
3362            <flag name="feedbackVisual" value="0x00000008" />
3363            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
3364            <flag name="feedbackGeneric" value="0x00000010" />
3365            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
3366            <flag name="feedbackAllMask" value="0xffffffff" />
3367        </attr>
3368        <!-- The minimal period in milliseconds between two accessibility events of the same type
3369             are sent to this serivce. This setting can be changed at runtime by calling
3370             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3371             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3372        <attr name="notificationTimeout" format="integer" />
3373        <!-- Additional flags as specified in
3374             {@link android.accessibilityservice.AccessibilityServiceInfo}.
3375             This setting can be changed at runtime by calling
3376             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
3377             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
3378        <attr name="accessibilityFlags">
3379            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} -->
3380            <flag name="flagDefault" value="0x00000001" />
3381            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} -->
3382            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
3383            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} -->
3384            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
3385            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} -->
3386            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
3387            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} -->
3388            <flag name="flagReportViewIds" value="0x00000010" />
3389            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} -->
3390            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
3391            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} -->
3392            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
3393            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME} -->
3394            <flag name="flagEnableAccessibilityVolume" value="0x00000080" />
3395            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_CAPTURE_FINGERPRINT_GESTURES} -->
3396            <flag name="flagCaptureFingerprintGestures" value="0x00000200" />
3397        </attr>
3398        <!-- Component name of an activity that allows the user to modify
3399             the settings for this service. This setting cannot be changed at runtime. -->
3400        <attr name="settingsActivity" />
3401        <!-- Attribute whether the accessibility service wants to be able to retrieve the
3402             active window content. This setting cannot be changed at runtime. -->
3403        <attr name="canRetrieveWindowContent" format="boolean" />
3404        <!-- Attribute whether the accessibility service wants to be able to request touch
3405             exploration mode in which touched items are spoken aloud and the UI can be
3406             explored via gestures.
3407             <p>
3408             Required to allow setting the {@link android.accessibilityservice
3409             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
3410             </p>
3411         -->
3412        <attr name="canRequestTouchExplorationMode" format="boolean" />
3413        <!-- Attribute whether the accessibility service wants to be able to request enhanced
3414             web accessibility enhancements. For example, installing scripts to make app
3415             content more accessible.
3416             <p>
3417             Required to allow setting the {@link android.accessibilityservice
3418             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
3419             </p>
3420         -->
3421        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
3422        <!-- Attribute whether the accessibility service wants to be able to request to
3423             filter key events.
3424             <p>
3425             Required to allow setting the {@link android.accessibilityservice
3426             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
3427             </p>
3428         -->
3429        <attr name="canRequestFilterKeyEvents" format="boolean" />
3430        <!-- Attribute whether the accessibility service wants to be able to control
3431             display magnification.
3432             <p>
3433             Required to allow setting the {@link android.accessibilityservice
3434             #AccessibilityServiceInfo#FLAG_CAN_CONTROL_MAGNIFICATION} flag.
3435             </p>
3436         -->
3437        <attr name="canControlMagnification" format="boolean" />
3438        <!-- Attribute whether the accessibility service wants to be able to perform gestures.
3439             <p>
3440             Required to allow setting the {@link android.accessibilityservice
3441             #AccessibilityServiceInfo#FLAG_CAN_PERFORM_GESTURES} flag.
3442             </p>
3443         -->
3444        <attr name="canPerformGestures" format="boolean" />
3445        <!-- Attribute whether the accessibility service wants to be able to capture gestures from
3446             the fingerprint sensor.
3447             <p>
3448             Required to allow setting the {@link android.accessibilityservice
3449             #AccessibilityServiceInfo#FLAG_CAN_CAPTURE_FINGERPRINT_GESTURES} flag.
3450             </p>
3451         -->
3452        <attr name="canCaptureFingerprintGestures" format="boolean" />
3453        <!-- Short description of the accessibility service purpose or behavior.-->
3454        <attr name="description" />
3455    </declare-styleable>
3456
3457    <!-- Use <code>print-service</code> as the root tag of the XML resource that
3458         describes an {@link android.printservice.PrintService} service, which is
3459         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
3460         meta-data entry. -->
3461    <declare-styleable name="PrintService">
3462        <!-- Fully qualified class name of an activity that allows the user to modify
3463             the settings for this service. -->
3464        <attr name="settingsActivity" />
3465        <!-- Fully qualified class name of an activity that allows the user to manually
3466             add printers to this print service. -->
3467        <attr name="addPrintersActivity" format="string"/>
3468        <!-- Fully qualified class name of an activity with advanced print options
3469             specific to this print service. -->
3470        <attr name="advancedPrintOptionsActivity" format="string"/>
3471        <!-- The vendor name if this print service is vendor specific. -->
3472        <attr name="vendor" format="string"/>
3473    </declare-styleable>
3474
3475    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
3476         describes an {@link android.nfc.cardemulation.HostApduService} service, which
3477         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
3478         entry. -->
3479    <declare-styleable name="HostApduService">
3480        <!-- Short description of the functionality the service implements. This attribute
3481             is mandatory.-->
3482        <attr name="description" />
3483        <!-- Whether the device must be unlocked before routing data to this service.
3484             The default is false.-->
3485        <attr name="requireDeviceUnlock" format="boolean"/>
3486        <!-- A drawable that can be rendered in Android's system UI for representing
3487             the service. -->
3488        <attr name="apduServiceBanner" format="reference"/>
3489        <!-- Component name of an activity that allows the user to modify
3490             the settings for this service. -->
3491        <attr name="settingsActivity"/>
3492    </declare-styleable>
3493
3494    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
3495         describes an {@link android.nfc.cardemulation.OffHostApduService}
3496         service, which is referenced from its
3497         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
3498    <declare-styleable name="OffHostApduService">
3499        <!-- Short description of the functionality the service implements. This attribute
3500             is mandatory.-->
3501        <attr name="description" />
3502        <!-- A drawable that can be rendered in Android's system UI for representing
3503             the service. -->
3504        <attr name="apduServiceBanner"/>
3505        <!-- Component name of an activity that allows the user to modify
3506             the settings for this service. -->
3507        <attr name="settingsActivity"/>
3508    </declare-styleable>
3509
3510    <!-- Specify one or more <code>aid-group</code> elements inside a
3511         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
3512         element to define a group of ISO7816 Application ID (AIDs) that
3513         your service can handle.-->
3514    <declare-styleable name="AidGroup">
3515        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
3516        <attr name="description" />
3517        <!-- The category attribute will be used by the Android platform to present
3518             multiple applications that register ISO 7816 Application IDs (AIDs) in the
3519             same category uniformly.
3520             Additionally, when a category is specified, Android will ensure that either
3521             all AIDs in this group are routed to this application, or none at all.
3522             This attribute is optional.-->
3523        <attr name="category" format="string" />
3524    </declare-styleable>
3525
3526    <!-- Specify one or more <code>aid-filter</code> elements inside a
3527         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3528         your service can handle. -->
3529    <declare-styleable name="AidFilter">
3530        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3531        <attr name="name" />
3532    </declare-styleable>
3533
3534    <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a
3535         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
3536         prefix your service can handle. -->
3537    <declare-styleable name="AidPrefixFilter">
3538        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
3539        <attr name="name" />
3540    </declare-styleable>
3541
3542    <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that
3543         describes an {@link android.nfc.cardemulation.HostNfcFService} service, which
3544         is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA}
3545         entry. -->
3546    <declare-styleable name="HostNfcFService">
3547        <!-- Short description of the functionality the service implements. This attribute
3548             is mandatory.-->
3549        <attr name="description" />
3550    </declare-styleable>
3551
3552    <!-- Specify one or more <code>system-code-filter</code> elements inside a
3553         <code>host-nfcf-service</code> element to specify a System Code
3554         your service can handle. -->
3555    <declare-styleable name="SystemCodeFilter">
3556        <!-- The System Code. This attribute is mandatory. -->
3557        <attr name="name" />
3558    </declare-styleable>
3559
3560    <!-- Specify one or more <code>nfcid2-filter</code> elements inside a
3561         <code>host-nfcf-service</code> element to specify a NFCID2
3562         your service can handle. -->
3563    <declare-styleable name="Nfcid2Filter">
3564        <!-- The NFCID2. This attribute is mandatory. -->
3565        <attr name="name" />
3566    </declare-styleable>
3567
3568    <declare-styleable name="ActionMenuItemView">
3569        <attr name="minWidth" />
3570    </declare-styleable>
3571
3572    <!-- =============================== -->
3573    <!-- Widget package class attributes -->
3574    <!-- =============================== -->
3575    <eat-comment />
3576
3577    <declare-styleable name="AbsListView">
3578         <!-- Drawable used to indicate the currently selected item in the list. -->
3579        <attr name="listSelector" format="color|reference" />
3580        <!-- When set to true, the selector will be drawn over the selected item.
3581             Otherwise the selector is drawn behind the selected item. The default
3582             value is false. -->
3583        <attr name="drawSelectorOnTop" format="boolean" />
3584        <!-- Used by ListView and GridView to stack their content from the bottom. -->
3585        <attr name="stackFromBottom" format="boolean" />
3586        <!-- When set to true, the list uses a drawing cache during scrolling.
3587             This makes the rendering faster but uses more memory. The default
3588             value is true. -->
3589        <attr name="scrollingCache" format="boolean" />
3590        <!-- When set to true, the list will filter results as the user types. The
3591             List's adapter must support the Filterable interface for this to work. -->
3592        <attr name="textFilterEnabled" format="boolean" />
3593        <!-- Sets the transcript mode for the list. In transcript mode, the list
3594             scrolls to the bottom to make new items visible when they are added. -->
3595        <attr name="transcriptMode">
3596            <!-- Disables transcript mode. This is the default value. -->
3597            <enum name="disabled" value="0"/>
3598            <!-- The list will automatically scroll to the bottom when
3599                 a data set change notification is received and only if the last item is
3600                 already visible on screen. -->
3601            <enum name="normal" value="1" />
3602            <!-- The list will automatically scroll to the bottom, no matter what items
3603                 are currently visible. -->
3604            <enum name="alwaysScroll" value="2" />
3605        </attr>
3606        <!-- Indicates that this list will always be drawn on top of solid, single-color
3607             opaque background. This allows the list to optimize drawing. -->
3608        <attr name="cacheColorHint" format="color" />
3609        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
3610             the list. -->
3611        <attr name="fastScrollEnabled" format="boolean" />
3612        <!-- Specifies the style of the fast scroll decorations. -->
3613        <attr name="fastScrollStyle" format="reference" />
3614        <!-- When set to true, the list will use a more refined calculation
3615             method based on the pixels height of the items visible on screen. This
3616             property is set to true by default but should be set to false if your adapter
3617             will display items of varying heights. When this property is set to true and
3618             your adapter displays items of varying heights, the scrollbar thumb will
3619             change size as the user scrolls through the list. When set to false, the list
3620             will use only the number of items in the adapter and the number of items visible
3621             on screen to determine the scrollbar's properties. -->
3622        <attr name="smoothScrollbar" format="boolean" />
3623        <!-- Defines the choice behavior for the view. By default, lists do not have
3624             any choice behavior. By setting the choiceMode to singleChoice, the list
3625             allows up to one item to be in a chosen state. By setting the choiceMode to
3626             multipleChoice, the list allows any number of items to be chosen.
3627             Finally, by setting the choiceMode to multipleChoiceModal the list allows
3628             any number of items to be chosen in a special selection mode.
3629             The application will supply a
3630             {@link android.widget.AbsListView.MultiChoiceModeListener} using
3631             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
3632             selection mode. This uses the {@link android.view.ActionMode} API. -->
3633        <attr name="choiceMode">
3634            <!-- Normal list that does not indicate choices. -->
3635            <enum name="none" value="0" />
3636            <!-- The list allows up to one choice. -->
3637            <enum name="singleChoice" value="1" />
3638            <!-- The list allows multiple choices. -->
3639            <enum name="multipleChoice" value="2" />
3640            <!-- The list allows multiple choices in a custom selection mode. -->
3641            <enum name="multipleChoiceModal" value="3" />
3642        </attr>
3643
3644        <!-- When set to true, the list will always show the fast scroll interface.
3645             This setting implies fastScrollEnabled. -->
3646        <attr name="fastScrollAlwaysVisible" format="boolean" />
3647    </declare-styleable>
3648    <!-- @hide -->
3649    <declare-styleable name="RecycleListView">
3650        <!-- Bottom padding to use when no buttons are present. -->
3651        <attr name="paddingBottomNoButtons" format="dimension" />
3652        <!-- Top padding to use when no title is present. -->
3653        <attr name="paddingTopNoTitle" format="dimension" />
3654    </declare-styleable>
3655    <declare-styleable name="AbsSpinner">
3656        <!-- Reference to an array resource that will populate the Spinner.  For static content,
3657             this is simpler than populating the Spinner programmatically. -->
3658        <attr name="entries" />
3659    </declare-styleable>
3660    <declare-styleable name="AnalogClock">
3661        <attr name="dial" format="reference"/>
3662        <attr name="hand_hour" format="reference"/>
3663        <attr name="hand_minute" format="reference"/>
3664    </declare-styleable>
3665    <declare-styleable name="Button">
3666    </declare-styleable>
3667    <declare-styleable name="Chronometer">
3668        <!-- Format string: if specified, the Chronometer will display this
3669             string, with the first "%s" replaced by the current timer value
3670             in "MM:SS" or "H:MM:SS" form.
3671             If no format string is specified, the Chronometer will simply display
3672             "MM:SS" or "H:MM:SS". -->
3673        <attr name="format" format="string" localization="suggested" />
3674        <!-- Specifies whether this Chronometer counts down or counts up from the base.
3675              If not specified this is false and the Chronometer counts up. -->
3676        <attr name="countDown" format="boolean" />
3677    </declare-styleable>
3678    <declare-styleable name="CompoundButton">
3679        <!-- Indicates the initial checked state of this button. -->
3680        <attr name="checked" format="boolean" />
3681        <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). -->
3682        <attr name="button" format="reference" />
3683        <!-- Tint to apply to the button graphic. -->
3684        <attr name="buttonTint" format="color" />
3685        <!-- Blending mode used to apply the button graphic tint. -->
3686        <attr name="buttonTintMode">
3687            <!-- The tint is drawn on top of the drawable.
3688                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3689            <enum name="src_over" value="3" />
3690            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3691                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3692            <enum name="src_in" value="5" />
3693            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3694                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3695            <enum name="src_atop" value="9" />
3696            <!-- Multiplies the color and alpha channels of the drawable with those of
3697                 the tint. [Sa * Da, Sc * Dc] -->
3698            <enum name="multiply" value="14" />
3699            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3700            <enum name="screen" value="15" />
3701            <!-- Combines the tint and drawable color and alpha channels, clamping the
3702                 result to valid color values. Saturate(S + D) -->
3703            <enum name="add" value="16" />
3704        </attr>
3705    </declare-styleable>
3706    <declare-styleable name="CheckedTextView">
3707        <!-- Indicates the initial checked state of this text. -->
3708        <attr name="checked" />
3709        <!-- Drawable used for the check mark graphic. -->
3710        <attr name="checkMark" format="reference"/>
3711        <!-- Tint to apply to the check mark. -->
3712        <attr name="checkMarkTint" format="color" />
3713        <!-- Blending mode used to apply the check mark tint. -->
3714        <attr name="checkMarkTintMode">
3715            <!-- The tint is drawn on top of the drawable.
3716                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
3717            <enum name="src_over" value="3" />
3718            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
3719                 color channels are thrown out. [Sa * Da, Sc * Da] -->
3720            <enum name="src_in" value="5" />
3721            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
3722                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
3723            <enum name="src_atop" value="9" />
3724            <!-- Multiplies the color and alpha channels of the drawable with those of
3725                 the tint. [Sa * Da, Sc * Dc] -->
3726            <enum name="multiply" value="14" />
3727            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
3728            <enum name="screen" value="15" />
3729            <!-- Combines the tint and drawable color and alpha channels, clamping the
3730                 result to valid color values. Saturate(S + D) -->
3731            <enum name="add" value="16" />
3732        </attr>
3733        <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. -->
3734        <attr name="checkMarkGravity">
3735            <!-- Push object to the left of its container, not changing its size. -->
3736            <flag name="left" value="0x03" />
3737            <!-- Push object to the right of its container, not changing its size. -->
3738            <flag name="right" value="0x05" />
3739            <!-- Push object to the beginning of its container, not changing its size. -->
3740            <flag name="start" value="0x00800003" />
3741            <!-- Push object to the end of its container, not changing its size. -->
3742            <flag name="end" value="0x00800005" />
3743        </attr>
3744    </declare-styleable>
3745    <declare-styleable name="EditText">
3746    </declare-styleable>
3747    <declare-styleable name="FastScroll">
3748        <!-- Drawable used for the scroll bar thumb. -->
3749        <attr name="thumbDrawable" format="reference" />
3750        <!-- Minimum width of the thumb. -->
3751        <attr name="thumbMinWidth" format="dimension" />
3752        <!-- Minimum height of the thumb. -->
3753        <attr name="thumbMinHeight" format="dimension" />
3754        <!-- Drawable used for the scroll bar track. -->
3755        <attr name="trackDrawable" format="reference" />
3756        <!-- Drawable used for the section header preview when right-aligned. -->
3757        <attr name="backgroundRight" format="reference" />
3758        <!-- Drawable used for the section header preview when left-aligned. -->
3759        <attr name="backgroundLeft" format="reference" />
3760        <!-- Position of section header preview. -->
3761        <attr name="position">
3762            <!-- Floating at the top of the content. -->
3763            <enum name="floating" value="0" />
3764            <!-- Pinned to the thumb, vertically centered with the middle of the thumb. -->
3765            <enum name="atThumb" value="1" />
3766            <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. -->
3767            <enum name="aboveThumb" value="2" />
3768        </attr>
3769        <attr name="textAppearance" />
3770        <attr name="textColor" />
3771        <attr name="textSize" />
3772        <!-- Minimum width of the section header preview. -->
3773        <attr name="minWidth" />
3774        <!-- Minimum height of the section header preview. -->
3775        <attr name="minHeight" />
3776        <!-- Padding for the section header preview. -->
3777        <attr name="padding" />
3778        <!-- Position of thumb in relation to the track. -->
3779        <attr name="thumbPosition">
3780            <!-- The thumb's midpoint is anchored to the track. At its
3781                 extremes, the thumb will extend half-way outside the
3782                 track. -->
3783            <enum name="midpoint" value="0" />
3784            <!-- The thumb is entirely inside the track. At its extremes,
3785                 the thumb will be contained entirely within the track. -->
3786            <enum name="inside" value="1" />
3787        </attr>
3788    </declare-styleable>
3789    <declare-styleable name="FrameLayout">
3790        <!-- Determines whether to measure all children or just those in
3791             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3792        <attr name="measureAllChildren" format="boolean" />
3793    </declare-styleable>
3794    <declare-styleable name="ExpandableListView">
3795        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3796        <attr name="groupIndicator" format="reference" />
3797        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3798        <attr name="childIndicator" format="reference" />
3799        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3800             use childIndicatorLeft. -->
3801        <attr name="indicatorLeft" format="dimension" />
3802        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3803             use childIndicatorRight. -->
3804        <attr name="indicatorRight" format="dimension" />
3805        <!-- The left bound for a child's indicator. -->
3806        <attr name="childIndicatorLeft" format="dimension" />
3807        <!-- The right bound for a child's indicator. -->
3808        <attr name="childIndicatorRight" format="dimension" />
3809        <!-- Drawable or color that is used as a divider for children. (It will drawn
3810             below and above child items.) The height of this will be the same as
3811             the height of the normal list item divider. -->
3812        <attr name="childDivider" format="reference|color" />
3813        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3814             use childIndicatorStart. -->
3815        <attr name="indicatorStart" format="dimension" />
3816        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3817             use childIndicatorEnd. -->
3818        <attr name="indicatorEnd" format="dimension" />
3819        <!-- The start bound for a child's indicator. -->
3820        <attr name="childIndicatorStart" format="dimension" />
3821        <!-- The end bound for a child's indicator. -->
3822        <attr name="childIndicatorEnd" format="dimension" />
3823    </declare-styleable>
3824    <declare-styleable name="Gallery">
3825        <attr name="gravity" />
3826        <!-- Sets how long a transition animation should run (in milliseconds)
3827             when layout has changed.  Only relevant if animation is turned on. -->
3828        <attr name="animationDuration" format="integer" min="0" />
3829        <attr name="spacing" format="dimension" />
3830        <!-- Sets the alpha on the items that are not selected. -->
3831        <attr name="unselectedAlpha" format="float" />
3832    </declare-styleable>
3833    <declare-styleable name="GridView">
3834        <!-- Defines the default horizontal spacing between columns. -->
3835        <attr name="horizontalSpacing" format="dimension" />
3836        <!-- Defines the default vertical spacing between rows. -->
3837        <attr name="verticalSpacing" format="dimension" />
3838        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3839        <attr name="stretchMode">
3840            <!-- Stretching is disabled. -->
3841            <enum name="none" value="0"/>
3842            <!-- The spacing between each column is stretched. -->
3843            <enum name="spacingWidth" value="1" />
3844            <!-- Each column is stretched equally. -->
3845            <enum name="columnWidth" value="2" />
3846            <!-- The spacing between each column is uniformly stretched.. -->
3847            <enum name="spacingWidthUniform" value="3" />
3848        </attr>
3849        <!-- Specifies the fixed width for each column. -->
3850        <attr name="columnWidth" format="dimension" />
3851        <!-- Defines how many columns to show. -->
3852        <attr name="numColumns" format="integer" min="0">
3853            <!-- Display as many columns as possible to fill the available space. -->
3854            <enum name="auto_fit" value="-1" />
3855        </attr>
3856        <!-- Specifies the gravity within each cell. -->
3857        <attr name="gravity" />
3858    </declare-styleable>
3859    <declare-styleable name="ImageSwitcher">
3860    </declare-styleable>
3861    <declare-styleable name="ImageView">
3862        <!-- Sets a drawable as the content of this ImageView. -->
3863        <attr name="src" format="reference|color" />
3864        <!-- Controls how the image should be resized or moved to match the size
3865             of this ImageView.  See {@link android.widget.ImageView.ScaleType} -->
3866        <attr name="scaleType">
3867            <!-- Scale using the image matrix when drawing. See
3868                 {@link android.widget.ImageView#setImageMatrix(Matrix)}. -->
3869            <enum name="matrix" value="0" />
3870            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. -->
3871            <enum name="fitXY" value="1" />
3872            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. -->
3873            <enum name="fitStart" value="2" />
3874            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. -->
3875            <enum name="fitCenter" value="3" />
3876            <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. -->
3877            <enum name="fitEnd" value="4" />
3878            <!-- Center the image in the view, but perform no scaling. -->
3879            <enum name="center" value="5" />
3880            <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions
3881                 (width and height) of the image will be equal to or larger than the corresponding
3882                 dimension of the view (minus padding). The image is then centered in the view. -->
3883            <enum name="centerCrop" value="6" />
3884            <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both
3885                 dimensions (width and height) of the image will be equal to or less than the
3886                 corresponding dimension of the view (minus padding). The image is then centered in
3887                 the view. -->
3888            <enum name="centerInside" value="7" />
3889        </attr>
3890        <!-- Set this to true if you want the ImageView to adjust its bounds
3891             to preserve the aspect ratio of its drawable. -->
3892        <attr name="adjustViewBounds" format="boolean" />
3893        <!-- An optional argument to supply a maximum width for this view.
3894             See {see android.widget.ImageView#setMaxWidth} for details. -->
3895        <attr name="maxWidth" format="dimension" />
3896        <!-- An optional argument to supply a maximum height for this view.
3897             See {see android.widget.ImageView#setMaxHeight} for details. -->
3898        <attr name="maxHeight" format="dimension" />
3899        <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode.
3900             Please note that for compatibility reasons, this is NOT consistent with the default
3901             SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by
3902             similar tint attributes on other views. -->
3903        <attr name="tint" format="color" />
3904        <!-- If true, the image view will be baseline aligned with based on its
3905             bottom edge. -->
3906        <attr name="baselineAlignBottom" format="boolean" />
3907         <!-- If true, the image will be cropped to fit within its padding. -->
3908        <attr name="cropToPadding" format="boolean" />
3909        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3910             for details -->
3911        <attr name="baseline" format="dimension" />
3912        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3913             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3914        <attr name="drawableAlpha" format="integer" />
3915        <!-- Blending mode used to apply the image tint. -->
3916        <attr name="tintMode" />
3917    </declare-styleable>
3918    <declare-styleable name="ToggleButton">
3919        <!-- The text for the button when it is checked. -->
3920        <attr name="textOn" format="string" />
3921        <!-- The text for the button when it is not checked. -->
3922        <attr name="textOff" format="string" />
3923        <!-- The alpha to apply to the indicator when disabled. -->
3924        <attr name="disabledAlpha" />
3925    </declare-styleable>
3926    <declare-styleable name="RelativeLayout">
3927        <attr name="gravity" />
3928        <!-- Indicates what view should not be affected by gravity. -->
3929        <attr name="ignoreGravity" format="reference" />
3930    </declare-styleable>
3931    <declare-styleable name="LinearLayout">
3932        <!-- Should the layout be a column or a row?  Use "horizontal"
3933             for a row, "vertical" for a column.  The default is
3934             horizontal. -->
3935        <attr name="orientation" />
3936        <attr name="gravity" />
3937        <!-- When set to false, prevents the layout from aligning its children's
3938             baselines. This attribute is particularly useful when the children
3939             use different values for gravity. The default value is true. -->
3940        <attr name="baselineAligned" format="boolean" />
3941        <!-- When a linear layout is part of another layout that is baseline
3942          aligned, it can specify which of its children to baseline align to
3943          (that is, which child TextView).-->
3944        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3945        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3946             by adding the layout_weight of all of the children. This can be
3947             used for instance to give a single child 50% of the total available
3948             space by giving it a layout_weight of 0.5 and setting the weightSum
3949             to 1.0. -->
3950        <attr name="weightSum" format="float" />
3951        <!-- When set to true, all children with a weight will be considered having
3952             the minimum size of the largest child. If false, all children are
3953             measured normally. -->
3954        <attr name="measureWithLargestChild" format="boolean" />
3955        <!-- Drawable to use as a vertical divider between buttons. -->
3956        <attr name="divider" />
3957        <!-- Setting for which dividers to show. -->
3958        <attr name="showDividers">
3959            <flag name="none" value="0" />
3960            <flag name="beginning" value="1" />
3961            <flag name="middle" value="2" />
3962            <flag name="end" value="4" />
3963        </attr>
3964        <!-- Size of padding on either end of a divider. -->
3965        <attr name="dividerPadding" format="dimension" />
3966    </declare-styleable>
3967    <declare-styleable name="GridLayout">
3968        <!-- The orientation property is not used during layout. It is only used to
3969        allocate row and column parameters when they are not specified by its children's
3970        layout paramters. GridLayout works like LinearLayout in this case;
3971        putting all the components either in a single row or in a single column -
3972        depending on the value of this flag. In the horizontal case, a columnCount
3973        property may be additionally supplied to force new rows to be created when a
3974        row is full. The rowCount attribute may be used similarly in the vertical case.
3975        The default is horizontal. -->
3976        <attr name="orientation" />
3977        <!-- The maxmimum number of rows to create when automatically positioning children. -->
3978        <attr name="rowCount" format="integer" />
3979        <!-- The maxmimum number of columns to create when automatically positioning children. -->
3980        <attr name="columnCount" format="integer" />
3981        <!-- When set to true, tells GridLayout to use default margins when none are specified
3982        in a view's layout parameters.
3983        The default value is false.
3984        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
3985        <attr name="useDefaultMargins" format="boolean" />
3986        <!-- When set to alignMargins, causes alignment to take place between the outer
3987        boundary of a view, as defined by its margins. When set to alignBounds,
3988        causes alignment to take place between the edges of the view.
3989        The default is alignMargins.
3990        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
3991        <attr name="alignmentMode" />
3992        <!-- When set to true, forces row boundaries to appear in the same order
3993        as row indices.
3994        The default is true.
3995        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
3996        <attr name="rowOrderPreserved" format="boolean" />
3997        <!-- When set to true, forces column boundaries to appear in the same order
3998        as column indices.
3999        The default is true.
4000        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
4001        <attr name="columnOrderPreserved" format="boolean" />
4002    </declare-styleable>
4003    <declare-styleable name="ListView">
4004        <!-- Reference to an array resource that will populate the ListView.  For static content,
4005             this is simpler than populating the ListView programmatically. -->
4006        <attr name="entries" />
4007        <!-- Drawable or color to draw between list items. -->
4008        <attr name="divider" format="reference|color" />
4009        <!-- Height of the divider. Will use the intrinsic height of the divider if this
4010             is not specified. -->
4011        <attr name="dividerHeight" format="dimension" />
4012        <!-- When set to false, the ListView will not draw the divider after each header view.
4013             The default value is true. -->
4014        <attr name="headerDividersEnabled" format="boolean" />
4015        <!-- When set to false, the ListView will not draw the divider before each footer view.
4016             The default value is true. -->
4017        <attr name="footerDividersEnabled" format="boolean" />
4018        <!-- Drawable to draw above list content. -->
4019        <attr name="overScrollHeader" format="reference|color" />
4020        <!-- Drawable to draw below list content. -->
4021        <attr name="overScrollFooter" format="reference|color" />
4022    </declare-styleable>
4023    <declare-styleable name="PreferenceFrameLayout">
4024        <!-- Padding to use at the top of the prefs content. -->
4025        <attr name="borderTop" format="dimension" />
4026        <!-- Padding to use at the bottom of the prefs content. -->
4027        <attr name="borderBottom" format="dimension" />
4028        <!-- Padding to use at the left of the prefs content. -->
4029        <attr name="borderLeft" format="dimension" />
4030        <!-- Padding to use at the right of the prefs content. -->
4031        <attr name="borderRight" format="dimension" />
4032    </declare-styleable>
4033    <declare-styleable name="PreferenceFrameLayout_Layout">
4034        <!-- Padding to use at the top of the prefs content. -->
4035        <attr name="layout_removeBorders" format="boolean" />
4036    </declare-styleable>
4037    <declare-styleable name="MenuView">
4038        <!-- Default appearance of menu item text. -->
4039        <attr name="itemTextAppearance" format="reference" />
4040        <!-- Default horizontal divider between rows of menu items. -->
4041        <attr name="horizontalDivider" format="reference" />
4042        <!-- Default vertical divider between menu items. -->
4043        <attr name="verticalDivider" format="reference" />
4044        <!-- Default background for the menu header. -->
4045        <attr name="headerBackground" format="color|reference" />
4046        <!-- Default background for each menu item. -->
4047        <attr name="itemBackground" format="color|reference" />
4048        <!-- Default animations for the menu. -->
4049        <attr name="windowAnimationStyle" />
4050        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
4051        <attr name="itemIconDisabledAlpha" format="float" />
4052        <!-- Whether space should be reserved in layout when an icon is missing. -->
4053        <attr name="preserveIconSpacing" format="boolean" />
4054        <!-- Drawable for the arrow icon indicating a particular item is a submenu. -->
4055        <attr name="subMenuArrow" format="reference" />
4056    </declare-styleable>
4057    <declare-styleable name="IconMenuView">
4058        <!-- Defines the height of each row. -->
4059        <attr name="rowHeight" format="dimension" />
4060        <!-- Defines the maximum number of rows displayed. -->
4061        <attr name="maxRows" format="integer" />
4062        <!-- Defines the maximum number of items per row. -->
4063        <attr name="maxItemsPerRow" format="integer" />
4064        <!-- Defines the maximum number of items to show. -->
4065        <attr name="maxItems" format="integer" />
4066        <!-- 'More' icon. -->
4067        <attr name="moreIcon" format="reference" />
4068    </declare-styleable>
4069
4070    <declare-styleable name="ProgressBar">
4071        <attr name="min" format="integer" />
4072        <!-- Defines the maximum value the progress can take. -->
4073        <attr name="max" format="integer" />
4074        <!-- Defines the default progress value, between 0 and max. -->
4075        <attr name="progress" format="integer" />
4076        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
4077             the primary progress and the background.  It can be ideal for media scenarios such as
4078             showing the buffering progress while the default progress shows the play progress. -->
4079        <attr name="secondaryProgress" format="integer" />
4080        <!-- Allows to enable the indeterminate mode. In this mode the progress
4081         bar plays an infinite looping animation. -->
4082        <attr name="indeterminate" format="boolean" />
4083        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
4084        <attr name="indeterminateOnly" format="boolean" />
4085        <!-- Drawable used for the indeterminate mode. -->
4086        <attr name="indeterminateDrawable" format="reference" />
4087        <!-- Drawable used for the progress mode. -->
4088        <attr name="progressDrawable" format="reference" />
4089        <!-- Duration of the indeterminate animation. -->
4090        <attr name="indeterminateDuration" format="integer" min="1" />
4091        <!-- Defines how the indeterminate mode should behave when the progress
4092        reaches max. -->
4093        <attr name="indeterminateBehavior">
4094            <!-- Progress starts over from 0. -->
4095            <enum name="repeat" value="1" />
4096            <!-- Progress keeps the current value and goes back to 0. -->
4097            <enum name="cycle" value="2" />
4098        </attr>
4099        <attr name="minWidth" format="dimension" />
4100        <attr name="maxWidth" />
4101        <attr name="minHeight" format="dimension" />
4102        <attr name="maxHeight" />
4103        <attr name="interpolator" format="reference" />
4104        <!-- Timeout between frames of animation in milliseconds
4105             {@deprecated Not used by the framework.} -->
4106        <attr name="animationResolution" format="integer" />
4107        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
4108             Default is false -->
4109        <attr name="mirrorForRtl" format="boolean" />
4110        <!-- Tint to apply to the progress indicator. -->
4111        <attr name="progressTint" format="color" />
4112        <!-- Blending mode used to apply the progress indicator tint. -->
4113        <attr name="progressTintMode">
4114            <!-- The tint is drawn on top of the drawable.
4115                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4116            <enum name="src_over" value="3" />
4117            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4118                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4119            <enum name="src_in" value="5" />
4120            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4121                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4122            <enum name="src_atop" value="9" />
4123            <!-- Multiplies the color and alpha channels of the drawable with those of
4124                 the tint. [Sa * Da, Sc * Dc] -->
4125            <enum name="multiply" value="14" />
4126            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4127            <enum name="screen" value="15" />
4128            <!-- Combines the tint and drawable color and alpha channels, clamping the
4129                 result to valid color values. Saturate(S + D) -->
4130            <enum name="add" value="16" />
4131        </attr>
4132        <!-- Tint to apply to the progress indicator background. -->
4133        <attr name="progressBackgroundTint" format="color" />
4134        <!-- Blending mode used to apply the progress indicator background tint. -->
4135        <attr name="progressBackgroundTintMode">
4136            <!-- The tint is drawn on top of the drawable.
4137                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4138            <enum name="src_over" value="3" />
4139            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4140                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4141            <enum name="src_in" value="5" />
4142            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4143                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4144            <enum name="src_atop" value="9" />
4145            <!-- Multiplies the color and alpha channels of the drawable with those of
4146                 the tint. [Sa * Da, Sc * Dc] -->
4147            <enum name="multiply" value="14" />
4148            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4149            <enum name="screen" value="15" />
4150            <!-- Combines the tint and drawable color and alpha channels, clamping the
4151                 result to valid color values. Saturate(S + D) -->
4152            <enum name="add" value="16" />
4153        </attr>
4154        <!-- Tint to apply to the secondary progress indicator. -->
4155        <attr name="secondaryProgressTint" format="color" />
4156        <!-- Blending mode used to apply the secondary progress indicator tint. -->
4157        <attr name="secondaryProgressTintMode">
4158            <!-- The tint is drawn on top of the drawable.
4159                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4160            <enum name="src_over" value="3" />
4161            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4162                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4163            <enum name="src_in" value="5" />
4164            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4165                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4166            <enum name="src_atop" value="9" />
4167            <!-- Multiplies the color and alpha channels of the drawable with those of
4168                 the tint. [Sa * Da, Sc * Dc] -->
4169            <enum name="multiply" value="14" />
4170            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4171            <enum name="screen" value="15" />
4172            <!-- Combines the tint and drawable color and alpha channels, clamping the
4173                 result to valid color values. Saturate(S + D) -->
4174            <enum name="add" value="16" />
4175        </attr>
4176        <!-- Tint to apply to the indeterminate progress indicator. -->
4177        <attr name="indeterminateTint" format="color" />
4178        <!-- Blending mode used to apply the indeterminate progress indicator tint. -->
4179        <attr name="indeterminateTintMode">
4180            <!-- The tint is drawn on top of the drawable.
4181                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4182            <enum name="src_over" value="3" />
4183            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4184                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4185            <enum name="src_in" value="5" />
4186            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4187                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4188            <enum name="src_atop" value="9" />
4189            <!-- Multiplies the color and alpha channels of the drawable with those of
4190                 the tint. [Sa * Da, Sc * Dc] -->
4191            <enum name="multiply" value="14" />
4192            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4193            <enum name="screen" value="15" />
4194            <!-- Combines the tint and drawable color and alpha channels, clamping the
4195                 result to valid color values. Saturate(S + D) -->
4196            <enum name="add" value="16" />
4197        </attr>
4198        <!-- Tint to apply to the background. -->
4199        <attr name="backgroundTint" />
4200        <!-- Blending mode used to apply the background tint. -->
4201        <attr name="backgroundTintMode" />
4202    </declare-styleable>
4203
4204    <declare-styleable name="SeekBar">
4205        <!-- Draws the thumb on a seekbar. -->
4206        <attr name="thumb" format="reference" />
4207        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
4208        <attr name="thumbOffset" format="dimension" />
4209        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
4210        <attr name="splitTrack" format="boolean" />
4211        <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha
4212             when disabled. This is required for Holo and Gingerbread, but
4213             should always be false for Material and  beyond.
4214             @hide Developers shouldn't need to change this. -->
4215        <attr name="useDisabledAlpha" format="boolean" />
4216        <!-- Tint to apply to the thumb drawable. -->
4217        <attr name="thumbTint" format="color" />
4218        <!-- Blending mode used to apply the thumb tint. -->
4219        <attr name="thumbTintMode">
4220            <!-- The tint is drawn on top of the drawable.
4221                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4222            <enum name="src_over" value="3" />
4223            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4224                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4225            <enum name="src_in" value="5" />
4226            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4227                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4228            <enum name="src_atop" value="9" />
4229            <!-- Multiplies the color and alpha channels of the drawable with those of
4230                 the tint. [Sa * Da, Sc * Dc] -->
4231            <enum name="multiply" value="14" />
4232            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4233            <enum name="screen" value="15" />
4234            <!-- Combines the tint and drawable color and alpha channels, clamping the
4235                 result to valid color values. Saturate(S + D) -->
4236            <enum name="add" value="16" />
4237        </attr>
4238        <!-- Drawable displayed at each progress position on a seekbar. -->
4239        <attr name="tickMark" format="reference" />
4240        <!-- Tint to apply to the tick mark drawable. -->
4241        <attr name="tickMarkTint" format="color" />
4242        <!-- Blending mode used to apply the tick mark tint. -->
4243        <attr name="tickMarkTintMode">
4244            <!-- The tint is drawn on top of the drawable.
4245                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4246            <enum name="src_over" value="3" />
4247            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4248                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4249            <enum name="src_in" value="5" />
4250            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4251                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4252            <enum name="src_atop" value="9" />
4253            <!-- Multiplies the color and alpha channels of the drawable with those of
4254                 the tint. [Sa * Da, Sc * Dc] -->
4255            <enum name="multiply" value="14" />
4256            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4257            <enum name="screen" value="15" />
4258            <!-- Combines the tint and drawable color and alpha channels, clamping the
4259                 result to valid color values. Saturate(S + D) -->
4260            <enum name="add" value="16" />
4261        </attr>
4262    </declare-styleable>
4263
4264    <declare-styleable name="StackView">
4265        <!-- Color of the res-out outline. -->
4266        <attr name="resOutColor" format="color" />
4267        <!-- Color of the outline of click feedback. -->
4268        <attr name="clickColor" format="color" />
4269    </declare-styleable>
4270
4271    <declare-styleable name="RatingBar">
4272        <!-- The number of stars (or rating items) to show. -->
4273        <attr name="numStars" format="integer" />
4274        <!-- The rating to set by default. -->
4275        <attr name="rating" format="float" />
4276        <!-- The step size of the rating. -->
4277        <attr name="stepSize" format="float" />
4278        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
4279        <attr name="isIndicator" format="boolean" />
4280    </declare-styleable>
4281
4282    <declare-styleable name="RadioGroup">
4283        <!-- The id of the child radio button that should be checked by default
4284             within this radio group. -->
4285        <attr name="checkedButton" format="integer" />
4286        <!-- Should the radio group be a column or a row?  Use "horizontal"
4287             for a row, "vertical" for a column.  The default is
4288             vertical. -->
4289        <attr name="orientation" />
4290    </declare-styleable>
4291    <declare-styleable name="TableLayout">
4292        <!-- The zero-based index of the columns to stretch. The column indices
4293             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4294             indices are ignored. You can stretch all columns by using the
4295             value "*" instead. Note that a column can be marked stretchable
4296             and shrinkable at the same time. -->
4297        <attr name="stretchColumns" format="string" />
4298       <!-- The zero-based index of the columns to shrink. The column indices
4299             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4300             indices are ignored. You can shrink all columns by using the
4301             value "*" instead. Note that a column can be marked stretchable
4302             and shrinkable at the same time. -->
4303        <attr name="shrinkColumns" format="string" />
4304        <!-- The zero-based index of the columns to collapse. The column indices
4305             must be separated by a comma: 1, 2, 5. Illegal and duplicate
4306             indices are ignored. -->
4307        <attr name="collapseColumns" format="string" />
4308    </declare-styleable>
4309    <declare-styleable name="TableRow">
4310
4311    </declare-styleable>
4312    <declare-styleable name="TableRow_Cell">
4313        <!-- The index of the column in which this child should be. -->
4314        <attr name="layout_column" format="integer" />
4315        <!-- Defines how many columns this child should span.  Must be >= 1.-->
4316        <attr name="layout_span" format="integer" />
4317    </declare-styleable>
4318    <declare-styleable name="TabWidget">
4319        <!-- Drawable used to draw the divider between tabs. -->
4320        <attr name="divider" />
4321        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
4322        <attr name="tabStripEnabled" format="boolean" />
4323        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
4324        <attr name="tabStripLeft" format="reference" />
4325        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
4326        <attr name="tabStripRight" format="reference" />
4327        <!-- Layout used to organize each tab's content. -->
4328        <attr name="tabLayout" format="reference" />
4329    </declare-styleable>
4330    <declare-styleable name="TextAppearance">
4331        <!-- Text color. -->
4332        <attr name="textColor" />
4333        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4334        <attr name="textSize" />
4335        <!-- Style (bold, italic, bolditalic) for the text. -->
4336        <attr name="textStyle" />
4337        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4338        <attr name="typeface" />
4339        <!-- Font family (named by string) for the text. -->
4340        <attr name="fontFamily" />
4341        <!-- Color of the text selection highlight. -->
4342        <attr name="textColorHighlight" />
4343        <!-- Color of the hint text. -->
4344        <attr name="textColorHint" />
4345        <!-- Color of the links. -->
4346        <attr name="textColorLink" />
4347        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4348        <attr name="textAllCaps" format="boolean" />
4349        <!-- Place a blurred shadow of text underneath the text, drawn with the
4350             specified color. The text shadow produced does not interact with
4351             properties on View that are responsible for real time shadows,
4352             {@link android.R.styleable#View_elevation elevation} and
4353             {@link android.R.styleable#View_translationZ translationZ}. -->
4354        <attr name="shadowColor" format="color" />
4355        <!-- Horizontal offset of the text shadow. -->
4356        <attr name="shadowDx" format="float" />
4357        <!-- Vertical offset of the text shadow. -->
4358        <attr name="shadowDy" format="float" />
4359        <!-- Blur radius of the text shadow. -->
4360        <attr name="shadowRadius" format="float" />
4361        <!-- Elegant text height, especially for less compacted complex script text. -->
4362        <attr name="elegantTextHeight" format="boolean" />
4363        <!-- Text letter-spacing. -->
4364        <attr name="letterSpacing" format="float" />
4365        <!-- Font feature settings. -->
4366        <attr name="fontFeatureSettings" format="string" />
4367    </declare-styleable>
4368    <declare-styleable name="TextClock">
4369        <!-- Specifies the formatting pattern used to show the time and/or date
4370             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
4371             for a complete description of accepted formatting patterns.
4372             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
4373        <attr name="format12Hour" format="string"/>
4374        <!-- Specifies the formatting pattern used to show the time and/or date
4375             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
4376             for a complete description of accepted formatting patterns.
4377             The default pattern is a locale-appropriate equivalent of "H:mm". -->
4378        <attr name="format24Hour" format="string"/>
4379        <!-- Specifies the time zone to use. When this attribute is specified, the
4380             TextClock will ignore the time zone of the system. To use the user's
4381             time zone, do not specify this attribute. The default value is the
4382             user's time zone. Please refer to {@link java.util.TimeZone} for more
4383             information about time zone ids. -->
4384        <attr name="timeZone" format="string"/>
4385    </declare-styleable>
4386    <declare-styleable name="TextSwitcher">
4387    </declare-styleable>
4388    <declare-styleable name="TextView">
4389        <!-- Determines the minimum type that getText() will return.
4390             The default is "normal".
4391             Note that EditText and LogTextBox always return Editable,
4392             even if you specify something less powerful here. -->
4393        <attr name="bufferType">
4394            <!-- Can return any CharSequence, possibly a
4395             Spanned one if the source text was Spanned. -->
4396            <enum name="normal" value="0" />
4397            <!-- Can only return Spannable. -->
4398            <enum name="spannable" value="1" />
4399            <!-- Can only return Spannable and Editable. -->
4400            <enum name="editable" value="2" />
4401        </attr>
4402        <!-- Text to display. -->
4403        <attr name="text" format="string" localization="suggested" />
4404        <!-- Hint text to display when the text is empty. -->
4405        <attr name="hint" format="string" />
4406        <!-- Text color. -->
4407        <attr name="textColor" />
4408        <!-- Color of the text selection highlight. -->
4409        <attr name="textColorHighlight" />
4410        <!-- Color of the hint text. -->
4411        <attr name="textColorHint" />
4412        <!-- Base text color, typeface, size, and style. -->
4413        <attr name="textAppearance" />
4414        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
4415        <attr name="textSize" />
4416        <!-- Sets the horizontal scaling factor for the text. -->
4417        <attr name="textScaleX" format="float" />
4418        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
4419        <attr name="typeface" />
4420        <!-- Style (bold, italic, bolditalic) for the text. -->
4421        <attr name="textStyle" />
4422        <!-- Font family (named by string) for the text. -->
4423        <attr name="fontFamily" />
4424        <!-- Text color for links. -->
4425        <attr name="textColorLink" />
4426        <!-- Makes the cursor visible (the default) or invisible. -->
4427        <attr name="cursorVisible" format="boolean" />
4428        <!-- Makes the TextView be at most this many lines tall.
4429
4430        When used on an editable text, the <code>inputType</code> attribute's value must be
4431        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
4432        <attr name="maxLines" format="integer" min="0" />
4433        <!-- Makes the TextView be at most this many pixels tall. -->
4434        <attr name="maxHeight" />
4435        <!-- Makes the TextView be exactly this many lines tall. -->
4436        <attr name="lines" format="integer" min="0" />
4437        <!-- Makes the TextView be exactly this many pixels tall.
4438             You could get the same effect by specifying this number in the
4439             layout parameters. -->
4440        <attr name="height" format="dimension" />
4441        <!-- Makes the TextView be at least this many lines tall.
4442
4443        When used on an editable text, the <code>inputType</code> attribute's value must be
4444        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
4445        <attr name="minLines" format="integer" min="0" />
4446        <!-- Makes the TextView be at least this many pixels tall. -->
4447        <attr name="minHeight" />
4448        <!-- Makes the TextView be at most this many ems wide. -->
4449        <attr name="maxEms" format="integer" min="0" />
4450        <!-- Makes the TextView be at most this many pixels wide. -->
4451        <attr name="maxWidth" />
4452        <!-- Makes the TextView be exactly this many ems wide. -->
4453        <attr name="ems" format="integer" min="0" />
4454        <!-- Makes the TextView be exactly this many pixels wide.
4455             You could get the same effect by specifying this number in the
4456             layout parameters. -->
4457        <attr name="width" format="dimension" />
4458        <!-- Makes the TextView be at least this many ems wide. -->
4459        <attr name="minEms" format="integer" min="0" />
4460        <!-- Makes the TextView be at least this many pixels wide. -->
4461        <attr name="minWidth" />
4462        <!-- Specifies how to align the text by the view's x- and/or y-axis
4463             when the text is smaller than the view. -->
4464        <attr name="gravity" />
4465        <!-- Whether the text is allowed to be wider than the view (and
4466             therefore can be scrolled horizontally). -->
4467        <attr name="scrollHorizontally" format="boolean" />
4468        <!-- Whether the characters of the field are displayed as
4469             password dots instead of themselves.
4470             {@deprecated Use inputType instead.} -->
4471        <attr name="password" format="boolean" />
4472        <!-- Constrains the text to a single horizontally scrolling line
4473             instead of letting it wrap onto multiple lines, and advances
4474             focus instead of inserting a newline when you press the
4475             enter key.
4476
4477             The default value is false (multi-line wrapped text mode) for non-editable text, but if
4478             you specify any value for inputType, the default is true (single-line input field mode).
4479
4480             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
4481             the layout of a static text, and use the <code>textMultiLine</code> flag in the
4482             inputType attribute instead for editable text views (if both singleLine and inputType
4483             are supplied, the inputType flags will override the value of singleLine). } -->
4484        <attr name="singleLine" format="boolean" />
4485        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
4486             For example, a non-enabled EditText prevents the user from editing the contained text, and
4487             a non-enabled Button prevents the user from tapping the button.
4488             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
4489             from evaluating state_enabled differ. -->
4490        <attr name="enabled" format="boolean" />
4491        <!-- If the text is selectable, select it all when the view takes
4492             focus. -->
4493        <attr name="selectAllOnFocus" format="boolean" />
4494        <!-- Leave enough room for ascenders and descenders instead of
4495             using the font ascent and descent strictly.  (Normally true). -->
4496        <attr name="includeFontPadding" format="boolean" />
4497        <!-- Set an input filter to constrain the text length to the
4498             specified number. -->
4499        <attr name="maxLength" format="integer" min="0" />
4500        <!-- Place a blurred shadow of text underneath the text, drawn with the
4501             specified color. The text shadow produced does not interact with
4502             properties on View that are responsible for real time shadows,
4503             {@link android.R.styleable#View_elevation elevation} and
4504             {@link android.R.styleable#View_translationZ translationZ}. -->
4505        <attr name="shadowColor" />
4506        <!-- Horizontal offset of the text shadow. -->
4507        <attr name="shadowDx" />
4508        <!-- Vertical offset of the text shadow. -->
4509        <attr name="shadowDy" />
4510        <!-- Blur radius of the text shadow. -->
4511        <attr name="shadowRadius" />
4512        <attr name="autoLink" />
4513        <!-- If set to false, keeps the movement method from being set
4514             to the link movement method even if autoLink causes links
4515             to be found. -->
4516        <attr name="linksClickable" format="boolean" />
4517        <!-- If set, specifies that this TextView has a numeric input method.
4518             The default is false.
4519             {@deprecated Use inputType instead.} -->
4520        <attr name="numeric">
4521            <!-- Input is numeric. -->
4522            <flag name="integer" value="0x01" />
4523            <!-- Input is numeric, with sign allowed. -->
4524            <flag name="signed" value="0x03" />
4525            <!-- Input is numeric, with decimals allowed. -->
4526            <flag name="decimal" value="0x05" />
4527        </attr>
4528        <!-- If set, specifies that this TextView has a numeric input method
4529             and that these specific characters are the ones that it will
4530             accept.
4531             If this is set, numeric is implied to be true.
4532             The default is false. -->
4533        <attr name="digits" format="string" />
4534        <!-- If set, specifies that this TextView has a phone number input
4535             method. The default is false.
4536             {@deprecated Use inputType instead.} -->
4537        <attr name="phoneNumber" format="boolean" />
4538        <!-- If set, specifies that this TextView should use the specified
4539             input method (specified by fully-qualified class name).
4540             {@deprecated Use inputType instead.} -->
4541        <attr name="inputMethod" format="string" />
4542        <!-- If set, specifies that this TextView has a textual input method
4543             and should automatically capitalize what the user types.
4544             The default is "none".
4545             {@deprecated Use inputType instead.} -->
4546        <attr name="capitalize">
4547            <!-- Don't automatically capitalize anything. -->
4548            <enum name="none" value="0" />
4549            <!-- Capitalize the first word of each sentence. -->
4550            <enum name="sentences" value="1" />
4551            <!-- Capitalize the first letter of every word. -->
4552            <enum name="words" value="2" />
4553            <!-- Capitalize every character. -->
4554            <enum name="characters" value="3" />
4555        </attr>
4556        <!-- If set, specifies that this TextView has a textual input method
4557             and automatically corrects some common spelling errors.
4558             The default is "false".
4559             {@deprecated Use inputType instead.} -->
4560        <attr name="autoText" format="boolean" />
4561        <!-- If set, specifies that this TextView has an input method.
4562             It will be a textual one unless it has otherwise been specified.
4563             For TextView, this is false by default.  For EditText, it is
4564             true by default.
4565             {@deprecated Use inputType instead.} -->
4566        <attr name="editable" format="boolean" />
4567        <!-- If set, the text view will include its current complete text
4568             inside of its frozen icicle in addition to meta-data such as
4569             the current cursor position.  By default this is disabled;
4570             it can be useful when the contents of a text view is not stored
4571             in a persistent place such as a content provider. For
4572             {@link android.widget.EditText} it is always enabled, regardless
4573             of the value of the attribute. -->
4574        <attr name="freezesText" format="boolean" />
4575        <!-- If set, causes words that are longer than the view is wide
4576             to be ellipsized instead of broken in the middle.
4577             You will often also want to set scrollHorizontally or singleLine
4578             as well so that the text as a whole is also constrained to
4579             a single line instead of still allowed to be broken onto
4580             multiple lines. -->
4581        <attr name="ellipsize" />
4582        <!-- The drawable to be drawn above the text. -->
4583        <attr name="drawableTop" format="reference|color" />
4584        <!-- The drawable to be drawn below the text. -->
4585        <attr name="drawableBottom" format="reference|color" />
4586        <!-- The drawable to be drawn to the left of the text. -->
4587        <attr name="drawableLeft" format="reference|color" />
4588        <!-- The drawable to be drawn to the right of the text. -->
4589        <attr name="drawableRight" format="reference|color" />
4590        <!-- The drawable to be drawn to the start of the text. -->
4591        <attr name="drawableStart" format="reference|color" />
4592        <!-- The drawable to be drawn to the end of the text. -->
4593        <attr name="drawableEnd" format="reference|color" />
4594        <!-- The padding between the drawables and the text. -->
4595        <attr name="drawablePadding" format="dimension" />
4596        <!-- Tint to apply to the compound (left, top, etc.) drawables. -->
4597        <attr name="drawableTint" format="color" />
4598        <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. -->
4599        <attr name="drawableTintMode">
4600            <!-- The tint is drawn on top of the drawable.
4601                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4602            <enum name="src_over" value="3" />
4603            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4604                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4605            <enum name="src_in" value="5" />
4606            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4607                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4608            <enum name="src_atop" value="9" />
4609            <!-- Multiplies the color and alpha channels of the drawable with those of
4610                 the tint. [Sa * Da, Sc * Dc] -->
4611            <enum name="multiply" value="14" />
4612            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4613            <enum name="screen" value="15" />
4614            <!-- Combines the tint and drawable color and alpha channels, clamping the
4615                 result to valid color values. Saturate(S + D) -->
4616            <enum name="add" value="16" />
4617        </attr>
4618        <!-- Extra spacing between lines of text. -->
4619        <attr name="lineSpacingExtra" format="dimension" />
4620        <!-- Extra spacing between lines of text, as a multiplier. -->
4621        <attr name="lineSpacingMultiplier" format="float" />
4622        <!-- The number of times to repeat the marquee animation. Only applied if the
4623             TextView has marquee enabled. -->
4624        <attr name="marqueeRepeatLimit" format="integer">
4625            <!-- Indicates that marquee should repeat indefinitely. -->
4626            <enum name="marquee_forever" value="-1" />
4627        </attr>
4628        <attr name="inputType" />
4629        <!-- Whether undo should be allowed for editable text. Defaults to true. -->
4630        <attr name="allowUndo" format="boolean" />
4631        <attr name="imeOptions" />
4632        <!-- An addition content type description to supply to the input
4633             method attached to the text view, which is private to the
4634             implementation of the input method.  This simply fills in
4635             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
4636             EditorInfo.privateImeOptions} field when the input
4637             method is connected. -->
4638        <attr name="privateImeOptions" format="string" />
4639        <!-- Supply a value for
4640             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
4641             used when an input method is connected to the text view. -->
4642        <attr name="imeActionLabel" format="string" />
4643        <!-- Supply a value for
4644             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
4645             used when an input method is connected to the text view. -->
4646        <attr name="imeActionId" format="integer" />
4647        <!-- Reference to an
4648             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
4649             XML resource containing additional data to
4650             supply to an input method, which is private to the implementation
4651             of the input method.  This simply fills in
4652             the {@link android.view.inputmethod.EditorInfo#extras
4653             EditorInfo.extras} field when the input
4654             method is connected. -->
4655        <attr name="editorExtras" format="reference" />
4656
4657        <!-- Reference to a drawable that will be used to display a text selection
4658             anchor on the left side of a selection region. -->
4659        <attr name="textSelectHandleLeft" />
4660        <!-- Reference to a drawable that will be used to display a text selection
4661             anchor on the right side of a selection region. -->
4662        <attr name="textSelectHandleRight" />
4663        <!-- Reference to a drawable that will be used to display a text selection
4664             anchor for positioning the cursor within text. -->
4665        <attr name="textSelectHandle" />
4666        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
4667             TextEdit field. -->
4668        <attr name="textEditPasteWindowLayout" />
4669        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
4670        <attr name="textEditNoPasteWindowLayout" />
4671        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
4672             insertion cursor because it would be clipped if it were positioned on top. -->
4673        <attr name="textEditSidePasteWindowLayout" />
4674        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
4675        <attr name="textEditSideNoPasteWindowLayout" />
4676
4677        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
4678        <attr name="textEditSuggestionItemLayout" />
4679        <!-- Layout of the container of the suggestion popup window. -->
4680        <attr name="textEditSuggestionContainerLayout" />
4681        <!-- Style of the highlighted string in the suggestion popup window. -->
4682        <attr name="textEditSuggestionHighlightStyle" />
4683
4684
4685        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
4686        <attr name="textCursorDrawable" />
4687
4688        <!-- Indicates that the content of a non-editable text can be selected. -->
4689        <attr name="textIsSelectable" />
4690        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
4691        <attr name="textAllCaps" />
4692        <!-- Elegant text height, especially for less compacted complex script text. -->
4693        <attr name="elegantTextHeight" />
4694        <!-- Text letter-spacing. -->
4695        <attr name="letterSpacing" />
4696        <!-- Font feature settings. -->
4697        <attr name="fontFeatureSettings" />
4698        <!-- Break strategy (control over paragraph layout). -->
4699        <attr name="breakStrategy">
4700            <!-- Line breaking uses simple strategy. -->
4701            <enum name="simple" value="0" />
4702            <!-- Line breaking uses high-quality strategy, including hyphenation. -->
4703            <enum name="high_quality" value="1" />
4704            <!-- Line breaking strategy balances line lengths. -->
4705            <enum name="balanced" value="2" />
4706        </attr>
4707        <!-- Frequency of automatic hyphenation. -->
4708        <attr name="hyphenationFrequency">
4709            <!-- No hyphenation. -->
4710            <enum name="none" value="0" />
4711            <!-- Less frequent hyphenation, useful for informal use cases, such
4712            as chat messages. -->
4713            <enum name="normal" value="1" />
4714            <!-- Standard amount of hyphenation, useful for running text and for
4715            screens with limited space for text. -->
4716            <enum name="full" value="2" />
4717        </attr>
4718        <!-- Specify the type of auto-size. Note that this feature is not supported by EditText,
4719        works only for TextView -->
4720        <attr name="autoSizeText" format="enum">
4721            <!-- No auto-sizing (default). -->
4722            <enum name="none" value="0" />
4723            <!-- Uniform horizontal and vertical scaling. -->
4724            <enum name="xy" value="1" />
4725        </attr>
4726        <!-- Specify the auto-size step size if <code>autoSizeText</code> is set to
4727        <code>xy</code>. The default is 1px. Overwrites
4728        <code>autoSizeStepSizeSet</code> if set. -->
4729        <attr name="autoSizeStepGranularity" format="dimension" />
4730        <!-- Array of dimensions to be used in conjunction with
4731        <code>autoSizeText</code> set to <code>xy</code>. Overwrites
4732        <code>autoSizeStepGranularity</code> if set. -->
4733        <attr name="autoSizeStepSizeSet"/>
4734        <!-- The minimum text size constraint to be used when auto-sizing text -->
4735        <attr name="autoSizeMinTextSize" format="dimension" />
4736        <!-- The maximum text size constraint to be used when auto-sizing text -->
4737        <attr name="autoSizeMaxTextSize" format="dimension" />
4738    </declare-styleable>
4739    <declare-styleable name="TextViewAppearance">
4740        <!-- Base text color, typeface, size, and style. -->
4741        <attr name="textAppearance" />
4742    </declare-styleable>
4743    <declare-styleable name="SelectionModeDrawables">
4744        <attr name="actionModeSelectAllDrawable" />
4745        <attr name="actionModeCutDrawable" />
4746        <attr name="actionModeCopyDrawable" />
4747        <attr name="actionModePasteDrawable" />
4748    </declare-styleable>
4749    <declare-styleable name="SuggestionSpan">
4750        <attr name="textUnderlineColor" />
4751        <attr name="textUnderlineThickness" />
4752    </declare-styleable>
4753    <!-- An <code>input-extras</code> is a container for extra data to supply to
4754         an input method.  Contains
4755         one more more {@link #Extra <extra>} tags.  -->
4756    <declare-styleable name="InputExtras">
4757    </declare-styleable>
4758    <declare-styleable name="AutoCompleteTextView">
4759        <!-- Defines the hint displayed in the drop down menu. -->
4760        <attr name="completionHint" format="string" />
4761        <!-- Defines the hint view displayed in the drop down menu. -->
4762        <attr name="completionHintView" format="reference" />
4763        <!-- Defines the number of characters that the user must type before
4764         completion suggestions are displayed in a drop down menu. -->
4765        <attr name="completionThreshold" format="integer" min="1" />
4766        <!-- Selector in a drop down list. -->
4767        <attr name="dropDownSelector" format="reference|color" />
4768        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
4769             is used. -->
4770        <attr name="dropDownAnchor" format="reference" />
4771        <!-- Specifies the basic width of the dropdown. Its value may
4772             be a dimension (such as "12dip") for a constant width,
4773             fill_parent or match_parent to match the width of the
4774             screen, or wrap_content to match the width of
4775             the anchored view. -->
4776        <attr name="dropDownWidth" format="dimension">
4777            <!-- The dropdown should fill the width of the screen.
4778                 This constant is deprecated starting from API Level 8 and
4779                 is replaced by {@code match_parent}. -->
4780            <enum name="fill_parent" value="-1" />
4781            <!-- The dropdown should fit the width of the screen.
4782                 Introduced in API Level 8. -->
4783            <enum name="match_parent" value="-1" />
4784            <!-- The dropdown should fit the width of its anchor. -->
4785            <enum name="wrap_content" value="-2" />
4786        </attr>
4787        <!-- Specifies the basic height of the dropdown. Its value may
4788             be a dimension (such as "12dip") for a constant height,
4789             fill_parent or match_parent to fill the height of the
4790             screen, or wrap_content to match the height of
4791             the content of the drop down. -->
4792        <attr name="dropDownHeight" format="dimension">
4793            <!-- The dropdown should fit the height of the screen.
4794                 This constant is deprecated starting from API Level 8 and
4795                 is replaced by {@code match_parent}. -->
4796            <enum name="fill_parent" value="-1" />
4797            <!-- The dropdown should fit the height of the screen.
4798                 Introduced in API Level 8. -->
4799            <enum name="match_parent" value="-1" />
4800            <!-- The dropdown should fit the height of the content. -->
4801            <enum name="wrap_content" value="-2" />
4802        </attr>
4803        <attr name="inputType" />
4804        <!-- Theme to use for the completion popup window. -->
4805        <attr name="popupTheme" />
4806    </declare-styleable>
4807    <declare-styleable name="PopupWindow">
4808        <!-- The background to use for the popup window. -->
4809        <attr name="popupBackground" format="reference|color" />
4810        <!-- Window elevation to use for the popup window. -->
4811        <attr name="popupElevation" format="dimension" />
4812        <!-- The animation style to use for the popup window. -->
4813        <attr name="popupAnimationStyle" format="reference" />
4814        <!-- Whether the popup window should overlap its anchor view. -->
4815        <attr name="overlapAnchor" format="boolean" />
4816        <!-- Transition used to move views into the popup window. -->
4817        <attr name="popupEnterTransition" format="reference" />
4818        <!-- Transition used to move views out of the popup window. -->
4819        <attr name="popupExitTransition" format="reference" />
4820    </declare-styleable>
4821    <declare-styleable name="ListPopupWindow">
4822        <!-- Amount of pixels by which the drop down should be offset vertically. -->
4823        <attr name="dropDownVerticalOffset" format="dimension" />
4824        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
4825        <attr name="dropDownHorizontalOffset" format="dimension" />
4826    </declare-styleable>
4827    <declare-styleable name="ViewAnimator">
4828        <!-- Identifier for the animation to use when a view is shown. -->
4829        <attr name="inAnimation" format="reference" />
4830        <!-- Identifier for the animation to use when a view is hidden. -->
4831        <attr name="outAnimation" format="reference" />
4832        <!-- Defines whether to animate the current View when the ViewAnimation
4833             is first displayed. -->
4834        <attr name="animateFirstView" format="boolean" />
4835    </declare-styleable>
4836    <declare-styleable name="ViewFlipper">
4837        <attr name="flipInterval" format="integer" min="0" />
4838        <!-- When true, automatically start animating -->
4839        <attr name="autoStart" format="boolean" />
4840    </declare-styleable>
4841    <declare-styleable name="AdapterViewAnimator">
4842        <!-- Identifier for the animation to use when a view is shown. -->
4843        <attr name="inAnimation" />
4844        <!-- Identifier for the animation to use when a view is hidden. -->
4845        <attr name="outAnimation" />
4846        <!--Defines whether the animator loops to the first view once it
4847        has reached the end of the list. -->
4848        <attr name="loopViews" format="boolean" />
4849        <!-- Defines whether to animate the current View when the ViewAnimation
4850        is first displayed. -->
4851        <attr name="animateFirstView" />
4852    </declare-styleable>
4853    <declare-styleable name="AdapterViewFlipper">
4854        <attr name="flipInterval" />
4855        <!-- When true, automatically start animating -->
4856        <attr name="autoStart" />
4857    </declare-styleable>
4858    <declare-styleable name="ViewSwitcher">
4859    </declare-styleable>
4860    <declare-styleable name="ScrollView">
4861        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4862        <attr name="fillViewport" format="boolean" />
4863    </declare-styleable>
4864    <declare-styleable name="HorizontalScrollView">
4865        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
4866        <attr name="fillViewport" />
4867    </declare-styleable>
4868    <declare-styleable name="Spinner">
4869        <!-- The prompt to display when the spinner's dialog is shown. -->
4870        <attr name="prompt" format="reference" />
4871        <!-- Display mode for spinner options. -->
4872        <attr name="spinnerMode" format="enum">
4873            <!-- Spinner options will be presented to the user as a dialog window. -->
4874            <enum name="dialog" value="0" />
4875            <!-- Spinner options will be presented to the user as an inline dropdown
4876                 anchored to the spinner widget itself. -->
4877            <enum name="dropdown" value="1" />
4878        </attr>
4879        <!-- List selector to use for spinnerMode="dropdown" display. -->
4880        <attr name="dropDownSelector" />
4881        <!-- Theme to use for the drop-down or dialog popup window. -->
4882        <attr name="popupTheme" />
4883        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
4884        <attr name="popupBackground" />
4885        <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". -->
4886        <attr name="popupElevation" />
4887        <!-- Width of the dropdown in spinnerMode="dropdown". -->
4888        <attr name="dropDownWidth" />
4889        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
4890             spinnerMode="dropdown". This layout must contain a TextView with the id
4891             {@code @android:id/text1} to be populated with the prompt text. -->
4892        <attr name="popupPromptView" format="reference" />
4893        <!-- Gravity setting for positioning the currently selected item. -->
4894        <attr name="gravity" />
4895        <!-- Whether this spinner should mark child views as enabled/disabled when
4896             the spinner itself is enabled/disabled. -->
4897        <attr name="disableChildrenWhenDisabled" format="boolean" />
4898    </declare-styleable>
4899
4900    <declare-styleable name="DatePicker">
4901        <!-- The first day of week according to {@link java.util.Calendar}. -->
4902        <attr name="firstDayOfWeek" />
4903        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4904        <attr name="minDate" format="string" />
4905        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
4906        <attr name="maxDate" format="string" />
4907
4908        <!-- Whether the spinners are shown. Only valid for "spinner" mode. -->
4909        <attr name="spinnersShown" format="boolean" />
4910        <!-- Whether the calendar view is shown. Only valid for "spinner" mode. -->
4911        <attr name="calendarViewShown" format="boolean" />
4912
4913        <!-- @hide The layout of the date picker. -->
4914        <attr name="internalLayout" format="reference"  />
4915        <!-- @hide The layout of the legacy DatePicker. -->
4916        <attr name="legacyLayout" />
4917
4918        <!-- The text color for the selected date header text, ex. "2014" or
4919             "Tue, Mar 18". This should be a color state list where the
4920             activated state will be used when the year picker or day picker is
4921             active.-->
4922        <attr name="headerTextColor" format="color" />
4923        <!-- The background for the selected date header. -->
4924        <attr name="headerBackground" />
4925
4926        <!-- The list year's text appearance in the list.
4927             {@deprecated Use yearListTextColor. }-->
4928        <attr name="yearListItemTextAppearance" format="reference" />
4929        <!-- @hide The list year's text appearance in the list when activated. -->
4930        <attr name="yearListItemActivatedTextAppearance" format="reference" />
4931        <!-- The text color list of the calendar. -->
4932        <attr name="calendarTextColor" format="color" />
4933
4934        <!-- Defines the look of the widget. Prior to the L release, the only choice was
4935             spinner. As of L, with the Material theme selected, the default layout is calendar,
4936             but this attribute can be used to force spinner to be used instead. -->
4937        <attr name="datePickerMode">
4938            <!-- Date picker with spinner controls to select the date. -->
4939            <enum name="spinner" value="1" />
4940            <!-- Date picker with calendar to select the date. -->
4941            <enum name="calendar" value="2" />
4942        </attr>
4943
4944        <!-- The first year (inclusive), for example "1940".
4945             {@deprecated Use minDate instead.} -->
4946        <attr name="startYear" format="integer" />
4947        <!-- The last year (inclusive), for example "2010".
4948             {@deprecated Use maxDate instead.} -->
4949        <attr name="endYear" format="integer" />
4950        <!-- The text appearance for the month (ex. May) in the selected date header.
4951             {@deprecated Use headerTextColor instead.} -->
4952        <attr name="headerMonthTextAppearance" format="reference" />
4953        <!-- The text appearance for the day of month (ex. 28) in the selected date header.
4954             {@deprecated Use headerTextColor instead.} -->
4955        <attr name="headerDayOfMonthTextAppearance" format="reference" />
4956        <!-- The text appearance for the year (ex. 2014) in the selected date header.
4957             {@deprecated Use headerTextColor instead.} -->
4958        <attr name="headerYearTextAppearance" format="reference" />
4959        <!-- The background color for the header's day of week.
4960             {@deprecated No longer displayed.} -->
4961        <attr name="dayOfWeekBackground" format="color" />
4962        <!-- The text color for the header's day of week.
4963             {@deprecated No longer displayed.} -->
4964        <attr name="dayOfWeekTextAppearance" format="reference" />
4965        <!-- The list year's selected circle color in the list.
4966             {@deprecated No longer displayed.} -->
4967        <attr name="yearListSelectorColor" format="color" />
4968
4969        <!-- @hide Whether this time picker is being displayed within a dialog,
4970             in which case it may ignore the requested time picker mode due to
4971             space considerations. -->
4972        <attr name="dialogMode" format="boolean" />
4973    </declare-styleable>
4974
4975    <declare-styleable name="TwoLineListItem">
4976        <attr name="mode">
4977            <!-- Always show only the first line. -->
4978            <enum name="oneLine" value="1" />
4979            <!-- When selected show both lines, otherwise show only the first line.
4980                 This is the default mode. -->
4981            <enum name="collapsing" value="2" />
4982            <!-- Always show both lines. -->
4983            <enum name="twoLine" value="3" />
4984        </attr>
4985    </declare-styleable>
4986
4987    <!-- SlidingDrawer specific attributes. These attributes are used to configure
4988         a SlidingDrawer from XML. -->
4989    <declare-styleable name="SlidingDrawer">
4990        <!-- Identifier for the child that represents the drawer's handle. -->
4991        <attr name="handle" format="reference" />
4992        <!-- Identifier for the child that represents the drawer's content. -->
4993        <attr name="content" format="reference" />
4994        <!-- Orientation of the SlidingDrawer. -->
4995        <attr name="orientation" />
4996        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
4997        <attr name="bottomOffset" format="dimension"  />
4998        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
4999        <attr name="topOffset" format="dimension"  />
5000        <!-- Indicates whether the drawer can be opened/closed by a single tap
5001             on the handle.  (If false, the user must drag or fling, or click
5002             using the trackball, to open/close the drawer.)  Default is true. -->
5003        <attr name="allowSingleTap" format="boolean" />
5004        <!-- Indicates whether the drawer should be opened/closed with an animation
5005             when the user clicks the handle. Default is true. -->
5006        <attr name="animateOnClick" format="boolean" />
5007    </declare-styleable>
5008
5009    <!-- GestureOverlayView specific attributes. These attributes are used to configure
5010         a GestureOverlayView from XML. -->
5011    <declare-styleable name="GestureOverlayView">
5012        <!-- Width of the stroke used to draw the gesture. -->
5013        <attr name="gestureStrokeWidth" format="float" />
5014        <!-- Color used to draw a gesture. -->
5015        <attr name="gestureColor" format="color" />
5016        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
5017        <attr name="uncertainGestureColor" format="color" />
5018        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
5019             is done drawing it. -->
5020        <attr name="fadeOffset" format="integer" />
5021        <!-- Duration, in milliseconds, of the fade out effect after the user is done
5022             drawing a gesture. -->
5023        <attr name="fadeDuration" format="integer" />
5024        <!-- Defines the type of strokes that define a gesture. -->
5025        <attr name="gestureStrokeType">
5026            <!-- A gesture is made of only one stroke. -->
5027            <enum name="single" value="0" />
5028            <!-- A gesture is made of multiple strokes. -->
5029            <enum name="multiple" value="1" />
5030        </attr>
5031        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
5032        <attr name="gestureStrokeLengthThreshold" format="float" />
5033        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
5034        <attr name="gestureStrokeSquarenessThreshold" format="float" />
5035        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
5036        <attr name="gestureStrokeAngleThreshold" format="float" />
5037        <!-- Defines whether the overlay should intercept the motion events when a gesture
5038             is recognized. -->
5039        <attr name="eventsInterceptionEnabled" format="boolean" />
5040        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
5041        <attr name="fadeEnabled" format="boolean" />
5042        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
5043             (when orientation is horizontal) strokes automatically define a gesture. -->
5044        <attr name="orientation" />
5045    </declare-styleable>
5046
5047    <declare-styleable name="QuickContactBadge">
5048        <attr name="quickContactWindowSize">
5049            <enum name="modeSmall" value="1" />
5050            <enum name="modeMedium" value="2" />
5051            <enum name="modeLarge" value="3" />
5052        </attr>
5053    </declare-styleable>
5054
5055    <!-- ======================================= -->
5056    <!-- Widget package parent layout attributes -->
5057    <!-- ======================================= -->
5058    <eat-comment />
5059
5060    <declare-styleable name="AbsoluteLayout_Layout">
5061        <attr name="layout_x" format="dimension" />
5062        <attr name="layout_y" format="dimension" />
5063    </declare-styleable>
5064    <declare-styleable name="LinearLayout_Layout">
5065        <attr name="layout_width" />
5066        <attr name="layout_height" />
5067        <!-- Indicates how much of the extra space in the LinearLayout is
5068        allocated to the view associated with these LayoutParams. Specify
5069        0 if the view should not be stretched. Otherwise the extra pixels
5070        will be pro-rated among all views whose weight is greater than 0. -->
5071        <attr name="layout_weight" format="float" />
5072        <!-- Gravity specifies how a component should be placed in its group of cells.
5073        The default is {@link android.view.Gravity#TOP}.
5074        See {@link android.widget.LinearLayout#setGravity(int)}. -->
5075        <attr name="layout_gravity" />
5076    </declare-styleable>
5077    <declare-styleable name="GridLayout_Layout">
5078        <!-- The row boundary delimiting the top of the group of cells
5079        occupied by this view. -->
5080        <attr name="layout_row" format="integer" />
5081        <!-- The row span: the difference between the top and bottom
5082        boundaries delimiting the group of cells occupied by this view.
5083        The default is one.
5084        See {@link android.widget.GridLayout.Spec}. -->
5085        <attr name="layout_rowSpan" format="integer" min="1" />
5086        <!-- The relative proportion of vertical space that should be allocated to this view
5087        during excess space distribution. -->
5088        <attr name="layout_rowWeight" format="float" />
5089        <!-- The column boundary delimiting the left of the group of cells
5090        occupied by this view. -->
5091        <attr name="layout_column" />
5092        <!-- The column span: the difference between the right and left
5093        boundaries delimiting the group of cells occupied by this view.
5094        The default is one.
5095        See {@link android.widget.GridLayout.Spec}. -->
5096        <attr name="layout_columnSpan" format="integer" min="1" />
5097        <!-- The relative proportion of horizontal space that should be allocated to this view
5098        during excess space distribution. -->
5099        <attr name="layout_columnWeight" format="float" />
5100        <!-- Gravity specifies how a component should be placed in its group of cells.
5101        The default is LEFT | BASELINE.
5102        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
5103        <attr name="layout_gravity" />
5104    </declare-styleable>
5105    <declare-styleable name="FrameLayout_Layout">
5106        <attr name="layout_gravity" />
5107    </declare-styleable>
5108    <declare-styleable name="RelativeLayout_Layout">
5109        <!-- Positions the right edge of this view to the left of the given anchor view ID.
5110             Accommodates right margin of this view and left margin of anchor view. -->
5111        <attr name="layout_toLeftOf" format="reference" />
5112        <!-- Positions the left edge of this view to the right of the given anchor view ID.
5113            Accommodates left margin of this view and right margin of anchor view. -->
5114        <attr name="layout_toRightOf" format="reference" />
5115        <!-- Positions the bottom edge of this view above the given anchor view ID.
5116            Accommodates bottom margin of this view and top margin of anchor view. -->
5117        <attr name="layout_above" format="reference" />
5118        <!-- Positions the top edge of this view below the given anchor view ID.
5119            Accommodates top margin of this view and bottom margin of anchor view. -->
5120        <attr name="layout_below" format="reference" />
5121        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
5122        <attr name="layout_alignBaseline" format="reference" />
5123        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
5124            Accommodates left margin. -->
5125        <attr name="layout_alignLeft" format="reference" />
5126        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
5127            Accommodates top margin. -->
5128        <attr name="layout_alignTop" format="reference" />
5129        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
5130            Accommodates right margin. -->
5131        <attr name="layout_alignRight" format="reference" />
5132        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
5133            Accommodates bottom margin. -->
5134        <attr name="layout_alignBottom" format="reference" />
5135        <!-- If true, makes the left edge of this view match the left edge of the parent.
5136            Accommodates left margin. -->
5137        <attr name="layout_alignParentLeft" format="boolean" />
5138        <!-- If true, makes the top edge of this view match the top edge of the parent.
5139            Accommodates top margin. -->
5140        <attr name="layout_alignParentTop" format="boolean" />
5141        <!-- If true, makes the right edge of this view match the right edge of the parent.
5142            Accommodates right margin. -->
5143        <attr name="layout_alignParentRight" format="boolean" />
5144        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
5145            Accommodates bottom margin. -->
5146        <attr name="layout_alignParentBottom" format="boolean" />
5147        <!-- If true, centers this child horizontally and vertically within its parent. -->
5148        <attr name="layout_centerInParent" format="boolean" />
5149        <!-- If true, centers this child horizontally within its parent. -->
5150        <attr name="layout_centerHorizontal" format="boolean" />
5151        <!-- If true, centers this child vertically within its parent. -->
5152        <attr name="layout_centerVertical" format="boolean" />
5153        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
5154             be found for layout_toLeftOf, layout_toRightOf, etc. -->
5155        <attr name="layout_alignWithParentIfMissing" format="boolean" />
5156        <!-- Positions the end edge of this view to the start of the given anchor view ID.
5157             Accommodates end margin of this view and start margin of anchor view. -->
5158        <attr name="layout_toStartOf" format="reference" />
5159        <!-- Positions the start edge of this view to the end of the given anchor view ID.
5160             Accommodates start margin of this view and end margin of anchor view. -->
5161        <attr name="layout_toEndOf" format="reference" />
5162        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
5163            Accommodates start margin. -->
5164        <attr name="layout_alignStart" format="reference" />
5165        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
5166            Accommodates end margin. -->
5167        <attr name="layout_alignEnd" format="reference" />
5168        <!-- If true, makes the start edge of this view match the start edge of the parent.
5169            Accommodates start margin. -->
5170        <attr name="layout_alignParentStart" format="boolean" />
5171        <!-- If true, makes the end edge of this view match the end edge of the parent.
5172            Accommodates end margin. -->
5173        <attr name="layout_alignParentEnd" format="boolean" />
5174    </declare-styleable>
5175    <declare-styleable name="VerticalSlider_Layout">
5176        <attr name="layout_scale" format="float" />
5177    </declare-styleable>
5178
5179    <!-- @hide -->
5180    <declare-styleable name="WeightedLinearLayout">
5181        <attr name="majorWeightMin" format="float" />
5182        <attr name="minorWeightMin" format="float" />
5183        <attr name="majorWeightMax" format="float" />
5184        <attr name="minorWeightMax" format="float" />
5185    </declare-styleable>
5186
5187    <declare-styleable name="CalendarView">
5188        <!-- The first day of week according to {@link java.util.Calendar}. -->
5189        <attr name="firstDayOfWeek" format="integer" />
5190        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
5191        <attr name="minDate" />
5192        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
5193        <attr name="maxDate" />
5194        <!-- The text appearance for the month and year in the calendar header. -->
5195        <attr name="monthTextAppearance" format="reference" />
5196        <!-- The text appearance for the week day abbreviation in the calendar header. -->
5197        <attr name="weekDayTextAppearance" format="reference" />
5198        <!-- The text appearance for the day numbers in the calendar grid. -->
5199        <attr name="dateTextAppearance" format="reference" />
5200        <!-- @hide The background color used for the day selection indicator. -->
5201        <attr name="daySelectorColor" format="color" />
5202        <!-- @hide The background color used for the day highlight indicator. -->
5203        <attr name="dayHighlightColor" format="color" />
5204        <!-- @hide Which style of calendar delegate to use. -->
5205        <attr name="calendarViewMode">
5206            <enum name="holo" value="0" />
5207            <enum name="material" value="1" />
5208        </attr>
5209
5210        <!-- @deprecated Whether do show week numbers. -->
5211        <attr name="showWeekNumber" format="boolean" />
5212        <!-- @deprecated The number of weeks to be shown. -->
5213        <attr name="shownWeekCount" format="integer"/>
5214        <!-- @deprecated The background color for the selected week. -->
5215        <attr name="selectedWeekBackgroundColor" format="color|reference" />
5216        <!-- @deprecated The color for the dates of the focused month. -->
5217        <attr name="focusedMonthDateColor" format="color|reference" />
5218        <!-- @deprecated The color for the dates of an unfocused month. -->
5219        <attr name="unfocusedMonthDateColor" format="color|reference" />
5220        <!-- @deprecated The color for the week numbers. -->
5221        <attr name="weekNumberColor" format="color|reference" />
5222        <!-- @deprecated The color for the separator line between weeks. -->
5223        <attr name="weekSeparatorLineColor" format="color|reference" />
5224        <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
5225        <attr name="selectedDateVerticalBar" format="reference" />
5226    </declare-styleable>
5227
5228    <declare-styleable name="NumberPicker">
5229        <!-- @hide Color for the solid color background if such for optimized rendering. -->
5230        <attr name="solidColor" format="color|reference" />
5231        <!-- @hide The divider for making the selection area. -->
5232        <attr name="selectionDivider" format="reference" />
5233        <!-- @hide The height of the selection divider. -->
5234        <attr name="selectionDividerHeight" format="dimension" />
5235        <!-- @hide The distance between the two selection dividers. -->
5236        <attr name="selectionDividersDistance" format="dimension" />
5237        <!-- @hide The min height of the NumberPicker. -->
5238        <attr name="internalMinHeight" format="dimension" />
5239        <!-- @hide The max height of the NumberPicker. -->
5240        <attr name="internalMaxHeight" format="dimension" />
5241        <!-- @hide The min width of the NumberPicker. -->
5242        <attr name="internalMinWidth" format="dimension" />
5243        <!-- @hide The max width of the NumberPicker. -->
5244        <attr name="internalMaxWidth" format="dimension" />
5245        <!-- @hide The layout of the number picker. -->
5246        <attr name="internalLayout" />
5247        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
5248        <attr name="virtualButtonPressedDrawable" format="reference"/>
5249        <!-- @hide If true then the selector wheel is hidden until the picker has focus. -->
5250        <attr name="hideWheelUntilFocused" format="boolean"/>
5251    </declare-styleable>
5252
5253    <declare-styleable name="TimePicker">
5254        <!-- @hide The layout of the legacy time picker. -->
5255        <attr name="legacyLayout" format="reference" />
5256        <!-- @hide The layout of the time picker. -->
5257        <attr name="internalLayout" />
5258
5259        <!-- The text color for the selected time header text, ex. "12" or
5260             "PM". This should be a color state list where the activated state
5261             will be used when the minute picker or hour picker is active.-->
5262        <attr name="headerTextColor" />
5263        <!-- The background for the header containing the currently selected time. -->
5264        <attr name="headerBackground" />
5265
5266        <!-- The color for the hours/minutes numbers. This should be a color
5267             state list where the activated state will be used when the number
5268             is active.-->
5269        <attr name="numbersTextColor" format="color" />
5270        <!-- The color for the inner hours numbers used in 24-hour mode. This
5271             should be a color state list where the activated state will be
5272             used when the number is active.-->
5273        <attr name="numbersInnerTextColor" format="color" />
5274        <!-- The background color for the hours/minutes numbers. -->
5275        <attr name="numbersBackgroundColor" format="color" />
5276        <!-- The color for the hours/minutes selector. -->
5277        <attr name="numbersSelectorColor" format="color" />
5278
5279        <!-- Defines the look of the widget. Prior to the L release, the only choice was
5280             spinner. As of L, with the Material theme selected, the default layout is clock,
5281             but this attribute can be used to force spinner to be used instead. -->
5282        <attr name="timePickerMode">
5283            <!-- Time picker with spinner controls to select the time. -->
5284            <enum name="spinner" value="1" />
5285            <!-- Time picker with clock face to select the time. -->
5286            <enum name="clock" value="2" />
5287        </attr>
5288
5289        <!-- The text appearance for the AM/PM header.
5290             @deprecated Use headerTextColor instead. -->
5291        <attr name="headerAmPmTextAppearance" format="reference" />
5292        <!-- The text appearance for the time header.
5293             @deprecated Use headerTextColor instead. -->
5294        <attr name="headerTimeTextAppearance" format="reference" />
5295        <!-- The color for the AM/PM selectors.
5296             {@deprecated Use headerTextColor instead.}-->
5297        <attr name="amPmTextColor" format="color" />
5298        <!-- The background color state list for the AM/PM selectors.
5299             {@deprecated Use headerBackground instead.}-->
5300        <attr name="amPmBackgroundColor" format="color" />
5301
5302        <!-- @hide Whether this time picker is being displayed within a dialog,
5303             in which case it may ignore the requested time picker mode due to
5304             space considerations. -->
5305        <attr name="dialogMode" />
5306    </declare-styleable>
5307
5308    <!-- ========================= -->
5309    <!-- Drawable class attributes -->
5310    <!-- ========================= -->
5311    <eat-comment />
5312
5313    <!-- Base attributes that are available to all Drawable objects. -->
5314    <declare-styleable name="Drawable">
5315        <!-- Provides initial visibility state of the drawable; the default
5316             value is false.  See
5317             {@link android.graphics.drawable.Drawable#setVisible}. -->
5318        <attr name="visible" format="boolean" />
5319        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5320             RTL (right-to-left).  See
5321             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
5322        <attr name="autoMirrored" format="boolean" />
5323    </declare-styleable>
5324
5325    <!-- Drawable class used to wrap other drawables. -->
5326    <declare-styleable name="DrawableWrapper">
5327        <!-- The wrapped drawable. -->
5328        <attr name="drawable" />
5329    </declare-styleable>
5330
5331    <!-- Drawable used to render several states. Each state is represented by
5332         a child drawable. -->
5333    <declare-styleable name="StateListDrawable">
5334        <!-- Indicates whether the drawable should be initially visible. -->
5335        <attr name="visible" />
5336        <!-- If true, allows the drawable's padding to change based on the
5337             current state that is selected.  If false, the padding will
5338             stay the same (based on the maximum padding of all the states).
5339             Enabling this feature requires that the owner of the drawable
5340             deal with performing layout when the state changes, which is
5341             often not supported. -->
5342        <attr name="variablePadding" format="boolean" />
5343        <!-- If true, the drawable's reported internal size will remain
5344             constant as the state changes; the size is the maximum of all
5345             of the states.  If false, the size will vary based on the
5346             current state. -->
5347        <attr name="constantSize" format="boolean" />
5348        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5349             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5350             an RGB 565 screen). -->
5351        <attr name="dither" format="boolean" />
5352        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5353        <attr name="enterFadeDuration" format="integer" />
5354        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5355        <attr name="exitFadeDuration" format="integer" />
5356        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5357             RTL (right-to-left). -->
5358        <attr name="autoMirrored"/>
5359    </declare-styleable>
5360
5361    <!-- Drawable used to render several states with animated transitions. Each state
5362         is represented by a child drawable with an optional keyframe ID. -->
5363    <declare-styleable name="AnimatedStateListDrawable">
5364        <!-- Indicates whether the drawable should be initially visible. -->
5365        <attr name="visible" />
5366        <!-- If true, allows the drawable's padding to change based on the
5367             current state that is selected.  If false, the padding will
5368             stay the same (based on the maximum padding of all the states).
5369             Enabling this feature requires that the owner of the drawable
5370             deal with performing layout when the state changes, which is
5371             often not supported. -->
5372        <attr name="variablePadding" />
5373        <!-- If true, the drawable's reported internal size will remain
5374             constant as the state changes; the size is the maximum of all
5375             of the states.  If false, the size will vary based on the
5376             current state. -->
5377        <attr name="constantSize" />
5378        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5379             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5380             an RGB 565 screen). -->
5381        <attr name="dither" />
5382        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
5383        <attr name="enterFadeDuration" />
5384        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
5385        <attr name="exitFadeDuration" />
5386        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5387             RTL (right-to-left). -->
5388        <attr name="autoMirrored"/>
5389    </declare-styleable>
5390
5391    <!-- Represents a single state inside a StateListDrawable. -->
5392    <declare-styleable name="StateListDrawableItem">
5393        <!-- Reference to a drawable resource to use for the state. If not
5394             given, the drawable must be defined by the first child tag. -->
5395        <attr name="drawable" />
5396    </declare-styleable>
5397
5398    <!-- Transition used to animate between states with keyframe IDs. -->
5399    <declare-styleable name="AnimatedStateListDrawableItem">
5400        <!-- Reference to a drawable resource to use for the frame.  If not
5401             given, the drawable must be defined by the first child tag. -->
5402        <attr name="drawable" />
5403        <!-- Keyframe identifier for use in specifying transitions. -->
5404        <attr name="id" />
5405    </declare-styleable>
5406
5407    <!-- Transition used to animate between states with keyframe IDs. -->
5408    <declare-styleable name="AnimatedStateListDrawableTransition">
5409        <!-- Keyframe identifier for the starting state. -->
5410        <attr name="fromId" format="reference" />
5411        <!-- Keyframe identifier for the ending state. -->
5412        <attr name="toId" format="reference" />
5413        <!-- Reference to a animation drawable resource to use for the frame.  If not
5414             given, the animation drawable must be defined by the first child tag. -->
5415        <attr name="drawable" />
5416        <!-- Whether this transition is reversible. -->
5417        <attr name="reversible" format="boolean" />
5418    </declare-styleable>
5419
5420    <!-- Drawable used to render several animated frames. -->
5421    <declare-styleable name="AnimationDrawable">
5422        <attr name="visible" />
5423        <attr name="variablePadding" />
5424        <!-- If true, the animation will only run a single time and then
5425             stop.  If false (the default), it will continually run,
5426             restarting at the first frame after the last has finished. -->
5427        <attr name="oneshot" format="boolean" />
5428    </declare-styleable>
5429
5430    <!-- Represents a single frame inside an AnimationDrawable. -->
5431    <declare-styleable name="AnimationDrawableItem">
5432        <!-- Amount of time (in milliseconds) to display this frame. -->
5433        <attr name="duration" format="integer" />
5434        <!-- Reference to a drawable resource to use for the frame.  If not
5435             given, the drawable must be defined by the first child tag. -->
5436        <attr name="drawable" format="reference" />
5437    </declare-styleable>
5438
5439    <!-- Attributes that can be assigned to a StateListAnimator item. -->
5440    <declare-styleable name="StateListAnimatorItem">
5441        <attr name="animation"/>
5442    </declare-styleable>
5443
5444    <!-- Attributes that can be assigned to a ColorStateList item. -->
5445    <declare-styleable name="ColorStateListItem">
5446        <!-- Base color for this state. -->
5447        <attr name="color" />
5448        <!-- Alpha multiplier applied to the base color. -->
5449        <attr name="alpha" />
5450    </declare-styleable>
5451
5452    <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery
5453         saver mode. It should contain one animatable drawable and one static drawable.
5454         @hide -->
5455    <declare-styleable name="AnimationScaleListDrawable">
5456    </declare-styleable>
5457
5458    <!-- Attributes that can be assigned to a AnimationScaleListDrawable item.
5459         @hide -->
5460    <declare-styleable name="AnimationScaleListDrawableItem">
5461        <!-- Reference to a drawable resource to use for the state. If not
5462             given, the drawable must be defined by the first child tag. -->
5463        <attr name="drawable" />
5464    </declare-styleable>
5465
5466
5467    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
5468    <declare-styleable name="GradientDrawable">
5469        <!-- Indicates whether the drawable should intially be visible. -->
5470        <attr name="visible" />
5471        <!-- Enables or disables dithering. -->
5472        <attr name="dither" />
5473        <!-- Indicates what shape to fill with a gradient. -->
5474        <attr name="shape">
5475            <!-- Rectangle shape, with optional rounder corners. -->
5476            <enum name="rectangle" value="0" />
5477            <!-- Oval shape. -->
5478            <enum name="oval" value="1" />
5479            <!-- Line shape. -->
5480            <enum name="line" value="2" />
5481            <!-- Ring shape. -->
5482            <enum name="ring" value="3" />
5483        </attr>
5484        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
5485             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
5486             This value is ignored if innerRadius is defined. Default value is 9. -->
5487        <attr name="innerRadiusRatio" format="float" />
5488        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
5489             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
5490             This value is ignored if innerRadius is defined. Default value is 3. -->
5491        <attr name="thicknessRatio" format="float" />
5492        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
5493        <attr name="innerRadius" format="dimension" />
5494        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
5495        <attr name="thickness" format="dimension" />
5496        <!-- Whether the drawable level value (see
5497             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape.
5498             Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to
5499             360. For all other types, there is no effect. The default value is true. -->
5500        <attr name="useLevel" />
5501        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5502             no tint is applied. May be a color state list. -->
5503        <attr name="tint" />
5504        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5505             default value is src_in, which treats the drawable as an alpha mask. -->
5506        <attr name="tintMode" />
5507        <!-- Left optical inset.
5508             @hide Until optical insets are fully supported. -->
5509        <attr name="opticalInsetLeft" />
5510        <!-- Top optical inset.
5511             @hide Until optical insets are fully supported. -->
5512        <attr name="opticalInsetTop" />
5513        <!-- Right optical inset.
5514             @hide Until optical insets are fully supported. -->
5515        <attr name="opticalInsetRight" />
5516        <!-- Bottom optical inset.
5517             @hide Until optical insets are fully supported. -->
5518        <attr name="opticalInsetBottom" />
5519    </declare-styleable>
5520
5521    <!-- Used to specify the size of the shape for GradientDrawable. -->
5522    <declare-styleable name="GradientDrawableSize">
5523        <!-- Width of the gradient shape. -->
5524        <attr name="width" />
5525        <!-- Height of the gradient shape. -->
5526        <attr name="height" />
5527    </declare-styleable>
5528
5529    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
5530    <declare-styleable name="GradientDrawableGradient">
5531        <!-- Start color of the gradient. -->
5532        <attr name="startColor" format="color" />
5533        <!-- Optional center color. For linear gradients, use centerX or centerY to place the center
5534             color. -->
5535        <attr name="centerColor" format="color" />
5536        <!-- End color of the gradient. -->
5537        <attr name="endColor" format="color" />
5538        <!-- Whether the drawable level value (see
5539             {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient.
5540             Scaling behavior varies based on gradient type. For "linear", adjusts the ending
5541             position along the gradient's axis of orientation. For "radial", adjusts the outer
5542             radius. For "sweep", adjusts the ending angle. The default value is false. -->
5543        <attr name="useLevel" format="boolean" />
5544        <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the
5545             range [0, 315]. -->
5546        <attr name="angle" format="float" />
5547        <!-- Type of gradient. The default type is linear. -->
5548        <attr name="type">
5549            <!-- Linear gradient extending across the center point. -->
5550            <enum name="linear" value="0" />
5551            <!-- Radial gradient extending from the center point outward. -->
5552            <enum name="radial" value="1" />
5553            <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. -->
5554            <enum name="sweep"  value="2" />
5555        </attr>
5556        <!-- X-position of the center point of the gradient within the shape as a fraction of the
5557             width. The default value is 0.5. -->
5558        <attr name="centerX" format="float|fraction" />
5559        <!-- Y-position of the center point of the gradient within the shape as a fraction of the
5560             height. The default value is 0.5. -->
5561        <attr name="centerY" format="float|fraction" />
5562        <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension
5563             or a fractional value relative to the shape's minimum dimension. -->
5564        <attr name="gradientRadius" format="float|fraction|dimension" />
5565    </declare-styleable>
5566
5567    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
5568    <declare-styleable name="GradientDrawableSolid">
5569        <!-- Solid color for the gradient shape. -->
5570        <attr name="color" format="color" />
5571    </declare-styleable>
5572
5573    <!-- Used to describe the optional stroke of a GradientDrawable. -->
5574    <declare-styleable name="GradientDrawableStroke">
5575        <!-- Width of the gradient shape's stroke. -->
5576        <attr name="width" />
5577        <!-- Color of the gradient shape's stroke. -->
5578        <attr name="color" />
5579        <!-- Length of a dash in the stroke. -->
5580        <attr name="dashWidth" format="dimension" />
5581        <!-- Gap between dashes in the stroke. -->
5582        <attr name="dashGap" format="dimension" />
5583    </declare-styleable>
5584
5585    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
5586         This can be used to render rounded corners. -->
5587    <declare-styleable name="DrawableCorners">
5588        <!-- Defines the radius of the four corners. -->
5589        <attr name="radius" format="dimension" />
5590        <!-- Radius of the top left corner. -->
5591        <attr name="topLeftRadius" format="dimension" />
5592        <!-- Radius of the top right corner. -->
5593        <attr name="topRightRadius" format="dimension" />
5594        <!-- Radius of the bottom left corner. -->
5595        <attr name="bottomLeftRadius" format="dimension" />
5596        <!-- Radius of the bottom right corner. -->
5597        <attr name="bottomRightRadius" format="dimension" />
5598    </declare-styleable>
5599
5600    <!-- Used to specify the optional padding of a GradientDrawable. -->
5601    <declare-styleable name="GradientDrawablePadding">
5602        <!-- Amount of left padding inside the gradient shape. -->
5603        <attr name="left" format="dimension" />
5604        <!-- Amount of top padding inside the gradient shape. -->
5605        <attr name="top" format="dimension" />
5606        <!-- Amount of right padding inside the gradient shape. -->
5607        <attr name="right" format="dimension" />
5608        <!-- Amount of bottom padding inside the gradient shape. -->
5609        <attr name="bottom" format="dimension" />
5610    </declare-styleable>
5611
5612    <!-- Drawable used to render several drawables stacked on top of each other.
5613         Each child drawable can be controlled individually. -->
5614    <declare-styleable name="LayerDrawable">
5615        <!-- Indicates the opacity of the layer. This can be useful to allow the
5616              system to enable drawing optimizations. The default value is
5617              translucent. -->
5618        <attr name="opacity">
5619            <!-- Indicates that the layer is opaque and contains no transparent
5620                 nor translucent pixels. -->
5621            <enum name="opaque" value="-1" />
5622            <!-- The layer is completely transparent (no pixel will be drawn.) -->
5623            <enum name="transparent" value="-2" />
5624            <!-- The layer has translucent pixels. -->
5625            <enum name="translucent" value="-3" />
5626        </attr>
5627        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5628             RTL (right-to-left). -->
5629        <attr name="autoMirrored" />
5630        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
5631             The default padding mode value is nest. -->
5632        <attr name="paddingMode">
5633            <!-- Nest each layer inside the padding of the previous layer. -->
5634            <enum name="nest" value="0" />
5635            <!-- Stack each layer directly atop the previous layer. -->
5636            <enum name="stack" value="1" />
5637        </attr>
5638        <!-- Explicit top padding. Overrides child padding. -->
5639        <attr name="paddingTop" />
5640        <!-- Explicit bottom padding. Overrides child padding. -->
5641        <attr name="paddingBottom" />
5642        <!-- Explicit left padding. Overrides child padding. -->
5643        <attr name="paddingLeft" />
5644        <!-- Explicit right padding. Overrides child padding. -->
5645        <attr name="paddingRight" />
5646        <!-- Explicit start padding. Overrides child padding. Takes precedence
5647             over absolute padding (e.g. left when layout direction is LTR). -->
5648        <attr name="paddingStart" />
5649        <!-- Explicit end padding. Overrides child padding. Takes precedence
5650             over absolute padding (e.g. right when layout direction is LTR). -->
5651        <attr name="paddingEnd" />
5652    </declare-styleable>
5653
5654    <!-- Describes an item (or child) of a LayerDrawable. -->
5655    <declare-styleable name="LayerDrawableItem">
5656        <!-- Left inset to apply to the layer. -->
5657        <attr name="left" />
5658        <!-- Top inset to apply to the layer. -->
5659        <attr name="top" />
5660        <!-- Right inset to apply to the layer. -->
5661        <attr name="right" />
5662        <!-- Bottom inset to apply to the layer. -->
5663        <attr name="bottom" />
5664        <!-- Start inset to apply to the layer. Overrides {@code left} or
5665             {@code right} depending on layout direction. -->
5666        <attr name="start" format="dimension" />
5667        <!-- End inset to apply to the layer. Overrides {@code left} or
5668             {@code right} depending on layout direction. -->
5669        <attr name="end" format="dimension" />
5670        <!-- Width of the layer. Defaults to the layer's intrinsic width. -->
5671        <attr name="width" />
5672        <!-- Height of the layer. Defaults to the layer's intrinsic height -->
5673        <attr name="height" />
5674        <!-- Gravity used to align the layer within its container. If no value
5675             is specified, the default behavior depends on whether an explicit
5676             width or height has been set, If no dimension is set, gravity in
5677             that direction defaults to {@code fill_horizontal} or
5678             {@code fill_vertical}; otherwise, it defaults to {@code left} or
5679             {@code top}. -->
5680        <attr name="gravity" />
5681        <!-- Drawable used to render the layer. -->
5682        <attr name="drawable" />
5683        <!-- Identifier of the layer. This can be used to retrieve the layer
5684             from a drawable container. -->
5685        <attr name="id" />
5686    </declare-styleable>
5687
5688    <declare-styleable name="LevelListDrawableItem">
5689        <!-- The minimum level allowed for this item. -->
5690        <attr name="minLevel" format="integer" />
5691        <!-- The maximum level allowed for this item. -->
5692        <attr name="maxLevel" format="integer" />
5693        <attr name="drawable" />
5694    </declare-styleable>
5695
5696    <!-- Drawable used to rotate another drawable. -->
5697    <declare-styleable name="RotateDrawable">
5698        <attr name="visible" />
5699        <attr name="fromDegrees" format="float" />
5700        <attr name="toDegrees" format="float" />
5701        <attr name="pivotX" format="float|fraction" />
5702        <attr name="pivotY" format="float|fraction" />
5703        <attr name="drawable" />
5704    </declare-styleable>
5705
5706    <declare-styleable name="AnimatedRotateDrawable">
5707        <attr name="visible" />
5708        <attr name="frameDuration" format="integer" />
5709        <attr name="framesCount" format="integer" />
5710        <attr name="pivotX" />
5711        <attr name="pivotY" />
5712        <attr name="drawable" />
5713    </declare-styleable>
5714
5715    <!-- Drawable used to render the Material progress indicator. -->
5716    <declare-styleable name="MaterialProgressDrawable">
5717        <attr name="visible" />
5718        <attr name="thickness" />
5719        <attr name="innerRadius" />
5720        <attr name="width" />
5721        <attr name="height" />
5722        <attr name="color" />
5723    </declare-styleable>
5724
5725    <!-- Drawable used to wrap and inset another drawable. -->
5726    <declare-styleable name="InsetDrawable">
5727        <attr name="visible" />
5728        <attr name="drawable" />
5729        <attr name="inset"  format="dimension"/>
5730        <attr name="insetLeft" format="dimension" />
5731        <attr name="insetRight" format="dimension" />
5732        <attr name="insetTop" format="dimension" />
5733        <attr name="insetBottom" format="dimension" />
5734    </declare-styleable>
5735
5736    <!-- Drawable used to draw bitmaps. -->
5737    <declare-styleable name="BitmapDrawable">
5738        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5739        <attr name="src" />
5740        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
5741             edges of a bitmap when rotated. Default value is false. -->
5742        <attr name="antialias" format="boolean" />
5743        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
5744             shrunk or stretched to smooth its apperance. Default value is true. -->
5745        <attr name="filter" format="boolean" />
5746        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5747             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5748             an RGB 565 screen). Default value is true. -->
5749        <attr name="dither" />
5750        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
5751             the drawable in its container if the bitmap is smaller than the container. -->
5752        <attr name="gravity" />
5753        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
5754             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5755        <attr name="tileMode">
5756            <!-- Do not tile the bitmap. This is the default value. -->
5757            <enum name="disabled" value="-1" />
5758            <!-- Replicates the edge color. -->
5759            <enum name="clamp" value="0" />
5760            <!-- Repeats the bitmap in both direction. -->
5761            <enum name="repeat" value="1" />
5762            <!-- Repeats the shader's image horizontally and vertically, alternating
5763                 mirror images so that adjacent images always seam. -->
5764            <enum name="mirror" value="2" />
5765        </attr>
5766        <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated.
5767             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5768        <attr name="tileModeX">
5769            <!-- Do not tile the bitmap. This is the default value. -->
5770            <enum name="disabled" value="-1" />
5771            <!-- Replicates the edge color. -->
5772            <enum name="clamp" value="0" />
5773            <!-- Repeats the bitmap horizontally. -->
5774            <enum name="repeat" value="1" />
5775            <!-- Repeats the shader's image horizontally, alternating
5776                 mirror images so that adjacent images always seam. -->
5777            <enum name="mirror" value="2" />
5778        </attr>
5779        <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated.
5780             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
5781        <attr name="tileModeY">
5782            <!-- Do not tile the bitmap. This is the default value. -->
5783            <enum name="disabled" value="-1" />
5784            <!-- Replicates the edge color. -->
5785            <enum name="clamp" value="0" />
5786            <!-- Repeats the bitmap vertically. -->
5787            <enum name="repeat" value="1" />
5788            <!-- Repeats the shader's image vertically, alternating
5789                 mirror images so that adjacent images always seam. -->
5790            <enum name="mirror" value="2" />
5791        </attr>
5792        <!-- Enables or disables the mipmap hint. See
5793            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
5794            Default value is false. -->
5795        <attr name="mipMap" format="boolean" />
5796        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5797             RTL (right-to-left). -->
5798        <attr name="autoMirrored" />
5799        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5800             no tint is applied. May be a color state list. -->
5801        <attr name="tint" />
5802        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5803             default value is src_in, which treats the drawable as an alpha mask. -->
5804        <attr name="tintMode">
5805            <!-- The tint is drawn on top of the drawable.
5806                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
5807            <enum name="src_over" value="3" />
5808            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
5809                 color channels are thrown out. [Sa * Da, Sc * Da] -->
5810            <enum name="src_in" value="5" />
5811            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
5812                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
5813            <enum name="src_atop" value="9" />
5814            <!-- Multiplies the color and alpha channels of the drawable with those of
5815                 the tint. [Sa * Da, Sc * Dc] -->
5816            <enum name="multiply" value="14" />
5817            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
5818            <enum name="screen" value="15" />
5819            <!-- Combines the tint and drawable color and alpha channels, clamping the
5820                 result to valid color values. Saturate(S + D) -->
5821            <enum name="add" value="16" />
5822        </attr>
5823        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5824        <attr name="alpha" />
5825    </declare-styleable>
5826
5827    <!-- Drawable used to draw 9-patches. -->
5828    <declare-styleable name="NinePatchDrawable">
5829        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
5830        <attr name="src" />
5831        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
5832             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
5833             an RGB 565 screen). -->
5834        <attr name="dither" />
5835        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5836             RTL (right-to-left). -->
5837        <attr name="autoMirrored" />
5838        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5839             no tint is applied. May be a color state list. -->
5840        <attr name="tint" />
5841        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5842             default value is src_in, which treats the drawable as an alpha mask. -->
5843        <attr name="tintMode" />
5844        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
5845        <attr name="alpha" />
5846    </declare-styleable>
5847
5848    <!-- Drawable used to draw a single color. -->
5849    <declare-styleable name="ColorDrawable">
5850        <!-- The color to use. -->
5851        <attr name="color" />
5852    </declare-styleable>
5853
5854    <!-- Drawable used to draw masked icons with foreground and background layers. -->
5855    <declare-styleable name="MaskableIconDrawableLayer">
5856        <!-- The color to use for the layer, only if drawable is not defined. -->
5857        <attr name="color" />
5858        <!-- The drawable to use for the layer. -->
5859        <attr name="drawable" />
5860     </declare-styleable>
5861
5862    <!-- Drawable used to show animated touch feedback. -->
5863    <declare-styleable name="RippleDrawable">
5864        <!-- The color to use for ripple effects. This attribute is required. -->
5865        <attr name="color" />
5866        <!-- The radius of the ripple when fully expanded. By default, the
5867             radius is computed based on the size of the ripple's container. -->
5868        <attr name="radius" />
5869    </declare-styleable>
5870
5871    <declare-styleable name="ScaleDrawable">
5872        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
5873             format is XX%. For instance: 100%, 12.5%, etc.-->
5874        <attr name="scaleWidth" format="string" />
5875        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
5876             format is XX%. For instance: 100%, 12.5%, etc.-->
5877        <attr name="scaleHeight" format="string" />
5878        <!-- Specifies where the drawable is positioned after scaling. The default value is
5879             left. -->
5880        <attr name="scaleGravity">
5881            <!-- Push object to the top of its container, not changing its size. -->
5882            <flag name="top" value="0x30" />
5883            <!-- Push object to the bottom of its container, not changing its size. -->
5884            <flag name="bottom" value="0x50" />
5885            <!-- Push object to the left of its container, not changing its size. -->
5886            <flag name="left" value="0x03" />
5887            <!-- Push object to the right of its container, not changing its size. -->
5888            <flag name="right" value="0x05" />
5889            <!-- Place object in the vertical center of its container, not changing its size. -->
5890            <flag name="center_vertical" value="0x10" />
5891            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
5892            <flag name="fill_vertical" value="0x70" />
5893            <!-- Place object in the horizontal center of its container, not changing its size. -->
5894            <flag name="center_horizontal" value="0x01" />
5895            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
5896            <flag name="fill_horizontal" value="0x07" />
5897            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
5898            <flag name="center" value="0x11" />
5899            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
5900            <flag name="fill" value="0x77" />
5901            <!-- Additional option that can be set to have the top and/or bottom edges of
5902                 the child clipped to its container's bounds.
5903                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
5904                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
5905            <flag name="clip_vertical" value="0x80" />
5906            <!-- Additional option that can be set to have the left and/or right edges of
5907                 the child clipped to its container's bounds.
5908                 The clip will be based on the horizontal gravity: a left gravity will clip the right
5909                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
5910            <flag name="clip_horizontal" value="0x08" />
5911            <!-- Push object to the beginning of its container, not changing its size. -->
5912            <flag name="start" value="0x00800003" />
5913            <!-- Push object to the end of its container, not changing its size. -->
5914            <flag name="end" value="0x00800005" />
5915        </attr>
5916        <!-- Specifies the initial drawable level in the range 0 to 10000. -->
5917        <attr name="level" format="integer" />
5918        <!-- Reference to a drawable resource to draw with the specified scale. -->
5919        <attr name="drawable" />
5920        <!-- Use the drawable's intrinsic width and height as minimum size values.
5921             Useful if the target drawable is a 9-patch or otherwise should not be scaled
5922             down beyond a minimum size. -->
5923        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
5924    </declare-styleable>
5925
5926    <declare-styleable name="ClipDrawable">
5927        <!-- The orientation for the clip. -->
5928        <attr name="clipOrientation">
5929            <!-- Clip the drawable horizontally. -->
5930            <flag name="horizontal" value="1" />
5931            <!-- Clip the drawable vertically. -->
5932            <flag name="vertical" value="2" />
5933        </attr>
5934        <!-- Specifies where to clip within the drawable. The default value is
5935             left. -->
5936        <attr name="gravity" />
5937        <!-- Reference to a drawable resource to draw with the specified scale. -->
5938        <attr name="drawable" />
5939    </declare-styleable>
5940
5941    <!-- Defines the padding of a ShapeDrawable. -->
5942    <declare-styleable name="ShapeDrawablePadding">
5943        <!-- Left padding. -->
5944        <attr name="left" />
5945        <!-- Top padding. -->
5946        <attr name="top" />
5947        <!-- Right padding. -->
5948        <attr name="right" />
5949        <!-- Bottom padding. -->
5950        <attr name="bottom" />
5951    </declare-styleable>
5952
5953    <!-- Drawable used to draw shapes. -->
5954    <declare-styleable name="ShapeDrawable">
5955        <!-- Defines the color of the shape. -->
5956        <attr name="color" />
5957        <!-- Defines the width of the shape. -->
5958        <attr name="width" />
5959        <!-- Defines the height of the shape. -->
5960        <attr name="height" />
5961        <!-- Enables or disables dithering. -->
5962        <attr name="dither" />
5963        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5964             no tint is applied. May be a color state list. -->
5965        <attr name="tint" />
5966        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5967             default value is src_in, which treats the drawable as an alpha mask. -->
5968        <attr name="tintMode" />
5969    </declare-styleable>
5970
5971    <!-- ========================== -->
5972    <!--   VectorDrawable class   -->
5973    <!-- ========================== -->
5974    <eat-comment />
5975
5976    <!-- Drawable used to draw vector paths. -->
5977    <declare-styleable name="VectorDrawable">
5978        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
5979             no tint is applied. May be a color state list. -->
5980        <attr name="tint" />
5981        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
5982             default value is src_in, which treats the drawable as an alpha mask. -->
5983        <attr name="tintMode" />
5984        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
5985             RTL (right-to-left). -->
5986        <attr name="autoMirrored" />
5987        <!-- The intrinsic width of the Vector Drawable. -->
5988        <attr name="width" />
5989        <!-- The intrinsic height of the Vector Drawable. -->
5990        <attr name="height" />
5991        <!-- The width of the canvas the drawing is on. -->
5992        <attr name="viewportWidth" format="float"/>
5993        <!-- The height of the canvas the drawing is on. -->
5994        <attr name="viewportHeight" format="float"/>
5995        <!-- The name of this vector drawable -->
5996        <attr name="name" />
5997        <!-- The opacity of the whole vector drawable, as a value between 0
5998             (completely transparent) and 1 (completely opaque). -->
5999        <attr name="alpha" />
6000        <!-- Left optical inset.
6001             @hide Until optical insets are fully supported. -->
6002        <attr name="opticalInsetLeft" format="dimension" />
6003        <!-- Top optical inset.
6004             @hide Until optical insets are fully supported. -->
6005        <attr name="opticalInsetTop" format="dimension" />
6006        <!-- Right optical inset.
6007             @hide Until optical insets are fully supported. -->
6008        <attr name="opticalInsetRight" format="dimension" />
6009        <!-- Bottom optical inset.
6010             @hide Until optical insets are fully supported. -->
6011        <attr name="opticalInsetBottom" format="dimension" />
6012    </declare-styleable>
6013
6014    <!-- Defines the group used in VectorDrawables. -->
6015    <declare-styleable name="VectorDrawableGroup">
6016        <!-- The name of this group -->
6017        <attr name="name" />
6018        <!-- The amount to rotate the group -->
6019        <attr name="rotation" />
6020        <!-- The X coordinate of the center of rotation of a group -->
6021        <attr name="pivotX" />
6022        <!-- The Y coordinate of the center of rotation of a group -->
6023        <attr name="pivotY" />
6024        <!-- The amount to translate the group on X coordinate -->
6025        <attr name="translateX" format="float"/>
6026        <!-- The amount to translate the group on Y coordinate -->
6027        <attr name="translateY" format="float"/>
6028        <!-- The amount to scale the group on X coordinate -->
6029        <attr name="scaleX" />
6030        <!-- The amount to scale the group on X coordinate -->
6031        <attr name="scaleY" />
6032    </declare-styleable>
6033
6034    <!-- Defines the path used in VectorDrawables. -->
6035    <declare-styleable name="VectorDrawablePath">
6036        <!-- The name of this path -->
6037        <attr name="name" />
6038        <!-- The width a path stroke -->
6039        <attr name="strokeWidth" format="float" />
6040        <!-- The color to stroke the path if not defined implies no stroke-->
6041        <attr name="strokeColor" format="color" />
6042        <!-- The opacity of a path stroke, as a value between 0 (completely transparent)
6043             and 1 (completely opaque) -->
6044        <attr name="strokeAlpha" format="float" />
6045        <!-- The color to fill the path if not defined implies no fill-->
6046        <attr name="fillColor" format="color" />
6047        <!-- The alpha of the path fill, as a value between 0 (completely transparent)
6048             and 1 (completely opaque)-->
6049        <attr name="fillAlpha" format="float" />
6050        <!-- The specification of the operations that define the path  -->
6051        <attr name="pathData" format="string" />
6052        <!-- The fraction of the path to trim from the start from 0 to 1 -->
6053        <attr name="trimPathStart" format="float" />
6054        <!-- The fraction of the path to trim from the end from 0 to 1  -->
6055        <attr name="trimPathEnd" format="float" />
6056        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1  -->
6057        <attr name="trimPathOffset" format="float" />
6058        <!-- sets the linecap for a stroked path -->
6059        <attr name="strokeLineCap" format="enum">
6060            <enum name="butt" value="0"/>
6061            <enum name="round" value="1"/>
6062            <enum name="square" value="2"/>
6063        </attr>
6064        <!-- sets the lineJoin for a stroked path -->
6065        <attr name="strokeLineJoin" format="enum">
6066            <enum name="miter" value="0"/>
6067            <enum name="round" value="1"/>
6068            <enum name="bevel" value="2"/>
6069        </attr>
6070        <!-- sets the Miter limit for a stroked path -->
6071        <attr name="strokeMiterLimit" format="float"/>
6072        <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties.
6073             For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty -->
6074        <attr name="fillType" format="enum">
6075            <enum name="nonZero" value="0"/>
6076            <enum name="evenOdd" value="1"/>
6077        </attr>
6078    </declare-styleable>
6079
6080    <!-- Defines the clip path used in VectorDrawables. -->
6081    <declare-styleable name="VectorDrawableClipPath">
6082        <!-- The Name of this path -->
6083        <attr name="name" />
6084        <!-- The specification of the operations that define the path  -->
6085        <attr name="pathData"/>
6086    </declare-styleable>
6087
6088    <!-- ========================== -->
6089    <!--   AnimatedVectorDrawable class   -->
6090    <!-- ========================== -->
6091    <eat-comment />
6092
6093    <!-- Define the AnimatedVectorDrawable. -->
6094    <declare-styleable name="AnimatedVectorDrawable">
6095        <!-- The static vector drawable. -->
6096        <attr name="drawable" />
6097    </declare-styleable>
6098
6099    <!-- Defines the target used in the AnimatedVectorDrawable. -->
6100    <declare-styleable name="AnimatedVectorDrawableTarget">
6101        <!-- The name of the target path, group or vector drawable -->
6102        <attr name="name" />
6103        <!-- The animation for the target path, group or vector drawable -->
6104        <attr name="animation" />
6105    </declare-styleable>
6106
6107    <!-- ========================== -->
6108    <!-- Animation class attributes -->
6109    <!-- ========================== -->
6110    <eat-comment />
6111
6112    <declare-styleable name="Animation">
6113        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6114        <attr name="interpolator" />
6115        <!-- When set to true, the value of fillBefore is taken into account. -->
6116        <attr name="fillEnabled" format="boolean" />
6117        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
6118             is applied before the animation has started. The default value is true. -->
6119        <attr name="fillBefore" format="boolean" />
6120        <!-- When set to true, the animation transformation is applied after the animation is
6121             over. The default value is false. If fillEnabled is not set to true and the
6122             animation is not set on a View, fillAfter is assumed to be true.-->
6123        <attr name="fillAfter" format="boolean" />
6124        <!-- Amount of time (in milliseconds) for the animation to run. -->
6125        <attr name="duration" />
6126        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6127        <attr name="startOffset" format="integer" />
6128        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6129        <attr name="repeatCount" format="integer">
6130            <enum name="infinite" value="-1" />
6131        </attr>
6132        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6133             greater than 0 or infinite. The default value is restart. -->
6134        <attr name="repeatMode">
6135            <!-- The animation starts again from the beginning. -->
6136            <enum name="restart" value="1" />
6137            <!-- The animation plays backward. -->
6138            <enum name="reverse" value="2" />
6139        </attr>
6140        <!-- Allows for an adjustment of the Z ordering of the content being
6141             animated for the duration of the animation.  The default value is normal. -->
6142        <attr name="zAdjustment">
6143            <!-- The content being animated be kept in its current Z order. -->
6144            <enum name="normal" value="0" />
6145            <!-- The content being animated is forced on top of all other
6146                 content for the duration of the animation. -->
6147            <enum name="top" value="1" />
6148            <!-- The content being animated is forced under all other
6149                 content for the duration of the animation. -->
6150            <enum name="bottom" value="-1" />
6151        </attr>
6152        <!-- Special background behind animation.  Only for use with window
6153             animations.  Can only be a color, and only black.  If 0, the
6154             default, there is no background. -->
6155        <attr name="background" />
6156        <!-- Special option for window animations: if this window is on top
6157             of a wallpaper, don't animate the wallpaper with it. -->
6158        <attr name="detachWallpaper" format="boolean" />
6159    </declare-styleable>
6160
6161    <declare-styleable name="AnimationSet">
6162        <attr name="shareInterpolator" format="boolean" />
6163        <attr name="fillBefore" />
6164        <attr name="fillAfter" />
6165        <attr name="duration" />
6166        <attr name="startOffset" />
6167        <attr name="repeatMode" />
6168    </declare-styleable>
6169
6170    <declare-styleable name="RotateAnimation">
6171        <attr name="fromDegrees" />
6172        <attr name="toDegrees" />
6173        <attr name="pivotX" />
6174        <attr name="pivotY" />
6175    </declare-styleable>
6176
6177    <declare-styleable name="ScaleAnimation">
6178        <attr name="fromXScale" format="float|fraction|dimension" />
6179        <attr name="toXScale" format="float|fraction|dimension" />
6180        <attr name="fromYScale" format="float|fraction|dimension" />
6181        <attr name="toYScale" format="float|fraction|dimension" />
6182        <attr name="pivotX" />
6183        <attr name="pivotY" />
6184    </declare-styleable>
6185
6186    <declare-styleable name="TranslateAnimation">
6187        <attr name="fromXDelta" format="float|fraction" />
6188        <attr name="toXDelta" format="float|fraction" />
6189        <attr name="fromYDelta" format="float|fraction" />
6190        <attr name="toYDelta" format="float|fraction" />
6191    </declare-styleable>
6192
6193    <declare-styleable name="AlphaAnimation">
6194        <attr name="fromAlpha" format="float" />
6195        <attr name="toAlpha" format="float" />
6196    </declare-styleable>
6197
6198    <declare-styleable name="LayoutAnimation">
6199        <!-- Fraction of the animation duration used to delay the beginning of
6200         the animation of each child. -->
6201        <attr name="delay" format="float|fraction" />
6202        <!-- Animation to use on each child. -->
6203        <attr name="animation" format="reference" />
6204        <!-- The order in which the animations will be started. -->
6205        <attr name="animationOrder">
6206            <!-- Animations are started in the natural order. -->
6207            <enum name="normal" value="0" />
6208            <!-- Animations are started in the reverse order. -->
6209            <enum name="reverse" value="1" />
6210            <!-- Animations are started randomly. -->
6211            <enum name="random" value="2" />
6212        </attr>
6213        <!-- Interpolator used to interpolate the delay between the start of
6214         each animation. -->
6215        <attr name="interpolator" />
6216    </declare-styleable>
6217
6218    <declare-styleable name="GridLayoutAnimation">
6219        <!-- Fraction of the animation duration used to delay the beginning of
6220         the animation of each column. -->
6221        <attr name="columnDelay" format="float|fraction" />
6222        <!-- Fraction of the animation duration used to delay the beginning of
6223         the animation of each row. -->
6224        <attr name="rowDelay" format="float|fraction" />
6225        <!-- Direction of the animation in the grid. -->
6226        <attr name="direction">
6227            <!-- Animates columns from left to right. -->
6228            <flag name="left_to_right" value="0x0" />
6229            <!-- Animates columns from right to left. -->
6230            <flag name="right_to_left" value="0x1" />
6231            <!-- Animates rows from top to bottom. -->
6232            <flag name="top_to_bottom" value="0x0" />
6233            <!-- Animates rows from bottom to top. -->
6234            <flag name="bottom_to_top" value="0x2" />
6235        </attr>
6236        <!-- Priority of the rows and columns. When the priority is none,
6237         both rows and columns have the same priority. When the priority is
6238         column, the animations will be applied on the columns first. The same
6239         goes for rows. -->
6240        <attr name="directionPriority">
6241            <!-- Rows and columns are animated at the same time. -->
6242            <enum name="none"   value="0" />
6243            <!-- Columns are animated first. -->
6244            <enum name="column" value="1" />
6245            <!-- Rows are animated first. -->
6246            <enum name="row"    value="2" />
6247        </attr>
6248    </declare-styleable>
6249
6250    <declare-styleable name="AccelerateInterpolator">
6251        <!-- This is the amount of deceleration to add when easing in. -->
6252        <attr name="factor" format="float" />
6253    </declare-styleable>
6254
6255    <declare-styleable name="DecelerateInterpolator">
6256        <!-- This is the amount of acceleration to add when easing out. -->
6257        <attr name="factor" />
6258    </declare-styleable>
6259
6260    <declare-styleable name="CycleInterpolator">
6261        <attr name="cycles" format="float" />
6262    </declare-styleable>
6263
6264    <declare-styleable name="AnticipateInterpolator">
6265        <!-- This is the amount of tension. -->
6266        <attr name="tension" format="float" />
6267    </declare-styleable>
6268
6269    <declare-styleable name="OvershootInterpolator">
6270        <!-- This is the amount of tension. -->
6271        <attr name="tension" />
6272    </declare-styleable>
6273
6274    <declare-styleable name="AnticipateOvershootInterpolator">
6275        <!-- This is the amount of tension. -->
6276        <attr name="tension" />
6277        <!-- This is the amount by which to multiply the tension. -->
6278        <attr name="extraTension" format="float" />
6279    </declare-styleable>
6280
6281    <declare-styleable name="PathInterpolator">
6282        <!-- The x coordinate of the first control point of the cubic Bezier -->
6283        <attr name="controlX1" format="float" />
6284        <!-- The y coordinate of the first control point of the cubic Bezier -->
6285        <attr name="controlY1" format="float" />
6286        <!-- The x coordinate of the second control point of the cubic Bezier -->
6287        <attr name="controlX2" format="float" />
6288        <!-- The y coordinate of the second control point of the cubic Bezier -->
6289        <attr name="controlY2" format="float" />
6290        <!-- The control points defined as a path.
6291             When pathData is defined, then both of the control points of the
6292             cubic Bezier will be ignored. -->
6293        <attr name="pathData"/>
6294    </declare-styleable>
6295
6296    <!-- ========================== -->
6297    <!-- Transition attributes -->
6298    <!-- ========================== -->
6299    <eat-comment />
6300
6301    <!-- Use specific transition subclass names as the root tag of the XML resource that
6302         describes a {@link android.transition.Transition Transition},
6303         such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. -->
6304    <declare-styleable name="Transition">
6305        <!-- Amount of time (in milliseconds) that the transition should run. -->
6306        <attr name="duration" />
6307        <!-- Delay in milliseconds before the transition starts. -->
6308        <attr name="startDelay" format="integer" />
6309        <!-- Interpolator to be used in the animations spawned by this transition. -->
6310        <attr name="interpolator" />
6311        <!-- The match order to use for the transition. This is a comma-separated
6312             list of values, containing one or more of the following:
6313             id, itemId, name, instance. These correspond to
6314             {@link android.transition.Transition#MATCH_ID},
6315             {@link android.transition.Transition#MATCH_ITEM_ID},
6316             {@link android.transition.Transition#MATCH_NAME}, and
6317             {@link android.transition.Transition#MATCH_INSTANCE}, respectively.
6318             This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. -->
6319        <attr name="matchOrder" format="string" />
6320    </declare-styleable>
6321
6322    <!-- @hide For internal use only. Use only as directed. -->
6323    <declare-styleable name="EpicenterTranslateClipReveal">
6324        <attr name="interpolatorX" format="reference" />
6325        <attr name="interpolatorY" format="reference" />
6326        <attr name="interpolatorZ" format="reference" />
6327    </declare-styleable>
6328
6329    <!-- Use <code>fade</code>as the root tag of the XML resource that
6330         describes a {@link android.transition.Fade Fade} transition.
6331         The attributes of the {@link android.R.styleable#Transition Transition}
6332         resource are available in addition to the specific attributes of Fade
6333         described here. -->
6334    <declare-styleable name="Fade">
6335        <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only
6336             with the Fade transition. -->
6337        <attr name="fadingMode">
6338            <!-- Fade will only fade appearing items in. -->
6339            <enum name="fade_in" value="1" />
6340            <!-- Fade will only fade disappearing items out. -->
6341            <enum name="fade_out" value="2" />
6342            <!-- Fade will fade appearing items in and disappearing items out. -->
6343            <enum name="fade_in_out" value="3" />
6344        </attr>
6345    </declare-styleable>
6346
6347    <!-- Use <code>slide</code>as the root tag of the XML resource that
6348         describes a {@link android.transition.Slide Slide} transition.
6349         The attributes of the {@link android.R.styleable#Transition Transition}
6350         resource are available in addition to the specific attributes of Slide
6351         described here. -->
6352    <declare-styleable name="Slide">
6353        <attr name="slideEdge">
6354            <!-- Slide to and from the left edge of the Scene. -->
6355            <enum name="left" value="0x03" />
6356            <!-- Slide to and from the top edge of the Scene. -->
6357            <enum name="top" value="0x30" />
6358            <!-- Slide to and from the right edge of the Scene. -->
6359            <enum name="right" value="0x05" />
6360            <!-- Slide to and from the bottom edge of the Scene. -->
6361            <enum name="bottom" value="0x50" />
6362            <!-- Slide to and from the x-axis position at the start of the Scene root. -->
6363            <enum name="start" value="0x00800003"/>
6364            <!-- Slide to and from the x-axis position at the end of the Scene root. -->
6365            <enum name="end" value="0x00800005"/>
6366        </attr>
6367    </declare-styleable>
6368
6369    <!-- Use with {@link android.transition.Visibility} transitions, such as
6370         <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which
6371         views are supported. -->
6372    <declare-styleable name="VisibilityTransition">
6373        <!-- Changes whether the transition supports appearing and/or disappearing Views.
6374             Corresponds to {@link android.transition.Visibility#setMode(int)}. -->
6375        <attr name="transitionVisibilityMode">
6376            <!-- Only appearing Views will be supported. -->
6377            <flag name="mode_in" value="1" />
6378            <!-- Only disappearing Views will be supported. -->
6379            <flag name="mode_out" value="2" />
6380        </attr>
6381    </declare-styleable>
6382    <!-- Use <code>target</code> as the root tag of the XML resource that
6383     describes a {@link android.transition.Transition#addTarget(int)
6384     targetId} of a transition. There can be one or more targets inside
6385     a <code>targets</code> tag, which is itself inside an appropriate
6386     {@link android.R.styleable#Transition Transition} tag.
6387     -->
6388    <declare-styleable name="TransitionTarget">
6389        <!-- The id of a target on which this transition will animate changes. -->
6390        <attr name="targetId" format="reference" />
6391        <!-- The id of a target to exclude from this transition. -->
6392        <attr name="excludeId" format="reference" />
6393        <!-- The fully-qualified name of the Class to include in this transition. -->
6394        <attr name="targetClass" />
6395        <!-- The fully-qualified name of the Class to exclude from this transition. -->
6396        <attr name="excludeClass" format="string" />
6397        <!-- The transitionName of the target on which this transition will animation changes. -->
6398        <attr name="targetName" format="string" />
6399        <!-- The transitionName of the target to exclude from this transition. -->
6400        <attr name="excludeName" format="string" />
6401    </declare-styleable>
6402
6403    <!-- Use <code>set</code> as the root tag of the XML resource that
6404         describes a {@link android.transition.TransitionSet
6405         TransitionSet} transition. -->
6406    <declare-styleable name="TransitionSet">
6407        <attr name="transitionOrdering">
6408            <!-- child transitions should be played together. -->
6409            <enum name="together" value="0" />
6410            <!-- child transitions should be played sequentially, in the same order
6411            as the xml. -->
6412            <enum name="sequential" value="1" />
6413        </attr>
6414    </declare-styleable>
6415
6416    <!-- Use <code>changeTransform</code> as the root tag of the XML resource that
6417         describes a {@link android.transition.ChangeTransform} transition. -->
6418    <declare-styleable name="ChangeTransform">
6419        <!-- A parent change should use an overlay or affect the transform of the
6420             transitionining View. Default is true. Corresponds to
6421             {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. -->
6422        <attr name="reparentWithOverlay" format="boolean"/>
6423
6424        <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to
6425             {@link android.transition.ChangeTransform#setReparent(boolean)}. -->
6426        <attr name="reparent" format="boolean"/>
6427    </declare-styleable>
6428
6429    <!-- Use <code>changeBounds</code>as the root tag of the XML resource that
6430         describes a {@link android.transition.ChangeBounds} transition.
6431         The attributes of the {@link android.R.styleable#Transition Transition}
6432         resource are available in addition to the specific attributes of ChangeBounds
6433         described here. -->
6434    <declare-styleable name="ChangeBounds">
6435        <!-- Resize the view by adjusting the clipBounds rather than changing the
6436             dimensions of the view itself. The default value is false. -->
6437        <attr name="resizeClip" format="boolean"/>
6438    </declare-styleable>
6439
6440    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
6441         describes a {@link android.transition.TransitionManager
6442         TransitionManager}. -->
6443    <declare-styleable name="TransitionManager">
6444        <!-- The id of a transition to be used in a particular scene change. -->
6445        <attr name="transition" format="reference" />
6446        <!-- The originating scene in this scene change. -->
6447        <attr name="fromScene" format="reference" />
6448        <!-- The destination scene in this scene change. -->
6449        <attr name="toScene" format="reference" />
6450    </declare-styleable>
6451
6452    <!-- Use <code>arcMotion</code> as the root tag of the XML resource that
6453         describes a {@link android.transition.ArcMotion}. This must be used
6454         within a transition with which the PathMotion should be associated. -->
6455    <declare-styleable name="ArcMotion">
6456        <!-- The minimum arc angle in degrees between the start and end points when
6457             they are close to horizontal. -->
6458        <attr name="minimumHorizontalAngle" format="float" />
6459        <!-- The minimum arc angle in degrees between the start and end points when
6460             they are close to vertical. -->
6461        <attr name="minimumVerticalAngle" format="float" />
6462        <!-- The maximum arc angle in degrees between the start and end points. -->
6463        <attr name="maximumAngle" format="float" />
6464    </declare-styleable>
6465
6466    <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that
6467         describes a {@link android.transition.PatternPathMotion}. This must be used
6468         within a transition with which the PathMotion should be associated. -->
6469    <declare-styleable name="PatternPathMotion">
6470        <!-- The path string describing the pattern to use for the PathPathMotion. -->
6471        <attr name="patternPathData" format="string" />
6472    </declare-styleable>
6473
6474    <!-- ========================== -->
6475    <!-- ValueAnimator class attributes -->
6476    <!-- ========================== -->
6477    <eat-comment />
6478
6479    <declare-styleable name="Animator">
6480        <!-- Defines the interpolator used to smooth the animation movement in time. -->
6481        <attr name="interpolator" />
6482        <!-- Amount of time (in milliseconds) for the animation to run. -->
6483        <attr name="duration" />
6484        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
6485        <attr name="startOffset"/>
6486        <!-- Defines how many times the animation should repeat. The default value is 0. -->
6487        <attr name="repeatCount"/>
6488        <!-- Defines the animation behavior when it reaches the end and the repeat count is
6489             greater than 0 or infinite. The default value is restart. -->
6490        <attr name="repeatMode"/>
6491        <!-- Value the animation starts from. -->
6492        <attr name="valueFrom" format="float|integer|color|dimension|string"/>
6493        <!-- Value the animation animates to. -->
6494        <attr name="valueTo" format="float|integer|color|dimension|string"/>
6495        <!-- The type of valueFrom and valueTo. -->
6496        <attr name="valueType">
6497            <!-- The given values are floats. This is the default value if valueType is
6498                 unspecified. Note that if any value attribute has a color value
6499                 (beginning with "#"), then this attribute is ignored and the color values are
6500                 interpreted as integers. -->
6501            <enum name="floatType" value="0" />
6502            <!-- values are integers. -->
6503            <enum name="intType"   value="1" />
6504            <!-- values are paths defined as strings.
6505                 This type is used for path morphing in AnimatedVectorDrawable. -->
6506            <enum name="pathType"   value="2" />
6507            <!-- values are colors, which are integers starting with "#". -->
6508            <enum name="colorType"   value="3" />
6509        </attr>
6510        <!-- Placeholder for a deleted attribute. This should be removed before M release. -->
6511        <attr name="removeBeforeMRelease" format="integer" />
6512    </declare-styleable>
6513
6514    <declare-styleable name="PropertyValuesHolder">
6515        <attr name="valueType" />
6516        <attr name="propertyName" />
6517        <attr name="valueFrom" />
6518        <attr name="valueTo" />
6519    </declare-styleable>
6520
6521    <declare-styleable name="Keyframe">
6522        <attr name="valueType" />
6523        <attr name="value" />
6524        <attr name="fraction" format="float" />
6525        <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used
6526             to interpolate between this keyframe and the previous keyframe.-->
6527        <attr name="interpolator" />
6528    </declare-styleable>
6529
6530    <!-- ========================== -->
6531    <!-- ObjectAnimator class attributes -->
6532    <!-- ========================== -->
6533    <eat-comment />
6534
6535    <declare-styleable name="PropertyAnimator">
6536        <!-- Name of the property being animated. -->
6537        <attr name="propertyName" format="string"/>
6538        <!-- Name of the property being animated as the X coordinate of the pathData. -->
6539        <attr name="propertyXName" format="string"/>
6540        <!-- Name of the property being animated as the Y coordinate of the pathData. -->
6541        <attr name="propertyYName" format="string"/>
6542        <!-- The path used to animate the properties in the ObjectAnimator -->
6543        <attr name="pathData"/>
6544    </declare-styleable>
6545
6546
6547    <!-- ========================== -->
6548    <!-- AnimatorSet class attributes -->
6549    <!-- ========================== -->
6550    <eat-comment />
6551
6552    <declare-styleable name="AnimatorSet">
6553        <!-- Name of the property being animated. -->
6554        <attr name="ordering">
6555            <!-- child animations should be played together. -->
6556            <enum name="together" value="0" />
6557            <!-- child animations should be played sequentially, in the same order as the xml. -->
6558            <enum name="sequentially" value="1" />
6559        </attr>
6560    </declare-styleable>
6561
6562    <!-- ========================== -->
6563    <!-- State attributes           -->
6564    <!-- ========================== -->
6565    <eat-comment />
6566
6567    <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of
6568         states may vary between view implementations, as documented on the individual state
6569         attributes. -->
6570    <declare-styleable name="DrawableStates">
6571        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6572             set when a view has input focus. -->
6573        <attr name="state_focused" format="boolean" />
6574        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6575             set when a view's window has input focus. -->
6576        <attr name="state_window_focused" format="boolean" />
6577        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6578             set when a view is enabled. -->
6579        <attr name="state_enabled" format="boolean" />
6580        <!-- State identifier indicating that the object <var>may</var> display a check mark. See
6581             {@link android.R.attr#state_checked} for the identifier that indicates whether it is
6582             actually checked. -->
6583        <attr name="state_checkable" format="boolean"/>
6584        <!-- State identifier indicating that the object is currently checked.  See
6585             {@link android.R.attr#state_checkable} for an additional identifier that can indicate
6586             if any object may ever display a check, regardless of whether state_checked is
6587             currently set. -->
6588        <attr name="state_checked" format="boolean"/>
6589        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6590             set when a view (or one of its parents) is currently selected. -->
6591        <attr name="state_selected" format="boolean" />
6592        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6593             set when the user is pressing down in a view. -->
6594        <attr name="state_pressed" format="boolean" />
6595        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6596             set when a view or its parent has been "activated" meaning the user has currently
6597             marked it as being of interest.  This is an alternative representation of
6598             state_checked for when the state should be propagated down the view hierarchy. -->
6599        <attr name="state_activated" format="boolean" />
6600        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6601             set when a view or drawable is considered "active" by its host. Actual usage may vary
6602             between views. Consult the host view documentation for details. -->
6603        <attr name="state_active" format="boolean" />
6604        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6605             set when a view or drawable is considered "single" by its host. Actual usage may vary
6606             between views. Consult the host view documentation for details. -->
6607        <attr name="state_single" format="boolean" />
6608        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6609             set when a view or drawable is in the first position in an ordered set. Actual usage
6610             may vary between views. Consult the host view documentation for details. -->
6611        <attr name="state_first" format="boolean" />
6612        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6613             set when a view or drawable is in the middle position in an ordered set. Actual usage
6614             may vary between views. Consult the host view documentation for details. -->
6615        <attr name="state_middle" format="boolean" />
6616        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6617             set when a view or drawable is in the last position in an ordered set. Actual usage
6618             may vary between views. Consult the host view documentation for details. -->
6619        <attr name="state_last" format="boolean" />
6620        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6621             indicating that the Drawable is in a view that is hardware accelerated.
6622             This means that the device can at least render a full-screen scaled
6623             bitmap with one layer of text and bitmaps composited on top of it
6624             at 60fps.  When this is set, the colorBackgroundCacheHint will be
6625             ignored even if it specifies a solid color, since that optimization
6626             is not needed. -->
6627        <attr name="state_accelerated" format="boolean" />
6628        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
6629             set when a pointer is hovering over the view. -->
6630        <attr name="state_hovered" format="boolean" />
6631        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6632             indicating that the Drawable is in a view that is capable of accepting a drop of
6633             the content currently being manipulated in a drag-and-drop operation. -->
6634        <attr name="state_drag_can_accept" format="boolean" />
6635        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6636             indicating that a drag operation (for which the Drawable's view is a valid recipient)
6637             is currently positioned over the Drawable. -->
6638        <attr name="state_drag_hovered" format="boolean" />
6639        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
6640             indicating that a View has accessibility focus. -->
6641        <attr name="state_accessibility_focused" format="boolean" />
6642    </declare-styleable>
6643    <declare-styleable name="ViewDrawableStates">
6644        <attr name="state_pressed" />
6645        <attr name="state_focused" />
6646        <attr name="state_selected" />
6647        <attr name="state_window_focused" />
6648        <attr name="state_enabled" />
6649        <attr name="state_activated" />
6650        <attr name="state_accelerated" />
6651        <attr name="state_hovered" />
6652        <attr name="state_drag_can_accept" />
6653        <attr name="state_drag_hovered" />
6654    </declare-styleable>
6655    <!-- State array representing a menu item that is currently checked. -->
6656    <declare-styleable name="MenuItemCheckedState">
6657        <attr name="state_checkable" />
6658        <attr name="state_checked" />
6659    </declare-styleable>
6660    <!-- State array representing a menu item that is checkable but is not currently checked. -->
6661    <declare-styleable name="MenuItemUncheckedState">
6662        <attr name="state_checkable" />
6663    </declare-styleable>
6664    <!-- State array representing a menu item that is currently focused and checked. -->
6665    <declare-styleable name="MenuItemCheckedFocusedState">
6666        <attr name="state_checkable" />
6667        <attr name="state_checked" />
6668        <attr name="state_focused" />
6669    </declare-styleable>
6670    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
6671    <declare-styleable name="MenuItemUncheckedFocusedState">
6672        <attr name="state_checkable" />
6673        <attr name="state_focused" />
6674    </declare-styleable>
6675    <!-- State array representing an expandable list child's indicator. -->
6676    <declare-styleable name="ExpandableListChildIndicatorState">
6677        <!-- State identifier indicating the child is the last child within its group. -->
6678        <attr name="state_last" />
6679    </declare-styleable>
6680    <!-- State array representing an expandable list group's indicator. -->
6681    <declare-styleable name="ExpandableListGroupIndicatorState">
6682        <!-- State identifier indicating the group is expanded. -->
6683        <attr name="state_expanded" format="boolean" />
6684        <!-- State identifier indicating the group is empty (has no children). -->
6685        <attr name="state_empty" format="boolean" />
6686    </declare-styleable>
6687    <declare-styleable name="PopupWindowBackgroundState">
6688        <!-- State identifier indicating the popup will be above the anchor. -->
6689        <attr name="state_above_anchor" format="boolean" />
6690    </declare-styleable>
6691    <declare-styleable name="TextViewMultiLineBackgroundState">
6692        <!-- State identifier indicating a TextView has a multi-line layout. -->
6693        <attr name="state_multiline" format="boolean" />
6694    </declare-styleable>
6695
6696    <!-- ***************************************************************** -->
6697    <!-- Support for Searchable activities. -->
6698    <!-- ***************************************************************** -->
6699    <eat-comment />
6700
6701    <!-- Searchable activities and applications must provide search configuration information
6702        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
6703        For a more in-depth discussion of search configuration, please refer to
6704        {@link android.app.SearchManager}. -->
6705    <declare-styleable name="Searchable">
6706          <!--<strong>This is deprecated.</strong><br/>The default
6707              application icon is now always used, so this attribute is
6708              obsolete.-->
6709        <attr name="icon" />
6710        <!-- This is the user-displayed name of the searchable activity.  <i>Required
6711            attribute.</i> -->
6712        <attr name="label" />
6713        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
6714            attribute.</i> -->
6715        <attr name="hint" />
6716        <!-- If supplied, this string will be displayed as the text of the "Search" button.
6717          <i>Optional attribute.</i>
6718          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
6719                       changing to use only icons for its buttons.}-->
6720        <attr name="searchButtonText" format="string" />
6721        <attr name="inputType" />
6722        <attr name="imeOptions" />
6723
6724        <!-- Additional features are controlled by mode bits in this field.  Omitting
6725            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
6726        -->
6727        <attr name="searchMode">
6728          <!-- If set, this flag enables the display of the search target (label) within the
6729               search bar.  If neither bad mode is selected, no badge will be shown. -->
6730          <flag name="showSearchLabelAsBadge" value="0x04" />
6731          <!--<strong>This is deprecated.</strong><br/>The default
6732              application icon is now always used, so this option is
6733              obsolete.-->
6734          <flag name="showSearchIconAsBadge" value="0x08" />
6735          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
6736               be considered as the text for suggestion query rewriting.  This should only
6737               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
6738               inspection and editing - typically, HTTP/HTTPS Uri's. -->
6739          <flag name="queryRewriteFromData" value="0x10" />
6740          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
6741               be considered as the text for suggestion query rewriting.  This should be used
6742               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
6743               values are not suitable for user inspection and editing. -->
6744          <flag name="queryRewriteFromText" value="0x20" />
6745        </attr>
6746
6747        <!-- Voice search features are controlled by mode bits in this field.  Omitting
6748            this field, or setting to zero, provides default behavior.
6749            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
6750            also be set.  <i>Optional attribute.</i>
6751        -->
6752        <attr name="voiceSearchMode">
6753          <!-- If set, display a voice search button.  This only takes effect if voice search is
6754               available on the device. -->
6755          <flag name="showVoiceSearchButton" value="0x01" />
6756          <!-- If set, the voice search button will take the user directly to a built-in
6757               voice web search activity.  Most applications will not use this flag, as it
6758               will take the user away from the activity in which search was invoked. -->
6759          <flag name="launchWebSearch" value="0x02" />
6760          <!-- If set, the voice search button will take the user directly to a built-in
6761               voice recording activity.  This activity will prompt the user to speak,
6762               transcribe the spoken text, and forward the resulting query
6763               text to the searchable activity, just as if the user had typed it into
6764               the search UI and clicked the search button. -->
6765          <flag name="launchRecognizer" value="0x04" />
6766        </attr>
6767
6768        <!-- If provided, this specifies the language model that should be used by the
6769             voice recognition system.  See
6770             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
6771             If not provided, the default value
6772             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
6773        <attr name="voiceLanguageModel" format="string" />
6774        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
6775        <attr name="voicePromptText" format="string" />
6776        <!-- If provided, this specifies the spoken language to be expected, and that it will be
6777             different than the one set in the {@link java.util.Locale#getDefault()}. -->
6778        <attr name="voiceLanguage" format="string" />
6779        <!-- If provided, enforces the maximum number of results to return, including the "best"
6780             result which will always be provided as the SEARCH intent's primary query.  Must be one
6781             or greater.  If not provided, the recognizer will choose how many results to return.
6782             -->
6783        <attr name="voiceMaxResults" format="integer" />
6784
6785        <!-- If provided, this is the trigger indicating that the searchable activity
6786            provides suggestions as well.  The value must be a fully-qualified content provider
6787            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
6788            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
6789            attribute.</i> -->
6790        <attr name="searchSuggestAuthority" format="string" />
6791        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
6792            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
6793            -->
6794        <attr name="searchSuggestPath" format="string" />
6795        <!-- If provided, suggestion queries will be passed into your query function
6796            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
6797            database, and will contain a single question mark, which represents the actual query
6798            string that has been typed by the user.  If not provided, then the user query text
6799            will be appended to the query Uri (after an additional "/".)  <i>Optional
6800            attribute.</i> -->
6801        <attr name="searchSuggestSelection" format="string" />
6802
6803        <!-- If provided, and not overridden by an action in the selected suggestion, this
6804            string will be placed in the action field of the {@link android.content.Intent Intent}
6805            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6806        <attr name="searchSuggestIntentAction" format="string" />
6807        <!-- If provided, and not overridden by an action in the selected suggestion, this
6808            string will be placed in the data field of the {@link android.content.Intent Intent}
6809            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
6810        <attr name="searchSuggestIntentData" format="string" />
6811
6812        <!-- If provided, this is the minimum number of characters needed to trigger
6813             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
6814        <attr name="searchSuggestThreshold" format="integer" />
6815
6816        <!-- If provided and <code>true</code>, this searchable activity will be
6817             included in any global lists of search targets.
6818             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6819        <attr name="includeInGlobalSearch" format="boolean" />
6820
6821        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
6822             queries in a particular session. If set to <code>false</code> and the activity
6823             returned zero results for a query, it will not be invoked again in that session for
6824             supersets of that zero-results query. For example, if the activity returned zero
6825             results for "bo", it would not be queried again for "bob".
6826             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6827        <attr name="queryAfterZeroResults" format="boolean" />
6828        <!-- If provided, this string will be used to describe the searchable item in the
6829             searchable items settings within system search settings. <i>Optional
6830             attribute.</i> -->
6831        <attr name="searchSettingsDescription" format="string" />
6832
6833        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
6834             within this activity would be detected and treated as URLs (show a 'go' button in the
6835             keyboard and invoke the browser directly when user launches the URL instead of passing
6836             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
6837             normal query text.
6838             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
6839        <attr name="autoUrlDetect" format="boolean" />
6840
6841    </declare-styleable>
6842
6843    <!-- In order to process special action keys during search, you must define them using
6844            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
6845            discussion of action code handling, please refer to {@link android.app.SearchManager}.
6846    -->
6847    <declare-styleable name="SearchableActionKey">
6848        <!-- This attribute denotes the action key you wish to respond to.  Note that not
6849            all action keys are actually supported using this mechanism, as many of them are
6850            used for typing, navigation, or system functions.  This will be added to the
6851            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6852            searchable activity.  To examine the key code, use
6853            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
6854            <p>Note, in addition to the keycode, you must also provide one or more of the action
6855            specifier attributes.  <i>Required attribute.</i> -->
6856        <attr name="keycode" />
6857
6858        <!-- If you wish to handle an action key during normal search query entry, you
6859            must define an action string here.  This will be added to the
6860            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6861            searchable activity.  To examine the string, use
6862            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6863            <i>Optional attribute.</i> -->
6864        <attr name="queryActionMsg"  format="string" />
6865
6866        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6867            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
6868            can handle the action key, you can simply define the action message using this
6869            attribute.  This will be added to the
6870            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
6871            searchable activity.  To examine the string, use
6872            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
6873            <i>Optional attribute.</i> -->
6874        <attr name="suggestActionMsg"  format="string" />
6875
6876        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
6877            selected</i>, but you do not wish to enable this action key for every suggestion,
6878            then you can use this attribute to control it on a suggestion-by-suggestion basis.
6879            First, you must define a column (and name it here) where your suggestions will include
6880            the action string.  Then, in your content provider, you must provide this column, and
6881            when desired, provide data in this column.
6882            The search manager will look at your suggestion cursor, using the string
6883            provided here in order to select a column, and will use that to select a string from
6884            the cursor.  That string will be added to the
6885            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
6886            your searchable activity.  To examine the string, use
6887            {@link android.content.Intent#getStringExtra
6888            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
6889            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
6890        <attr name="suggestActionMsgColumn" format="string" />
6891
6892    </declare-styleable>
6893
6894    <!-- ***************************************************************** -->
6895    <!-- Support for MapView. -->
6896    <!-- ***************************************************************** -->
6897    <eat-comment />
6898
6899    <!-- The set of attributes for a MapView. -->
6900    <declare-styleable name="MapView">
6901        <!-- Value is a string that specifies the Maps API Key to use. -->
6902        <attr name="apiKey" format="string" />
6903    </declare-styleable>
6904
6905    <!-- **************************************************************** -->
6906    <!-- Menu XML inflation. -->
6907    <!-- **************************************************************** -->
6908    <eat-comment />
6909
6910    <!-- Base attributes that are available to all Menu objects. -->
6911    <declare-styleable name="Menu">
6912    </declare-styleable>
6913
6914    <!-- Base attributes that are available to all groups. -->
6915    <declare-styleable name="MenuGroup">
6916
6917        <!-- The ID of the group. -->
6918        <attr name="id" />
6919
6920        <!-- The category applied to all items within this group.
6921             (This will be or'ed with the orderInCategory attribute.) -->
6922        <attr name="menuCategory">
6923            <!-- Items are part of a container. -->
6924            <enum name="container" value="0x00010000" />
6925            <!-- Items are provided by the system. -->
6926            <enum name="system" value="0x00020000" />
6927            <!-- Items are user-supplied secondary (infrequently used). -->
6928            <enum name="secondary" value="0x00030000" />
6929            <!-- Items are alternative actions. -->
6930            <enum name="alternative" value="0x00040000" />
6931        </attr>
6932
6933        <!-- The order within the category applied to all items within this group.
6934             (This will be or'ed with the category attribute.) -->
6935        <attr name="orderInCategory" format="integer" />
6936
6937        <!-- Whether the items are capable of displaying a check mark. -->
6938        <attr name="checkableBehavior">
6939            <!-- The items are not checkable. -->
6940            <enum name="none" value="0" />
6941            <!-- The items are all checkable. -->
6942            <enum name="all" value="1" />
6943            <!-- The items are checkable and there will only be a single checked item in
6944                 this group. -->
6945            <enum name="single" value="2" />
6946        </attr>
6947
6948        <!-- Whether the items are shown/visible. -->
6949        <attr name="visible" />
6950
6951        <!-- Whether the items are enabled. -->
6952        <attr name="enabled" />
6953
6954    </declare-styleable>
6955
6956    <!-- Base attributes that are available to all Item objects. -->
6957    <declare-styleable name="MenuItem">
6958
6959        <!-- The ID of the item. -->
6960        <attr name="id" />
6961
6962        <!-- The category applied to the item.
6963             (This will be or'ed with the orderInCategory attribute.) -->
6964        <attr name="menuCategory" />
6965
6966        <!-- The order within the category applied to the item.
6967             (This will be or'ed with the category attribute.) -->
6968        <attr name="orderInCategory" />
6969
6970        <!-- The title associated with the item. -->
6971        <attr name="title" format="string" />
6972
6973        <!-- The condensed title associated with the item.  This is used in situations where the
6974             normal title may be too long to be displayed. -->
6975        <attr name="titleCondensed" format="string" />
6976
6977        <!-- The icon associated with this item.  This icon will not always be shown, so
6978             the title should be sufficient in describing this item. -->
6979        <attr name="icon" />
6980
6981        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
6982             with alphabetic keys. -->
6983        <attr name="alphabeticShortcut" format="string" />
6984
6985        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
6986             keyboard. -->
6987        <attr name="numericShortcut" format="string" />
6988
6989        <!-- Whether the item is capable of displaying a check mark. -->
6990        <attr name="checkable" format="boolean" />
6991
6992        <!-- Whether the item is checked.  Note that you must first have enabled checking with
6993             the checkable attribute or else the check mark will not appear. -->
6994        <attr name="checked" />
6995
6996        <!-- Whether the item is shown/visible. -->
6997        <attr name="visible" />
6998
6999        <!-- Whether the item is enabled. -->
7000        <attr name="enabled" />
7001
7002        <!-- Name of a method on the Context used to inflate the menu that will be
7003             called when the item is clicked. -->
7004        <attr name="onClick" />
7005
7006        <!-- How this item should display in the Action Bar, if present. -->
7007        <attr name="showAsAction">
7008            <!-- Never show this item in an action bar, show it in the overflow menu instead.
7009                 Mutually exclusive with "ifRoom" and "always". -->
7010            <flag name="never" value="0" />
7011            <!-- Show this item in an action bar if there is room for it as determined
7012                 by the system. Favor this option over "always" where possible.
7013                 Mutually exclusive with "never" and "always". -->
7014            <flag name="ifRoom" value="1" />
7015            <!-- Always show this item in an actionbar, even if it would override
7016                 the system's limits of how much stuff to put there. This may make
7017                 your action bar look bad on some screens. In most cases you should
7018                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
7019            <flag name="always" value="2" />
7020            <!-- When this item is shown as an action in the action bar, show a text
7021                 label with it even if it has an icon representation. -->
7022            <flag name="withText" value="4" />
7023            <!-- This item's action view collapses to a normal menu
7024                 item. When expanded, the action view takes over a
7025                 larger segment of its container. -->
7026            <flag name="collapseActionView" value="8" />
7027        </attr>
7028
7029        <!-- An optional layout to be used as an action view.
7030             See {@link android.view.MenuItem#setActionView(android.view.View)}
7031             for more info. -->
7032        <attr name="actionLayout" format="reference" />
7033
7034        <!-- The name of an optional View class to instantiate and use as an
7035             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
7036             for more info. -->
7037        <attr name="actionViewClass" format="string" />
7038
7039        <!-- The name of an optional ActionProvider class to instantiate an action view
7040             and perform operations such as default action for that menu item.
7041             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
7042             for more info. -->
7043        <attr name="actionProviderClass" format="string" />
7044
7045        <!-- The content description associated with the item. -->
7046        <attr name="contentDescription" format="string" />
7047
7048        <!-- The tooltip text associated with the item. -->
7049        <attr name="tooltipText" format="string" />
7050
7051    </declare-styleable>
7052
7053    <!-- Attrbitutes for a ActvityChooserView. -->
7054    <declare-styleable name="ActivityChooserView">
7055        <!-- The maximal number of items initially shown in the activity list. -->
7056        <attr name="initialActivityCount" format="string" />
7057        <!-- The drawable to show in the button for expanding the activities overflow popup.
7058             <strong>Note:</strong> Clients would like to set this drawable
7059             as a clue about the action the chosen activity will perform. For
7060             example, if share activity is to be chosen the drawable should
7061             give a clue that sharing is to be performed.
7062         -->
7063        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
7064    </declare-styleable>
7065
7066    <!-- **************************************************************** -->
7067    <!-- Preferences framework. -->
7068    <!-- **************************************************************** -->
7069    <eat-comment />
7070
7071    <!-- Base attributes available to PreferenceGroup. -->
7072    <declare-styleable name="PreferenceGroup">
7073        <!-- Whether to order the Preference under this group as they appear in the XML file.
7074             If this is false, the ordering will follow the Preference order attribute and
7075             default to alphabetic for those without the order attribute. -->
7076        <attr name="orderingFromXml" format="boolean" />
7077    </declare-styleable>
7078
7079    <!-- Attribute for a header describing the item shown in the top-level list
7080         from which the selects the set of preference to dig in to. -->
7081    <declare-styleable name="PreferenceHeader">
7082        <!-- Identifier value for the header. -->
7083        <attr name="id" />
7084        <!-- The title of the item that is shown to the user. -->
7085        <attr name="title" />
7086        <!-- The summary for the item. -->
7087        <attr name="summary" format="string" />
7088        <!-- The title for the bread crumb of this item. -->
7089        <attr name="breadCrumbTitle" format="string" />
7090        <!-- The short title for the bread crumb of this item. -->
7091        <attr name="breadCrumbShortTitle" format="string" />
7092        <!-- An icon for the item. -->
7093        <attr name="icon" />
7094        <!-- The fragment that is displayed when the user selects this item. -->
7095        <attr name="fragment" format="string" />
7096    </declare-styleable>
7097
7098    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
7099                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
7100                   proxy all attributes to its EditText widget. -->
7101    <eat-comment />
7102
7103    <!-- Base attributes available to Preference. -->
7104    <declare-styleable name="Preference">
7105        <!-- The optional icon for the preference -->
7106        <attr name="icon" />
7107        <!-- The key to store the Preference value. -->
7108        <attr name="key" format="string" />
7109        <!-- The title for the Preference. In API 25 and earlier, this value is read as a
7110         plain string with styling information stripped. -->
7111        <attr name="title" />
7112        <!-- The summary for the Preference. In API 25 and earlier, this value is read as a
7113         plain string with styling information stripped. -->
7114        <attr name="summary" />
7115        <!-- The order for the Preference (lower values are to be ordered first). If this is not
7116             specified, the default ordering will be alphabetic. -->
7117        <attr name="order" format="integer" />
7118        <!-- When used inside of a modern PreferenceActivity, this declares
7119             a new PreferenceFragment to be shown when the user selects this item. -->
7120        <attr name="fragment" />
7121        <!-- The layout for the Preference in a PreferenceActivity screen. This should
7122             rarely need to be changed, look at widgetLayout instead. -->
7123        <attr name="layout" />
7124        <!-- The layout for the controllable widget portion of a Preference. This is inflated
7125             into the layout for a Preference and should be used more frequently than
7126             the layout attribute. For example, a checkbox preference would specify
7127             a custom layout (consisting of just the CheckBox) here. -->
7128        <attr name="widgetLayout" format="reference" />
7129        <!-- Whether the Preference is enabled. -->
7130        <attr name="enabled" />
7131        <!-- Whether the Preference is selectable. -->
7132        <attr name="selectable" format="boolean" />
7133        <!-- The key of another Preference that this Preference will depend on.  If the other
7134             Preference is not set or is off, this Preference will be disabled. -->
7135        <attr name="dependency" format="string" />
7136        <!-- Whether the Preference stores its value to the shared preferences. -->
7137        <attr name="persistent" />
7138        <!-- The default value for the preference, which will be set either if persistence
7139             is off or persistence is on and the preference is not found in the persistent
7140             storage.  -->
7141        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
7142        <!-- Whether the view of this Preference should be disabled when
7143             this Preference is disabled. -->
7144        <attr name="shouldDisableView" format="boolean" />
7145    </declare-styleable>
7146
7147    <!-- Base attributes available to CheckBoxPreference. -->
7148    <declare-styleable name="CheckBoxPreference">
7149        <!-- The summary for the Preference in a PreferenceActivity screen when the
7150             CheckBoxPreference is checked. If separate on/off summaries are not
7151             needed, the summary attribute can be used instead. -->
7152        <attr name="summaryOn" format="string" />
7153        <!-- The summary for the Preference in a PreferenceActivity screen when the
7154             CheckBoxPreference is unchecked. If separate on/off summaries are not
7155             needed, the summary attribute can be used instead. -->
7156        <attr name="summaryOff" format="string" />
7157        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
7158             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
7159        <attr name="disableDependentsState" format="boolean" />
7160    </declare-styleable>
7161
7162    <!-- Base attributes available to DialogPreference. -->
7163    <declare-styleable name="DialogPreference">
7164        <!-- The title in the dialog. -->
7165        <attr name="dialogTitle" format="string" />
7166        <!-- The message in the dialog. If a dialogLayout is provided and contains
7167             a TextView with ID android:id/message, this message will be placed in there. -->
7168        <attr name="dialogMessage" format="string" />
7169        <!-- The icon for the dialog. -->
7170        <attr name="dialogIcon" format="reference" />
7171        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
7172        <attr name="positiveButtonText" format="string" />
7173        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
7174        <attr name="negativeButtonText" format="string" />
7175        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
7176             be needed. If a custom DialogPreference is required, this should be set. For example,
7177             the EditTextPreference uses a layout with an EditText as this attribute. -->
7178        <attr name="dialogLayout" format="reference" />
7179    </declare-styleable>
7180
7181    <!-- Base attributes available to ListPreference. -->
7182    <declare-styleable name="ListPreference">
7183        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7184             index in entryValues. -->
7185        <attr name="entries" />
7186        <!-- The array to find the value to save for a preference when an entry from
7187             entries is selected. If a user clicks on the second item in entries, the
7188             second item in this array will be saved to the preference. -->
7189        <attr name="entryValues" format="reference" />
7190    </declare-styleable>
7191
7192    <declare-styleable name="MultiSelectListPreference">
7193        <!-- The human-readable array to present as a list. Each entry must have a corresponding
7194             index in entryValues. -->
7195        <attr name="entries" />
7196        <!-- The array to find the value to save for a preference when an entry from
7197             entries is selected. If a user clicks the second item in entries, the
7198             second item in this array will be saved to the preference. -->
7199        <attr name="entryValues" />
7200    </declare-styleable>
7201
7202    <!-- Base attributes available to RingtonePreference. -->
7203    <declare-styleable name="RingtonePreference">
7204        <!-- Which ringtone type(s) to show in the picker. -->
7205        <attr name="ringtoneType">
7206            <!-- Ringtones. -->
7207            <flag name="ringtone" value="1" />
7208            <!-- Notification sounds. -->
7209            <flag name="notification" value="2" />
7210            <!-- Alarm sounds. -->
7211            <flag name="alarm" value="4" />
7212            <!-- All available ringtone sounds. -->
7213            <flag name="all" value="7" />
7214        </attr>
7215        <!-- Whether to show an item for a default sound. -->
7216        <attr name="showDefault" format="boolean" />
7217        <!-- Whether to show an item for 'Silent'. -->
7218        <attr name="showSilent" format="boolean" />
7219    </declare-styleable>
7220
7221    <!-- Base attributes available to VolumePreference. -->
7222    <declare-styleable name="VolumePreference">
7223        <!-- Different audio stream types. -->
7224        <attr name="streamType">
7225            <enum name="voice" value="0" />
7226            <enum name="system" value="1" />
7227            <enum name="ring" value="2" />
7228            <enum name="music" value="3" />
7229            <enum name="alarm" value="4" />
7230        </attr>
7231    </declare-styleable>
7232
7233    <declare-styleable name="InputMethodService">
7234        <!-- Background to use for entire input method when it is being
7235             shown in fullscreen mode with the extract view, to ensure
7236             that it completely covers the application.  This allows,
7237             for example, the candidate view to be hidden
7238             while in fullscreen mode without having the application show through
7239             behind it.-->
7240        <attr name="imeFullscreenBackground" format="reference|color" />
7241        <!-- Animation to use when showing the fullscreen extract UI after
7242             it had previously been hidden. -->
7243        <attr name="imeExtractEnterAnimation" format="reference" />
7244        <!-- Animation to use when hiding the fullscreen extract UI after
7245             it had previously been shown. -->
7246        <attr name="imeExtractExitAnimation" format="reference" />
7247    </declare-styleable>
7248
7249    <declare-styleable name="VoiceInteractionSession">
7250    </declare-styleable>
7251
7252    <declare-styleable name="KeyboardView">
7253        <!-- Default KeyboardView style. -->
7254        <attr name="keyboardViewStyle" format="reference" />
7255
7256        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
7257             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
7258             checkable+checked+pressed. -->
7259        <attr name="keyBackground" format="reference" />
7260
7261        <!-- Size of the text for character keys. -->
7262        <attr name="keyTextSize" format="dimension" />
7263
7264        <!-- Size of the text for custom keys with some text and no icon. -->
7265        <attr name="labelTextSize" format="dimension" />
7266
7267        <!-- Color to use for the label in a key. -->
7268        <attr name="keyTextColor" format="color" />
7269
7270        <!-- Layout resource for key press feedback.-->
7271        <attr name="keyPreviewLayout" format="reference" />
7272
7273        <!-- Vertical offset of the key press feedback from the key. -->
7274        <attr name="keyPreviewOffset" format="dimension" />
7275
7276        <!-- Height of the key press feedback popup. -->
7277        <attr name="keyPreviewHeight" format="dimension" />
7278
7279        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
7280        <attr name="verticalCorrection" format="dimension" />
7281
7282        <!-- Layout resource for popup keyboards. -->
7283        <attr name="popupLayout" format="reference" />
7284
7285        <attr name="shadowColor" />
7286        <attr name="shadowRadius" />
7287    </declare-styleable>
7288
7289    <declare-styleable name="KeyboardViewPreviewState">
7290        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
7291                key preview background. -->
7292        <attr name="state_long_pressable" format="boolean" />
7293    </declare-styleable>
7294
7295    <declare-styleable name="Keyboard">
7296        <!-- Default width of a key, in pixels or percentage of display width. -->
7297        <attr name="keyWidth" format="dimension|fraction" />
7298        <!-- Default height of a key, in pixels or percentage of display width. -->
7299        <attr name="keyHeight" format="dimension|fraction" />
7300        <!-- Default horizontal gap between keys. -->
7301        <attr name="horizontalGap" format="dimension|fraction" />
7302        <!-- Default vertical gap between rows of keys. -->
7303        <attr name="verticalGap" format="dimension|fraction" />
7304    </declare-styleable>
7305
7306    <declare-styleable name="Keyboard_Row">
7307        <!-- Row edge flags. -->
7308        <attr name="rowEdgeFlags">
7309            <!-- Row is anchored to the top of the keyboard. -->
7310            <flag name="top" value="4" />
7311            <!-- Row is anchored to the bottom of the keyboard. -->
7312            <flag name="bottom" value="8" />
7313        </attr>
7314        <!-- Mode of the keyboard. If the mode doesn't match the
7315             requested keyboard mode, the row will be skipped. -->
7316        <attr name="keyboardMode" format="reference" />
7317    </declare-styleable>
7318
7319    <declare-styleable name="Keyboard_Key">
7320        <!-- The unicode value or comma-separated values that this key outputs. -->
7321        <attr name="codes" format="integer|string" />
7322        <!-- The XML keyboard layout of any popup keyboard. -->
7323        <attr name="popupKeyboard" format="reference" />
7324        <!-- The characters to display in the popup keyboard. -->
7325        <attr name="popupCharacters" format="string" />
7326        <!-- Key edge flags. -->
7327        <attr name="keyEdgeFlags">
7328            <!-- Key is anchored to the left of the keyboard. -->
7329            <flag name="left" value="1" />
7330            <!-- Key is anchored to the right of the keyboard. -->
7331            <flag name="right" value="2" />
7332        </attr>
7333        <!-- Whether this is a modifier key such as Alt or Shift. -->
7334        <attr name="isModifier" format="boolean" />
7335        <!-- Whether this is a toggle key. -->
7336        <attr name="isSticky" format="boolean" />
7337        <!-- Whether long-pressing on this key will make it repeat. -->
7338        <attr name="isRepeatable" format="boolean" />
7339        <!-- The icon to show in the popup preview. -->
7340        <attr name="iconPreview" format="reference" />
7341        <!-- The string of characters to output when this key is pressed. -->
7342        <attr name="keyOutputText" format="string" />
7343        <!-- The label to display on the key. -->
7344        <attr name="keyLabel" format="string" />
7345        <!-- The icon to display on the key instead of the label. -->
7346        <attr name="keyIcon" format="reference" />
7347        <!-- Mode of the keyboard. If the mode doesn't match the
7348             requested keyboard mode, the key will be skipped. -->
7349        <attr name="keyboardMode" />
7350    </declare-styleable>
7351
7352    <!-- =============================== -->
7353    <!-- AppWidget package class attributes -->
7354    <!-- =============================== -->
7355    <eat-comment />
7356
7357    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
7358         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
7359         package for more info.
7360     -->
7361    <declare-styleable name="AppWidgetProviderInfo">
7362        <!-- Minimum width of the AppWidget. -->
7363        <attr name="minWidth"/>
7364        <!-- Minimum height of the AppWidget. -->
7365        <attr name="minHeight"/>
7366        <!-- Minimum width that the AppWidget can be resized to. -->
7367        <attr name="minResizeWidth" format="dimension"/>
7368        <!-- Minimum height that the AppWidget can be resized to. -->
7369        <attr name="minResizeHeight" format="dimension"/>
7370        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
7371        <attr name="updatePeriodMillis" format="integer" />
7372        <!-- A resource id of a layout. -->
7373        <attr name="initialLayout" format="reference" />
7374        <!-- A resource id of a layout. -->
7375        <attr name="initialKeyguardLayout" format="reference" />
7376        <!-- A class name in the AppWidget's package to be launched to configure.
7377             If not supplied, then no activity will be launched. -->
7378        <attr name="configure" format="string" />
7379        <!-- A preview of what the AppWidget will look like after it's configured.
7380              If not supplied, the AppWidget's icon will be used. -->
7381        <attr name="previewImage" format="reference" />
7382        <!-- The view id of the AppWidget subview which should be auto-advanced.
7383             by the widget's host. -->
7384        <attr name="autoAdvanceViewId" format="reference" />
7385        <!-- Optional parameter which indicates if and how this widget can be
7386             resized. Supports combined values using | operator. -->
7387        <attr name="resizeMode" format="integer">
7388            <flag name="none" value="0x0" />
7389            <flag name="horizontal" value="0x1" />
7390            <flag name="vertical" value="0x2" />
7391        </attr>
7392        <!-- Optional parameter which indicates where this widget can be shown,
7393             ie. home screen, keyguard, search bar or any combination thereof.
7394             Supports combined values using | operator. -->
7395        <attr name="widgetCategory" format="integer">
7396            <flag name="home_screen" value="0x1" />
7397            <flag name="keyguard" value="0x2" />
7398            <flag name="searchbox" value="0x4" />
7399        </attr>
7400    </declare-styleable>
7401
7402    <!-- =============================== -->
7403    <!-- Wallpaper preview attributes    -->
7404    <!-- =============================== -->
7405    <eat-comment />
7406
7407    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
7408         describes a wallpaper preview. -->
7409    <declare-styleable name="WallpaperPreviewInfo">
7410        <!-- A resource id of a static drawable. -->
7411        <attr name="staticWallpaperPreview" format="reference" />
7412    </declare-styleable>
7413
7414    <!-- =============================== -->
7415    <!-- App package class attributes -->
7416    <!-- =============================== -->
7417    <eat-comment />
7418
7419    <!-- ============================= -->
7420    <!-- View package class attributes -->
7421    <!-- ============================= -->
7422    <eat-comment />
7423
7424    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
7425         tags inside of the layout of an Activity.  This instantiates
7426         the given {@link android.app.Fragment} and inserts its content
7427         view into the current location in the layout. -->
7428    <declare-styleable name="Fragment">
7429        <!-- Supply the name of the fragment class to instantiate. -->
7430        <attr name="name" />
7431
7432        <!-- Supply an identifier name for the top-level view, to later retrieve it
7433             with {@link android.view.View#findViewById View.findViewById()} or
7434             {@link android.app.Activity#findViewById Activity.findViewById()}.
7435             This must be a
7436             resource reference; typically you set this using the
7437             <code>@+</code> syntax to create a new ID resources.
7438             For example: <code>android:id="@+id/my_id"</code> which
7439             allows you to later retrieve the view
7440             with <code>findViewById(R.id.my_id)</code>. -->
7441        <attr name="id" />
7442
7443        <!-- Supply a tag for the top-level view containing a String, to be retrieved
7444             later with {@link android.view.View#getTag View.getTag()} or
7445             searched for with {@link android.view.View#findViewWithTag
7446             View.findViewWithTag()}.  It is generally preferable to use
7447             IDs (through the android:id attribute) instead of tags because
7448             they are faster and allow for compile-time type checking. -->
7449        <attr name="tag" />
7450
7451        <!-- The Transition that will be used to move Views out of the scene when the
7452             fragment is removed, hidden, or detached when not popping the back stack.
7453             Corresponds to {@link android.app.Fragment#setExitTransition(
7454             android.transition.Transition)} -->
7455        <attr name="fragmentExitTransition" format="reference"/>
7456
7457        <!-- The Transition that will be used to move Views into the initial scene.
7458             Corresponds to {@link android.app.Fragment#setEnterTransition(
7459             android.transition.Transition)} -->
7460        <attr name="fragmentEnterTransition" format="reference"/>
7461
7462        <!-- The Transition that will be used for shared elements transferred into the content
7463             Scene.
7464             Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition(
7465             android.transition.Transition)} -->
7466        <attr name="fragmentSharedElementEnterTransition" format="reference"/>
7467
7468        <!-- The Transition that will be used to move Views out of the scene when the Fragment is
7469             preparing to be removed, hidden, or detached because of popping the back stack.
7470             Corresponds to {@link android.app.Fragment#setReturnTransition(
7471             android.transition.Transition)} -->
7472        <attr name="fragmentReturnTransition" format="reference"/>
7473
7474        <!-- The Transition that will be used for shared elements transferred back during a
7475             pop of the back stack. This Transition acts in the leaving Fragment.
7476             Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition(
7477             android.transition.Transition)} -->
7478        <attr name="fragmentSharedElementReturnTransition" format="reference"/>
7479
7480        <!-- The Transition that will be used to move Views in to the scene when returning due
7481             to popping a back stack.
7482             Corresponds to {@link android.app.Fragment#setReenterTransition(
7483             android.transition.Transition)} -->
7484        <attr name="fragmentReenterTransition" format="reference"/>
7485
7486        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7487             forward.
7488             Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap(
7489             boolean)} -->
7490        <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/>
7491
7492        <!-- Sets whether the enter and exit transitions should overlap when transitioning
7493             because of popping the back stack.
7494             Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap(
7495             boolean)} -->
7496        <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/>
7497    </declare-styleable>
7498
7499    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
7500         describes a
7501         {@link android.app.admin.DeviceAdminReceiver}, which is
7502         referenced from its
7503         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
7504         meta-data entry.  Described here are the attributes that can be
7505         included in that tag. -->
7506    <declare-styleable name="DeviceAdmin">
7507        <!-- Control whether the admin is visible to the user, even when it
7508             is not enabled.  This is true by default.  You may want to make
7509             it false if your admin does not make sense to be turned on
7510             unless some explicit action happens in your app. -->
7511        <attr name="visible" />
7512    </declare-styleable>
7513
7514    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
7515         describes an
7516         {@link android.service.wallpaper.WallpaperService}, which is
7517         referenced from its
7518         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
7519         meta-data entry.  Described here are the attributes that can be
7520         included in that tag. -->
7521    <declare-styleable name="Wallpaper">
7522        <attr name="settingsActivity" />
7523
7524        <!-- Reference to the wallpaper's thumbnail bitmap. -->
7525        <attr name="thumbnail" format="reference" />
7526
7527        <!-- Name of the author and/or source/collection of this component, e.g. Art Collection, Picasso. -->
7528        <attr name="author" format="reference" />
7529
7530        <!-- Short description of the component's purpose or behavior. -->
7531        <attr name="description" />
7532
7533        <!-- Uri that specifies a link for further context of this wallpaper, e.g. http://www.picasso.org. -->
7534        <attr name="contextUri" format="reference" />
7535
7536        <!-- Title of the uri that specifies a link for further context of this wallpaper, e.g. Explore collection. -->
7537        <attr name="contextDescription" format="reference" />
7538
7539        <!-- Whether to show any metadata when previewing the wallpaper. If this value is
7540             set to true, any component that shows a preview of this live wallpaper should also show
7541             accompanying information like the title, the description, the author and the context
7542             description of this wallpaper so the user gets to know further information about this
7543             wallpaper. -->
7544        <attr name="showMetadataInPreview" format="boolean" />
7545
7546    </declare-styleable>
7547
7548    <!-- Use <code>dream</code> as the root tag of the XML resource that
7549         describes an
7550         {@link android.service.dreams.DreamService}, which is
7551         referenced from its
7552         {@link android.service.dreams.DreamService#DREAM_META_DATA}
7553         meta-data entry.  Described here are the attributes that can be
7554         included in that tag. -->
7555    <declare-styleable name="Dream">
7556        <!-- Component name of an activity that allows the user to modify
7557             the settings for this dream. -->
7558        <attr name="settingsActivity" />
7559    </declare-styleable>
7560
7561    <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that
7562         describes an {@link android.service.trust.TrustAgentService}, which is
7563         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
7564         meta-data entry.  Described here are the attributes that can be included in that tag.
7565         @hide -->
7566    <declare-styleable name="TrustAgent">
7567        <!-- @SystemApi Component name of an activity that allows the user to modify
7568             the settings for this trust agent. @hide -->
7569        <attr name="settingsActivity" />
7570        <!-- @SystemApi Title for a preference that allows that user to launch the
7571             activity to modify trust agent settings. @hide -->
7572        <attr name="title" />
7573        <!-- @SystemApi Summary for the same preference as the title. @hide -->
7574        <attr name="summary" />
7575        <!-- @SystemApi Whether trust agent can unlock a user profile @hide -->
7576        <attr name="unlockProfile" format="boolean"/>
7577    </declare-styleable>
7578
7579    <!-- =============================== -->
7580    <!-- Accounts package class attributes -->
7581    <!-- =============================== -->
7582    <eat-comment />
7583
7584    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7585         describes an account authenticator.
7586     -->
7587    <declare-styleable name="AccountAuthenticator">
7588        <!-- The account type this authenticator handles. -->
7589        <attr name="accountType" format="string"/>
7590        <!-- The user-visible name of the authenticator. -->
7591        <attr name="label"/>
7592        <!-- The icon of the authenticator. -->
7593        <attr name="icon"/>
7594        <!-- Smaller icon of the authenticator. -->
7595        <attr name="smallIcon" format="reference"/>
7596        <!-- A preferences.xml file for authenticator-specific settings. -->
7597        <attr name="accountPreferences" format="reference"/>
7598        <!-- Account handles its own token storage and permissions.
7599             Default to false
7600          -->
7601        <attr name="customTokens" format="boolean"/>
7602    </declare-styleable>
7603
7604    <!-- =============================== -->
7605    <!-- Accounts package class attributes -->
7606    <!-- =============================== -->
7607    <eat-comment />
7608
7609    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
7610         describes an account authenticator.
7611     -->
7612    <declare-styleable name="SyncAdapter">
7613        <!-- the authority of a content provider. -->
7614        <attr name="contentAuthority" format="string"/>
7615        <attr name="accountType"/>
7616        <attr name="userVisible" format="boolean"/>
7617        <attr name="supportsUploading" format="boolean"/>
7618        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
7619             multiple simultaneous syncs for the same account type and authority.
7620             Otherwise the SyncManager will be sure not to issue a start sync request
7621             to this SyncAdapter if the SyncAdapter is already syncing another account.
7622             Defaults to false.
7623             -->
7624        <attr name="allowParallelSyncs" format="boolean"/>
7625        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
7626             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
7627             Defaults to false.
7628             -->
7629        <attr name="isAlwaysSyncable" format="boolean"/>
7630        <!-- If provided, specifies the action of the settings
7631             activity for this SyncAdapter.
7632             -->
7633        <attr name="settingsActivity"/>
7634    </declare-styleable>
7635
7636    <!-- =============================== -->
7637    <!-- AutoFill attributes -->
7638    <!-- =============================== -->
7639    <eat-comment />
7640
7641    <!-- Use <code>autofill-service</code> as the root tag of the XML resource that describes a
7642         {@link android.service.autofill.AutoFillService}, which is referenced from its
7643         {@link android.service.autofill#SERVICE_META_DATA} meta-data entry.
7644    -->
7645    <declare-styleable name="AutoFillService">
7646        <!-- Fully qualified class name of an activity that allows the user to modify
7647             the settings for this service. -->
7648        <attr name="settingsActivity" />
7649    </declare-styleable>
7650
7651    <!-- =============================== -->
7652    <!-- Contacts meta-data attributes -->
7653    <!-- =============================== -->
7654    <eat-comment />
7655
7656    <!-- TODO: remove this deprecated styleable. -->
7657    <eat-comment />
7658    <declare-styleable name="Icon">
7659        <attr name="icon" />
7660        <attr name="mimeType" />
7661    </declare-styleable>
7662
7663    <!-- TODO: remove this deprecated styleable -->
7664    <eat-comment />
7665    <declare-styleable name="IconDefault">
7666        <attr name="icon" />
7667    </declare-styleable>
7668
7669    <!-- Maps a specific contact data MIME-type to styling information. -->
7670    <declare-styleable name="ContactsDataKind">
7671        <!-- Mime-type handled by this mapping. -->
7672        <attr name="mimeType" />
7673        <!-- Icon used to represent data of this kind. -->
7674        <attr name="icon" />
7675        <!-- Column in data table that summarizes this data. -->
7676        <attr name="summaryColumn" format="string" />
7677        <!-- Column in data table that contains details for this data. -->
7678        <attr name="detailColumn" format="string" />
7679        <!-- Flag indicating that detail should be built from SocialProvider. -->
7680        <attr name="detailSocialSummary" format="boolean" />
7681        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
7682        "All connections"). Optional (Default is "All Contacts"). -->
7683        <attr name="allContactsName" format="string" />
7684    </declare-styleable>
7685
7686    <!-- =============================== -->
7687    <!-- TabSelector class attributes -->
7688    <!-- =============================== -->
7689    <eat-comment />
7690
7691    <declare-styleable name="SlidingTab">
7692        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
7693        <attr name="orientation" />
7694    </declare-styleable>
7695
7696    <!-- =============================== -->
7697    <!-- GlowPadView class attributes -->
7698    <!-- =============================== -->
7699    <eat-comment />
7700    <declare-styleable name="GlowPadView">
7701        <!-- Reference to an array resource that be used as description for the targets around the circle.
7702             {@deprecated Removed.} -->
7703        <attr name="targetDescriptions" format="reference" />
7704
7705        <!-- Reference to an array resource that be used to announce the directions with targets around the circle.
7706             {@deprecated Removed.}-->
7707        <attr name="directionDescriptions" format="reference" />
7708    </declare-styleable>
7709
7710    <!-- =============================== -->
7711    <!-- Location package class attributes -->
7712    <!-- =============================== -->
7713    <eat-comment />
7714
7715    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
7716         describes an injected "Location services" setting. Note that the status value (subtitle)
7717         for the setting is specified dynamically by a subclass of SettingInjectorService.
7718     -->
7719    <declare-styleable name="SettingInjectorService">
7720        <!-- The title for the preference. -->
7721        <attr name="title"/>
7722        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
7723             a generic icon for the developer. -->
7724        <attr name="icon"/>
7725        <!-- The activity to launch when the setting is clicked on. -->
7726        <attr name="settingsActivity"/>
7727    </declare-styleable>
7728
7729    <!-- =============================== -->
7730    <!-- LockPatternView class attributes -->
7731    <!-- =============================== -->
7732    <eat-comment />
7733
7734    <declare-styleable name="LockPatternView">
7735        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
7736             or "lock_height" -->
7737        <attr name="aspect" format="string" />
7738        <!-- Color to use when drawing LockPatternView paths. -->
7739        <attr name="pathColor" format="color|reference" />
7740        <!-- The regular pattern color -->
7741        <attr name="regularColor" format="color|reference" />
7742        <!-- The error color -->
7743        <attr name="errorColor" format="color|reference" />
7744        <!-- The success color -->
7745        <attr name="successColor" format="color|reference"/>
7746    </declare-styleable>
7747
7748    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
7749         describes a {@link android.speech.RecognitionService}, which is referenced from
7750         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
7751         Described here are the attributes that can be included in that tag. -->
7752    <declare-styleable name="RecognitionService">
7753        <attr name="settingsActivity" />
7754    </declare-styleable>
7755
7756    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
7757         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
7758         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
7759         Described here are the attributes that can be included in that tag. -->
7760    <declare-styleable name="VoiceInteractionService">
7761        <!-- The service that hosts active voice interaction sessions.  This is required. -->
7762        <attr name="sessionService" format="string" />
7763        <!-- The service that provides voice recognition.  This is required.  When the user
7764             selects this voice interaction service, they will also be implicitly selecting
7765             the component here for their recognition service. -->
7766        <attr name="recognitionService" format="string" />
7767        <attr name="settingsActivity" />
7768        <!-- Flag indicating whether this voice interaction service is capable of handling the
7769             assist action. -->
7770        <attr name="supportsAssist" format="boolean" />
7771        <!-- Flag indicating whether this voice interaction service is capable of being launched
7772             from the keyguard. -->
7773        <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" />
7774        <!-- Flag indicating whether this voice interaction service can handle local voice
7775             interaction requests from an Activity. This flag is new in
7776             {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. -->
7777        <attr name="supportsLocalInteraction" format="boolean" />
7778    </declare-styleable>
7779
7780    <!-- Use <code>voice-enrollment-application</code>
7781         as the root tag of the XML resource that escribes the supported keyphrases (hotwords)
7782         by the enrollment application.
7783         Described here are the attributes that can be included in that tag.
7784         @hide
7785         @SystemApi -->
7786    <declare-styleable name="VoiceEnrollmentApplication">
7787        <!-- A globally unique ID for the keyphrase. @hide @SystemApi -->
7788        <attr name="searchKeyphraseId" format="integer" />
7789        <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi -->
7790        <attr name="searchKeyphrase" format="string" />
7791        <!-- A comma separated list of BCP-47 language tag for locales that are supported
7792             for this keyphrase, or empty if not locale dependent. @hide @SystemApi -->
7793        <attr name="searchKeyphraseSupportedLocales" format="string" />
7794        <!-- Flags for supported recognition modes. @hide @SystemApi -->
7795        <attr name="searchKeyphraseRecognitionFlags">
7796            <flag name="none" value="0" />
7797            <flag name="voiceTrigger" value="0x1" />
7798            <flag name="userIdentification" value="0x2" />
7799        </attr>
7800    </declare-styleable>
7801
7802    <!-- Attributes used to style the Action Bar. -->
7803    <declare-styleable name="ActionBar">
7804        <!-- The type of navigation to use. -->
7805        <attr name="navigationMode">
7806            <!-- Normal static title text -->
7807            <enum name="normal" value="0" />
7808            <!-- The action bar will use a selection list for navigation. -->
7809            <enum name="listMode" value="1" />
7810            <!-- The action bar will use a series of horizontal tabs for navigation. -->
7811            <enum name="tabMode" value="2" />
7812        </attr>
7813        <!-- Options affecting how the action bar is displayed. -->
7814        <attr name="displayOptions">
7815            <flag name="none" value="0" />
7816            <flag name="useLogo" value="0x1" />
7817            <flag name="showHome" value="0x2" />
7818            <flag name="homeAsUp" value="0x4" />
7819            <flag name="showTitle" value="0x8" />
7820            <flag name="showCustom" value="0x10" />
7821            <flag name="disableHome" value="0x20" />
7822        </attr>
7823        <!-- Specifies title text used for navigationMode="normal" -->
7824        <attr name="title" />
7825        <!-- Specifies subtitle text used for navigationMode="normal" -->
7826        <attr name="subtitle" format="string" />
7827        <!-- Specifies a style to use for title text. -->
7828        <attr name="titleTextStyle" format="reference" />
7829        <!-- Specifies a style to use for subtitle text. -->
7830        <attr name="subtitleTextStyle" format="reference" />
7831        <!-- Specifies the drawable used for the application icon. -->
7832        <attr name="icon" />
7833        <!-- Specifies the drawable used for the application logo. -->
7834        <attr name="logo" />
7835        <!-- Specifies the drawable used for item dividers. -->
7836        <attr name="divider" />
7837        <!-- Specifies a background drawable for the action bar. -->
7838        <attr name="background" />
7839        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
7840        <attr name="backgroundStacked" format="reference|color" />
7841        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
7842        <attr name="backgroundSplit" format="reference|color" />
7843        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
7844        <attr name="customNavigationLayout" format="reference" />
7845        <!-- Specifies a fixed height. -->
7846        <attr name="height" />
7847        <!-- Specifies a layout to use for the "home" section of the action bar. -->
7848        <attr name="homeLayout" format="reference" />
7849        <!-- Specifies a style resource to use for an embedded progress bar. -->
7850        <attr name="progressBarStyle" />
7851        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
7852        <attr name="indeterminateProgressStyle" format="reference" />
7853        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
7854        <attr name="progressBarPadding" format="dimension" />
7855        <!-- Up navigation glyph -->
7856        <attr name="homeAsUpIndicator" />
7857        <!-- Specifies padding that should be applied to the left and right sides of
7858             system-provided items in the bar. -->
7859        <attr name="itemPadding" format="dimension" />
7860        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
7861        <attr name="hideOnContentScroll" format="boolean" />
7862        <!-- Minimum inset for content views within a bar. Navigation buttons and
7863             menu views are excepted. Only valid for some themes and configurations. -->
7864        <attr name="contentInsetStart" format="dimension" />
7865        <!-- Minimum inset for content views within a bar. Navigation buttons and
7866             menu views are excepted. Only valid for some themes and configurations. -->
7867        <attr name="contentInsetEnd" format="dimension" />
7868        <!-- Minimum inset for content views within a bar. Navigation buttons and
7869             menu views are excepted. Only valid for some themes and configurations. -->
7870        <attr name="contentInsetLeft" format="dimension" />
7871        <!-- Minimum inset for content views within a bar. Navigation buttons and
7872             menu views are excepted. Only valid for some themes and configurations. -->
7873        <attr name="contentInsetRight" format="dimension" />
7874        <!-- Minimum inset for content views within a bar when a navigation button
7875             is present, such as the Up button. Only valid for some themes and configurations. -->
7876        <attr name="contentInsetStartWithNavigation" format="dimension" />
7877        <!-- Minimum inset for content views within a bar when actions from a menu
7878             are present. Only valid for some themes and configurations. -->
7879        <attr name="contentInsetEndWithActions" format="dimension" />
7880        <!-- Elevation for the action bar itself -->
7881        <attr name="elevation" />
7882        <!-- Reference to a theme that should be used to inflate popups
7883             shown by widgets in the action bar. -->
7884        <attr name="popupTheme" />
7885    </declare-styleable>
7886
7887    <declare-styleable name="ActionMode">
7888        <!-- Specifies a style to use for title text. -->
7889        <attr name="titleTextStyle" />
7890        <!-- Specifies a style to use for subtitle text. -->
7891        <attr name="subtitleTextStyle" />
7892        <!-- Specifies a background for the action mode bar. -->
7893        <attr name="background" />
7894        <!-- Specifies a background for the split action mode bar. -->
7895        <attr name="backgroundSplit" />
7896        <!-- Specifies a fixed height for the action mode bar. -->
7897        <attr name="height" />
7898        <!-- Specifies a layout to use for the "close" item at the starting edge. -->
7899        <attr name="closeItemLayout" format="reference" />
7900    </declare-styleable>
7901
7902    <declare-styleable name="SearchView">
7903        <!-- The layout to use for the search view. -->
7904        <attr name="layout" />
7905        <!-- The default state of the SearchView. If true, it will be iconified when not in
7906             use and expanded when clicked. -->
7907        <attr name="iconifiedByDefault" format="boolean" />
7908        <!-- An optional maximum width of the SearchView. -->
7909        <attr name="maxWidth" />
7910        <!-- An optional query hint string to be displayed in the empty query field. -->
7911        <attr name="queryHint" format="string" />
7912        <!-- Default query hint used when {@code queryHint} is undefined and
7913             the search view's {@code SearchableInfo} does not provide a hint.
7914             @hide -->
7915        <attr name="defaultQueryHint" format="string" />
7916        <!-- The IME options to set on the query text field. -->
7917        <attr name="imeOptions" />
7918        <!-- The input type to set on the query text field. -->
7919        <attr name="inputType" />
7920        <!-- Close button icon -->
7921        <attr name="closeIcon" format="reference" />
7922        <!-- Go button icon -->
7923        <attr name="goIcon" format="reference" />
7924        <!-- Search icon -->
7925        <attr name="searchIcon" format="reference" />
7926        <!-- Search icon displayed as a text field hint -->
7927        <attr name="searchHintIcon" format="reference" />
7928        <!-- Voice button icon -->
7929        <attr name="voiceIcon" format="reference" />
7930        <!-- Commit icon shown in the query suggestion row -->
7931        <attr name="commitIcon" format="reference" />
7932        <!-- Layout for query suggestion rows -->
7933        <attr name="suggestionRowLayout" format="reference" />
7934        <!-- Background for the section containing the search query -->
7935        <attr name="queryBackground" format="reference" />
7936        <!-- Background for the section containing the action (e.g. voice search) -->
7937        <attr name="submitBackground" format="reference" />
7938    </declare-styleable>
7939
7940    <declare-styleable name="Switch">
7941        <!-- Drawable to use as the "thumb" that switches back and forth. -->
7942        <attr name="thumb" />
7943        <!-- Tint to apply to the thumb. -->
7944        <attr name="thumbTint" />
7945        <!-- Blending mode used to apply the thumb tint. -->
7946        <attr name="thumbTintMode" />
7947        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
7948        <attr name="track" format="reference" />
7949        <!-- Tint to apply to the track. -->
7950        <attr name="trackTint" format="color" />
7951        <!-- Blending mode used to apply the track tint. -->
7952        <attr name="trackTintMode">
7953            <!-- The tint is drawn on top of the drawable.
7954                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
7955            <enum name="src_over" value="3" />
7956            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
7957                 color channels are thrown out. [Sa * Da, Sc * Da] -->
7958            <enum name="src_in" value="5" />
7959            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
7960                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
7961            <enum name="src_atop" value="9" />
7962            <!-- Multiplies the color and alpha channels of the drawable with those of
7963                 the tint. [Sa * Da, Sc * Dc] -->
7964            <enum name="multiply" value="14" />
7965            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
7966            <enum name="screen" value="15" />
7967            <!-- Combines the tint and drawable color and alpha channels, clamping the
7968                 result to valid color values. Saturate(S + D) -->
7969            <enum name="add" value="16" />
7970        </attr>
7971        <!-- Text to use when the switch is in the checked/"on" state. -->
7972        <attr name="textOn" />
7973        <!-- Text to use when the switch is in the unchecked/"off" state. -->
7974        <attr name="textOff" />
7975        <!-- Amount of padding on either side of text within the switch thumb. -->
7976        <attr name="thumbTextPadding" format="dimension" />
7977        <!-- TextAppearance style for text displayed on the switch thumb. -->
7978        <attr name="switchTextAppearance" format="reference" />
7979        <!-- Minimum width for the switch component -->
7980        <attr name="switchMinWidth" format="dimension" />
7981        <!-- Minimum space between the switch and caption text -->
7982        <attr name="switchPadding" format="dimension" />
7983        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
7984        <attr name="splitTrack" />
7985        <!-- Whether to draw on/off text. -->
7986        <attr name="showText" format="boolean" />
7987    </declare-styleable>
7988
7989    <declare-styleable name="Pointer">
7990        <!-- Reference to a pointer icon drawable with STYLE_ARROW -->
7991        <attr name="pointerIconArrow" format="reference" />
7992        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER -->
7993        <attr name="pointerIconSpotHover" format="reference" />
7994        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH -->
7995        <attr name="pointerIconSpotTouch" format="reference" />
7996        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR -->
7997        <attr name="pointerIconSpotAnchor" format="reference" />
7998        <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU -->
7999        <attr name="pointerIconContextMenu" format="reference"/>
8000        <!-- Reference to a pointer drawable with STYLE_HAND -->
8001        <attr name="pointerIconHand" format="reference"/>
8002        <!-- Reference to a pointer drawable with STYLE_HELP -->
8003        <attr name="pointerIconHelp" format="reference"/>
8004        <!-- Reference to a pointer drawable with STYLE_WAIT -->
8005        <attr name="pointerIconWait" format="reference"/>
8006        <!-- Reference to a pointer drawable with STYLE_CELL -->
8007        <attr name="pointerIconCell" format="reference"/>
8008        <!-- Reference to a pointer drawable with STYLE_CROSSHAIR -->
8009        <attr name="pointerIconCrosshair" format="reference"/>
8010        <!-- Reference to a pointer drawable with STYLE_TEXT -->
8011        <attr name="pointerIconText" format="reference"/>
8012        <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT -->
8013        <attr name="pointerIconVerticalText" format="reference"/>
8014        <!-- Reference to a pointer drawable with STYLE_ALIAS -->
8015        <attr name="pointerIconAlias" format="reference"/>
8016        <!-- Reference to a pointer drawable with STYLE_COPY -->
8017        <attr name="pointerIconCopy" format="reference"/>
8018        <!-- Reference to a pointer drawable with STYLE_NODROP -->
8019        <attr name="pointerIconNodrop" format="reference"/>
8020        <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL -->
8021        <attr name="pointerIconAllScroll" format="reference"/>
8022        <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW -->
8023        <attr name="pointerIconHorizontalDoubleArrow" format="reference"/>
8024        <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW -->
8025        <attr name="pointerIconVerticalDoubleArrow" format="reference"/>
8026        <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW -->
8027        <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/>
8028        <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW -->
8029        <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/>
8030        <!-- Reference to a pointer drawable with STYLE_ZOOM_IN -->
8031        <attr name="pointerIconZoomIn" format="reference"/>
8032        <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT -->
8033        <attr name="pointerIconZoomOut" format="reference"/>
8034        <!-- Reference to a pointer drawable with STYLE_GRAB -->
8035        <attr name="pointerIconGrab" format="reference"/>
8036        <!-- Reference to a pointer drawable with STYLE_GRABBING -->
8037        <attr name="pointerIconGrabbing" format="reference"/>
8038    </declare-styleable>
8039
8040    <declare-styleable name="PointerIcon">
8041        <!-- Drawable to use as the icon bitmap. -->
8042        <attr name="bitmap" format="reference" />
8043        <!-- X coordinate of the icon hot spot. -->
8044        <attr name="hotSpotX" format="dimension" />
8045        <!-- Y coordinate of the icon hot spot. -->
8046        <attr name="hotSpotY" format="dimension" />
8047    </declare-styleable>
8048
8049    <declare-styleable name="Storage">
8050        <!-- path to mount point for the storage -->
8051        <attr name="mountPoint" format="string" />
8052        <!-- user visible description of the storage -->
8053        <attr name="storageDescription" format="string" />
8054        <!-- true if the storage is the primary external storage -->
8055        <attr name="primary" format="boolean" />
8056        <!-- true if the storage is removable -->
8057        <attr name="removable" format="boolean" />
8058        <!-- true if the storage is emulated via the FUSE sdcard daemon -->
8059        <attr name="emulated" format="boolean" />
8060        <!-- number of megabytes of storage MTP should reserve for free storage
8061             (used for emulated storage that is shared with system's data partition) -->
8062        <attr name="mtpReserve" format="integer" />
8063        <!-- true if the storage can be shared via USB mass storage -->
8064        <attr name="allowMassStorage" format="boolean" />
8065        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded -->
8066        <attr name="maxFileSize" format="integer" />
8067    </declare-styleable>
8068
8069    <declare-styleable name="SwitchPreference">
8070        <!-- The summary for the Preference in a PreferenceActivity screen when the
8071             SwitchPreference is checked. If separate on/off summaries are not
8072             needed, the summary attribute can be used instead. -->
8073        <attr name="summaryOn" />
8074        <!-- The summary for the Preference in a PreferenceActivity screen when the
8075             SwitchPreference is unchecked. If separate on/off summaries are not
8076             needed, the summary attribute can be used instead. -->
8077        <attr name="summaryOff" />
8078        <!-- The text used on the switch itself when in the "on" state.
8079             This should be a very SHORT string, as it appears in a small space. -->
8080        <attr name="switchTextOn" format="string" />
8081        <!-- The text used on the switch itself when in the "off" state.
8082             This should be a very SHORT string, as it appears in a small space. -->
8083        <attr name="switchTextOff" format="string" />
8084        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
8085             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
8086        <attr name="disableDependentsState" />
8087    </declare-styleable>
8088
8089    <declare-styleable name="SeekBarPreference">
8090        <attr name="layout" />
8091        <!-- Attribute indicating whether the slider within this preference can be adjusted, that is
8092        pressing left/right keys when this preference is focused will move the slider accordingly (e.g.
8093        inline adjustable preferences). False, if the slider within the preference is read-only and
8094        cannot be adjusted. By default, the seekbar is adjustable. -->
8095        <attr name="adjustable" format="boolean" />
8096        <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be
8097        displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. -->
8098        <attr name="showSeekBarValue" format="boolean" />
8099    </declare-styleable>
8100
8101    <!-- Base attributes available to PreferenceFragment. -->
8102    <declare-styleable name="PreferenceFragment">
8103        <!-- The layout for the PreferenceFragment. This should rarely need to be changed. -->
8104        <attr name="layout" />
8105        <attr name="divider" />
8106    </declare-styleable>
8107
8108    <!-- Base attributes available to PreferenceScreen. -->
8109    <declare-styleable name="PreferenceScreen">
8110        <!-- The layout for the PreferenceScreen. This should rarely need to be changed. -->
8111        <attr name="screenLayout" format="reference" />
8112        <attr name="divider" />
8113    </declare-styleable>
8114
8115    <!-- Base attributes available to PreferenceActivity. -->
8116    <declare-styleable name="PreferenceActivity">
8117        <!-- The layout for the Preference Activity. This should rarely need to be changed. -->
8118        <attr name="layout" />
8119        <!-- The layout for the Preference Header. This should rarely need to be changed. -->
8120        <attr name="headerLayout" format="reference" />
8121        <!-- true if the Icon view will be removed when there is none and thus not showing
8122             the fixed margins. -->
8123        <attr name="headerRemoveIconIfEmpty" format="boolean" />
8124    </declare-styleable>
8125
8126    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
8127         describes a text to speech engine implemented as a subclass of
8128         {@link android.speech.tts.TextToSpeechService}.
8129
8130         The XML resource must be referenced from its
8131         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
8132         entry. -->
8133    <declare-styleable name="TextToSpeechEngine">
8134        <attr name="settingsActivity" />
8135    </declare-styleable>
8136
8137    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
8138         describes a collection of keyboard layouts provided by an application.
8139         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
8140         with these attributes.
8141
8142         The XML resource that contains the keyboard layouts must be referenced from its
8143         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
8144         meta-data entry used with broadcast receivers for
8145         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
8146    <declare-styleable name="KeyboardLayout">
8147        <!-- The name of the keyboard layout, must be unique in the receiver. -->
8148        <attr name="name" />
8149        <!-- The display label of the keyboard layout. -->
8150        <attr name="label" />
8151        <!-- The key character map file resource. -->
8152        <attr name="keyboardLayout" format="reference" />
8153        <!-- The locales the given keyboard layout corresponds to. -->
8154        <attr name="locale" format="string" />
8155        <!-- The vendor ID of the hardware the given layout corresponds to. @hide -->
8156        <attr name="vendorId" format="integer" />
8157        <!-- The product ID of the hardware the given layout corresponds to. @hide -->
8158        <attr name="productId" format="integer" />
8159    </declare-styleable>
8160
8161    <declare-styleable name="MediaRouteButton">
8162        <!-- This drawable is a state list where the "activated" state
8163             indicates active media routing. Non-activated indicates
8164             that media is playing to the local device only.
8165             @hide -->
8166        <attr name="externalRouteEnabledDrawable" format="reference" />
8167
8168        <!-- The types of media routes the button and its resulting
8169             chooser will filter by. -->
8170        <attr name="mediaRouteTypes" format="integer">
8171            <!-- Allow selection of live audio routes. -->
8172            <enum name="liveAudio" value="0x1" />
8173            <!-- Allow selection of user (app-specified) routes. -->
8174            <enum name="user" value="0x800000" />
8175        </attr>
8176
8177        <attr name="minWidth" />
8178        <attr name="minHeight" />
8179    </declare-styleable>
8180
8181    <!-- PagedView specific attributes. These attributes are used to customize
8182         a PagedView view in XML files. -->
8183    <declare-styleable name="PagedView">
8184        <!-- The space between adjacent pages of the PagedView. -->
8185        <attr name="pageSpacing" format="dimension" />
8186        <!-- The padding for the scroll indicator area -->
8187        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
8188        <attr name="scrollIndicatorPaddingRight" format="dimension" />
8189    </declare-styleable>
8190
8191    <declare-styleable name="KeyguardGlowStripView">
8192        <attr name="dotSize" format="dimension" />
8193        <attr name="numDots" format="integer" />
8194        <attr name="glowDot" format="reference" />
8195        <attr name="leftToRight" format="boolean" />
8196    </declare-styleable>
8197
8198    <!-- Some child types have special behavior. -->
8199    <attr name="layout_childType">
8200        <!-- No special behavior. Layout will proceed as normal. -->
8201        <enum name="none" value="0" />
8202        <!-- Widget container.
8203             This will be resized in response to certain events. -->
8204        <enum name="widget" value="1" />
8205        <!-- Security challenge container.
8206             This will be dismissed/shown in response to certain events,
8207             possibly obscuring widget elements. -->
8208        <enum name="challenge" value="2" />
8209        <!-- User switcher.
8210             This will consume space from the total layout area. -->
8211        <enum name="userSwitcher" value="3" />
8212        <!-- Scrim. This will block access to child views that
8213             come before it in the child list in bouncer mode. -->
8214        <enum name="scrim" value="4" />
8215        <!-- The home for widgets. All widgets will be descendents of this. -->
8216        <enum name="widgets" value="5" />
8217        <!-- This is a handle that is used for expanding the
8218             security challenge container when it is collapsed. -->
8219        <enum name="expandChallengeHandle" value="6" />
8220        <!-- Delete drop target.  This will be the drop target to delete pages. -->
8221        <enum name="pageDeleteDropTarget" value="7" />
8222    </attr>
8223
8224    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
8225    tags. -->
8226    <declare-styleable name="FragmentBreadCrumbs">
8227        <attr name="gravity" />
8228        <attr name="itemLayout" format="reference" />
8229        <attr name="itemColor" format="color|reference" />
8230    </declare-styleable>
8231
8232    <declare-styleable name="Toolbar">
8233        <attr name="titleTextAppearance" format="reference" />
8234        <attr name="subtitleTextAppearance" format="reference" />
8235        <attr name="title" />
8236        <attr name="subtitle" />
8237        <attr name="gravity" />
8238        <!--  Specifies extra space on the left, start, right and end sides
8239              of the toolbar's title. Margin values should be positive. -->
8240        <attr name="titleMargin" format="dimension" />
8241        <!--  Specifies extra space on the start side of the toolbar's title.
8242              If both this attribute and titleMargin are specified, then this
8243              attribute takes precedence. Margin values should be positive. -->
8244        <attr name="titleMarginStart" format="dimension" />
8245        <!--  Specifies extra space on the end side of the toolbar's title.
8246              If both this attribute and titleMargin are specified, then this
8247              attribute takes precedence. Margin values should be positive. -->
8248        <attr name="titleMarginEnd" format="dimension" />
8249        <!--  Specifies extra space on the top side of the toolbar's title.
8250              If both this attribute and titleMargin are specified, then this
8251              attribute takes precedence. Margin values should be positive. -->
8252        <attr name="titleMarginTop" format="dimension" />
8253        <!--  Specifies extra space on the bottom side of the toolbar's title.
8254              If both this attribute and titleMargin are specified, then this
8255              attribute takes precedence. Margin values should be positive. -->
8256        <attr name="titleMarginBottom" format="dimension" />
8257        <attr name="contentInsetStart" />
8258        <attr name="contentInsetEnd" />
8259        <attr name="contentInsetLeft" />
8260        <attr name="contentInsetRight" />
8261        <attr name="contentInsetStartWithNavigation" />
8262        <attr name="contentInsetEndWithActions" />
8263        <attr name="maxButtonHeight" format="dimension" />
8264        <attr name="navigationButtonStyle" format="reference" />
8265        <attr name="buttonGravity">
8266            <!-- Push object to the top of its container, not changing its size. -->
8267            <flag name="top" value="0x30" />
8268            <!-- Push object to the bottom of its container, not changing its size. -->
8269            <flag name="bottom" value="0x50" />
8270        </attr>
8271        <!-- Icon drawable to use for the collapse button. -->
8272        <attr name="collapseIcon" format="reference" />
8273        <!-- Text to set as the content description for the collapse button. -->
8274        <attr name="collapseContentDescription" format="string" />
8275        <!-- Reference to a theme that should be used to inflate popups
8276             shown by widgets in the toolbar. -->
8277        <attr name="popupTheme" format="reference" />
8278        <!-- Icon drawable to use for the navigation button located at
8279             the start of the toolbar. -->
8280        <attr name="navigationIcon" format="reference" />
8281        <!-- Text to set as the content description for the navigation button
8282             located at the start of the toolbar. -->
8283        <attr name="navigationContentDescription" format="string" />
8284        <!-- Drawable to set as the logo that appears at the starting side of
8285             the Toolbar, just after the navigation button. -->
8286        <attr name="logo" />
8287        <!-- A content description string to describe the appearance of the
8288             associated logo image. -->
8289        <attr name="logoDescription" format="string" />
8290        <!-- A color to apply to the title string. -->
8291        <attr name="titleTextColor" format="color" />
8292        <!-- A color to apply to the subtitle string. -->
8293        <attr name="subtitleTextColor" format="color" />
8294    </declare-styleable>
8295
8296    <declare-styleable name="Toolbar_LayoutParams">
8297        <attr name="layout_gravity" />
8298    </declare-styleable>
8299
8300    <declare-styleable name="ActionBar_LayoutParams">
8301        <attr name="layout_gravity" />
8302    </declare-styleable>
8303
8304    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
8305    <declare-styleable name="EdgeEffect">
8306        <attr name="colorEdgeEffect" />
8307    </declare-styleable>
8308
8309    <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a
8310         {@link android.media.tv.TvInputService}, which is referenced from its
8311         {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry.
8312         Described here are the attributes that can be included in that tag. -->
8313    <declare-styleable name="TvInputService">
8314        <!-- Component name of an activity that allows the user to set up this service. -->
8315        <attr name="setupActivity" format="string" />
8316        <!-- Component name of an activity that allows the user to modify the settings for this
8317             service. -->
8318        <attr name="settingsActivity" />
8319        <!-- Attribute whether the TV input service can record programs. This value can be changed
8320             at runtime by calling
8321             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8322        <attr name="canRecord" format="boolean" />
8323        <!-- The number of tuners that the TV input service is associated with. This value can be
8324             changed at runtime by calling
8325             {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. -->
8326        <attr name="tunerCount" format="integer" />
8327    </declare-styleable>
8328
8329    <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the
8330         XML resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8331         which is referenced from its
8332         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8333    <declare-styleable name="RatingSystemDefinition">
8334        <!-- The unique name of the content rating system. -->
8335        <attr name="name" />
8336        <!-- The title of the content rating system which is shown to the user. -->
8337        <attr name="title" />
8338        <!-- The short description of the content rating system. -->
8339        <attr name="description" />
8340        <!-- The country code associated with the content rating system, which consists of two
8341             uppercase letters that conform to the ISO 3166 standard. -->
8342        <attr name="country" format="string" />
8343    </declare-styleable>
8344
8345    <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML
8346         resource that describes TV content rating of a {@link android.media.tv.TvInputService},
8347         which is referenced from its
8348         {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. -->
8349    <declare-styleable name="RatingDefinition">
8350        <!-- The unique name of the content rating. -->
8351        <attr name="name" />
8352        <!-- The title of the content rating which is shown to the user. -->
8353        <attr name="title" />
8354        <!-- The short description of the content rating. -->
8355        <attr name="description" />
8356        <!-- The age associated with the content rating. The content of this rating is suitable for
8357             people of this age or above. -->
8358        <attr name="contentAgeHint" format="integer" />
8359    </declare-styleable>
8360
8361    <declare-styleable name="ResolverDrawerLayout">
8362        <attr name="maxWidth" />
8363        <attr name="maxCollapsedHeight" format="dimension" />
8364        <attr name="maxCollapsedHeightSmall" format="dimension" />
8365    </declare-styleable>
8366
8367    <declare-styleable name="MessagingLinearLayout">
8368        <attr name="maxHeight" />
8369        <attr name="spacing" />
8370    </declare-styleable>
8371
8372    <declare-styleable name="DateTimeView">
8373        <attr name="showRelative" format="boolean" />
8374    </declare-styleable>
8375
8376    <declare-styleable name="ResolverDrawerLayout_LayoutParams">
8377        <attr name="layout_alwaysShow" format="boolean" />
8378        <attr name="layout_ignoreOffset" format="boolean" />
8379        <attr name="layout_gravity" />
8380        <attr name="layout_hasNestedScrollIndicator" format="boolean" />
8381    </declare-styleable>
8382
8383    <!-- @hide -->
8384    <declare-styleable name="Lighting">
8385        <attr name="lightY" />
8386        <attr name="lightZ" />
8387        <attr name="lightRadius" />
8388        <attr name="ambientShadowAlpha" />
8389        <attr name="spotShadowAlpha" />
8390    </declare-styleable>
8391
8392    <declare-styleable name="RestrictionEntry">
8393        <attr name="key" />
8394        <attr name="restrictionType">
8395            <enum name="hidden" value="0" />
8396            <enum name="bool" value="1" />
8397            <enum name="choice" value="2" />
8398            <enum name="multi-select" value="4" />
8399            <enum name="integer" value="5" />
8400            <enum name="string" value="6" />
8401            <enum name="bundle" value="7" />
8402            <enum name="bundle_array" value="8" />
8403        </attr>
8404        <attr name="title" />
8405        <attr name="description" />
8406        <attr name="defaultValue" />
8407        <attr name="entries" />
8408        <attr name="entryValues" />
8409    </declare-styleable>
8410
8411    <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. -->
8412    <declare-styleable name="GradientColor">
8413        <!-- Start color of the gradient. -->
8414        <attr name="startColor" />
8415        <!-- Optional center color. -->
8416        <attr name="centerColor" />
8417        <!-- End color of the gradient. -->
8418        <attr name="endColor" />
8419        <!-- Type of gradient. The default type is linear. -->
8420        <attr name="type" />
8421
8422        <!-- Only applied to RadialGradient-->
8423        <!-- Radius of the gradient, used only with radial gradient. -->
8424        <attr name="gradientRadius" />
8425
8426        <!-- Only applied to SweepGradient / RadialGradient-->
8427        <!-- X coordinate of the center of the gradient within the path. -->
8428        <attr name="centerX" />
8429        <!-- Y coordinate of the center of the gradient within the path. -->
8430        <attr name="centerY" />
8431
8432        <!-- LinearGradient specific -->
8433        <!-- X coordinate of the start point origin of the gradient.
8434             Defined in same coordinates as the path itself -->
8435        <attr name="startX" format="float" />
8436        <!-- Y coordinate of the start point of the gradient within the shape.
8437             Defined in same coordinates as the path itself -->
8438        <attr name="startY" format="float" />
8439        <!-- X coordinate of the end point origin of the gradient.
8440             Defined in same coordinates as the path itself -->
8441        <attr name="endX" format="float" />
8442        <!-- Y coordinate of the end point of the gradient within the shape.
8443             Defined in same coordinates as the path itself -->
8444        <attr name="endY" format="float" />
8445
8446        <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. -->
8447        <attr name="tileMode"/>
8448    </declare-styleable>
8449
8450    <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient
8451         Colors defined in <item> override the simple color attributes such as
8452         "startColor / centerColor / endColor" are ignored -->
8453    <declare-styleable name="GradientColorItem">
8454        <!-- The offset (or ratio) of this current color item inside the gradient.
8455             The value is only meaningful when it is between 0 and 1. -->
8456        <attr name="offset" format="float" />
8457        <!-- The current color for the offset inside the gradient. -->
8458        <attr name="color" />
8459    </declare-styleable>
8460
8461    <!-- @hide Attributes which will be read by the Activity to intialize the
8462               base activity TaskDescription. -->
8463    <declare-styleable name="ActivityTaskDescription">
8464        <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary
8465                   color. -->
8466        <attr name="colorPrimary" />
8467        <!-- @hide From Theme.colorBackground, used for the TaskDescription background
8468                   color. -->
8469        <attr name="colorBackground" />
8470    </declare-styleable>
8471
8472    <declare-styleable name="Shortcut">
8473        <attr name="shortcutId" format="string" />
8474        <attr name="enabled" />
8475        <attr name="icon" />
8476        <attr name="shortcutShortLabel" format="reference" />
8477        <attr name="shortcutLongLabel" format="reference" />
8478        <attr name="shortcutDisabledMessage" format="reference" />
8479    </declare-styleable>
8480
8481    <declare-styleable name="ShortcutCategories">
8482        <attr name="name" />
8483    </declare-styleable>
8484
8485    <!-- Attributes that are read when parsing a <font> tag, which is a child of
8486         <font-family>. -->
8487    <declare-styleable name="FontFamilyFont">
8488        <attr name="fontStyle">
8489            <enum name="normal" value="0" />
8490            <enum name="italic" value="1" />
8491        </attr>
8492        <attr name="font" format="reference" />
8493        <attr name="fontWeight" format="integer" />
8494    </declare-styleable>
8495
8496    <!-- @hide -->
8497    <declare-styleable name="RecyclerView">
8498        <attr name="layoutManager" format="string" />
8499        <attr name="orientation" />
8500        <attr name="descendantFocusability" />
8501        <attr name="spanCount" format="integer"/>
8502        <attr name="reverseLayout" format="boolean" />
8503        <attr name="stackFromEnd" format="boolean" />
8504    </declare-styleable>
8505</resources>
8506