attrs.xml revision 30da61d477bcb6cc7718f9516c444359352fe148
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        <!-- Default color of foreground imagery. -->
31        <attr name="colorForeground" format="color" />
32        <!-- Default color of foreground imagery on an inverted background. -->
33        <attr name="colorForegroundInverse" format="color" />
34        <!-- Color that matches (as closely as possible) the window background. -->
35        <attr name="colorBackground" format="color" />
36        <!-- This is a hint for a solid color that can be used for caching
37             rendered views.  This should be the color of the background when
38             there is a solid background color; it should be null when the
39             background is a texture or translucent.  When a device is able
40             to use accelerated drawing (thus setting state_accelerated), the
41             cache hint is ignored and always assumed to be transparent. -->
42        <attr name="colorBackgroundCacheHint" format="color" />
43
44        <!-- Default highlight color for items that are pressed. -->
45        <attr name="colorPressedHighlight" format="color" />
46        <!-- Default highlight color for items that are long-pressed. -->
47        <attr name="colorLongPressedHighlight" format="color" />
48        <!-- Default highlight color for items that are
49             focused. (Focused meaning cursor-based selection.) -->
50        <attr name="colorFocusedHighlight" format="color" />
51        <!-- Default highlight color for items that are
52             activated. (Activated meaning persistent selection.) -->
53        <attr name="colorActivatedHighlight" format="color" />
54        <!-- Default highlight color for items in multiple selection
55             mode. -->
56        <attr name="colorMultiSelectHighlight" format="color" />
57
58        <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
59        <attr name="disabledAlpha" format="float" />
60        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
61        <attr name="backgroundDimAmount" format="float" />
62        <!-- Control whether dimming behind the window is enabled.  The default
63             theme does not set this value, meaning it is based on whether the
64             window is floating. -->
65        <attr name="backgroundDimEnabled" format="boolean" />
66
67        <!-- =========== -->
68        <!-- Text styles -->
69        <!-- =========== -->
70        <eat-comment />
71
72        <!-- Default appearance of text: color, typeface, size, and style. -->
73        <attr name="textAppearance" format="reference" />
74        <!-- Default appearance of text against an inverted background:
75             color, typeface, size, and style. -->
76        <attr name="textAppearanceInverse" format="reference" />
77
78        <!-- The most prominent text color.  -->
79        <attr name="textColorPrimary" format="reference|color" />
80        <!-- Secondary text color. -->
81        <attr name="textColorSecondary" format="reference|color" />
82        <!-- Tertiary text color. -->
83        <attr name="textColorTertiary" format="reference|color" />
84
85        <!-- Primary inverse text color, useful for inverted backgrounds. -->
86        <attr name="textColorPrimaryInverse" format="reference|color" />
87        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
88        <attr name="textColorSecondaryInverse" format="reference|color" />
89        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
90        <attr name="textColorTertiaryInverse" format="reference|color" />
91
92        <!-- Inverse hint text color. -->
93        <attr name="textColorHintInverse" format="reference|color" />
94
95        <!-- Bright text color. Only differentiates based on the disabled state. -->
96        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
97
98        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
99        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
100
101        <!-- Bright text color. This does not differentiate the disabled state. As an example,
102             buttons use this since they display the disabled state via the background and not the
103             foreground text color. -->
104        <attr name="textColorPrimaryNoDisable" format="reference|color" />
105        <!-- Dim text color. This does not differentiate the disabled state. -->
106        <attr name="textColorSecondaryNoDisable" format="reference|color" />
107
108        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
109        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
110        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
111        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
112
113        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
114        <attr name="textColorSearchUrl" format="reference|color" />
115
116        <!-- Color of highlighted text, when used in a light theme. -->
117        <attr name="textColorHighlightInverse" format="reference|color" />
118        <!-- Color of link text (URLs), when used in a light theme. -->
119        <attr name="textColorLinkInverse" format="reference|color" />
120
121        <!-- Color of list item text in alert dialogs. -->
122        <attr name="textColorAlertDialogListItem" format="reference|color" />
123
124        <!-- Search widget more corpus result item background. -->
125        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
126
127        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
128        <attr name="textAppearanceLarge" format="reference" />
129        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
130        <attr name="textAppearanceMedium" format="reference" />
131        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
132        <attr name="textAppearanceSmall" format="reference" />
133
134        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
135        <attr name="textAppearanceLargeInverse" format="reference" />
136        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
137        <attr name="textAppearanceMediumInverse" format="reference" />
138        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
139        <attr name="textAppearanceSmallInverse" format="reference" />
140
141        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
142        <attr name="textAppearanceSearchResultTitle" format="reference" />
143        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
144        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
145
146        <!-- Text color, typeface, size, and style for the text inside of a button. -->
147        <attr name="textAppearanceButton" format="reference" />
148
149        <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
150        <attr name="textAppearanceLargePopupMenu" format="reference" />
151
152        <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
153        <attr name="textAppearanceSmallPopupMenu" format="reference" />
154
155        <!-- The underline color and thickness for easy correct suggestion -->
156        <attr name="textAppearanceEasyCorrectSuggestion" format="reference" />
157
158        <!-- The underline color and thickness for misspelled suggestion -->
159        <attr name="textAppearanceMisspelledSuggestion" format="reference" />
160
161        <!-- The underline color and thickness for auto correction suggestion -->
162        <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" />
163
164        <!--  The underline color -->
165        <attr name="textUnderlineColor" format="reference|color" />
166        <!--  The underline thickness -->
167        <attr name="textUnderlineThickness" format="reference|dimension" />
168
169        <!-- EditText text foreground color. -->
170        <attr name="editTextColor" format="reference|color" />
171        <!-- EditText background drawable. -->
172        <attr name="editTextBackground" format="reference" />
173
174        <!-- Popup text displayed in TextView when setError is used. -->
175        <attr name="errorMessageBackground" format="reference" />
176        <!-- Background used instead of errorMessageBackground when the popup has to be above. -->
177        <attr name="errorMessageAboveBackground" format="reference" />
178
179        <!-- A styled string, specifying the style to be used for showing
180             inline candidate text when composing with an input method.  The
181             text itself will be ignored, but the style spans will be applied
182             to the candidate text as it is edited. -->
183        <attr name="candidatesTextStyleSpans" format="reference|string" />
184
185        <!-- Drawable to use for check marks. -->
186        <attr name="textCheckMark" format="reference" />
187        <attr name="textCheckMarkInverse" format="reference" />
188
189        <!-- Drawable to use for multiple choice indicators. -->
190        <attr name="listChoiceIndicatorMultiple" format="reference" />
191
192        <!-- Drawable to use for single choice indicators. -->
193        <attr name="listChoiceIndicatorSingle" format="reference" />
194
195        <!-- Drawable used as a background for selected list items. -->
196        <attr name="listChoiceBackgroundIndicator" format="reference" />
197
198        <!-- Drawable used as a background for activated items. -->
199        <attr name="activatedBackgroundIndicator" format="reference" />
200
201        <!-- ============= -->
202        <!-- Button styles -->
203        <!-- ============= -->
204        <eat-comment />
205
206        <!-- Normal Button style. -->
207        <attr name="buttonStyle" format="reference" />
208
209        <!-- Small Button style. -->
210        <attr name="buttonStyleSmall" format="reference" />
211
212        <!-- Button style to inset into an EditText. -->
213        <attr name="buttonStyleInset" format="reference" />
214
215        <!-- ToggleButton style. -->
216        <attr name="buttonStyleToggle" format="reference" />
217
218        <!-- ============== -->
219        <!-- Gallery styles -->
220        <!-- ============== -->
221        <eat-comment />
222
223        <!-- The preferred background for gallery items. This should be set
224             as the background of any Views you provide from the Adapter. -->
225        <attr name="galleryItemBackground" format="reference" />
226
227        <!-- =========== -->
228        <!-- List styles -->
229        <!-- =========== -->
230        <eat-comment />
231
232        <!-- The preferred list item height. -->
233        <attr name="listPreferredItemHeight" format="dimension" />
234        <!-- A smaller, sleeker list item height. -->
235        <attr name="listPreferredItemHeightSmall" format="dimension" />
236        <!-- A larger, more robust list item height. -->
237        <attr name="listPreferredItemHeightLarge" format="dimension" />
238        <!-- The list item height for search results. @hide -->
239        <attr name="searchResultListItemHeight" format="dimension" />
240
241        <!-- The preferred padding along the left edge of list items. -->
242        <attr name="listPreferredItemPaddingLeft" format="dimension" />
243        <!-- The preferred padding along the right edge of list items. -->
244        <attr name="listPreferredItemPaddingRight" format="dimension" />
245
246        <!-- The preferred TextAppearance for the primary text of list items. -->
247        <attr name="textAppearanceListItem" format="reference" />
248        <!-- The preferred TextAppearance for the secondary text of list items. -->
249        <attr name="textAppearanceListItemSecondary" format="reference" />
250        <!-- The preferred TextAppearance for the primary text of small list items. -->
251        <attr name="textAppearanceListItemSmall" format="reference" />
252
253        <!-- The drawable for the list divider. -->
254        <attr name="listDivider" format="reference" />
255        <!-- The list divider used in alert dialogs. -->
256        <attr name="listDividerAlertDialog" format="reference" />
257        <!-- TextView style for list separators. -->
258        <attr name="listSeparatorTextViewStyle" format="reference" />
259        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
260             use expandableListPreferredChildPaddingLeft). This takes into account
261             the indicator that will be shown to next to the item. -->
262        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
263        <!-- The preferred left padding for an expandable list item that is a child.
264             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
265        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
266        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
267             indicator, use expandableListPreferredChildIndicatorLeft. -->
268        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
269        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
270             indicator, use expandableListPreferredChildIndicatorRight. -->
271        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
272        <!-- The preferred left bound for an expandable list child's indicator. -->
273        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
274        <!-- The preferred right bound for an expandable list child's indicator. -->
275        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
276
277        <!-- The preferred item height for dropdown lists. -->
278        <attr name="dropdownListPreferredItemHeight" format="dimension" />
279
280        <!-- The preferred padding along the start edge of list items. -->
281        <attr name="listPreferredItemPaddingStart" format="dimension" />
282        <!-- The preferred padding along the end edge of list items. -->
283        <attr name="listPreferredItemPaddingEnd" format="dimension" />
284
285        <!-- ============= -->
286        <!-- Window styles -->
287        <!-- ============= -->
288        <eat-comment />
289
290        <!-- Drawable to use as the overall window background.  As of
291             {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may
292             be a selector that uses state_accelerated to pick a non-solid
293             color when running on devices that can draw such a bitmap
294             with complex compositing on top at 60fps.
295
296             <p>There are a few special considerations to use when setting this
297             drawable:
298             <ul>
299             <li> This information will be used to infer the pixel format
300                  for your window's surface.  If the drawable has any
301                  non-opaque pixels, your window will be translucent
302                  (32 bpp).
303             <li> If you want to draw the entire background
304                  yourself, you should set this drawable to some solid
305                  color that closely matches that background (so the
306                  system's preview of your window will match), and
307                  then in code manually set your window's background to
308                  null so it will not be drawn.
309             </ul> -->
310        <attr name="windowBackground" format="reference" />
311        <!-- Drawable to use as a frame around the window. -->
312        <attr name="windowFrame" format="reference" />
313        <!-- Flag indicating whether there should be no title on this window. -->
314        <attr name="windowNoTitle" format="boolean" />
315        <!-- Flag indicating whether this window should fill the entire screen.  Corresponds
316             to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. -->
317        <attr name="windowFullscreen" format="boolean" />
318        <!-- Flag indicating whether this window should extend into overscan region.  Corresponds
319             to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. -->
320        <attr name="windowOverscan" format="boolean" />
321        <!-- Flag indicating whether this is a floating window. -->
322        <attr name="windowIsFloating" format="boolean" />
323        <!-- Flag indicating whether this is a translucent window. -->
324        <attr name="windowIsTranslucent" format="boolean" />
325        <!-- Flag indicating that this window's background should be the
326             user's current wallpaper.  Corresponds
327             to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. -->
328        <attr name="windowShowWallpaper" format="boolean" />
329        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
330             to place a shadow below the title.  -->
331        <attr name="windowContentOverlay" format="reference" />
332        <!-- The style resource to use for a window's title bar height. -->
333        <attr name="windowTitleSize" format="dimension" />
334        <!-- The style resource to use for a window's title text. -->
335        <attr name="windowTitleStyle" format="reference" />
336        <!-- The style resource to use for a window's title area. -->
337        <attr name="windowTitleBackgroundStyle" format="reference" />
338
339        <!-- Reference to a style resource holding
340             the set of window animations to use, which can be
341             any of the attributes defined by
342             {@link android.R.styleable#WindowAnimation}. -->
343        <attr name="windowAnimationStyle" format="reference" />
344
345        <!-- Flag indicating whether this window should have an Action Bar
346             in place of the usual title bar. -->
347        <attr name="windowActionBar" format="boolean" />
348
349        <!-- Flag indicating whether this window's Action Bar should overlay
350             application content. Does nothing if the window would not
351             have an Action Bar. -->
352        <attr name="windowActionBarOverlay" format="boolean" />
353
354        <!-- Flag indicating whether action modes should overlay window content
355             when there is not reserved space for their UI (such as an Action Bar). -->
356        <attr name="windowActionModeOverlay" format="boolean" />
357
358        <!-- Flag indicating that the action bar should be split to provide more
359             room for elements. -->
360        <attr name="windowSplitActionBar" format="boolean" />
361
362        <!-- Defines the default soft input state that this window would
363             like when it is displayed.  Corresponds
364             to {@link android.view.WindowManager.LayoutParams#softInputMode}. -->
365        <attr name="windowSoftInputMode">
366            <!-- Not specified, use what the system thinks is best.  This
367                 is the default. -->
368            <flag name="stateUnspecified" value="0" />
369            <!-- Leave the soft input window as-is, in whatever state it
370                 last was. -->
371            <flag name="stateUnchanged" value="1" />
372            <!-- Make the soft input area hidden when normally appropriate
373                 (when the user is navigating forward to your window). -->
374            <flag name="stateHidden" value="2" />
375            <!-- Always make the soft input area hidden when this window
376                 has input focus. -->
377            <flag name="stateAlwaysHidden" value="3" />
378            <!-- Make the soft input area visible when normally appropriate
379                 (when the user is navigating forward to your window). -->
380            <flag name="stateVisible" value="4" />
381            <!-- Always make the soft input area visible when this window
382                 has input focus. -->
383            <flag name="stateAlwaysVisible" value="5" />
384
385            <!-- The window resize/pan adjustment has not been specified,
386                 the system will automatically select between resize and pan
387                 modes, depending
388                 on whether the content of the window has any layout views
389                 that can scroll their contents.  If there is such a view,
390                 then the window will be resized, with the assumption being
391                 that the resizeable area can be reduced to make room for
392                 the input UI. -->
393            <flag name="adjustUnspecified" value="0x00" />
394            <!-- Always resize the window: the content area of the window is
395                 reduced to make room for the soft input area. -->
396            <flag name="adjustResize" value="0x10" />
397            <!-- Don't resize the window to make room for the soft input area;
398                 instead pan the contents of the window as focus moves inside
399                 of it so that the user can see what they are typing.  This is
400                 generally less desireable than panning because the user may
401                 need to close the input area to get at and interact with
402                 parts of the window. -->
403            <flag name="adjustPan" value="0x20" />
404            <!-- Don't resize <em>or</em> pan the window to make room for the
405                 soft input area; the window is never adjusted for it. -->
406            <flag name="adjustNothing" value="0x30" />
407        </attr>
408
409        <!-- Flag allowing you to disable the preview animation for a window.
410             The default value is false; if set to true, the system can never
411             use the window's theme to show a preview of it before your
412             actual instance is shown to the user. -->
413        <attr name="windowDisablePreview" format="boolean" />
414
415        <!-- Flag indicating that this window should not be displayed at all.
416             The default value is false; if set to true, and this window is
417             the main window of an Activity, then it will never actually
418             be added to the window manager.  This means that your activity
419             must immediately quit without waiting for user interaction,
420             because there will be no such interaction coming. -->
421        <attr name="windowNoDisplay" format="boolean" />
422
423        <!-- Flag indicating that this window should allow touches to be split
424             across other windows that also support split touch.
425             The default value is true for applications with a targetSdkVersion
426             of Honeycomb or newer; false otherwise.
427             When this flag is false, the first pointer that goes down determines
428             the window to which all subsequent touches go until all pointers go up.
429             When this flag is true, each pointer (not necessarily the first) that
430             goes down determines the window to which all subsequent touches of that
431             pointer will go until that pointers go up thereby enabling touches
432             with multiple pointers to be split across multiple windows. -->
433        <attr name="windowEnableSplitTouch" format="boolean" />
434
435        <!-- Control whether a container should automatically close itself if
436             the user touches outside of it.  This only applies to activities
437             and dialogs.
438
439             <p>Note: this attribute will only be respected for applications
440             that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB}
441             or later. -->
442        <attr name="windowCloseOnTouchOutside" format="boolean" />
443
444        <!-- Flag indicating whether this window requests a translucent status bar.  Corresponds
445             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. -->
446        <attr name="windowTranslucentStatus" format="boolean" />
447
448        <!-- Flag indicating whether this window requests a translucent navigation bar.  Corresponds
449             to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. -->
450        <attr name="windowTranslucentNavigation" format="boolean" />
451
452        <!-- Flag to indicate that a window can be swiped away to be dismissed.
453             Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS} -->
454        <attr name="windowSwipeToDismiss" format="boolean" />
455
456        <!-- Flag indicating whether this window requests that content changes be performed
457             as scene changes with transitions. Corresponds to
458             {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. -->
459        <attr name="windowContentTransitions" format="boolean" />
460
461        <!-- Reference to a TransitionManager XML resource defining the desired
462             transitions between different window content. -->
463        <attr name="windowContentTransitionManager" format="reference" />
464
465        <!-- Reference to a Transition XML resource defining the desired Transition
466             used to move Views into the initial Window's content Scene. Corresponds to
467             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
468        <attr name="windowEnterTransition" format="reference"/>
469
470        <!-- Reference to a Transition XML resource defining the desired Transition
471             used to move Views out of the Window's content Scene when launching a new Activity.
472             Corresponds to
473             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
474        <attr name="windowExitTransition" format="reference"/>
475
476        <!-- Reference to a Transition XML resource defining the desired Transition
477             used to move shared elements transferred into the Window's initial content Scene.
478             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
479             android.transition.Transition)}. -->
480        <attr name="windowSharedElementEnterTransition" format="reference"/>
481
482        <!-- Reference to a Transition XML resource defining the desired Transition
483             used when starting a new Activity to move shared elements prior to transferring
484             to the called Activity.
485             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
486             android.transition.Transition)}. -->
487        <attr name="windowSharedElementExitTransition" format="reference"/>
488
489        <!-- Flag indicating whether this Window's transition should overlap with
490             the exiting transition of the calling Activity. Corresponds to
491             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
492        <attr name="windowAllowEnterTransitionOverlap" format="boolean"/>
493
494        <!-- Flag indicating whether this Window's transition should overlap with
495             the exiting transition of the called Activity when the called Activity
496             finishes. Corresponds to
497             {@link android.view.Window#setAllowExitTransitionOverlap(boolean)}. -->
498        <attr name="windowAllowExitTransitionOverlap" format="boolean"/>
499
500        <!-- ============ -->
501        <!-- Alert Dialog styles -->
502        <!-- ============ -->
503        <eat-comment />
504        <attr name="alertDialogStyle" format="reference" />
505        <attr name="alertDialogButtonGroupStyle" format="reference" />
506        <attr name="alertDialogCenterButtons" format="boolean" />
507
508        <!-- ============== -->
509        <!-- Image elements -->
510        <!-- ============== -->
511        <eat-comment />
512
513        <!-- Background that can be used behind parts of a UI that provide
514             details on data the user is selecting.  For example, this is
515             the background element of PreferenceActivity's embedded
516             preference fragment. -->
517        <attr name="detailsElementBackground" format="reference" />
518
519        <!-- ============ -->
520        <!-- Panel styles -->
521        <!-- ============ -->
522        <eat-comment />
523
524        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
525        <attr name="panelBackground" format="reference|color" />
526        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
527        <attr name="panelFullBackground" format="reference|color" />
528        <!-- Default color of foreground panel imagery. -->
529        <attr name="panelColorForeground" format="reference|color" />
530        <!-- Color that matches (as closely as possible) the panel background. -->
531        <attr name="panelColorBackground" format="reference|color" />
532        <!-- Default appearance of panel text. -->
533        <attr name="panelTextAppearance" format="reference" />
534
535        <attr name="panelMenuIsCompact" format="boolean" />
536        <attr name="panelMenuListWidth" format="dimension" />
537        <attr name="panelMenuListTheme" format="reference" />
538
539        <!-- =================== -->
540        <!-- Other widget styles -->
541        <!-- =================== -->
542        <eat-comment />
543
544        <!-- Default AbsListView style. -->
545        <attr name="absListViewStyle" format="reference" />
546        <!-- Default AutoCompleteTextView style. -->
547        <attr name="autoCompleteTextViewStyle" format="reference" />
548        <!-- Default Checkbox style. -->
549        <attr name="checkboxStyle" format="reference" />
550        <!-- Default CheckedTextView style. -->
551        <attr name="checkedTextViewStyle" format="reference" />
552        <!-- Default ListView style for drop downs. -->
553        <attr name="dropDownListViewStyle" format="reference" />
554        <!-- Default EditText style. -->
555        <attr name="editTextStyle" format="reference" />
556        <!-- Default ExpandableListView style. -->
557        <attr name="expandableListViewStyle" format="reference" />
558        <!-- ExpandableListView with white background. -->
559        <attr name="expandableListViewWhiteStyle" format="reference" />
560        <!-- Default Gallery style. -->
561        <attr name="galleryStyle" format="reference" />
562        <!-- Default GestureOverlayView style. -->
563        <attr name="gestureOverlayViewStyle" format="reference" />
564        <!-- Default GridView style. -->
565        <attr name="gridViewStyle" format="reference" />
566        <!-- The style resource to use for an ImageButton. -->
567        <attr name="imageButtonStyle" format="reference" />
568        <!-- The style resource to use for an ImageButton that is an image well. -->
569        <attr name="imageWellStyle" format="reference" />
570        <!-- Default ListView style. -->
571        <attr name="listViewStyle" format="reference" />
572        <!-- ListView with white background. -->
573        <attr name="listViewWhiteStyle" format="reference" />
574        <!-- Default PopupWindow style. -->
575        <attr name="popupWindowStyle" format="reference" />
576        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
577        <attr name="progressBarStyle" format="reference" />
578        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
579        <attr name="progressBarStyleHorizontal" format="reference" />
580        <!-- Small ProgressBar style. This is a small circular progress bar. -->
581        <attr name="progressBarStyleSmall" format="reference" />
582        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
583        <attr name="progressBarStyleSmallTitle" format="reference" />
584        <!-- Large ProgressBar style. This is a large circular progress bar. -->
585        <attr name="progressBarStyleLarge" format="reference" />
586        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
587        <attr name="progressBarStyleInverse" format="reference" />
588        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
589        <attr name="progressBarStyleSmallInverse" format="reference" />
590        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
591        <attr name="progressBarStyleLargeInverse" format="reference" />
592        <!-- Default SeekBar style. -->
593        <attr name="seekBarStyle" format="reference" />
594        <!-- Default RatingBar style. -->
595        <attr name="ratingBarStyle" format="reference" />
596        <!-- Indicator RatingBar style. -->
597        <attr name="ratingBarStyleIndicator" format="reference" />
598        <!-- Small indicator RatingBar style. -->
599        <attr name="ratingBarStyleSmall" format="reference" />
600        <!-- Default RadioButton style. -->
601        <attr name="radioButtonStyle" format="reference" />
602        <!-- Default ScrollView style. -->
603        <attr name="scrollViewStyle" format="reference" />
604        <!-- Default HorizontalScrollView style. -->
605        <attr name="horizontalScrollViewStyle" format="reference" />
606        <!-- Default Spinner style. -->
607        <attr name="spinnerStyle" format="reference" />
608        <!-- Default dropdown Spinner style. -->
609        <attr name="dropDownSpinnerStyle" format="reference" />
610        <!-- Default ActionBar dropdown style. -->
611        <attr name="actionDropDownStyle" format="reference" />
612        <!-- Default action button style. -->
613        <attr name="actionButtonStyle" format="reference" />
614        <!-- Default Star style. -->
615        <attr name="starStyle" format="reference" />
616        <!-- Default TabWidget style. -->
617        <attr name="tabWidgetStyle" format="reference" />
618        <!-- Default TextView style. -->
619        <attr name="textViewStyle" format="reference" />
620        <!-- Default WebTextView style. -->
621        <attr name="webTextViewStyle" format="reference" />
622        <!-- Default WebView style. -->
623        <attr name="webViewStyle" format="reference" />
624        <!-- Default style for drop down items. -->
625        <attr name="dropDownItemStyle" format="reference" />
626         <!-- Default style for spinner drop down items. -->
627        <attr name="spinnerDropDownItemStyle" format="reference" />
628        <!-- Default style for drop down hints. -->
629        <attr name="dropDownHintAppearance" format="reference" />
630        <!-- Default spinner item style. -->
631        <attr name="spinnerItemStyle" format="reference" />
632        <!-- Default MapView style. -->
633        <attr name="mapViewStyle" format="reference" />
634        <!-- Drawable used as an overlay on top of quickcontact photos. -->
635        <attr name="quickContactBadgeOverlay" format="reference" />
636        <!-- Default quickcontact badge style with small quickcontact window. -->
637        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
638        <!-- Default quickcontact badge style with medium quickcontact window. -->
639        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
640        <!-- Default quickcontact badge style with large quickcontact window. -->
641        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
642        <!-- Default quickcontact badge style with small quickcontact window. -->
643        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
644        <!-- Default quickcontact badge style with medium quickcontact window. -->
645        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
646        <!-- Default quickcontact badge style with large quickcontact window. -->
647        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
648        <!-- Reference to a style that will be used for the window containing a text
649             selection anchor. -->
650        <attr name="textSelectHandleWindowStyle" format="reference" />
651        <!-- Reference to a style that will be used for the window containing a list of possible
652             text suggestions in an EditText. -->
653        <attr name="textSuggestionsWindowStyle" format="reference" />
654        <!-- Default ListPopupWindow style. -->
655        <attr name="listPopupWindowStyle" format="reference" />
656        <!-- Default PopupMenu style. -->
657        <attr name="popupMenuStyle" format="reference" />
658        <!-- Default StackView style. -->
659        <attr name="stackViewStyle" format="reference" />
660        <!-- Default style for the FragmentBreadCrumbs widget. -->
661        <attr name="fragmentBreadCrumbsStyle" format="reference" />
662
663        <!-- NumberPicker style. -->
664        <attr name="numberPickerStyle" format="reference" />
665
666        <!-- The CalendarView style. -->
667        <attr name="calendarViewStyle" format="reference" />
668
669        <!-- The TimePicker style. -->
670        <attr name="timePickerStyle" format="reference" />
671
672        <!-- The TimePicker Header background color . -->
673        <attr name="timePickerHeaderBackgroundColor" format="reference" />
674
675        <!-- The TimePicker Header time label text appearance -->
676        <attr name="timePickerHeaderTimeLabelTextAppearance" format="reference" />
677
678        <!-- TimePicker Header am pm label text appearance -->
679        <attr name="timePickerHeaderAmPmLabelTextAppearance" format="reference" />
680
681        <!-- The TimePicker dialog theme. -->
682        <attr name="timePickerDialogTheme" format="reference" />
683
684        <!-- The DatePicker style. -->
685        <attr name="datePickerStyle" format="reference" />
686
687        <!-- Default ActivityChooserView style. -->
688        <attr name="activityChooserViewStyle" format="reference" />
689
690        <attr name="toolbarStyle" format="reference" />
691
692        <!-- Fast scroller styles -->
693        <eat-comment />
694
695        <!-- Drawable to use as the fast scroll thumb. -->
696        <attr name="fastScrollThumbDrawable" format="reference" />
697        <!-- Drawable to use as the fast scroll index preview window background
698             when shown on the right. -->
699        <attr name="fastScrollPreviewBackgroundRight" format="reference" />
700        <!-- Drawable to use as the fast scroll index preview window background
701             when shown on the left. -->
702        <attr name="fastScrollPreviewBackgroundLeft" format="reference" />
703        <!-- Drawable to use as the track for the fast scroll thumb.
704             This may be null. -->
705        <attr name="fastScrollTrackDrawable" format="reference" />
706        <!-- Position of the fast scroll index overlay window. -->
707        <attr name="fastScrollOverlayPosition">
708            <enum name="floating" value="0" />
709            <enum name="atThumb" value="1" />
710        </attr>
711        <!-- Text color for the fast scroll index overlay. Make sure it
712             plays nicely with fastScrollPreviewBackground[Left|Right]. -->
713        <attr name="fastScrollTextColor" format="color" />
714
715        <!-- =================== -->
716        <!-- Action bar styles   -->
717        <!-- =================== -->
718        <eat-comment />
719        <!-- Default style for tabs within an action bar -->
720        <attr name="actionBarTabStyle" format="reference" />
721        <attr name="actionBarTabBarStyle" format="reference" />
722        <attr name="actionBarTabTextStyle" format="reference" />
723        <attr name="actionOverflowButtonStyle" format="reference" />
724        <attr name="actionOverflowMenuStyle" format="reference" />
725        <!-- Reference to a style for the Action Bar -->
726        <attr name="actionBarStyle" format="reference" />
727        <!-- Reference to a style for the split Action Bar. This style
728             controls the split component that holds the menu/action
729             buttons. actionBarStyle is still used for the primary
730             bar. -->
731        <attr name="actionBarSplitStyle" format="reference" />
732        <!-- Reference to a theme that should be used to inflate the
733             action bar. This will be inherited by any widget inflated
734             into the action bar. -->
735        <attr name="actionBarTheme" format="reference" />
736        <!-- Reference to a theme that should be used to inflate widgets
737             and layouts destined for the action bar. Most of the time
738             this will be a reference to the current theme, but when
739             the action bar has a significantly different contrast
740             profile than the rest of the activity the difference
741             can become important. If this is set to @null the current
742             theme will be used.-->
743        <attr name="actionBarWidgetTheme" format="reference" />
744        <!-- Size of the Action Bar, including the contextual
745             bar used to present Action Modes. -->
746        <attr name="actionBarSize" format="dimension" >
747            <enum name="wrap_content" value="0" />
748        </attr>
749        <!-- Custom divider drawable to use for elements in the action bar. -->
750        <attr name="actionBarDivider" format="reference" />
751        <!-- Custom item state list drawable background for action bar items. -->
752        <attr name="actionBarItemBackground" format="reference" />
753        <!-- TextAppearance style that will be applied to text that
754             appears within action menu items. -->
755        <attr name="actionMenuTextAppearance" format="reference" />
756        <!-- Color for text that appears within action menu items. -->
757        <attr name="actionMenuTextColor" format="color|reference" />
758
759        <!-- =================== -->
760        <!-- Action mode styles  -->
761        <!-- =================== -->
762        <eat-comment />
763        <attr name="actionModeStyle" format="reference" />
764        <attr name="actionModeCloseButtonStyle" format="reference" />
765        <!-- Background drawable to use for action mode UI -->
766        <attr name="actionModeBackground" format="reference" />
767        <!-- Background drawable to use for action mode UI in the lower split bar -->
768        <attr name="actionModeSplitBackground" format="reference" />
769        <!-- Drawable to use for the close action mode button -->
770        <attr name="actionModeCloseDrawable" format="reference" />
771
772        <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
773        <attr name="actionModeCutDrawable" format="reference" />
774        <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
775        <attr name="actionModeCopyDrawable" format="reference" />
776        <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
777        <attr name="actionModePasteDrawable" format="reference" />
778        <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
779        <attr name="actionModeSelectAllDrawable" format="reference" />
780        <!-- Drawable to use for the Share action button in WebView selection action modes -->
781        <attr name="actionModeShareDrawable" format="reference" />
782        <!-- Drawable to use for the Find action button in WebView selection action modes -->
783        <attr name="actionModeFindDrawable" format="reference" />
784        <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
785        <attr name="actionModeWebSearchDrawable" format="reference" />
786
787        <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
788        <attr name="actionModePopupWindowStyle" format="reference" />
789
790        <!-- =================== -->
791        <!-- Preference styles   -->
792        <!-- =================== -->
793        <eat-comment />
794
795        <!-- Default style for PreferenceScreen. -->
796        <attr name="preferenceScreenStyle" format="reference" />
797        <!-- Default style for Headers pane in PreferenceActivity. -->
798        <attr name="preferenceFragmentStyle" format="reference" />
799        <!-- Default style for PreferenceCategory. -->
800        <attr name="preferenceCategoryStyle" format="reference" />
801        <!-- Default style for Preference. -->
802        <attr name="preferenceStyle" format="reference" />
803        <!-- Default style for informational Preference. -->
804        <attr name="preferenceInformationStyle" format="reference" />
805        <!-- Default style for CheckBoxPreference. -->
806        <attr name="checkBoxPreferenceStyle" format="reference" />
807        <!-- Default style for YesNoPreference. -->
808        <attr name="yesNoPreferenceStyle" format="reference" />
809        <!-- Default style for DialogPreference. -->
810        <attr name="dialogPreferenceStyle" format="reference" />
811        <!-- Default style for EditTextPreference. -->
812        <attr name="editTextPreferenceStyle" format="reference" />
813        <!-- Default style for RingtonePreference. -->
814        <attr name="ringtonePreferenceStyle" format="reference" />
815        <!-- The preference layout that has the child/tabbed effect. -->
816        <attr name="preferenceLayoutChild" format="reference" />
817        <!-- Preference panel style -->
818        <attr name="preferencePanelStyle" format="reference" />
819        <!-- Preference headers panel style -->
820        <attr name="preferenceHeaderPanelStyle" format="reference" />
821        <!-- Preference list style -->
822        <attr name="preferenceListStyle" format="reference" />
823        <!-- Preference fragment list style -->
824        <attr name="preferenceFragmentListStyle" format="reference" />
825        <!-- Preference fragment padding side -->
826        <attr name="preferenceFragmentPaddingSide" format="dimension" />
827        <!-- Default style for switch preferences. -->
828        <attr name="switchPreferenceStyle" format="reference" />
829
830        <!-- ============================ -->
831        <!-- Text selection handle styles -->
832        <!-- ============================ -->
833        <eat-comment />
834
835        <!-- Reference to a drawable that will be used to display a text selection
836             anchor on the left side of a selection region. -->
837        <attr name="textSelectHandleLeft" format="reference" />
838        <!-- Reference to a drawable that will be used to display a text selection
839             anchor on the right side of a selection region. -->
840        <attr name="textSelectHandleRight" format="reference" />
841        <!-- Reference to a drawable that will be used to display a text selection
842             anchor for positioning the cursor within text. -->
843        <attr name="textSelectHandle" format="reference" />
844        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
845             TextEdit field. -->
846        <attr name="textEditPasteWindowLayout" format="reference" />
847        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
848        <attr name="textEditNoPasteWindowLayout" format="reference" />
849        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
850             insertion cursor because it would be clipped if it were positioned on top. -->
851        <attr name="textEditSidePasteWindowLayout" format="reference" />
852        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
853        <attr name="textEditSideNoPasteWindowLayout" format="reference" />
854
855        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
856        <attr name="textEditSuggestionItemLayout" format="reference" />
857
858        <!-- Theme to use for dialogs spawned from this theme. -->
859        <attr name="dialogTheme" format="reference" />
860        <!-- Window decor layout to use in dialog mode with icons -->
861        <attr name="dialogTitleIconsDecorLayout" format="reference" />
862        <!-- Window decor layout to use in dialog mode with custom titles -->
863        <attr name="dialogCustomTitleDecorLayout" format="reference" />
864        <!-- Window decor layout to use in dialog mode with title only -->
865        <attr name="dialogTitleDecorLayout" format="reference" />
866
867        <!-- Theme to use for alert dialogs spawned from this theme. -->
868        <attr name="alertDialogTheme" format="reference" />
869        <!-- Icon drawable to use for alerts -->
870        <attr name="alertDialogIcon" format="reference" />
871
872        <!-- Theme to use for presentations spawned from this theme. -->
873        <attr name="presentationTheme" format="reference" />
874
875        <!-- Drawable to use for generic vertical dividers. -->
876        <attr name="dividerVertical" format="reference" />
877
878        <!-- Drawable to use for generic horizontal dividers. -->
879        <attr name="dividerHorizontal" format="reference" />
880
881        <!-- Style for button bars -->
882        <attr name="buttonBarStyle" format="reference" />
883
884        <!-- Style for buttons within button bars -->
885        <attr name="buttonBarButtonStyle" format="reference" />
886
887        <!-- Style for segmented buttons - a container that houses several buttons
888             with the appearance of a singel button broken into segments. -->
889        <attr name="segmentedButtonStyle" format="reference" />
890
891        <!-- Background drawable for standalone items that need focus/pressed states. -->
892        <attr name="selectableItemBackground" format="reference" />
893
894        <!-- Style for buttons without an explicit border, often used in groups. -->
895        <attr name="borderlessButtonStyle" format="reference" />
896
897        <!-- Background to use for toasts -->
898        <attr name="toastFrameBackground" format="reference" />
899
900        <!-- ============================ -->
901        <!-- SearchView styles and assets -->
902        <!-- ============================ -->
903        <eat-comment />
904        <!-- SearchView dropdown background -->
905        <attr name="searchDropdownBackground" format="reference" />
906        <!-- SearchView close button icon -->
907        <attr name="searchViewCloseIcon" format="reference" />
908        <!-- SearchView Go button icon -->
909        <attr name="searchViewGoIcon" format="reference" />
910        <!-- SearchView Search icon -->
911        <attr name="searchViewSearchIcon" format="reference" />
912        <!-- SearchView Voice button icon -->
913        <attr name="searchViewVoiceIcon" format="reference" />
914        <!-- SearchView query refinement icon -->
915        <attr name="searchViewEditQuery" format="reference" />
916        <!-- SearchView query refinement icon background -->
917        <attr name="searchViewEditQueryBackground" format="reference" />
918        <!-- SearchView text field background for the left section -->
919        <attr name="searchViewTextField" format="reference" />
920        <!-- SearchView text field background for the right section -->
921        <attr name="searchViewTextFieldRight" format="reference" />
922
923        <!-- Theme to use for Search Dialogs -->
924        <attr name="searchDialogTheme" format="reference" />
925
926        <!-- Specifies a drawable to use for the 'home as up' indicator. -->
927        <attr name="homeAsUpIndicator" format="reference" />
928
929        <!-- Preference frame layout styles. -->
930        <attr name="preferenceFrameLayoutStyle" format="reference" />
931
932        <!-- Default style for the Switch widget. -->
933        <attr name="switchStyle" format="reference" />
934
935        <!-- Default style for the MediaRouteButton widget. -->
936        <attr name="mediaRouteButtonStyle" format="reference" />
937
938        <!-- ============== -->
939        <!-- Pointer styles -->
940        <!-- ============== -->
941        <eat-comment />
942
943        <!-- Reference to the Pointer style -->
944        <attr name="pointerStyle" format="reference" />
945
946        <!-- The drawable for accessibility focused views. -->
947        <attr name="accessibilityFocusedDrawable" format="reference" />
948
949        <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide -->
950        <attr name="findOnPageNextDrawable" format="reference" />
951
952        <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide -->
953        <attr name="findOnPagePreviousDrawable" format="reference" />
954
955        <!-- ============= -->
956        <!-- Color palette -->
957        <!-- ============= -->
958        <attr name="colorPrimaryDark" format="color" />
959        <attr name="colorPrimary" format="color" />
960        <attr name="colorPrimaryLight" format="color" />
961        <attr name="colorAccent" format="color" />
962
963        <attr name="colorControlNormal" format="color" />
964        <attr name="colorControlActivated" format="color" />
965
966        <attr name="colorButtonNormal" format="color" />
967        <attr name="colorButtonPressed" format="color" />
968        <attr name="colorButtonNormalColored" format="color" />
969        <attr name="colorButtonPressedColored" format="color" />
970    </declare-styleable>
971
972    <!-- **************************************************************** -->
973    <!-- Other non-theme attributes. -->
974    <!-- **************************************************************** -->
975    <eat-comment />
976
977    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
978         Supported values include the following:<p/>
979    <ul>
980        <li><b>px</b> Pixels</li>
981        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
982        <li><b>pt</b> Points</li>
983        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
984    </ul>
985        -->
986    <attr name="textSize" format="dimension" />
987
988    <!-- Default font family. -->
989    <attr name="fontFamily" format="string" />
990
991    <!-- Default text typeface. -->
992    <attr name="typeface">
993        <enum name="normal" value="0" />
994        <enum name="sans" value="1" />
995        <enum name="serif" value="2" />
996        <enum name="monospace" value="3" />
997    </attr>
998
999    <!-- Default text typeface style. -->
1000    <attr name="textStyle">
1001        <flag name="normal" value="0" />
1002        <flag name="bold" value="1" />
1003        <flag name="italic" value="2" />
1004    </attr>
1005
1006    <!-- Color of text (usually same as colorForeground). -->
1007    <attr name="textColor" format="reference|color" />
1008
1009    <!-- Color of highlighted text. -->
1010    <attr name="textColorHighlight" format="reference|color" />
1011
1012    <!-- Color of hint text (displayed when the field is empty). -->
1013    <attr name="textColorHint" format="reference|color" />
1014
1015    <!-- Color of link text (URLs). -->
1016    <attr name="textColorLink" format="reference|color" />
1017
1018    <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
1019    <attr name="textCursorDrawable" format="reference" />
1020
1021    <!-- Indicates that the content of a non-editable TextView can be selected.
1022     Default value is false. EditText content is always selectable. -->
1023    <attr name="textIsSelectable" format="boolean" />
1024
1025    <!-- Where to ellipsize text. -->
1026    <attr name="ellipsize">
1027        <enum name="none" value="0" />
1028        <enum name="start" value="1" />
1029        <enum name="middle" value="2" />
1030        <enum name="end" value="3" />
1031        <enum name="marquee" value="4" />
1032    </attr>
1033
1034    <!-- The type of data being placed in a text field, used to help an
1035         input method decide how to let the user enter text.  The constants
1036         here correspond to those defined by
1037         {@link android.text.InputType}.  Generally you can select
1038         a single value, though some can be combined together as
1039         indicated.  Setting this attribute to anything besides
1040         <var>none</var> also implies that the text is editable. -->
1041    <attr name="inputType">
1042        <!-- There is no content type.  The text is not editable. -->
1043        <flag name="none" value="0x00000000" />
1044        <!-- Just plain old text.  Corresponds to
1045             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1046             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
1047        <flag name="text" value="0x00000001" />
1048        <!-- Can be combined with <var>text</var> and its variations to
1049             request capitalization of all characters.  Corresponds to
1050             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
1051        <flag name="textCapCharacters" value="0x00001001" />
1052        <!-- Can be combined with <var>text</var> and its variations to
1053             request capitalization of the first character of every word.  Corresponds to
1054             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
1055        <flag name="textCapWords" value="0x00002001" />
1056        <!-- Can be combined with <var>text</var> and its variations to
1057             request capitalization of the first character of every sentence.  Corresponds to
1058             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
1059        <flag name="textCapSentences" value="0x00004001" />
1060        <!-- Can be combined with <var>text</var> and its variations to
1061             request auto-correction of text being input.  Corresponds to
1062             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
1063        <flag name="textAutoCorrect" value="0x00008001" />
1064        <!-- Can be combined with <var>text</var> and its variations to
1065             specify that this field will be doing its own auto-completion and
1066             talking with the input method appropriately.  Corresponds to
1067             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
1068        <flag name="textAutoComplete" value="0x00010001" />
1069        <!-- Can be combined with <var>text</var> and its variations to
1070             allow multiple lines of text in the field.  If this flag is not set,
1071             the text field will be constrained to a single line.  Corresponds to
1072             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
1073        <flag name="textMultiLine" value="0x00020001" />
1074        <!-- Can be combined with <var>text</var> and its variations to
1075             indicate that though the regular text view should not be multiple
1076             lines, the IME should provide multiple lines if it can.  Corresponds to
1077             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
1078        <flag name="textImeMultiLine" value="0x00040001" />
1079        <!-- Can be combined with <var>text</var> and its variations to
1080             indicate that the IME should not show any
1081             dictionary-based word suggestions.  Corresponds to
1082             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
1083        <flag name="textNoSuggestions" value="0x00080001" />
1084        <!-- Text that will be used as a URI.  Corresponds to
1085             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1086             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
1087        <flag name="textUri" value="0x00000011" />
1088        <!-- Text that will be used as an e-mail address.  Corresponds to
1089             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1090             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
1091        <flag name="textEmailAddress" value="0x00000021" />
1092        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
1093             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1094             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
1095        <flag name="textEmailSubject" value="0x00000031" />
1096        <!-- Text that is the content of a short message.  Corresponds to
1097             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1098             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
1099        <flag name="textShortMessage" value="0x00000041" />
1100        <!-- Text that is the content of a long message.  Corresponds to
1101             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1102             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
1103        <flag name="textLongMessage" value="0x00000051" />
1104        <!-- Text that is the name of a person.  Corresponds to
1105             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1106             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
1107        <flag name="textPersonName" value="0x00000061" />
1108        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
1109             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1110             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
1111        <flag name="textPostalAddress" value="0x00000071" />
1112        <!-- Text that is a password.  Corresponds to
1113             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1114             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
1115        <flag name="textPassword" value="0x00000081" />
1116        <!-- Text that is a password that should be visible.  Corresponds to
1117             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1118             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
1119        <flag name="textVisiblePassword" value="0x00000091" />
1120        <!-- Text that is being supplied as text in a web form.  Corresponds to
1121             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1122             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
1123        <flag name="textWebEditText" value="0x000000a1" />
1124        <!-- Text that is filtering some other data.  Corresponds to
1125             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1126             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
1127        <flag name="textFilter" value="0x000000b1" />
1128        <!-- Text that is for phonetic pronunciation, such as a phonetic name
1129             field in a contact entry.  Corresponds to
1130             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1131             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
1132        <flag name="textPhonetic" value="0x000000c1" />
1133        <!-- Text that will be used as an e-mail address on a web form.  Corresponds to
1134             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1135             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. -->
1136        <flag name="textWebEmailAddress" value="0x000000d1" />
1137        <!-- Text that will be used as a password on a web form.  Corresponds to
1138             {@link android.text.InputType#TYPE_CLASS_TEXT} |
1139             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. -->
1140        <flag name="textWebPassword" value="0x000000e1" />
1141        <!-- A numeric only field.  Corresponds to
1142             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1143             {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. -->
1144        <flag name="number" value="0x00000002" />
1145        <!-- Can be combined with <var>number</var> and its other options to
1146             allow a signed number.  Corresponds to
1147             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1148             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
1149        <flag name="numberSigned" value="0x00001002" />
1150        <!-- Can be combined with <var>number</var> and its other options to
1151             allow a decimal (fractional) number.  Corresponds to
1152             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1153             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
1154        <flag name="numberDecimal" value="0x00002002" />
1155        <!-- A numeric password field.  Corresponds to
1156             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
1157             {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. -->
1158        <flag name="numberPassword" value="0x00000012" />
1159        <!-- For entering a phone number.  Corresponds to
1160             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
1161        <flag name="phone" value="0x00000003" />
1162        <!-- For entering a date and time.  Corresponds to
1163             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1164             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
1165        <flag name="datetime" value="0x00000004" />
1166        <!-- For entering a date.  Corresponds to
1167             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1168             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
1169        <flag name="date" value="0x00000014" />
1170        <!-- For entering a time.  Corresponds to
1171             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
1172             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
1173        <flag name="time" value="0x00000024" />
1174    </attr>
1175
1176    <!-- Additional features you can enable in an IME associated with an editor
1177         to improve the integration with your application.  The constants
1178         here correspond to those defined by
1179         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
1180    <attr name="imeOptions">
1181        <!-- There are no special semantics associated with this editor. -->
1182        <flag name="normal" value="0x00000000" />
1183        <!-- There is no specific action associated with this editor, let the
1184             editor come up with its own if it can.
1185             Corresponds to
1186             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
1187        <flag name="actionUnspecified" value="0x00000000" />
1188        <!-- This editor has no action associated with it.
1189             Corresponds to
1190             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
1191        <flag name="actionNone" value="0x00000001" />
1192        <!-- The action key performs a "go"
1193             operation to take the user to the target of the text they typed.
1194             Typically used, for example, when entering a URL.
1195             Corresponds to
1196             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
1197        <flag name="actionGo" value="0x00000002" />
1198        <!-- The action key performs a "search"
1199             operation, taking the user to the results of searching for the text
1200             the have typed (in whatever context is appropriate).
1201             Corresponds to
1202             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
1203        <flag name="actionSearch" value="0x00000003" />
1204        <!-- The action key performs a "send"
1205             operation, delivering the text to its target.  This is typically used
1206             when composing a message.
1207             Corresponds to
1208             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
1209        <flag name="actionSend" value="0x00000004" />
1210        <!-- The action key performs a "next"
1211             operation, taking the user to the next field that will accept text.
1212             Corresponds to
1213             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
1214        <flag name="actionNext" value="0x00000005" />
1215        <!-- The action key performs a "done"
1216             operation, closing the soft input method.
1217             Corresponds to
1218             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
1219        <flag name="actionDone" value="0x00000006" />
1220        <!-- The action key performs a "previous"
1221             operation, taking the user to the previous field that will accept text.
1222             Corresponds to
1223             {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. -->
1224        <flag name="actionPrevious" value="0x00000007" />
1225        <!-- Used to request that the IME never go
1226             into fullscreen mode.  Applications need to be aware that the flag is not
1227             a guarantee, and not all IMEs will respect it.
1228             <p>Corresponds to
1229             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1230        <flag name="flagNoFullscreen" value="0x2000000" />
1231        <!-- Like flagNavigateNext, but
1232             specifies there is something interesting that a backward navigation
1233             can focus on.  If the user selects the IME's facility to backward
1234             navigate, this will show up in the application as an actionPrevious
1235             at {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1236             InputConnection.performEditorAction(int)}.
1237             <p>Corresponds to
1238             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. -->
1239        <flag name="flagNavigatePrevious" value="0x4000000" />
1240        <!-- Used to specify that there is something
1241             interesting that a forward navigation can focus on. This is like using
1242             actionNext, except allows the IME to be multiline (with
1243             an enter key) as well as provide forward navigation.  Note that some
1244             IMEs may not be able to do this, especially when running on a small
1245             screen where there is little space.  In that case it does not need to
1246             present a UI for this option.  Like actionNext, if the
1247             user selects the IME's facility to forward navigate, this will show up
1248             in the application at
1249             {@link android.view.inputmethod.InputConnection#performEditorAction(int)
1250             InputConnection.performEditorAction(int)}.
1251             <p>Corresponds to
1252             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. -->
1253        <flag name="flagNavigateNext" value="0x8000000" />
1254        <!-- Used to specify that the IME does not need
1255             to show its extracted text UI.  For input methods that may be fullscreen,
1256             often when in landscape mode, this allows them to be smaller and let part
1257             of the application be shown behind.  Though there will likely be limited
1258             access to the application available from the user, it can make the
1259             experience of a (mostly) fullscreen IME less jarring.  Note that when
1260             this flag is specified the IME may <em>not</em> be set up to be able
1261             to display text, so it should only be used in situations where this is
1262             not needed.
1263             <p>Corresponds to
1264             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
1265        <flag name="flagNoExtractUi" value="0x10000000" />
1266        <!-- Used in conjunction with a custom action, this indicates that the
1267             action should not be available as an accessory button when the
1268             input method is full-screen.
1269             Note that by setting this flag, there can be cases where the action
1270             is simply never available to the user.  Setting this generally means
1271             that you think showing text being edited is more important than the
1272             action you have supplied.
1273             <p>Corresponds to
1274             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
1275        <flag name="flagNoAccessoryAction" value="0x20000000" />
1276        <!-- Used in conjunction with a custom action,
1277             this indicates that the action should not be available in-line as
1278             a replacement for the "enter" key.  Typically this is
1279             because the action has such a significant impact or is not recoverable
1280             enough that accidentally hitting it should be avoided, such as sending
1281             a message.    Note that {@link android.widget.TextView} will
1282             automatically set this flag for you on multi-line text views.
1283             <p>Corresponds to
1284             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
1285        <flag name="flagNoEnterAction" value="0x40000000" />
1286        <!-- Used to request that the IME should be capable of inputting ASCII
1287             characters.  The intention of this flag is to ensure that the user
1288             can type Roman alphabet characters in a {@link android.widget.TextView}
1289             used for, typically, account ID or password input.  It is expected that IMEs
1290             normally are able to input ASCII even without being told so (such IMEs
1291             already respect this flag in a sense), but there could be some cases they
1292             aren't when, for instance, only non-ASCII input languagaes like Arabic,
1293             Greek, Hebrew, Russian are enabled in the IME.  Applications need to be
1294             aware that the flag is not a guarantee, and not all IMEs will respect it.
1295             However, it is strongly recommended for IME authors to respect this flag
1296             especially when their IME could end up with a state that has only non-ASCII
1297             input languages enabled.
1298             <p>Corresponds to
1299             {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. -->
1300        <flag name="flagForceAscii" value="0x80000000" />
1301    </attr>
1302
1303    <!-- A coordinate in the X dimension. -->
1304    <attr name="x" format="dimension" />
1305    <!-- A coordinate in the Y dimension. -->
1306    <attr name="y" format="dimension" />
1307
1308    <!-- Specifies how an object should position its content, on both the X and Y axes,
1309         within its own bounds.  -->
1310    <attr name="gravity">
1311        <!-- Push object to the top of its container, not changing its size. -->
1312        <flag name="top" value="0x30" />
1313        <!-- Push object to the bottom of its container, not changing its size. -->
1314        <flag name="bottom" value="0x50" />
1315        <!-- Push object to the left of its container, not changing its size. -->
1316        <flag name="left" value="0x03" />
1317        <!-- Push object to the right of its container, not changing its size. -->
1318        <flag name="right" value="0x05" />
1319        <!-- Place object in the vertical center of its container, not changing its size. -->
1320        <flag name="center_vertical" value="0x10" />
1321        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1322        <flag name="fill_vertical" value="0x70" />
1323        <!-- Place object in the horizontal center of its container, not changing its size. -->
1324        <flag name="center_horizontal" value="0x01" />
1325        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1326        <flag name="fill_horizontal" value="0x07" />
1327        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1328        <flag name="center" value="0x11" />
1329        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1330        <flag name="fill" value="0x77" />
1331        <!-- Additional option that can be set to have the top and/or bottom edges of
1332             the child clipped to its container's bounds.
1333             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1334             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1335        <flag name="clip_vertical" value="0x80" />
1336        <!-- Additional option that can be set to have the left and/or right edges of
1337             the child clipped to its container's bounds.
1338             The clip will be based on the horizontal gravity: a left gravity will clip the right
1339             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1340        <flag name="clip_horizontal" value="0x08" />
1341        <!-- Push object to the beginning of its container, not changing its size. -->
1342        <flag name="start" value="0x00800003" />
1343        <!-- Push object to the end of its container, not changing its size. -->
1344        <flag name="end" value="0x00800005" />
1345    </attr>
1346
1347    <!-- Controls whether links such as urls and email addresses are
1348         automatically found and converted to clickable links.  The default
1349         value is "none", disabling this feature. -->
1350    <attr name="autoLink">
1351        <!-- Match no patterns (default). -->
1352        <flag name="none" value="0x00" />
1353        <!-- Match Web URLs. -->
1354        <flag name="web" value="0x01" />
1355        <!-- Match email addresses. -->
1356        <flag name="email" value="0x02" />
1357        <!-- Match phone numbers. -->
1358        <flag name="phone" value="0x04" />
1359        <!-- Match map addresses. -->
1360        <flag name="map" value="0x08" />
1361        <!-- Match all patterns (equivalent to web|email|phone|map). -->
1362        <flag name="all" value="0x0f" />
1363    </attr>
1364
1365    <!-- Reference to an array resource that will populate a list/adapter. -->
1366    <attr name="entries" format="reference" />
1367
1368    <!-- Standard gravity constant that a child supplies to its parent.
1369         Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. -->
1370    <attr name="layout_gravity">
1371        <!-- Push object to the top of its container, not changing its size. -->
1372        <flag name="top" value="0x30" />
1373        <!-- Push object to the bottom of its container, not changing its size. -->
1374        <flag name="bottom" value="0x50" />
1375        <!-- Push object to the left of its container, not changing its size. -->
1376        <flag name="left" value="0x03" />
1377        <!-- Push object to the right of its container, not changing its size. -->
1378        <flag name="right" value="0x05" />
1379        <!-- Place object in the vertical center of its container, not changing its size. -->
1380        <flag name="center_vertical" value="0x10" />
1381        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1382        <flag name="fill_vertical" value="0x70" />
1383        <!-- Place object in the horizontal center of its container, not changing its size. -->
1384        <flag name="center_horizontal" value="0x01" />
1385        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1386        <flag name="fill_horizontal" value="0x07" />
1387        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1388        <flag name="center" value="0x11" />
1389        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1390        <flag name="fill" value="0x77" />
1391        <!-- Additional option that can be set to have the top and/or bottom edges of
1392             the child clipped to its container's bounds.
1393             The clip will be based on the vertical gravity: a top gravity will clip the bottom
1394             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1395        <flag name="clip_vertical" value="0x80" />
1396        <!-- Additional option that can be set to have the left and/or right edges of
1397             the child clipped to its container's bounds.
1398             The clip will be based on the horizontal gravity: a left gravity will clip the right
1399             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1400        <flag name="clip_horizontal" value="0x08" />
1401        <!-- Push object to the beginning of its container, not changing its size. -->
1402        <flag name="start" value="0x00800003" />
1403        <!-- Push object to the end of its container, not changing its size. -->
1404        <flag name="end" value="0x00800005" />
1405    </attr>
1406
1407    <!-- Standard orientation constant. -->
1408    <attr name="orientation">
1409        <!-- Defines an horizontal widget. -->
1410        <enum name="horizontal" value="0" />
1411        <!-- Defines a vertical widget. -->
1412        <enum name="vertical" value="1" />
1413    </attr>
1414
1415    <!-- Alignment constants. -->
1416    <attr name="alignmentMode">
1417        <!-- Align the bounds of the children.
1418        See {@link android.widget.GridLayout#ALIGN_BOUNDS}. -->
1419        <enum name="alignBounds" value="0" />
1420        <!-- Align the margins of the children.
1421        See {@link android.widget.GridLayout#ALIGN_MARGINS}. -->
1422        <enum name="alignMargins" value="1" />
1423    </attr>
1424
1425    <!-- ========================== -->
1426    <!-- Key Codes                  -->
1427    <!-- ========================== -->
1428    <eat-comment />
1429
1430    <!-- This enum provides the same keycode values as can be found in
1431        {@link android.view.KeyEvent}. -->
1432    <attr name="keycode">
1433        <enum name="KEYCODE_UNKNOWN" value="0" />
1434        <enum name="KEYCODE_SOFT_LEFT" value="1" />
1435        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
1436        <enum name="KEYCODE_HOME" value="3" />
1437        <enum name="KEYCODE_BACK" value="4" />
1438        <enum name="KEYCODE_CALL" value="5" />
1439        <enum name="KEYCODE_ENDCALL" value="6" />
1440        <enum name="KEYCODE_0" value="7" />
1441        <enum name="KEYCODE_1" value="8" />
1442        <enum name="KEYCODE_2" value="9" />
1443        <enum name="KEYCODE_3" value="10" />
1444        <enum name="KEYCODE_4" value="11" />
1445        <enum name="KEYCODE_5" value="12" />
1446        <enum name="KEYCODE_6" value="13" />
1447        <enum name="KEYCODE_7" value="14" />
1448        <enum name="KEYCODE_8" value="15" />
1449        <enum name="KEYCODE_9" value="16" />
1450        <enum name="KEYCODE_STAR" value="17" />
1451        <enum name="KEYCODE_POUND" value="18" />
1452        <enum name="KEYCODE_DPAD_UP" value="19" />
1453        <enum name="KEYCODE_DPAD_DOWN" value="20" />
1454        <enum name="KEYCODE_DPAD_LEFT" value="21" />
1455        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
1456        <enum name="KEYCODE_DPAD_CENTER" value="23" />
1457        <enum name="KEYCODE_VOLUME_UP" value="24" />
1458        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
1459        <enum name="KEYCODE_POWER" value="26" />
1460        <enum name="KEYCODE_CAMERA" value="27" />
1461        <enum name="KEYCODE_CLEAR" value="28" />
1462        <enum name="KEYCODE_A" value="29" />
1463        <enum name="KEYCODE_B" value="30" />
1464        <enum name="KEYCODE_C" value="31" />
1465        <enum name="KEYCODE_D" value="32" />
1466        <enum name="KEYCODE_E" value="33" />
1467        <enum name="KEYCODE_F" value="34" />
1468        <enum name="KEYCODE_G" value="35" />
1469        <enum name="KEYCODE_H" value="36" />
1470        <enum name="KEYCODE_I" value="37" />
1471        <enum name="KEYCODE_J" value="38" />
1472        <enum name="KEYCODE_K" value="39" />
1473        <enum name="KEYCODE_L" value="40" />
1474        <enum name="KEYCODE_M" value="41" />
1475        <enum name="KEYCODE_N" value="42" />
1476        <enum name="KEYCODE_O" value="43" />
1477        <enum name="KEYCODE_P" value="44" />
1478        <enum name="KEYCODE_Q" value="45" />
1479        <enum name="KEYCODE_R" value="46" />
1480        <enum name="KEYCODE_S" value="47" />
1481        <enum name="KEYCODE_T" value="48" />
1482        <enum name="KEYCODE_U" value="49" />
1483        <enum name="KEYCODE_V" value="50" />
1484        <enum name="KEYCODE_W" value="51" />
1485        <enum name="KEYCODE_X" value="52" />
1486        <enum name="KEYCODE_Y" value="53" />
1487        <enum name="KEYCODE_Z" value="54" />
1488        <enum name="KEYCODE_COMMA" value="55" />
1489        <enum name="KEYCODE_PERIOD" value="56" />
1490        <enum name="KEYCODE_ALT_LEFT" value="57" />
1491        <enum name="KEYCODE_ALT_RIGHT" value="58" />
1492        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
1493        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
1494        <enum name="KEYCODE_TAB" value="61" />
1495        <enum name="KEYCODE_SPACE" value="62" />
1496        <enum name="KEYCODE_SYM" value="63" />
1497        <enum name="KEYCODE_EXPLORER" value="64" />
1498        <enum name="KEYCODE_ENVELOPE" value="65" />
1499        <enum name="KEYCODE_ENTER" value="66" />
1500        <enum name="KEYCODE_DEL" value="67" />
1501        <enum name="KEYCODE_GRAVE" value="68" />
1502        <enum name="KEYCODE_MINUS" value="69" />
1503        <enum name="KEYCODE_EQUALS" value="70" />
1504        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
1505        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
1506        <enum name="KEYCODE_BACKSLASH" value="73" />
1507        <enum name="KEYCODE_SEMICOLON" value="74" />
1508        <enum name="KEYCODE_APOSTROPHE" value="75" />
1509        <enum name="KEYCODE_SLASH" value="76" />
1510        <enum name="KEYCODE_AT" value="77" />
1511        <enum name="KEYCODE_NUM" value="78" />
1512        <enum name="KEYCODE_HEADSETHOOK" value="79" />
1513        <enum name="KEYCODE_FOCUS" value="80" />
1514        <enum name="KEYCODE_PLUS" value="81" />
1515        <enum name="KEYCODE_MENU" value="82" />
1516        <enum name="KEYCODE_NOTIFICATION" value="83" />
1517        <enum name="KEYCODE_SEARCH" value="84" />
1518        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
1519        <enum name="KEYCODE_MEDIA_STOP" value="86" />
1520        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
1521        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
1522        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
1523        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
1524        <enum name="KEYCODE_MUTE" value="91" />
1525        <enum name="KEYCODE_PAGE_UP" value="92" />
1526        <enum name="KEYCODE_PAGE_DOWN" value="93" />
1527        <enum name="KEYCODE_PICTSYMBOLS" value="94" />
1528        <enum name="KEYCODE_SWITCH_CHARSET" value="95" />
1529        <enum name="KEYCODE_BUTTON_A" value="96" />
1530        <enum name="KEYCODE_BUTTON_B" value="97" />
1531        <enum name="KEYCODE_BUTTON_C" value="98" />
1532        <enum name="KEYCODE_BUTTON_X" value="99" />
1533        <enum name="KEYCODE_BUTTON_Y" value="100" />
1534        <enum name="KEYCODE_BUTTON_Z" value="101" />
1535        <enum name="KEYCODE_BUTTON_L1" value="102" />
1536        <enum name="KEYCODE_BUTTON_R1" value="103" />
1537        <enum name="KEYCODE_BUTTON_L2" value="104" />
1538        <enum name="KEYCODE_BUTTON_R2" value="105" />
1539        <enum name="KEYCODE_BUTTON_THUMBL" value="106" />
1540        <enum name="KEYCODE_BUTTON_THUMBR" value="107" />
1541        <enum name="KEYCODE_BUTTON_START" value="108" />
1542        <enum name="KEYCODE_BUTTON_SELECT" value="109" />
1543        <enum name="KEYCODE_BUTTON_MODE" value="110" />
1544        <enum name="KEYCODE_ESCAPE" value="111" />
1545        <enum name="KEYCODE_FORWARD_DEL" value="112" />
1546        <enum name="KEYCODE_CTRL_LEFT" value="113" />
1547        <enum name="KEYCODE_CTRL_RIGHT" value="114" />
1548        <enum name="KEYCODE_CAPS_LOCK" value="115" />
1549        <enum name="KEYCODE_SCROLL_LOCK" value="116" />
1550        <enum name="KEYCODE_META_LEFT" value="117" />
1551        <enum name="KEYCODE_META_RIGHT" value="118" />
1552        <enum name="KEYCODE_FUNCTION" value="119" />
1553        <enum name="KEYCODE_SYSRQ" value="120" />
1554        <enum name="KEYCODE_BREAK" value="121" />
1555        <enum name="KEYCODE_MOVE_HOME" value="122" />
1556        <enum name="KEYCODE_MOVE_END" value="123" />
1557        <enum name="KEYCODE_INSERT" value="124" />
1558        <enum name="KEYCODE_FORWARD" value="125" />
1559        <enum name="KEYCODE_MEDIA_PLAY" value="126" />
1560        <enum name="KEYCODE_MEDIA_PAUSE" value="127" />
1561        <enum name="KEYCODE_MEDIA_CLOSE" value="128" />
1562        <enum name="KEYCODE_MEDIA_EJECT" value="129" />
1563        <enum name="KEYCODE_MEDIA_RECORD" value="130" />
1564        <enum name="KEYCODE_F1" value="131" />
1565        <enum name="KEYCODE_F2" value="132" />
1566        <enum name="KEYCODE_F3" value="133" />
1567        <enum name="KEYCODE_F4" value="134" />
1568        <enum name="KEYCODE_F5" value="135" />
1569        <enum name="KEYCODE_F6" value="136" />
1570        <enum name="KEYCODE_F7" value="137" />
1571        <enum name="KEYCODE_F8" value="138" />
1572        <enum name="KEYCODE_F9" value="139" />
1573        <enum name="KEYCODE_F10" value="140" />
1574        <enum name="KEYCODE_F11" value="141" />
1575        <enum name="KEYCODE_F12" value="142" />
1576        <enum name="KEYCODE_NUM_LOCK" value="143" />
1577        <enum name="KEYCODE_NUMPAD_0" value="144" />
1578        <enum name="KEYCODE_NUMPAD_1" value="145" />
1579        <enum name="KEYCODE_NUMPAD_2" value="146" />
1580        <enum name="KEYCODE_NUMPAD_3" value="147" />
1581        <enum name="KEYCODE_NUMPAD_4" value="148" />
1582        <enum name="KEYCODE_NUMPAD_5" value="149" />
1583        <enum name="KEYCODE_NUMPAD_6" value="150" />
1584        <enum name="KEYCODE_NUMPAD_7" value="151" />
1585        <enum name="KEYCODE_NUMPAD_8" value="152" />
1586        <enum name="KEYCODE_NUMPAD_9" value="153" />
1587        <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" />
1588        <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" />
1589        <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" />
1590        <enum name="KEYCODE_NUMPAD_ADD" value="157" />
1591        <enum name="KEYCODE_NUMPAD_DOT" value="158" />
1592        <enum name="KEYCODE_NUMPAD_COMMA" value="159" />
1593        <enum name="KEYCODE_NUMPAD_ENTER" value="160" />
1594        <enum name="KEYCODE_NUMPAD_EQUALS" value="161" />
1595        <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" />
1596        <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" />
1597        <enum name="KEYCODE_VOLUME_MUTE" value="164" />
1598        <enum name="KEYCODE_INFO" value="165" />
1599        <enum name="KEYCODE_CHANNEL_UP" value="166" />
1600        <enum name="KEYCODE_CHANNEL_DOWN" value="167" />
1601        <enum name="KEYCODE_ZOOM_IN" value="168" />
1602        <enum name="KEYCODE_ZOOM_OUT" value="169" />
1603        <enum name="KEYCODE_TV" value="170" />
1604        <enum name="KEYCODE_WINDOW" value="171" />
1605        <enum name="KEYCODE_GUIDE" value="172" />
1606        <enum name="KEYCODE_DVR" value="173" />
1607        <enum name="KEYCODE_BOOKMARK" value="174" />
1608        <enum name="KEYCODE_CAPTIONS" value="175" />
1609        <enum name="KEYCODE_SETTINGS" value="176" />
1610        <enum name="KEYCODE_TV_POWER" value="177" />
1611        <enum name="KEYCODE_TV_INPUT" value="178" />
1612        <enum name="KEYCODE_STB_POWER" value="179" />
1613        <enum name="KEYCODE_STB_INPUT" value="180" />
1614        <enum name="KEYCODE_AVR_POWER" value="181" />
1615        <enum name="KEYCODE_AVR_INPUT" value="182" />
1616        <enum name="KEYCODE_PROG_GRED" value="183" />
1617        <enum name="KEYCODE_PROG_GREEN" value="184" />
1618        <enum name="KEYCODE_PROG_YELLOW" value="185" />
1619        <enum name="KEYCODE_PROG_BLUE" value="186" />
1620        <enum name="KEYCODE_APP_SWITCH" value="187" />
1621        <enum name="KEYCODE_BUTTON_1" value="188" />
1622        <enum name="KEYCODE_BUTTON_2" value="189" />
1623        <enum name="KEYCODE_BUTTON_3" value="190" />
1624        <enum name="KEYCODE_BUTTON_4" value="191" />
1625        <enum name="KEYCODE_BUTTON_5" value="192" />
1626        <enum name="KEYCODE_BUTTON_6" value="193" />
1627        <enum name="KEYCODE_BUTTON_7" value="194" />
1628        <enum name="KEYCODE_BUTTON_8" value="195" />
1629        <enum name="KEYCODE_BUTTON_9" value="196" />
1630        <enum name="KEYCODE_BUTTON_10" value="197" />
1631        <enum name="KEYCODE_BUTTON_11" value="198" />
1632        <enum name="KEYCODE_BUTTON_12" value="199" />
1633        <enum name="KEYCODE_BUTTON_13" value="200" />
1634        <enum name="KEYCODE_BUTTON_14" value="201" />
1635        <enum name="KEYCODE_BUTTON_15" value="202" />
1636        <enum name="KEYCODE_BUTTON_16" value="203" />
1637        <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" />
1638        <enum name="KEYCODE_MANNER_MODE" value="205" />
1639        <enum name="KEYCODE_3D_MODE" value="206" />
1640        <enum name="KEYCODE_CONTACTS" value="207" />
1641        <enum name="KEYCODE_CALENDAR" value="208" />
1642        <enum name="KEYCODE_MUSIC" value="209" />
1643        <enum name="KEYCODE_CALCULATOR" value="210" />
1644        <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" />
1645        <enum name="KEYCODE_EISU" value="212" />
1646        <enum name="KEYCODE_MUHENKAN" value="213" />
1647        <enum name="KEYCODE_HENKAN" value="214" />
1648        <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" />
1649        <enum name="KEYCODE_YEN" value="216" />
1650        <enum name="KEYCODE_RO" value="217" />
1651        <enum name="KEYCODE_KANA" value="218" />
1652        <enum name="KEYCODE_ASSIST" value="219" />
1653        <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" />
1654        <enum name="KEYCODE_BRIGHTNESS_UP" value="221" />
1655        <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" />
1656        <enum name="KEYCODE_MEDIA_SLEEP" value="223" />
1657        <enum name="KEYCODE_MEDIA_WAKEUP" value="224" />
1658    </attr>
1659
1660    <!-- ***************************************************************** -->
1661    <!-- These define collections of attributes that can are with classes. -->
1662    <!-- ***************************************************************** -->
1663
1664    <!-- ========================== -->
1665    <!-- Special attribute classes. -->
1666    <!-- ========================== -->
1667    <eat-comment />
1668
1669    <!-- The set of attributes that describe a Windows's theme. -->
1670    <declare-styleable name="Window">
1671        <attr name="windowBackground" />
1672        <attr name="windowContentOverlay" />
1673        <attr name="windowFrame" />
1674        <attr name="windowNoTitle" />
1675        <attr name="windowFullscreen" />
1676        <attr name="windowOverscan" />
1677        <attr name="windowIsFloating" />
1678        <attr name="windowIsTranslucent" />
1679        <attr name="windowShowWallpaper" />
1680        <attr name="windowAnimationStyle" />
1681        <attr name="windowSoftInputMode" />
1682        <attr name="windowDisablePreview" />
1683        <attr name="windowNoDisplay" />
1684        <attr name="textColor" />
1685        <attr name="backgroundDimEnabled" />
1686        <attr name="backgroundDimAmount" />
1687        <attr name="windowActionBar" />
1688        <attr name="windowActionModeOverlay" />
1689        <attr name="windowActionBarOverlay" />
1690        <attr name="windowSplitActionBar" />
1691        <attr name="windowEnableSplitTouch" />
1692        <attr name="windowCloseOnTouchOutside" />
1693        <attr name="windowTranslucentStatus" />
1694        <attr name="windowTranslucentNavigation" />
1695        <attr name="windowSwipeToDismiss" />
1696        <attr name="windowContentTransitions" />
1697        <attr name="windowContentTransitionManager" />
1698
1699        <!-- The minimum width the window is allowed to be, along the major
1700             axis of the screen.  That is, when in landscape.  Can be either
1701             an absolute dimension or a fraction of the screen size in that
1702             dimension. -->
1703        <attr name="windowMinWidthMajor" format="dimension|fraction" />
1704        <!-- The minimum width the window is allowed to be, along the minor
1705             axis of the screen.  That is, when in portrait.  Can be either
1706             an absolute dimension or a fraction of the screen size in that
1707             dimension. -->
1708        <attr name="windowMinWidthMinor" format="dimension|fraction" />
1709
1710        <!-- A fixed width for the window along the major axis of the screen,
1711             that is, when in landscape. Can be either an absolute dimension
1712             or a fraction of the screen size in that dimension. -->
1713        <attr name="windowFixedWidthMajor" format="dimension|fraction" />
1714        <!-- A fixed height for the window along the minor axis of the screen,
1715             that is, when in landscape. Can be either an absolute dimension
1716             or a fraction of the screen size in that dimension. -->
1717        <attr name="windowFixedHeightMinor" format="dimension|fraction" />
1718
1719        <!-- A fixed width for the window along the minor axis of the screen,
1720             that is, when in portrait. Can be either an absolute dimension
1721             or a fraction of the screen size in that dimension. -->
1722        <attr name="windowFixedWidthMinor" format="dimension|fraction" />
1723        <!-- A fixed height for the window along the major axis of the screen,
1724             that is, when in portrait. Can be either an absolute dimension
1725             or a fraction of the screen size in that dimension. -->
1726        <attr name="windowFixedHeightMajor" format="dimension|fraction" />
1727        <attr name="windowOutsetBottom" format="dimension" />
1728        <!-- Reference to a TransitionManager XML resource defining the desired Transition
1729             used to move Views into the initial Window's content Scene. Corresponds to
1730             {@link android.view.Window#setEnterTransition(android.transition.Transition)}. -->
1731        <attr name="windowEnterTransition"/>
1732
1733        <!-- Reference to a TransitionManager XML resource defining the desired Transition
1734             used to move Views out of the Window's content Scene when launching a new Activity.
1735             Corresponds to
1736             {@link android.view.Window#setExitTransition(android.transition.Transition)}. -->
1737        <attr name="windowExitTransition"/>
1738
1739        <!-- Reference to a TransitionManager XML resource defining the desired Transition
1740             used to move shared elements transferred into the Window's initial content Scene.
1741             Corresponds to {@link android.view.Window#setSharedElementEnterTransition(
1742             android.transition.Transition)}. -->
1743        <attr name="windowSharedElementEnterTransition"/>
1744
1745        <!-- Reference to a TransitionManager XML resource defining the desired Transition
1746             used when starting a new Activity to move shared elements prior to transferring
1747             to the called Activity.
1748             Corresponds to {@link android.view.Window#setSharedElementExitTransition(
1749             android.transition.Transition)}. -->
1750        <attr name="windowSharedElementExitTransition"/>
1751
1752
1753        <!-- Flag indicating whether this Window's transition should overlap with
1754             the exiting transition of the calling Activity. Corresponds to
1755             {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. -->
1756        <attr name="windowAllowEnterTransitionOverlap"/>
1757
1758        <!-- Flag indicating whether this Window's transition should overlap with
1759             the exiting transition of the called Activity when the called Activity
1760             finishes. Corresponds to
1761             {@link android.view.Window#setAllowExitTransitionOverlap(boolean)}. -->
1762        <attr name="windowAllowExitTransitionOverlap"/>
1763    </declare-styleable>
1764
1765    <!-- The set of attributes that describe a AlertDialog's theme. -->
1766    <declare-styleable name="AlertDialog">
1767        <attr name="fullDark" format="reference|color" />
1768        <attr name="topDark" format="reference|color" />
1769        <attr name="centerDark" format="reference|color" />
1770        <attr name="bottomDark" format="reference|color" />
1771        <attr name="fullBright" format="reference|color" />
1772        <attr name="topBright" format="reference|color" />
1773        <attr name="centerBright" format="reference|color" />
1774        <attr name="bottomBright" format="reference|color" />
1775        <attr name="bottomMedium" format="reference|color" />
1776        <attr name="centerMedium" format="reference|color" />
1777        <attr name="layout" />
1778        <attr name="listLayout" format="reference" />
1779        <attr name="multiChoiceItemLayout" format="reference" />
1780        <attr name="singleChoiceItemLayout" format="reference" />
1781        <attr name="listItemLayout" format="reference" />
1782        <attr name="progressLayout" format="reference" />
1783        <attr name="horizontalProgressLayout" format="reference" />
1784    </declare-styleable>
1785
1786    <!-- Fragment animation class attributes. -->
1787    <declare-styleable name="FragmentAnimation">
1788        <attr name="fragmentOpenEnterAnimation" format="reference" />
1789        <attr name="fragmentOpenExitAnimation" format="reference" />
1790        <attr name="fragmentCloseEnterAnimation" format="reference" />
1791        <attr name="fragmentCloseExitAnimation" format="reference" />
1792        <attr name="fragmentFadeEnterAnimation" format="reference" />
1793        <attr name="fragmentFadeExitAnimation" format="reference" />
1794    </declare-styleable>
1795
1796    <!-- Window animation class attributes. -->
1797    <declare-styleable name="WindowAnimation">
1798        <!-- The animation used when a window is being added. -->
1799        <attr name="windowEnterAnimation" format="reference" />
1800        <!-- The animation used when a window is being removed. -->
1801        <attr name="windowExitAnimation" format="reference" />
1802        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
1803        <attr name="windowShowAnimation" format="reference" />
1804        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
1805        <attr name="windowHideAnimation" format="reference" />
1806
1807        <!--  When opening a new activity, this is the animation that is
1808              run on the next activity (which is entering the screen). -->
1809        <attr name="activityOpenEnterAnimation" format="reference" />
1810        <!--  When opening a new activity, this is the animation that is
1811              run on the previous activity (which is exiting the screen). -->
1812        <attr name="activityOpenExitAnimation" format="reference" />
1813        <!--  When closing the current activity, this is the animation that is
1814              run on the next activity (which is entering the screen). -->
1815        <attr name="activityCloseEnterAnimation" format="reference" />
1816        <!--  When closing the current activity, this is the animation that is
1817              run on the current activity (which is exiting the screen). -->
1818        <attr name="activityCloseExitAnimation" format="reference" />
1819        <!--  When opening an activity in a new task, this is the animation that is
1820              run on the activity of the new task (which is entering the screen). -->
1821        <attr name="taskOpenEnterAnimation" format="reference" />
1822        <!--  When opening an activity in a new task, this is the animation that is
1823              run on the activity of the old task (which is exiting the screen). -->
1824        <attr name="taskOpenExitAnimation" format="reference" />
1825        <!--  When closing the last activity of a task, this is the animation that is
1826              run on the activity of the next task (which is entering the screen). -->
1827        <attr name="taskCloseEnterAnimation" format="reference" />
1828        <!--  When opening an activity in a new task, this is the animation that is
1829              run on the activity of the old task (which is exiting the screen). -->
1830        <attr name="taskCloseExitAnimation" format="reference" />
1831        <!--  When bringing an existing task to the foreground, this is the
1832              animation that is run on the top activity of the task being brought
1833              to the foreground (which is entering the screen). -->
1834        <attr name="taskToFrontEnterAnimation" format="reference" />
1835        <!--  When bringing an existing task to the foreground, this is the
1836              animation that is run on the current foreground activity
1837              (which is exiting the screen). -->
1838        <attr name="taskToFrontExitAnimation" format="reference" />
1839        <!--  When sending the current task to the background, this is the
1840              animation that is run on the top activity of the task behind
1841              it (which is entering the screen). -->
1842        <attr name="taskToBackEnterAnimation" format="reference" />
1843        <!--  When sending the current task to the background, this is the
1844              animation that is run on the top activity of the current task
1845              (which is exiting the screen). -->
1846        <attr name="taskToBackExitAnimation" format="reference" />
1847
1848        <!--  When opening a new activity that shows the wallpaper, while
1849              currently not showing the wallpaper, this is the animation that
1850              is run on the new wallpaper activity (which is entering the screen). -->
1851        <attr name="wallpaperOpenEnterAnimation" format="reference" />
1852        <!--  When opening a new activity that shows the wallpaper, while
1853              currently not showing the wallpaper, this is the animation that
1854              is run on the current activity (which is exiting the screen). -->
1855        <attr name="wallpaperOpenExitAnimation" format="reference" />
1856        <!--  When opening a new activity that hides the wallpaper, while
1857              currently showing the wallpaper, this is the animation that
1858              is run on the new activity (which is entering the screen). -->
1859        <attr name="wallpaperCloseEnterAnimation" format="reference" />
1860        <!--  When opening a new activity that hides the wallpaper, while
1861              currently showing the wallpaper, this is the animation that
1862              is run on the old wallpaper activity (which is exiting the screen). -->
1863        <attr name="wallpaperCloseExitAnimation" format="reference" />
1864
1865        <!--  When opening a new activity that is on top of the wallpaper
1866              when the current activity is also on top of the wallpaper,
1867              this is the animation that is run on the new activity
1868              (which is entering the screen).  The wallpaper remains
1869              static behind the animation. -->
1870        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
1871        <!--  When opening a new activity that is on top of the wallpaper
1872              when the current activity is also on top of the wallpaper,
1873              this is the animation that is run on the current activity
1874              (which is exiting the screen).  The wallpaper remains
1875              static behind the animation. -->
1876        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
1877        <!--  When closing a foreround activity that is on top of the wallpaper
1878              when the previous activity is also on top of the wallpaper,
1879              this is the animation that is run on the previous activity
1880              (which is entering the screen).  The wallpaper remains
1881              static behind the animation. -->
1882        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
1883        <!--  When closing a foreround activity that is on top of the wallpaper
1884              when the previous activity is also on top of the wallpaper,
1885              this is the animation that is run on the current activity
1886              (which is exiting the screen).  The wallpaper remains
1887              static behind the animation. -->
1888        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
1889    </declare-styleable>
1890
1891    <!-- ============================= -->
1892    <!-- View package class attributes -->
1893    <!-- ============================= -->
1894    <eat-comment />
1895
1896    <!-- Attributes that can be used with {@link android.view.View} or
1897         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
1898         attributes that are processed by the view's parent. -->
1899    <declare-styleable name="View">
1900        <!-- Supply an identifier name for this view, to later retrieve it
1901             with {@link android.view.View#findViewById View.findViewById()} or
1902             {@link android.app.Activity#findViewById Activity.findViewById()}.
1903             This must be a
1904             resource reference; typically you set this using the
1905             <code>@+</code> syntax to create a new ID resources.
1906             For example: <code>android:id="@+id/my_id"</code> which
1907             allows you to later retrieve the view
1908             with <code>findViewById(R.id.my_id)</code>. -->
1909        <attr name="id" format="reference" />
1910
1911        <!-- Supply a tag for this view containing a String, to be retrieved
1912             later with {@link android.view.View#getTag View.getTag()} or
1913             searched for with {@link android.view.View#findViewWithTag
1914             View.findViewWithTag()}.  It is generally preferable to use
1915             IDs (through the android:id attribute) instead of tags because
1916             they are faster and allow for compile-time type checking. -->
1917        <attr name="tag" format="string" />
1918
1919        <!-- The initial horizontal scroll offset, in pixels.-->
1920        <attr name="scrollX" format="dimension" />
1921
1922        <!-- The initial vertical scroll offset, in pixels. -->
1923        <attr name="scrollY" format="dimension" />
1924
1925        <!-- A drawable to use as the background.  This can be either a reference
1926             to a full drawable resource (such as a PNG image, 9-patch,
1927             XML state list description, etc), or a solid color such as "#ff000000"
1928            (black). -->
1929        <attr name="background" format="reference|color" />
1930
1931        <!-- Sets the padding, in pixels, of all four edges.  Padding is defined as
1932             space between the edges of the view and the view's content. A views size
1933             will include it's padding.  If a {@link android.R.attr#background}
1934             is provided, the padding will initially be set to that (0 if the
1935             drawable does not have padding).  Explicitly setting a padding value
1936             will override the corresponding padding found in the background. -->
1937        <attr name="padding" format="dimension" />
1938        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
1939        <attr name="paddingLeft" format="dimension" />
1940        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
1941        <attr name="paddingTop" format="dimension" />
1942        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
1943        <attr name="paddingRight" format="dimension" />
1944        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
1945        <attr name="paddingBottom" format="dimension" />
1946        <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
1947        <attr name="paddingStart" format="dimension" />
1948        <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
1949        <attr name="paddingEnd" format="dimension" />
1950
1951        <!-- Boolean that controls whether a view can take focus.  By default the user can not
1952             move focus to a view; by setting this attribute to true the view is
1953             allowed to take focus.  This value does not impact the behavior of
1954             directly calling {@link android.view.View#requestFocus}, which will
1955             always request focus regardless of this view.  It only impacts where
1956             focus navigation will try to move focus. -->
1957        <attr name="focusable" format="boolean" />
1958
1959        <!-- Boolean that controls whether a view can take focus while in touch mode.
1960             If this is true for a view, that view can gain focus when clicked on, and can keep
1961             focus if another view is clicked on that doesn't have this attribute set to true. -->
1962        <attr name="focusableInTouchMode" format="boolean" />
1963
1964        <!-- Controls the initial visibility of the view.  -->
1965        <attr name="visibility">
1966            <!-- Visible on screen; the default value. -->
1967            <enum name="visible" value="0" />
1968            <!-- Not displayed, but taken into account during layout (space is left for it). -->
1969            <enum name="invisible" value="1" />
1970            <!-- Completely hidden, as if the view had not been added. -->
1971            <enum name="gone" value="2" />
1972        </attr>
1973
1974        <!-- Boolean internal attribute to adjust view layout based on
1975             system windows such as the status bar.
1976             If true, adjusts the padding of this view to leave space for the system windows.
1977             Will only take effect if this view is in a non-embedded activity. -->
1978        <attr name="fitsSystemWindows" format="boolean" />
1979
1980        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
1981        <attr name="scrollbars">
1982            <!-- No scrollbar is displayed. -->
1983            <flag name="none" value="0x00000000" />
1984            <!-- Displays horizontal scrollbar only. -->
1985            <flag name="horizontal" value="0x00000100" />
1986            <!-- Displays vertical scrollbar only. -->
1987            <flag name="vertical" value="0x00000200" />
1988        </attr>
1989
1990        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
1991             inset. When inset, they add to the padding of the view. And the
1992             scrollbars can be drawn inside the padding area or on the edge of
1993             the view. For example, if a view has a background drawable and you
1994             want to draw the scrollbars inside the padding specified by the
1995             drawable, you can use insideOverlay or insideInset. If you want them
1996             to appear at the edge of the view, ignoring the padding, then you can
1997             use outsideOverlay or outsideInset.-->
1998        <attr name="scrollbarStyle">
1999            <!-- Inside the padding and overlaid -->
2000            <enum name="insideOverlay" value="0x0" />
2001            <!-- Inside the padding and inset -->
2002            <enum name="insideInset" value="0x01000000" />
2003            <!-- Edge of the view and overlaid -->
2004            <enum name="outsideOverlay" value="0x02000000" />
2005            <!-- Edge of the view and inset -->
2006            <enum name="outsideInset" value="0x03000000" />
2007        </attr>
2008
2009        <!-- Set this if the view will serve as a scrolling container, meaing
2010             that it can be resized to shrink its overall window so that there
2011             will be space for an input method.  If not set, the default
2012             value will be true if "scrollbars" has the vertical scrollbar
2013             set, else it will be false. -->
2014        <attr name="isScrollContainer" format="boolean" />
2015
2016          <!-- Defines whether to fade out scrollbars when they are not in use. -->
2017         <attr name="fadeScrollbars" format="boolean" />
2018         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
2019         <attr name="scrollbarFadeDuration" format="integer" />
2020         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
2021        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
2022        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
2023        <attr name="scrollbarSize" format="dimension" />
2024        <!-- Defines the horizontal scrollbar thumb drawable. -->
2025        <attr name="scrollbarThumbHorizontal" format="reference" />
2026        <!-- Defines the vertical scrollbar thumb drawable. -->
2027        <attr name="scrollbarThumbVertical" format="reference" />
2028        <!-- Defines the horizontal scrollbar track drawable. -->
2029        <attr name="scrollbarTrackHorizontal" format="reference" />
2030        <!-- Defines the vertical scrollbar track drawable. -->
2031        <attr name="scrollbarTrackVertical" format="reference" />
2032        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
2033        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
2034        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
2035        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
2036
2037        <!-- This attribute is deprecated and will be ignored as of
2038             API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}).
2039             Using fading edges may introduce noticeable performance
2040             degradations and should be used only when required by the application's
2041             visual design. To request fading edges with API level 14 and above,
2042             use the <code>android:requiresFadingEdge</code> attribute instead. -->
2043        <attr name="fadingEdge">
2044            <!-- No edge is faded. -->
2045            <flag name="none" value="0x00000000" />
2046            <!-- Fades horizontal edges only. -->
2047            <flag name="horizontal" value="0x00001000" />
2048            <!-- Fades vertical edges only. -->
2049            <flag name="vertical" value="0x00002000" />
2050        </attr>
2051        <!-- Defines which edges should be faded on scrolling. -->
2052        <attr name="requiresFadingEdge">
2053            <!-- No edge is faded. -->
2054            <flag name="none" value="0x00000000" />
2055            <!-- Fades horizontal edges only. -->
2056            <flag name="horizontal" value="0x00001000" />
2057            <!-- Fades vertical edges only. -->
2058            <flag name="vertical" value="0x00002000" />
2059        </attr>
2060        <!-- Defines the length of the fading edges. -->
2061        <attr name="fadingEdgeLength" format="dimension" />
2062
2063        <!-- Defines the next view to give focus to when the next focus is
2064             {@link android.view.View#FOCUS_LEFT}.
2065
2066             If the reference refers to a view that does not exist or is part
2067             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2068             will result when the reference is accessed.-->
2069        <attr name="nextFocusLeft" format="reference"/>
2070
2071        <!-- Defines the next view to give focus to when the next focus is
2072             {@link android.view.View#FOCUS_RIGHT}
2073
2074             If the reference refers to a view that does not exist or is part
2075             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2076             will result when the reference is accessed.-->
2077        <attr name="nextFocusRight" format="reference"/>
2078
2079        <!-- Defines the next view to give focus to when the next focus is
2080             {@link android.view.View#FOCUS_UP}
2081
2082             If the reference refers to a view that does not exist or is part
2083             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2084             will result when the reference is accessed.-->
2085        <attr name="nextFocusUp" format="reference"/>
2086
2087        <!-- Defines the next view to give focus to when the next focus is
2088             {@link android.view.View#FOCUS_DOWN}
2089
2090             If the reference refers to a view that does not exist or is part
2091             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2092             will result when the reference is accessed.-->
2093        <attr name="nextFocusDown" format="reference"/>
2094
2095        <!-- Defines the next view to give focus to when the next focus is
2096             {@link android.view.View#FOCUS_FORWARD}
2097
2098             If the reference refers to a view that does not exist or is part
2099             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
2100             will result when the reference is accessed.-->
2101        <attr name="nextFocusForward" format="reference"/>
2102
2103        <!-- Defines whether this view reacts to click events. -->
2104        <attr name="clickable" format="boolean" />
2105
2106        <!-- Defines whether this view reacts to long click events. -->
2107        <attr name="longClickable" format="boolean" />
2108
2109        <!-- If unset, no state will be saved for this view when it is being
2110             frozen. The default is true, allowing the view to be saved
2111             (however it also must have an ID assigned to it for its
2112             state to be saved).  Setting this to false only disables the
2113             state for this view, not for its children which may still
2114             be saved. -->
2115        <attr name="saveEnabled" format="boolean" />
2116
2117        <!-- Specifies whether to filter touches when the view's window is obscured by
2118             another visible window.  When set to true, the view will not receive touches
2119             whenever a toast, dialog or other window appears above the view's window.
2120             Refer to the {@link android.view.View} security documentation for more details. -->
2121        <attr name="filterTouchesWhenObscured" format="boolean" />
2122
2123        <!-- Defines the quality of translucent drawing caches. This property is used
2124             only when the drawing cache is enabled and translucent. The default value is auto. -->
2125        <attr name="drawingCacheQuality">
2126            <!-- Lets the framework decide what quality level should be used
2127                 for the drawing cache. -->
2128            <enum name="auto" value="0" />
2129            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
2130                 depth, thus losing precision in rendering gradients, but uses less memory. -->
2131            <enum name="low" value="1" />
2132            <!-- High quality. When set to high quality, the drawing cache uses a higher
2133                 color depth but uses more memory. -->
2134            <enum name="high" value="2" />
2135        </attr>
2136
2137        <!-- Controls whether the view's window should keep the screen on
2138             while visible. -->
2139        <attr name="keepScreenOn" format="boolean" />
2140
2141        <!-- When this attribute is set to true, the view gets its drawable state
2142             (focused, pressed, etc.) from its direct parent rather than from itself. -->
2143        <attr name="duplicateParentState" format="boolean" />
2144
2145        <!-- Defines the minimum height of the view. It is not guaranteed
2146             the view will be able to achieve this minimum height (for example,
2147             if its parent layout constrains it with less available height). -->
2148        <attr name="minHeight" />
2149
2150        <!-- Defines the minimum width of the view. It is not guaranteed
2151             the view will be able to achieve this minimum width (for example,
2152             if its parent layout constrains it with less available width). -->
2153        <attr name="minWidth" />
2154
2155        <!-- Boolean that controls whether a view should have sound effects
2156             enabled for events such as clicking and touching. -->
2157        <attr name="soundEffectsEnabled" format="boolean" />
2158
2159        <!-- Boolean that controls whether a view should have haptic feedback
2160             enabled for events such as long presses. -->
2161        <attr name="hapticFeedbackEnabled" format="boolean" />
2162
2163        <!-- Defines text that briefly describes content of the view. This property is used
2164             primarily for accessibility. Since some views do not have textual
2165             representation this attribute can be used for providing such. -->
2166        <attr name="contentDescription" format="string" localization="suggested" />
2167
2168        <!-- Name of the method in this View's context to invoke when the view is
2169             clicked. This name must correspond to a public method that takes
2170             exactly one parameter of type View. For instance, if you specify
2171             <code>android:onClick="sayHello"</code>, you must declare a
2172             <code>public void sayHello(View v)</code> method of your context
2173             (typically, your Activity). -->
2174        <attr name="onClick" format="string" />
2175
2176        <!-- Defines over-scrolling behavior. This property is used only if the
2177             View is scrollable. Over-scrolling is the ability for the user to
2178             receive feedback when attempting to scroll beyond meaningful content. -->
2179        <attr name="overScrollMode">
2180            <!-- Always show over-scroll effects, even if the content fits entirely
2181                 within the available space. -->
2182            <enum name="always" value="0" />
2183            <!-- Only show over-scroll effects if the content is large
2184                 enough to meaningfully scroll. -->
2185            <enum name="ifContentScrolls" value="1" />
2186            <!-- Never show over-scroll effects. -->
2187            <enum name="never" value="2" />
2188        </attr>
2189
2190        <!-- alpha property of the view, as a value between 0 (completely transparent) and 1
2191             (completely opaque). -->
2192        <attr name="alpha" format="float" />
2193
2194        <!-- base z depth of the view -->
2195        <attr name="elevation" format="dimension" />
2196
2197        <!-- translation in x of the view. This value is added post-layout to the left
2198             property of the view, which is set by its layout. -->
2199        <attr name="translationX" format="dimension" />
2200
2201        <!-- translation in y of the view. This value is added post-layout to the top
2202             property of the view, which is set by its layout. -->
2203        <attr name="translationY" format="dimension" />
2204
2205        <!-- translation in z of the view. This value is added to its elevation. -->
2206        <attr name="translationZ" format="dimension" />
2207
2208        <!-- x location of the pivot point around which the view will rotate and scale.
2209             This xml attribute sets the pivotX property of the View. -->
2210        <attr name="transformPivotX" format="dimension" />
2211
2212        <!-- y location of the pivot point around which the view will rotate and scale.
2213             This xml attribute sets the pivotY property of the View. -->
2214        <attr name="transformPivotY" format="dimension" />
2215
2216        <!-- rotation of the view, in degrees. -->
2217        <attr name="rotation" format="float" />
2218
2219        <!-- rotation of the view around the x axis, in degrees. -->
2220        <attr name="rotationX" format="float" />
2221
2222        <!-- rotation of the view around the y axis, in degrees. -->
2223        <attr name="rotationY" format="float" />
2224
2225        <!-- scale of the view in the x direction. -->
2226        <attr name="scaleX" format="float" />
2227
2228        <!-- scale of the view in the y direction. -->
2229        <attr name="scaleY" format="float" />
2230
2231        <!-- Determines which side the vertical scroll bar should be placed on. -->
2232        <attr name="verticalScrollbarPosition">
2233            <!-- Place the scroll bar wherever the system default determines. -->
2234            <enum name="defaultPosition" value="0" />
2235            <!-- Place the scroll bar on the left. -->
2236            <enum name="left" value="1" />
2237            <!-- Place the scroll bar on the right. -->
2238            <enum name="right" value="2" />
2239        </attr>
2240
2241        <!-- Specifies the type of layer backing this view. The default value is none.
2242             Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)}
2243             for more information.-->
2244        <attr name="layerType">
2245            <!-- Don't use a layer. -->
2246            <enum name="none" value="0" />
2247            <!-- Use a software layer. Refer to
2248                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2249                 more information. -->
2250            <enum name="software" value="1" />
2251            <!-- Use a hardware layer. Refer to
2252                 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for
2253                 more information. -->
2254            <enum name="hardware" value="2" />
2255        </attr>
2256
2257        <!-- Defines the direction of layout drawing. This typically is associated with writing
2258             direction of the language script used. The possible values are "ltr" for Left-to-Right,
2259             "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing
2260             to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction
2261             used in "en-US". The default for this attribute is "inherit". -->
2262        <attr name="layoutDirection">
2263            <!-- Left-to-Right -->
2264            <enum name="ltr" value="0" />
2265            <!-- Right-to-Left -->
2266            <enum name="rtl" value="1" />
2267            <!-- Inherit from parent -->
2268            <enum name="inherit" value="2" />
2269            <!-- Locale -->
2270            <enum name="locale" value="3" />
2271        </attr>
2272
2273        <!-- Defines the direction of the text. A heuristic is used to determine the resolved text
2274              direction of paragraphs. -->
2275         <attr name="textDirection" format="integer">
2276            <!-- Default -->
2277            <enum name="inherit" value="0" />
2278            <!-- Default for the root view. The first strong directional character determines the
2279                 paragraph direction.  If there is no strong directional character, the paragraph
2280                 direction is the view’s resolved layout direction. -->
2281            <enum name="firstStrong" value="1" />
2282            <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise
2283                 it is LTR if it contains any strong LTR characters.  If there are neither, the
2284                 paragraph direction is the view’s resolved layout direction. -->
2285            <enum name="anyRtl" value="2" />
2286            <!-- The paragraph direction is left to right. -->
2287            <enum name="ltr" value="3" />
2288            <!-- The paragraph direction is right to left. -->
2289            <enum name="rtl" value="4" />
2290            <!-- The paragraph direction is coming from the system Locale. -->
2291            <enum name="locale" value="5" />
2292        </attr>
2293
2294        <!-- Defines the alignment of the text. A heuristic is used to determine the resolved
2295            text alignment. -->
2296        <attr name="textAlignment" format="integer">
2297            <!-- Default -->
2298            <enum name="inherit" value="0" />
2299            <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL,
2300                ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s
2301                text direction -->
2302            <enum name="gravity" value="1" />
2303            <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. -->
2304            <enum name="textStart" value="2" />
2305            <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. -->
2306            <enum name="textEnd" value="3" />
2307            <!-- Center the paragraph, e.g. ALIGN_CENTER. -->
2308            <enum name="center" value="4" />
2309            <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved
2310                layoutDirection is LTR, and ALIGN_RIGHT otherwise. -->
2311            <enum name="viewStart" value="5" />
2312            <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved
2313                layoutDirection is LTR, and ALIGN_LEFT otherwise -->
2314            <enum name="viewEnd" value="6" />
2315        </attr>
2316
2317        <!-- Controls how this View is important for accessibility which is if it fires
2318             accessibility events and if it is reported to accessibility services that
2319             query the screen. Note: While not recommended, an accessibility service may
2320             decide to ignore this attribute and operate on all views in the view tree. -->
2321        <attr name="importantForAccessibility" format="integer">
2322            <!-- The system determines whether the view is important for accessibility - default
2323                 (recommended). -->
2324            <enum name="auto" value="0" />
2325            <!-- The view is important for accessibility. -->
2326            <enum name="yes" value="1" />
2327            <!-- The view is not important for accessibility. -->
2328            <enum name="no" value="2" />
2329            <!-- The view is not important for accessibility, nor are any of its descendant
2330                 views. -->
2331            <enum name="noHideDescendants" value="4" />
2332        </attr>
2333
2334        <!-- Indicates to accessibility services whether the user should be notified when
2335             this view changes. -->
2336        <attr name="accessibilityLiveRegion" format="integer">
2337            <!-- Accessibility services should not announce changes to this view. -->
2338            <enum name="none" value="0" />
2339            <!-- Accessibility services should announce changes to this view. -->
2340            <enum name="polite" value="1" />
2341            <!-- Accessibility services should interrupt ongoing speech to immediately
2342                 announce changes to this view. -->
2343            <enum name="assertive" value="2" />
2344        </attr>
2345
2346        <!-- Specifies the id of a view for which this view serves as a label for
2347             accessibility purposes. For example, a TextView before an EditText in
2348             the UI usually specifies what infomation is contained in the EditText.
2349             Hence, the TextView is a label for the EditText. -->
2350        <attr name="labelFor" format="integer" />
2351
2352        <!-- Specifies a theme override for a view. When a theme override is set, the
2353             view will be inflated using a {@link android.content.Context} themed with
2354             the specified resource. During XML inflation, any child views under the
2355             view with a theme override will inherit the themed context. -->
2356        <attr name="theme" />
2357
2358        <!-- Names a View such that it can be identified for Transitions. Names should be
2359             unique in the View hierarchy. -->
2360        <attr name="viewName" format="string" />
2361
2362        <!-- Specifies that this view should permit nested scrolling within a compatible
2363             ancestor view. -->
2364        <attr name="nestedScrollingEnabled" format="boolean" />
2365
2366        <!-- Sets the state-based animator for the View. -->
2367        <attr name="stateListAnimator" format="reference"/>
2368    </declare-styleable>
2369
2370    <!-- Attributes that can be assigned to a tag for a particular View. -->
2371    <declare-styleable name="ViewTag">
2372        <!-- Specifies the key identifying a tag. This must be a resource reference. -->
2373        <attr name="id" />
2374        <!-- Specifies the value with which to tag the view. -->
2375        <attr name="value" />
2376    </declare-styleable>
2377
2378    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
2379         of its subclasses.  Also see {@link #ViewGroup_Layout} for
2380         attributes that this class processes in its children. -->
2381    <declare-styleable name="ViewGroup">
2382        <!-- Defines whether changes in layout (caused by adding and removing items) should
2383             cause a LayoutTransition to run. When this flag is set to true, a default
2384             LayoutTransition object will be set on the ViewGroup container and default
2385             animations will run when these layout changes occur.-->
2386        <attr name="animateLayoutChanges" format="boolean" />
2387        <!-- Defines whether a child is limited to draw inside of its bounds or not.
2388             This is useful with animations that scale the size of the children to more
2389             than 100% for instance. In such a case, this property should be set to false
2390             to allow the children to draw outside of their bounds. The default value of
2391             this property is true. -->
2392        <attr name="clipChildren" format="boolean" />
2393        <!-- Defines whether the ViewGroup will clip its drawing surface so as to exclude
2394             the padding area. This property is set to true by default. -->
2395        <attr name="clipToPadding" format="boolean" />
2396        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
2397             Layout animations can also be started manually after the first layout. -->
2398        <attr name="layoutAnimation" format="reference" />
2399        <!-- Defines whether layout animations should create a drawing cache for their
2400             children. Enabling the animation cache consumes more memory and requires
2401             a longer initialization but provides better performance. The animation
2402             cache is enabled by default. -->
2403        <attr name="animationCache" format="boolean" />
2404        <!-- Defines the persistence of the drawing cache. The drawing cache might be
2405             enabled by a ViewGroup for all its children in specific situations (for
2406             instance during a scrolling.) This property lets you persist the cache
2407             in memory after its initial usage. Persisting the cache consumes more
2408             memory but may prevent frequent garbage collection is the cache is created
2409             over and over again. By default the persistence is set to scrolling. -->
2410        <attr name="persistentDrawingCache">
2411            <!-- The drawing cache is not persisted after use. -->
2412            <flag name="none" value="0x0" />
2413            <!-- The drawing cache is persisted after a layout animation. -->
2414            <flag name="animation" value="0x1" />
2415            <!-- The drawing cache is persisted after a scroll. -->
2416            <flag name="scrolling" value="0x2" />
2417            <!-- The drawing cache is always persisted. -->
2418            <flag name="all" value="0x3" />
2419        </attr>
2420        <!-- Defines whether the ViewGroup should always draw its children using their
2421             drawing cache or not. The default value is true. -->
2422        <attr name="alwaysDrawnWithCache" format="boolean" />
2423        <!-- Sets whether this ViewGroup's drawable states also include
2424             its children's drawable states.  This is used, for example, to
2425             make a group appear to be focused when its child EditText or button
2426             is focused. -->
2427        <attr name="addStatesFromChildren" format="boolean" />
2428
2429        <!-- Defines the relationship between the ViewGroup and its descendants
2430             when looking for a View to take focus. -->
2431        <attr name="descendantFocusability">
2432            <!-- The ViewGroup will get focus before any of its descendants. -->
2433            <enum name="beforeDescendants" value="0" />
2434            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
2435            <enum name="afterDescendants" value="1" />
2436            <!-- The ViewGroup will block its descendants from receiving focus. -->
2437            <enum name="blocksDescendants" value="2" />
2438        </attr>
2439
2440        <!-- Sets whether this ViewGroup should split MotionEvents
2441             to separate child views during touch event dispatch.
2442             If false (default), touch events will be dispatched to
2443             the child view where the first pointer went down until
2444             the last pointer goes up.
2445             If true, touch events may be dispatched to multiple children.
2446             MotionEvents for each pointer will be dispatched to the child
2447             view where the initial ACTION_DOWN event happened.
2448             See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)}
2449             for more information. -->
2450        <attr name="splitMotionEvents" format="boolean" />
2451
2452        <!-- Defines the layout mode of this ViewGroup. -->
2453        <attr name="layoutMode">
2454            <!-- Use the children's clip bounds when laying out this container. -->
2455            <enum name="clipBounds" value="0" />
2456            <!-- Use the children's optical bounds when laying out this container. -->
2457            <enum name="opticalBounds" value="1" />
2458        </attr>
2459
2460        <!-- Sets whether or not this ViewGroup should be treated as a single entity
2461             when doing an Activity transition. Typically, the elements inside a
2462             ViewGroup are each transitioned from the scene individually. The default
2463             for a ViewGroup is false unless it has a background. See
2464             {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.view.Window,
2465             android.view.View, String)} for more information. Corresponds to
2466             {@link android.view.ViewGroup#setTransitionGroup(boolean)}.-->
2467        <attr name="transitionGroup" format="boolean" />
2468    </declare-styleable>
2469
2470    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
2471         inside your application at runtime. -->
2472    <declare-styleable name="ViewStub">
2473        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
2474             becomes visible or when forced to do so. The layout resource must be a
2475             valid reference to a layout. -->
2476        <attr name="layout" format="reference" />
2477        <!-- Overrides the id of the inflated View with this value. -->
2478        <attr name="inflatedId" format="reference" />
2479    </declare-styleable>
2480
2481    <!-- ===================================== -->
2482    <!-- View package parent layout attributes -->
2483    <!-- ===================================== -->
2484    <eat-comment />
2485
2486    <!-- This is the basic set of layout attributes that are common to all
2487         layout managers.  These attributes are specified with the rest of
2488         a view's normal attributes (such as {@link android.R.attr#background},
2489         but will be parsed by the view's parent and ignored by the child.
2490        <p>The values defined here correspond to the base layout attribute
2491        class {@link android.view.ViewGroup.LayoutParams}. -->
2492    <declare-styleable name="ViewGroup_Layout">
2493        <!-- Specifies the basic width of the view.  This is a required attribute
2494             for any view inside of a containing layout manager.  Its value may
2495             be a dimension (such as "12dip") for a constant width or one of
2496             the special constants. -->
2497        <attr name="layout_width" format="dimension">
2498            <!-- The view should be as big as its parent (minus padding).
2499                 This constant is deprecated starting from API Level 8 and
2500                 is replaced by {@code match_parent}. -->
2501            <enum name="fill_parent" value="-1" />
2502            <!-- The view should be as big as its parent (minus padding).
2503                 Introduced in API Level 8. -->
2504            <enum name="match_parent" value="-1" />
2505            <!-- The view should be only big enough to enclose its content (plus padding). -->
2506            <enum name="wrap_content" value="-2" />
2507        </attr>
2508
2509        <!-- Specifies the basic height of the view.  This is a required attribute
2510             for any view inside of a containing layout manager.  Its value may
2511             be a dimension (such as "12dip") for a constant height or one of
2512             the special constants. -->
2513        <attr name="layout_height" format="dimension">
2514            <!-- The view should be as big as its parent (minus padding).
2515                 This constant is deprecated starting from API Level 8 and
2516                 is replaced by {@code match_parent}. -->
2517            <enum name="fill_parent" value="-1" />
2518            <!-- The view should be as big as its parent (minus padding).
2519                 Introduced in API Level 8. -->
2520            <enum name="match_parent" value="-1" />
2521            <!-- The view should be only big enough to enclose its content (plus padding). -->
2522            <enum name="wrap_content" value="-2" />
2523        </attr>
2524    </declare-styleable>
2525
2526    <!-- This is the basic set of layout attributes for layout managers that
2527         wish to place margins around their child views.
2528         These attributes are specified with the rest of
2529         a view's normal attributes (such as {@link android.R.attr#background},
2530         but will be parsed by the view's parent and ignored by the child.
2531        <p>The values defined here correspond to the base layout attribute
2532        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
2533    <declare-styleable name="ViewGroup_MarginLayout">
2534        <attr name="layout_width" />
2535        <attr name="layout_height" />
2536        <!--  Specifies extra space on the left, top, right and bottom
2537              sides of this view. This space is outside this view's bounds. -->
2538        <attr name="layout_margin" format="dimension"  />
2539        <!--  Specifies extra space on the left side of this view.
2540              This space is outside this view's bounds. -->
2541        <attr name="layout_marginLeft" format="dimension"  />
2542        <!--  Specifies extra space on the top side of this view.
2543              This space is outside this view's bounds. -->
2544        <attr name="layout_marginTop" format="dimension" />
2545        <!--  Specifies extra space on the right side of this view.
2546              This space is outside this view's bounds. -->
2547        <attr name="layout_marginRight" format="dimension"  />
2548        <!--  Specifies extra space on the bottom side of this view.
2549              This space is outside this view's bounds. -->
2550        <attr name="layout_marginBottom" format="dimension"  />
2551        <!--  Specifies extra space on the start side of this view.
2552              This space is outside this view's bounds. -->
2553        <attr name="layout_marginStart" format="dimension"  />
2554        <!--  Specifies extra space on the end side of this view.
2555              This space is outside this view's bounds. -->
2556        <attr name="layout_marginEnd" format="dimension"  />
2557    </declare-styleable>
2558
2559    <!-- Use <code>input-method</code> as the root tag of the XML resource that
2560         describes an
2561         {@link android.view.inputmethod.InputMethod} service, which is
2562         referenced from its
2563         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
2564         meta-data entry.  Described here are the attributes that can be
2565         included in that tag. -->
2566    <declare-styleable name="InputMethod">
2567        <!-- Component name of an activity that allows the user to modify
2568             the settings for this service. -->
2569        <attr name="settingsActivity" format="string" />
2570        <!-- Set to true in all of the configurations for which this input
2571             method should be considered an option as the default. -->
2572        <attr name="isDefault" format="boolean" />
2573        <!-- Set to true if this input method supports ways to switch to
2574             a next input method (e.g. a globe key.). When this is true and
2575             InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true,
2576             the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod()
2577             accordingly.
2578             <p> Note that the system determines the most appropriate next input method
2579             and subtype in order to provide the consistent user experience in switching
2580             between IMEs and subtypes. -->
2581        <attr name="supportsSwitchingToNextInputMethod" format="boolean" />
2582    </declare-styleable>
2583
2584    <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...)
2585         and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows
2586         the system to call the specified subtype of the IME directly. -->
2587    <declare-styleable name="InputMethod_Subtype">
2588        <!-- The name of the subtype. -->
2589        <attr name="label" />
2590        <!-- The icon of the subtype. -->
2591        <attr name="icon" />
2592        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
2593             and will be passed to the IME when the framework calls the IME
2594             with the subtype. This is also used by the framework to know the supported locales
2595             of the IME.  -->
2596        <attr name="imeSubtypeLocale" format="string" />
2597        <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this
2598             string will be passed to the IME when the framework calls the IME with the
2599             subtype.  -->
2600        <attr name="imeSubtypeMode" format="string" />
2601        <!-- Set true if the subtype is auxiliary.  An auxiliary subtype won't be shown in the
2602             input method selection list in the settings app.
2603             InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it
2604             chooses a target subtype. -->
2605        <attr name="isAuxiliary" format="boolean" />
2606        <!-- Set true when this subtype should be selected by default if no other subtypes are
2607             selected explicitly. Note that a subtype with this parameter being true will
2608             not be shown in the subtypes list. -->
2609        <attr name="overridesImplicitlyEnabledSubtype" format="boolean" />
2610        <!-- The extra value of the subtype. This string can be any string and will be passed to
2611             the IME when the framework calls the IME with the subtype.  -->
2612        <attr name="imeSubtypeExtraValue" format="string" />
2613        <!-- The unique id for the subtype. The input method framework keeps track of enabled
2614             subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even
2615             if other attributes are different. If the ID is unspecified (by calling the other
2616             constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue,
2617             isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. -->
2618        <attr name="subtypeId" format="integer"/>
2619        <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII
2620             capable, it should guarantee that the user can input ASCII characters with
2621             this subtype. This is important because many password fields only allow
2622             ASCII-characters. -->
2623        <attr name="isAsciiCapable" format="boolean" />
2624    </declare-styleable>
2625
2626    <!-- Use <code>spell-checker</code> as the root tag of the XML resource that
2627         describes an
2628         {@link android.service.textservice.SpellCheckerService} service, which is
2629         referenced from its
2630         {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA}
2631         meta-data entry.  Described here are the attributes that can be
2632         included in that tag. -->
2633    <declare-styleable name="SpellChecker">
2634        <!-- The name of the spell checker. -->
2635        <attr name="label" />
2636        <!-- Component name of an activity that allows the user to modify
2637             the settings for this service. -->
2638        <attr name="settingsActivity"/>
2639    </declare-styleable>
2640
2641    <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) -->
2642    <declare-styleable name="SpellChecker_Subtype">
2643        <!-- The name of the subtype. -->
2644        <attr name="label" />
2645        <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...)
2646             This is also used by the framework to know the supported locales
2647             of the spell checker.  -->
2648        <attr name="subtypeLocale" format="string" />
2649        <!-- The extra value of the subtype. This string can be any string and will be passed to
2650             the SpellChecker.  -->
2651        <attr name="subtypeExtraValue" format="string" />
2652    </declare-styleable>
2653
2654    <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that
2655         describes an {@link android.accessibilityservice.AccessibilityService} service,
2656         which is referenced from its
2657         {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA}
2658         meta-data entry. -->
2659    <declare-styleable name="AccessibilityService">
2660        <!-- The event types this serivce would like to receive as specified in
2661             {@link android.view.accessibility.AccessibilityEvent}. This setting
2662             can be changed at runtime by calling
2663             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2664             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2665        <attr name="accessibilityEventTypes">
2666            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.-->
2667            <flag name="typeViewClicked" value="0x00000001" />
2668            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. -->
2669            <flag name="typeViewLongClicked" value="0x00000002" />
2670            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. -->
2671            <flag name="typeViewSelected" value="0x00000004" />
2672            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. -->
2673            <flag name="typeViewFocused" value="0x00000008" />
2674            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. -->
2675            <flag name="typeViewTextChanged" value="0x00000010" />
2676            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. -->
2677            <flag name="typeWindowStateChanged" value="0x00000020" />
2678            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. -->
2679            <flag name="typeNotificationStateChanged" value="0x00000040" />
2680            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. -->
2681            <flag name="typeViewHoverEnter" value="0x00000080" />
2682            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. -->
2683            <flag name="typeViewHoverExit" value="0x00000100" />
2684            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. -->
2685            <flag name="typeTouchExplorationGestureStart" value="0x00000200" />
2686            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. -->
2687            <flag name="typeTouchExplorationGestureEnd" value="0x00000400" />
2688            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. -->
2689            <flag name="typeWindowContentChanged" value="0x00000800" />
2690            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. -->
2691            <flag name="typeViewScrolled" value="0x000001000" />
2692            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. -->
2693            <flag name="typeViewTextSelectionChanged" value="0x000002000" />
2694            <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. -->
2695            <flag name="typeAllMask" value="0xffffffff" />
2696        </attr>
2697        <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages).
2698             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2699             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2700        <attr name="packageNames" format="string" />
2701        <!-- The feedback types this serivce provides as specified in
2702             {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting
2703             can be changed at runtime by calling
2704             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2705             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2706        <attr name="accessibilityFeedbackType">
2707            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. -->
2708            <flag name="feedbackSpoken" value="0x00000001" />
2709            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. -->
2710            <flag name="feedbackHaptic" value="0x00000002" />
2711            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. -->
2712            <flag name="feedbackAudible" value="0x00000004" />
2713            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. -->
2714            <flag name="feedbackVisual" value="0x00000008" />
2715            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. -->
2716            <flag name="feedbackGeneric" value="0x00000010" />
2717            <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. -->
2718            <flag name="feedbackAllMask" value="0xffffffff" />
2719        </attr>
2720        <!-- The minimal period in milliseconds between two accessibility events of the same type
2721             are sent to this serivce. This setting can be changed at runtime by calling
2722             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2723             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2724        <attr name="notificationTimeout" format="integer" />
2725        <!-- Additional flags as specified in
2726             {@link android.accessibilityservice.AccessibilityServiceInfo}.
2727             This setting can be changed at runtime by calling
2728             {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)
2729             android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. -->
2730        <attr name="accessibilityFlags">
2731            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} -->
2732            <flag name="flagDefault" value="0x00000001" />
2733            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} -->
2734            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
2735            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} -->
2736            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
2737            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} -->
2738            <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" />
2739            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} -->
2740            <flag name="flagReportViewIds" value="0x00000010" />
2741            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} -->
2742            <flag name="flagRequestFilterKeyEvents" value="0x00000020" />
2743            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} -->
2744            <flag name="flagRetrieveInteractiveWindows" value="0x00000040" />
2745        </attr>
2746        <!-- Component name of an activity that allows the user to modify
2747             the settings for this service. This setting cannot be changed at runtime. -->
2748        <attr name="settingsActivity" />
2749        <!-- Attribute whether the accessibility service wants to be able to retrieve the
2750             active window content. This setting cannot be changed at runtime. -->
2751        <attr name="canRetrieveWindowContent" format="boolean" />
2752        <!-- Attribute whether the accessibility service wants to be able to request touch
2753             exploration mode in which touched items are spoken aloud and the UI can be
2754             explored via gestures.
2755             <p>
2756             Required to allow setting the {@link android.accessibilityservice
2757             #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag.
2758             </p>
2759         -->
2760        <attr name="canRequestTouchExplorationMode" format="boolean" />
2761        <!-- Attribute whether the accessibility service wants to be able to request enhanced
2762             web accessibility enhancements. For example, installing scripts to make app
2763             content more accessible.
2764             <p>
2765             Required to allow setting the {@link android.accessibilityservice
2766             #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag.
2767             </p>
2768         -->
2769        <attr name="canRequestEnhancedWebAccessibility" format="boolean" />
2770        <!-- Attribute whether the accessibility service wants to be able to request to
2771             filter key events.
2772             <p>
2773             Required to allow setting the {@link android.accessibilityservice
2774             #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag.
2775             </p>
2776         -->
2777        <attr name="canRequestFilterKeyEvents" format="boolean" />
2778        <!-- Short description of the accessibility serivce purpose or behavior.-->
2779        <attr name="description" />
2780    </declare-styleable>
2781
2782    <!-- Use <code>print-service</code> as the root tag of the XML resource that
2783         describes an {@link android.printservice.PrintService} service, which is
2784         referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA}
2785         meta-data entry. -->
2786    <declare-styleable name="PrintService">
2787        <!-- Fully qualified class name of an activity that allows the user to modify
2788             the settings for this service. -->
2789        <attr name="settingsActivity" />
2790        <!-- Fully qualified class name of an activity that allows the user to manually
2791             add printers to this print service. -->
2792        <attr name="addPrintersActivity" format="string"/>
2793        <!-- Fully qualified class name of an activity with advanced print options
2794             specific to this print service. -->
2795        <attr name="advancedPrintOptionsActivity" format="string"/>
2796        <!-- The vendor name if this print service is vendor specific. -->
2797        <attr name="vendor" format="string"/>
2798    </declare-styleable>
2799
2800    <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that
2801         describes an {@link android.nfc.cardemulation.HostApduService} service, which
2802         is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA}
2803         entry. -->
2804    <declare-styleable name="HostApduService">
2805        <!-- Short description of the functionality the service implements. This attribute
2806             is mandatory.-->
2807        <attr name="description" />
2808        <!-- Whether the device must be unlocked before routing data to this service.
2809             The default is false.-->
2810        <attr name="requireDeviceUnlock" format="boolean"/>
2811        <!-- A drawable that can be rendered in Android's system UI for representing
2812             the service. -->
2813        <attr name="apduServiceBanner" format="reference"/>
2814    </declare-styleable>
2815
2816    <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that
2817         describes an {@link android.nfc.cardemulation.OffHostApduService}
2818         service, which is referenced from its
2819         {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. -->
2820    <declare-styleable name="OffHostApduService">
2821        <!-- Short description of the functionality the service implements. This attribute
2822             is mandatory.-->
2823        <attr name="description" />
2824        <!-- A drawable that can be rendered in Android's system UI for representing
2825             the service. -->
2826        <attr name="apduServiceBanner"/>
2827    </declare-styleable>
2828
2829    <!-- Specify one or more <code>aid-group</code> elements inside a
2830         <code>host-apdu-service</code> or <code>offhost-apdu-service</code>
2831         element to define a group of ISO7816 Application ID (AIDs) that
2832         your service can handle.-->
2833    <declare-styleable name="AidGroup">
2834        <!-- Short description of what the AID group implements. This attribute is mandatory.-->
2835        <attr name="description" />
2836        <!-- The category attribute will be used by the Android platform to present
2837             multiple applications that register ISO 7816 Application IDs (AIDs) in the
2838             same category uniformly.
2839             Additionally, when a category is specified, Android will ensure that either
2840             all AIDs in this group are routed to this application, or none at all.
2841             This attribute is optional.-->
2842        <attr name="category" format="string" />
2843    </declare-styleable>
2844
2845    <!-- Specify one or more <code>aid-filter</code> elements inside a
2846         <code>aid-group</code> element to specify an ISO7816 Application ID (AID)
2847         your service can handle. -->
2848    <declare-styleable name="AidFilter">
2849        <!-- The ISO7816 Application ID. This attribute is mandatory. -->
2850        <attr name="name" />
2851    </declare-styleable>
2852
2853    <declare-styleable name="ActionMenuItemView">
2854        <attr name="minWidth" />
2855    </declare-styleable>
2856
2857    <!-- =============================== -->
2858    <!-- Widget package class attributes -->
2859    <!-- =============================== -->
2860    <eat-comment />
2861
2862    <declare-styleable name="AbsListView">
2863         <!-- Drawable used to indicate the currently selected item in the list. -->
2864        <attr name="listSelector" format="color|reference" />
2865        <!-- When set to true, the selector will be drawn over the selected item.
2866             Otherwise the selector is drawn behind the selected item. The default
2867             value is false. -->
2868        <attr name="drawSelectorOnTop" format="boolean" />
2869        <!-- Used by ListView and GridView to stack their content from the bottom. -->
2870        <attr name="stackFromBottom" format="boolean" />
2871        <!-- When set to true, the list uses a drawing cache during scrolling.
2872             This makes the rendering faster but uses more memory. The default
2873             value is true. -->
2874        <attr name="scrollingCache" format="boolean" />
2875        <!-- When set to true, the list will filter results as the user types. The
2876             List's adapter must support the Filterable interface for this to work. -->
2877        <attr name="textFilterEnabled" format="boolean" />
2878        <!-- Sets the transcript mode for the list. In transcript mode, the list
2879             scrolls to the bottom to make new items visible when they are added. -->
2880        <attr name="transcriptMode">
2881            <!-- Disables transcript mode. This is the default value. -->
2882            <enum name="disabled" value="0"/>
2883            <!-- The list will automatically scroll to the bottom when
2884                 a data set change notification is received and only if the last item is
2885                 already visible on screen. -->
2886            <enum name="normal" value="1" />
2887            <!-- The list will automatically scroll to the bottom, no matter what items
2888                 are currently visible. -->
2889            <enum name="alwaysScroll" value="2" />
2890        </attr>
2891        <!-- Indicates that this list will always be drawn on top of solid, single-color
2892             opaque background. This allows the list to optimize drawing. -->
2893        <attr name="cacheColorHint" format="color" />
2894        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
2895             the list. -->
2896        <attr name="fastScrollEnabled" format="boolean" />
2897        <!-- Specifies the style of the fast scroll decorations. -->
2898        <attr name="fastScrollStyle" format="reference" />
2899        <!-- When set to true, the list will use a more refined calculation
2900             method based on the pixels height of the items visible on screen. This
2901             property is set to true by default but should be set to false if your adapter
2902             will display items of varying heights. When this property is set to true and
2903             your adapter displays items of varying heights, the scrollbar thumb will
2904             change size as the user scrolls through the list. When set to fale, the list
2905             will use only the number of items in the adapter and the number of items visible
2906             on screen to determine the scrollbar's properties. -->
2907        <attr name="smoothScrollbar" format="boolean" />
2908        <!-- Defines the choice behavior for the view. By default, lists do not have
2909             any choice behavior. By setting the choiceMode to singleChoice, the list
2910             allows up to one item to be in a chosen state. By setting the choiceMode to
2911             multipleChoice, the list allows any number of items to be chosen.
2912             Finally, by setting the choiceMode to multipleChoiceModal the list allows
2913             any number of items to be chosen in a special selection mode.
2914             The application will supply a
2915             {@link android.widget.AbsListView.MultiChoiceModeListener} using
2916             {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the
2917             selection mode. This uses the {@link android.view.ActionMode} API. -->
2918        <attr name="choiceMode">
2919            <!-- Normal list that does not indicate choices. -->
2920            <enum name="none" value="0" />
2921            <!-- The list allows up to one choice. -->
2922            <enum name="singleChoice" value="1" />
2923            <!-- The list allows multiple choices. -->
2924            <enum name="multipleChoice" value="2" />
2925            <!-- The list allows multiple choices in a custom selection mode. -->
2926            <enum name="multipleChoiceModal" value="3" />
2927        </attr>
2928
2929        <!-- When set to true, the list will always show the fast scroll interface.
2930             This setting implies fastScrollEnabled. -->
2931        <attr name="fastScrollAlwaysVisible" format="boolean" />
2932    </declare-styleable>
2933    <declare-styleable name="AbsSpinner">
2934        <!-- Reference to an array resource that will populate the Spinner.  For static content,
2935             this is simpler than populating the Spinner programmatically. -->
2936        <attr name="entries" />
2937    </declare-styleable>
2938    <declare-styleable name="AnalogClock">
2939        <attr name="dial" format="reference"/>
2940        <attr name="hand_hour" format="reference"/>
2941        <attr name="hand_minute" format="reference"/>
2942    </declare-styleable>
2943    <declare-styleable name="Button">
2944    </declare-styleable>
2945    <declare-styleable name="Chronometer">
2946        <!-- Format string: if specified, the Chronometer will display this
2947             string, with the first "%s" replaced by the current timer value
2948             in "MM:SS" or "H:MM:SS" form.
2949             If no format string is specified, the Chronometer will simply display
2950             "MM:SS" or "H:MM:SS". -->
2951        <attr name="format" format="string" localization="suggested" />
2952    </declare-styleable>
2953    <declare-styleable name="CompoundButton">
2954        <!-- Indicates the initial checked state of this button. -->
2955        <attr name="checked" format="boolean" />
2956        <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). -->
2957        <attr name="button" format="reference"/>
2958    </declare-styleable>
2959    <declare-styleable name="CheckedTextView">
2960        <!-- Indicates the initial checked state of this text. -->
2961        <attr name="checked" />
2962        <!-- Drawable used for the check mark graphic. -->
2963        <attr name="checkMark" format="reference"/>
2964    </declare-styleable>
2965    <declare-styleable name="EditText">
2966    </declare-styleable>
2967    <declare-styleable name="FastScroll">
2968        <!-- Drawable used for the scroll bar thumb. -->
2969        <attr name="thumbDrawable" format="reference" />
2970        <!-- Minimum width of the thumb. -->
2971        <attr name="thumbMinWidth" format="dimension" />
2972        <!-- Minimum height of the thumb. -->
2973        <attr name="thumbMinHeight" format="dimension" />
2974        <!-- Drawable used for the scroll bar track. -->
2975        <attr name="trackDrawable" format="reference" />
2976        <!-- Drawable used for the section header preview when right-aligned. -->
2977        <attr name="backgroundRight" format="reference" />
2978        <!-- Drawable used for the section header preview when left-aligned. -->
2979        <attr name="backgroundLeft" format="reference" />
2980        <!-- Position of section header preview. -->
2981        <attr name="position">
2982            <!-- Floating at the top of the content. -->
2983            <enum name="floating" value="0" />
2984            <!-- Pinned alongside the thumb. -->
2985            <enum name="atThumb" value="1" />
2986        </attr>
2987        <attr name="textAppearance" />
2988        <attr name="textColor" />
2989        <attr name="textSize" />
2990        <!-- Minimum width of the section header preview. -->
2991        <attr name="minWidth" />
2992        <!-- Minimum height of the section header preview. -->
2993        <attr name="minHeight" />
2994        <!-- Padding for the section header preview. -->
2995        <attr name="padding" />
2996    </declare-styleable>
2997    <declare-styleable name="FrameLayout">
2998        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
2999             The foreground drawable participates in the padding of the content if the gravity
3000             is set to fill. -->
3001        <attr name="foreground" format="reference|color" />
3002        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
3003             to fill. -->
3004        <attr name="foregroundGravity">
3005            <!-- Push object to the top of its container, not changing its size. -->
3006            <flag name="top" value="0x30" />
3007            <!-- Push object to the bottom of its container, not changing its size. -->
3008            <flag name="bottom" value="0x50" />
3009            <!-- Push object to the left of its container, not changing its size. -->
3010            <flag name="left" value="0x03" />
3011            <!-- Push object to the right of its container, not changing its size. -->
3012            <flag name="right" value="0x05" />
3013            <!-- Place object in the vertical center of its container, not changing its size. -->
3014            <flag name="center_vertical" value="0x10" />
3015            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
3016            <flag name="fill_vertical" value="0x70" />
3017            <!-- Place object in the horizontal center of its container, not changing its size. -->
3018            <flag name="center_horizontal" value="0x01" />
3019            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
3020            <flag name="fill_horizontal" value="0x07" />
3021            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
3022            <flag name="center" value="0x11" />
3023            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
3024            <flag name="fill" value="0x77" />
3025            <!-- Additional option that can be set to have the top and/or bottom edges of
3026                 the child clipped to its container's bounds.
3027                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
3028                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
3029            <flag name="clip_vertical" value="0x80" />
3030            <!-- Additional option that can be set to have the left and/or right edges of
3031                 the child clipped to its container's bounds.
3032                 The clip will be based on the horizontal gravity: a left gravity will clip the right
3033                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
3034            <flag name="clip_horizontal" value="0x08" />
3035        </attr>
3036        <!-- Defines whether the foreground drawable should be drawn inside the padding.
3037             This property is turned on by default. -->
3038        <attr name="foregroundInsidePadding" format="boolean" />
3039        <!-- Determines whether to measure all children or just those in
3040             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
3041        <attr name="measureAllChildren" format="boolean" />
3042    </declare-styleable>
3043    <declare-styleable name="ExpandableListView">
3044        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
3045        <attr name="groupIndicator" format="reference" />
3046        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
3047        <attr name="childIndicator" format="reference" />
3048        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
3049             use childIndicatorLeft. -->
3050        <attr name="indicatorLeft" format="dimension" />
3051        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
3052             use childIndicatorRight. -->
3053        <attr name="indicatorRight" format="dimension" />
3054        <!-- The left bound for a child's indicator. -->
3055        <attr name="childIndicatorLeft" format="dimension" />
3056        <!-- The right bound for a child's indicator. -->
3057        <attr name="childIndicatorRight" format="dimension" />
3058        <!-- Drawable or color that is used as a divider for children. (It will drawn
3059             below and above child items.) The height of this will be the same as
3060             the height of the normal list item divider. -->
3061        <attr name="childDivider" format="reference|color" />
3062        <!-- The start bound for an item's indicator. To specify a start bound specific to children,
3063             use childIndicatorStart. -->
3064        <attr name="indicatorStart" format="dimension" />
3065        <!-- The end bound for an item's indicator. To specify a right bound specific to children,
3066             use childIndicatorEnd. -->
3067        <attr name="indicatorEnd" format="dimension" />
3068        <!-- The start bound for a child's indicator. -->
3069        <attr name="childIndicatorStart" format="dimension" />
3070        <!-- The end bound for a child's indicator. -->
3071        <attr name="childIndicatorEnd" format="dimension" />
3072    </declare-styleable>
3073    <declare-styleable name="Gallery">
3074        <attr name="gravity" />
3075        <!-- Sets how long a transition animation should run (in milliseconds)
3076             when layout has changed.  Only relevant if animation is turned on. -->
3077        <attr name="animationDuration" format="integer" min="0" />
3078        <attr name="spacing" format="dimension" />
3079        <!-- Sets the alpha on the items that are not selected. -->
3080        <attr name="unselectedAlpha" format="float" />
3081    </declare-styleable>
3082    <declare-styleable name="GridView">
3083        <!-- Defines the default horizontal spacing between columns. -->
3084        <attr name="horizontalSpacing" format="dimension" />
3085        <!-- Defines the default vertical spacing between rows. -->
3086        <attr name="verticalSpacing" format="dimension" />
3087        <!-- Defines how columns should stretch to fill the available empty space, if any. -->
3088        <attr name="stretchMode">
3089            <!-- Stretching is disabled. -->
3090            <enum name="none" value="0"/>
3091            <!-- The spacing between each column is stretched. -->
3092            <enum name="spacingWidth" value="1" />
3093            <!-- Each column is stretched equally. -->
3094            <enum name="columnWidth" value="2" />
3095            <!-- The spacing between each column is uniformly stretched.. -->
3096            <enum name="spacingWidthUniform" value="3" />
3097        </attr>
3098        <!-- Specifies the fixed width for each column. -->
3099        <attr name="columnWidth" format="dimension" />
3100        <!-- Defines how many columns to show. -->
3101        <attr name="numColumns" format="integer" min="0">
3102            <!-- Display as many columns as possible to fill the available space. -->
3103            <enum name="auto_fit" value="-1" />
3104        </attr>
3105        <!-- Specifies the gravity within each cell. -->
3106        <attr name="gravity" />
3107    </declare-styleable>
3108    <declare-styleable name="ImageSwitcher">
3109    </declare-styleable>
3110    <declare-styleable name="ImageView">
3111        <!-- Sets a drawable as the content of this ImageView. -->
3112        <attr name="src" format="reference|color" />
3113        <!-- Controls how the image should be resized or moved to match the size
3114             of this ImageView. -->
3115        <attr name="scaleType">
3116            <enum name="matrix" value="0" />
3117            <enum name="fitXY" value="1" />
3118            <enum name="fitStart" value="2" />
3119            <enum name="fitCenter" value="3" />
3120            <enum name="fitEnd" value="4" />
3121            <enum name="center" value="5" />
3122            <enum name="centerCrop" value="6" />
3123            <enum name="centerInside" value="7" />
3124        </attr>
3125        <!-- Set this to true if you want the ImageView to adjust its bounds
3126             to preserve the aspect ratio of its drawable. -->
3127        <attr name="adjustViewBounds" format="boolean" />
3128        <!-- An optional argument to supply a maximum width for this view.
3129             See {see android.widget.ImageView#setMaxWidth} for details. -->
3130        <attr name="maxWidth" format="dimension" />
3131        <!-- An optional argument to supply a maximum height for this view.
3132             See {see android.widget.ImageView#setMaxHeight} for details. -->
3133        <attr name="maxHeight" format="dimension" />
3134        <!-- Set a tinting color for the image. -->
3135        <attr name="tint" format="color" />
3136        <!-- If true, the image view will be baseline aligned with based on its
3137             bottom edge. -->
3138        <attr name="baselineAlignBottom" format="boolean" />
3139         <!-- If true, the image will be cropped to fit within its padding. -->
3140        <attr name="cropToPadding" format="boolean" />
3141        <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline}
3142             for details -->
3143        <attr name="baseline" format="dimension" />
3144        <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent
3145             to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). -->
3146        <attr name="drawableAlpha" format="integer" />
3147    </declare-styleable>
3148    <declare-styleable name="ToggleButton">
3149        <!-- The text for the button when it is checked. -->
3150        <attr name="textOn" format="string" />
3151        <!-- The text for the button when it is not checked. -->
3152        <attr name="textOff" format="string" />
3153        <!-- The alpha to apply to the indicator when disabled. -->
3154        <attr name="disabledAlpha" />
3155    </declare-styleable>
3156    <declare-styleable name="RelativeLayout">
3157        <attr name="gravity" />
3158        <!-- Indicates what view should not be affected by gravity. -->
3159        <attr name="ignoreGravity" format="reference" />
3160    </declare-styleable>
3161    <declare-styleable name="LinearLayout">
3162        <!-- Should the layout be a column or a row?  Use "horizontal"
3163             for a row, "vertical" for a column.  The default is
3164             horizontal. -->
3165        <attr name="orientation" />
3166        <attr name="gravity" />
3167        <!-- When set to false, prevents the layout from aligning its children's
3168             baselines. This attribute is particularly useful when the children
3169             use different values for gravity. The default value is true. -->
3170        <attr name="baselineAligned" format="boolean" />
3171        <!-- When a linear layout is part of another layout that is baseline
3172          aligned, it can specify which of its children to baseline align to
3173          (that is, which child TextView).-->
3174        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
3175        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
3176             by adding the layout_weight of all of the children. This can be
3177             used for instance to give a single child 50% of the total available
3178             space by giving it a layout_weight of 0.5 and setting the weightSum
3179             to 1.0. -->
3180        <attr name="weightSum" format="float" />
3181        <!-- When set to true, all children with a weight will be considered having
3182             the minimum size of the largest child. If false, all children are
3183             measured normally. -->
3184        <attr name="measureWithLargestChild" format="boolean" />
3185        <!-- Drawable to use as a vertical divider between buttons. -->
3186        <attr name="divider" />
3187        <!-- Setting for which dividers to show. -->
3188        <attr name="showDividers">
3189            <flag name="none" value="0" />
3190            <flag name="beginning" value="1" />
3191            <flag name="middle" value="2" />
3192            <flag name="end" value="4" />
3193        </attr>
3194        <!-- Size of padding on either end of a divider. -->
3195        <attr name="dividerPadding" format="dimension" />
3196    </declare-styleable>
3197    <declare-styleable name="GridLayout">
3198        <!-- The orientation property is not used during layout. It is only used to
3199        allocate row and column parameters when they are not specified by its children's
3200        layout paramters. GridLayout works like LinearLayout in this case;
3201        putting all the components either in a single row or in a single column -
3202        depending on the value of this flag. In the horizontal case, a columnCount
3203        property may be additionally supplied to force new rows to be created when a
3204        row is full. The rowCount attribute may be used similarly in the vertical case.
3205        The default is horizontal. -->
3206        <attr name="orientation" />
3207        <!-- The maxmimum number of rows to create when automatically positioning children. -->
3208        <attr name="rowCount" format="integer" />
3209        <!-- The maxmimum number of columns to create when automatically positioning children. -->
3210        <attr name="columnCount" format="integer" />
3211        <!-- When set to true, tells GridLayout to use default margins when none are specified
3212        in a view's layout parameters.
3213        The default value is false.
3214        See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.-->
3215        <attr name="useDefaultMargins" format="boolean" />
3216        <!-- When set to alignMargins, causes alignment to take place between the outer
3217        boundary of a view, as defined by its margins. When set to alignBounds,
3218        causes alignment to take place between the edges of the view.
3219        The default is alignMargins.
3220        See {@link android.widget.GridLayout#setAlignmentMode(int)}.-->
3221        <attr name="alignmentMode" />
3222        <!-- When set to true, forces row boundaries to appear in the same order
3223        as row indices.
3224        The default is true.
3225        See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.-->
3226        <attr name="rowOrderPreserved" format="boolean" />
3227        <!-- When set to true, forces column boundaries to appear in the same order
3228        as column indices.
3229        The default is true.
3230        See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.-->
3231        <attr name="columnOrderPreserved" format="boolean" />
3232    </declare-styleable>
3233    <declare-styleable name="ListView">
3234        <!-- Reference to an array resource that will populate the ListView.  For static content,
3235             this is simpler than populating the ListView programmatically. -->
3236        <attr name="entries" />
3237        <!-- Drawable or color to draw between list items. -->
3238        <attr name="divider" format="reference|color" />
3239        <!-- Height of the divider. Will use the intrinsic height of the divider if this
3240             is not specified. -->
3241        <attr name="dividerHeight" format="dimension" />
3242        <!-- When set to false, the ListView will not draw the divider after each header view.
3243             The default value is true. -->
3244        <attr name="headerDividersEnabled" format="boolean" />
3245        <!-- When set to false, the ListView will not draw the divider before each footer view.
3246             The default value is true. -->
3247        <attr name="footerDividersEnabled" format="boolean" />
3248        <!-- Drawable to draw above list content. -->
3249        <attr name="overScrollHeader" format="reference|color" />
3250        <!-- Drawable to draw below list content. -->
3251        <attr name="overScrollFooter" format="reference|color" />
3252    </declare-styleable>
3253    <declare-styleable name="PreferenceFrameLayout">
3254        <!-- Padding to use at the top of the prefs content. -->
3255        <attr name="borderTop" format="dimension" />
3256        <!-- Padding to use at the bottom of the prefs content. -->
3257        <attr name="borderBottom" format="dimension" />
3258        <!-- Padding to use at the left of the prefs content. -->
3259        <attr name="borderLeft" format="dimension" />
3260        <!-- Padding to use at the right of the prefs content. -->
3261        <attr name="borderRight" format="dimension" />
3262    </declare-styleable>
3263    <declare-styleable name="PreferenceFrameLayout_Layout">
3264        <!-- Padding to use at the top of the prefs content. -->
3265        <attr name="layout_removeBorders" format="boolean" />
3266    </declare-styleable>
3267    <declare-styleable name="MenuView">
3268        <!-- Default appearance of menu item text. -->
3269        <attr name="itemTextAppearance" format="reference" />
3270        <!-- Default horizontal divider between rows of menu items. -->
3271        <attr name="horizontalDivider" format="reference" />
3272        <!-- Default vertical divider between menu items. -->
3273        <attr name="verticalDivider" format="reference" />
3274        <!-- Default background for the menu header. -->
3275        <attr name="headerBackground" format="color|reference" />
3276        <!-- Default background for each menu item. -->
3277        <attr name="itemBackground" format="color|reference" />
3278        <!-- Default animations for the menu. -->
3279        <attr name="windowAnimationStyle" />
3280        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
3281        <attr name="itemIconDisabledAlpha" format="float" />
3282        <!-- Whether space should be reserved in layout when an icon is missing. -->
3283        <attr name="preserveIconSpacing" format="boolean" />
3284    </declare-styleable>
3285    <declare-styleable name="IconMenuView">
3286        <!-- Defines the height of each row. -->
3287        <attr name="rowHeight" format="dimension" />
3288        <!-- Defines the maximum number of rows displayed. -->
3289        <attr name="maxRows" format="integer" />
3290        <!-- Defines the maximum number of items per row. -->
3291        <attr name="maxItemsPerRow" format="integer" />
3292        <!-- Defines the maximum number of items to show. -->
3293        <attr name="maxItems" format="integer" />
3294        <!-- 'More' icon. -->
3295        <attr name="moreIcon" format="reference" />
3296    </declare-styleable>
3297
3298    <declare-styleable name="ProgressBar">
3299        <!-- Defines the maximum value the progress can take. -->
3300        <attr name="max" format="integer" />
3301        <!-- Defines the default progress value, between 0 and max. -->
3302        <attr name="progress" format="integer" />
3303        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
3304             the primary progress and the background.  It can be ideal for media scenarios such as
3305             showing the buffering progress while the default progress shows the play progress. -->
3306        <attr name="secondaryProgress" format="integer" />
3307        <!-- Allows to enable the indeterminate mode. In this mode the progress
3308         bar plays an infinite looping animation. -->
3309        <attr name="indeterminate" format="boolean" />
3310        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
3311        <attr name="indeterminateOnly" format="boolean" />
3312        <!-- Drawable used for the indeterminate mode. -->
3313        <attr name="indeterminateDrawable" format="reference" />
3314        <!-- Drawable used for the progress mode. -->
3315        <attr name="progressDrawable" format="reference" />
3316        <!-- Duration of the indeterminate animation. -->
3317        <attr name="indeterminateDuration" format="integer" min="1" />
3318        <!-- Defines how the indeterminate mode should behave when the progress
3319        reaches max. -->
3320        <attr name="indeterminateBehavior">
3321            <!-- Progress starts over from 0. -->
3322            <enum name="repeat" value="1" />
3323            <!-- Progress keeps the current value and goes back to 0. -->
3324            <enum name="cycle" value="2" />
3325        </attr>
3326        <attr name="minWidth" format="dimension" />
3327        <attr name="maxWidth" />
3328        <attr name="minHeight" format="dimension" />
3329        <attr name="maxHeight" />
3330        <attr name="interpolator" format="reference" />
3331        <!-- Timeout between frames of animation in milliseconds
3332             {@deprecated Not used by the framework.} -->
3333        <attr name="animationResolution" format="integer" />
3334        <!-- Defines if the associated drawables need to be mirrored when in RTL mode.
3335             Default is false -->
3336        <attr name="mirrorForRtl" format="boolean" />
3337    </declare-styleable>
3338
3339    <declare-styleable name="SeekBar">
3340        <!-- Draws the thumb on a seekbar. -->
3341        <attr name="thumb" format="reference" />
3342        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
3343        <attr name="thumbOffset" format="dimension" />
3344        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
3345        <attr name="splitTrack" format="boolean" />
3346    </declare-styleable>
3347
3348    <declare-styleable name="StackView">
3349        <!-- Color of the res-out outline. -->
3350        <attr name="resOutColor" format="color" />
3351        <!-- Color of the outline of click feedback. -->
3352        <attr name="clickColor" format="color" />
3353    </declare-styleable>
3354
3355    <declare-styleable name="RatingBar">
3356        <!-- The number of stars (or rating items) to show. -->
3357        <attr name="numStars" format="integer" />
3358        <!-- The rating to set by default. -->
3359        <attr name="rating" format="float" />
3360        <!-- The step size of the rating. -->
3361        <attr name="stepSize" format="float" />
3362        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
3363        <attr name="isIndicator" format="boolean" />
3364    </declare-styleable>
3365
3366    <declare-styleable name="RadioGroup">
3367        <!-- The id of the child radio button that should be checked by default
3368             within this radio group. -->
3369        <attr name="checkedButton" format="integer" />
3370        <!-- Should the radio group be a column or a row?  Use "horizontal"
3371             for a row, "vertical" for a column.  The default is
3372             vertical. -->
3373        <attr name="orientation" />
3374    </declare-styleable>
3375    <declare-styleable name="TableLayout">
3376        <!-- The zero-based index of the columns to stretch. The column indices
3377             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3378             indices are ignored. You can stretch all columns by using the
3379             value "*" instead. Note that a column can be marked stretchable
3380             and shrinkable at the same time. -->
3381        <attr name="stretchColumns" format="string" />
3382       <!-- The zero-based index of the columns to shrink. The column indices
3383             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3384             indices are ignored. You can shrink all columns by using the
3385             value "*" instead. Note that a column can be marked stretchable
3386             and shrinkable at the same time. -->
3387        <attr name="shrinkColumns" format="string" />
3388        <!-- The zero-based index of the columns to collapse. The column indices
3389             must be separated by a comma: 1, 2, 5. Illegal and duplicate
3390             indices are ignored. -->
3391        <attr name="collapseColumns" format="string" />
3392    </declare-styleable>
3393    <declare-styleable name="TableRow">
3394
3395    </declare-styleable>
3396    <declare-styleable name="TableRow_Cell">
3397        <!-- The index of the column in which this child should be. -->
3398        <attr name="layout_column" format="integer" />
3399        <!-- Defines how many columns this child should span.  Must be >= 1.-->
3400        <attr name="layout_span" format="integer" />
3401    </declare-styleable>
3402    <declare-styleable name="TabWidget">
3403        <!-- Drawable used to draw the divider between tabs. -->
3404        <attr name="divider" />
3405        <!-- Determines whether the strip under the tab indicators is drawn or not. -->
3406        <attr name="tabStripEnabled" format="boolean" />
3407        <!-- Drawable used to draw the left part of the strip underneath the tabs. -->
3408        <attr name="tabStripLeft" format="reference" />
3409        <!-- Drawable used to draw the right part of the strip underneath the tabs. -->
3410        <attr name="tabStripRight" format="reference" />
3411        <!-- Layout used to organize each tab's content. -->
3412        <attr name="tabLayout" format="reference" />
3413    </declare-styleable>
3414    <declare-styleable name="TextAppearance">
3415        <!-- Text color. -->
3416        <attr name="textColor" />
3417        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
3418        <attr name="textSize" />
3419        <!-- Style (bold, italic, bolditalic) for the text. -->
3420        <attr name="textStyle" />
3421        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
3422        <attr name="typeface" />
3423        <!-- Font family (named by string) for the text. -->
3424        <attr name="fontFamily" />
3425        <!-- Color of the text selection highlight. -->
3426        <attr name="textColorHighlight" />
3427        <!-- Color of the hint text. -->
3428        <attr name="textColorHint" />
3429        <!-- Color of the links. -->
3430        <attr name="textColorLink" />
3431        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
3432        <attr name="textAllCaps" format="boolean" />
3433        <!-- Place a shadow of the specified color behind the text. -->
3434        <attr name="shadowColor" format="color" />
3435        <!-- Horizontal offset of the shadow. -->
3436        <attr name="shadowDx" format="float" />
3437        <!-- Vertical offset of the shadow. -->
3438        <attr name="shadowDy" format="float" />
3439        <!-- Radius of the shadow. -->
3440        <attr name="shadowRadius" format="float" />
3441        <!-- Elegant text height, especially for less compacted complex script text. -->
3442        <attr name="elegantTextHeight" format="boolean" />
3443    </declare-styleable>
3444    <declare-styleable name="TextClock">
3445        <!-- Specifies the formatting pattern used to show the time and/or date
3446             in 12-hour mode. Please refer to {@link android.text.format.DateFormat}
3447             for a complete description of accepted formatting patterns.
3448             The default pattern is a locale-appropriate equivalent of "h:mm a". -->
3449        <attr name="format12Hour" format="string"/>
3450        <!-- Specifies the formatting pattern used to show the time and/or date
3451             in 24-hour mode. Please refer to {@link android.text.format.DateFormat}
3452             for a complete description of accepted formatting patterns.
3453             The default pattern is a locale-appropriate equivalent of "H:mm". -->
3454        <attr name="format24Hour" format="string"/>
3455        <!-- Specifies the time zone to use. When this attribute is specified, the
3456             TextClock will ignore the time zone of the system. To use the user's
3457             time zone, do not specify this attribute. The default value is the
3458             user's time zone. Please refer to {@link java.util.TimeZone} for more
3459             information about time zone ids. -->
3460        <attr name="timeZone" format="string"/>
3461    </declare-styleable>
3462    <declare-styleable name="TextSwitcher">
3463    </declare-styleable>
3464    <declare-styleable name="TextView">
3465        <!-- Determines the minimum type that getText() will return.
3466             The default is "normal".
3467             Note that EditText and LogTextBox always return Editable,
3468             even if you specify something less powerful here. -->
3469        <attr name="bufferType">
3470            <!-- Can return any CharSequence, possibly a
3471             Spanned one if the source text was Spanned. -->
3472            <enum name="normal" value="0" />
3473            <!-- Can only return Spannable. -->
3474            <enum name="spannable" value="1" />
3475            <!-- Can only return Spannable and Editable. -->
3476            <enum name="editable" value="2" />
3477        </attr>
3478        <!-- Text to display. -->
3479        <attr name="text" format="string" localization="suggested" />
3480        <!-- Hint text to display when the text is empty. -->
3481        <attr name="hint" format="string" />
3482        <!-- Text color. -->
3483        <attr name="textColor" />
3484        <!-- Color of the text selection highlight. -->
3485        <attr name="textColorHighlight" />
3486        <!-- Color of the hint text. -->
3487        <attr name="textColorHint" />
3488        <!-- Base text color, typeface, size, and style. -->
3489        <attr name="textAppearance" />
3490        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
3491        <attr name="textSize" />
3492        <!-- Sets the horizontal scaling factor for the text. -->
3493        <attr name="textScaleX" format="float" />
3494        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
3495        <attr name="typeface" />
3496        <!-- Style (bold, italic, bolditalic) for the text. -->
3497        <attr name="textStyle" />
3498        <!-- Font family (named by string) for the text. -->
3499        <attr name="fontFamily" />
3500        <!-- Text color for links. -->
3501        <attr name="textColorLink" />
3502        <!-- Makes the cursor visible (the default) or invisible. -->
3503        <attr name="cursorVisible" format="boolean" />
3504        <!-- Makes the TextView be at most this many lines tall.
3505
3506        When used on an editable text, the <code>inputType</code> attribute's value must be
3507        combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. -->
3508        <attr name="maxLines" format="integer" min="0" />
3509        <!-- Makes the TextView be at most this many pixels tall. -->
3510        <attr name="maxHeight" />
3511        <!-- Makes the TextView be exactly this many lines tall. -->
3512        <attr name="lines" format="integer" min="0" />
3513        <!-- Makes the TextView be exactly this many pixels tall.
3514             You could get the same effect by specifying this number in the
3515             layout parameters. -->
3516        <attr name="height" format="dimension" />
3517        <!-- Makes the TextView be at least this many lines tall.
3518
3519        When used on an editable text, the <code>inputType</code> attribute's value must be
3520        combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. -->
3521        <attr name="minLines" format="integer" min="0" />
3522        <!-- Makes the TextView be at least this many pixels tall. -->
3523        <attr name="minHeight" />
3524        <!-- Makes the TextView be at most this many ems wide. -->
3525        <attr name="maxEms" format="integer" min="0" />
3526        <!-- Makes the TextView be at most this many pixels wide. -->
3527        <attr name="maxWidth" />
3528        <!-- Makes the TextView be exactly this many ems wide. -->
3529        <attr name="ems" format="integer" min="0" />
3530        <!-- Makes the TextView be exactly this many pixels wide.
3531             You could get the same effect by specifying this number in the
3532             layout parameters. -->
3533        <attr name="width" format="dimension" />
3534        <!-- Makes the TextView be at least this many ems wide. -->
3535        <attr name="minEms" format="integer" min="0" />
3536        <!-- Makes the TextView be at least this many pixels wide. -->
3537        <attr name="minWidth" />
3538        <!-- Specifies how to align the text by the view's x- and/or y-axis
3539             when the text is smaller than the view. -->
3540        <attr name="gravity" />
3541        <!-- Whether the text is allowed to be wider than the view (and
3542             therefore can be scrolled horizontally). -->
3543        <attr name="scrollHorizontally" format="boolean" />
3544        <!-- Whether the characters of the field are displayed as
3545             password dots instead of themselves.
3546             {@deprecated Use inputType instead.} -->
3547        <attr name="password" format="boolean" />
3548        <!-- Constrains the text to a single horizontally scrolling line
3549             instead of letting it wrap onto multiple lines, and advances
3550             focus instead of inserting a newline when you press the
3551             enter key.
3552
3553             The default value is false (multi-line wrapped text mode) for non-editable text, but if
3554             you specify any value for inputType, the default is true (single-line input field mode).
3555
3556             {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change
3557             the layout of a static text, and use the <code>textMultiLine</code> flag in the
3558             inputType attribute instead for editable text views (if both singleLine and inputType
3559             are supplied, the inputType flags will override the value of singleLine). } -->
3560        <attr name="singleLine" format="boolean" />
3561        <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass.
3562             For example, a non-enabled EditText prevents the user from editing the contained text, and
3563             a non-enabled Button prevents the user from tapping the button.
3564             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
3565             from evaluating state_enabled differ. -->
3566        <attr name="enabled" format="boolean" />
3567        <!-- If the text is selectable, select it all when the view takes
3568             focus. -->
3569        <attr name="selectAllOnFocus" format="boolean" />
3570        <!-- Leave enough room for ascenders and descenders instead of
3571             using the font ascent and descent strictly.  (Normally true). -->
3572        <attr name="includeFontPadding" format="boolean" />
3573        <!-- Set an input filter to constrain the text length to the
3574             specified number. -->
3575        <attr name="maxLength" format="integer" min="0" />
3576        <!-- Place a shadow of the specified color behind the text. -->
3577        <attr name="shadowColor" />
3578        <!-- Horizontal offset of the shadow. -->
3579        <attr name="shadowDx" />
3580        <!-- Vertical offset of the shadow. -->
3581        <attr name="shadowDy" />
3582        <!-- Radius of the shadow. -->
3583        <attr name="shadowRadius" />
3584        <attr name="autoLink" />
3585        <!-- If set to false, keeps the movement method from being set
3586             to the link movement method even if autoLink causes links
3587             to be found. -->
3588        <attr name="linksClickable" format="boolean" />
3589        <!-- If set, specifies that this TextView has a numeric input method.
3590             The default is false.
3591             {@deprecated Use inputType instead.} -->
3592        <attr name="numeric">
3593            <!-- Input is numeric. -->
3594            <flag name="integer" value="0x01" />
3595            <!-- Input is numeric, with sign allowed. -->
3596            <flag name="signed" value="0x03" />
3597            <!-- Input is numeric, with decimals allowed. -->
3598            <flag name="decimal" value="0x05" />
3599        </attr>
3600        <!-- If set, specifies that this TextView has a numeric input method
3601             and that these specific characters are the ones that it will
3602             accept.
3603             If this is set, numeric is implied to be true.
3604             The default is false. -->
3605        <attr name="digits" format="string" />
3606        <!-- If set, specifies that this TextView has a phone number input
3607             method. The default is false.
3608             {@deprecated Use inputType instead.} -->
3609        <attr name="phoneNumber" format="boolean" />
3610        <!-- If set, specifies that this TextView should use the specified
3611             input method (specified by fully-qualified class name).
3612             {@deprecated Use inputType instead.} -->
3613        <attr name="inputMethod" format="string" />
3614        <!-- If set, specifies that this TextView has a textual input method
3615             and should automatically capitalize what the user types.
3616             The default is "none".
3617             {@deprecated Use inputType instead.} -->
3618        <attr name="capitalize">
3619            <!-- Don't automatically capitalize anything. -->
3620            <enum name="none" value="0" />
3621            <!-- Capitalize the first word of each sentence. -->
3622            <enum name="sentences" value="1" />
3623            <!-- Capitalize the first letter of every word. -->
3624            <enum name="words" value="2" />
3625            <!-- Capitalize every character. -->
3626            <enum name="characters" value="3" />
3627        </attr>
3628        <!-- If set, specifies that this TextView has a textual input method
3629             and automatically corrects some common spelling errors.
3630             The default is "false".
3631             {@deprecated Use inputType instead.} -->
3632        <attr name="autoText" format="boolean" />
3633        <!-- If set, specifies that this TextView has an input method.
3634             It will be a textual one unless it has otherwise been specified.
3635             For TextView, this is false by default.  For EditText, it is
3636             true by default.
3637             {@deprecated Use inputType instead.} -->
3638        <attr name="editable" format="boolean" />
3639        <!-- If set, the text view will include its current complete text
3640             inside of its frozen icicle in addition to meta-data such as
3641             the current cursor position.  By default this is disabled;
3642             it can be useful when the contents of a text view is not stored
3643             in a persistent place such as a content provider. -->
3644        <attr name="freezesText" format="boolean" />
3645        <!-- If set, causes words that are longer than the view is wide
3646             to be ellipsized instead of broken in the middle.
3647             You will often also want to set scrollHorizontally or singleLine
3648             as well so that the text as a whole is also constrained to
3649             a single line instead of still allowed to be broken onto
3650             multiple lines. -->
3651        <attr name="ellipsize" />
3652        <!-- The drawable to be drawn above the text. -->
3653        <attr name="drawableTop" format="reference|color" />
3654        <!-- The drawable to be drawn below the text. -->
3655        <attr name="drawableBottom" format="reference|color" />
3656        <!-- The drawable to be drawn to the left of the text. -->
3657        <attr name="drawableLeft" format="reference|color" />
3658        <!-- The drawable to be drawn to the right of the text. -->
3659        <attr name="drawableRight" format="reference|color" />
3660        <!-- The drawable to be drawn to the start of the text. -->
3661        <attr name="drawableStart" format="reference|color" />
3662        <!-- The drawable to be drawn to the end of the text. -->
3663        <attr name="drawableEnd" format="reference|color" />
3664        <!-- The padding between the drawables and the text. -->
3665        <attr name="drawablePadding" format="dimension" />
3666        <!-- Extra spacing between lines of text. -->
3667        <attr name="lineSpacingExtra" format="dimension" />
3668        <!-- Extra spacing between lines of text, as a multiplier. -->
3669        <attr name="lineSpacingMultiplier" format="float" />
3670        <!-- The number of times to repeat the marquee animation. Only applied if the
3671             TextView has marquee enabled. -->
3672        <attr name="marqueeRepeatLimit" format="integer">
3673            <!-- Indicates that marquee should repeat indefinitely. -->
3674            <enum name="marquee_forever" value="-1" />
3675        </attr>
3676        <attr name="inputType" />
3677        <attr name="imeOptions" />
3678        <!-- An addition content type description to supply to the input
3679             method attached to the text view, which is private to the
3680             implementation of the input method.  This simply fills in
3681             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
3682             EditorInfo.privateImeOptions} field when the input
3683             method is connected. -->
3684        <attr name="privateImeOptions" format="string" />
3685        <!-- Supply a value for
3686             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
3687             used when an input method is connected to the text view. -->
3688        <attr name="imeActionLabel" format="string" />
3689        <!-- Supply a value for
3690             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
3691             used when an input method is connected to the text view. -->
3692        <attr name="imeActionId" format="integer" />
3693        <!-- Reference to an
3694             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
3695             XML resource containing additional data to
3696             supply to an input method, which is private to the implementation
3697             of the input method.  This simply fills in
3698             the {@link android.view.inputmethod.EditorInfo#extras
3699             EditorInfo.extras} field when the input
3700             method is connected. -->
3701        <attr name="editorExtras" format="reference" />
3702
3703        <!-- Reference to a drawable that will be used to display a text selection
3704             anchor on the left side of a selection region. -->
3705        <attr name="textSelectHandleLeft" />
3706        <!-- Reference to a drawable that will be used to display a text selection
3707             anchor on the right side of a selection region. -->
3708        <attr name="textSelectHandleRight" />
3709        <!-- Reference to a drawable that will be used to display a text selection
3710             anchor for positioning the cursor within text. -->
3711        <attr name="textSelectHandle" />
3712        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
3713             TextEdit field. -->
3714        <attr name="textEditPasteWindowLayout" />
3715        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
3716        <attr name="textEditNoPasteWindowLayout" />
3717        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
3718             insertion cursor because it would be clipped if it were positioned on top. -->
3719        <attr name="textEditSidePasteWindowLayout" />
3720        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
3721        <attr name="textEditSideNoPasteWindowLayout" />
3722
3723        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
3724        <attr name="textEditSuggestionItemLayout" />
3725
3726
3727        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
3728        <attr name="textCursorDrawable" />
3729
3730        <!-- Indicates that the content of a non-editable text can be selected. -->
3731        <attr name="textIsSelectable" />
3732        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
3733        <attr name="textAllCaps" />
3734        <!-- Elegant text height, especially for less compacted complex script text. -->
3735        <attr name="elegantTextHeight" />
3736    </declare-styleable>
3737    <declare-styleable name="TextViewAppearance">
3738        <!-- Base text color, typeface, size, and style. -->
3739        <attr name="textAppearance" />
3740    </declare-styleable>
3741    <declare-styleable name="SelectionModeDrawables">
3742        <attr name="actionModeSelectAllDrawable" />
3743        <attr name="actionModeCutDrawable" />
3744        <attr name="actionModeCopyDrawable" />
3745        <attr name="actionModePasteDrawable" />
3746    </declare-styleable>
3747    <declare-styleable name="SuggestionSpan">
3748        <attr name="textUnderlineColor" />
3749        <attr name="textUnderlineThickness" />
3750    </declare-styleable>
3751    <!-- An <code>input-extras</code> is a container for extra data to supply to
3752         an input method.  Contains
3753         one more more {@link #Extra <extra>} tags.  -->
3754    <declare-styleable name="InputExtras">
3755    </declare-styleable>
3756    <declare-styleable name="AutoCompleteTextView">
3757        <!-- Defines the hint displayed in the drop down menu. -->
3758        <attr name="completionHint" format="string" />
3759        <!-- Defines the hint view displayed in the drop down menu. -->
3760        <attr name="completionHintView" format="reference" />
3761        <!-- Defines the number of characters that the user must type before
3762         completion suggestions are displayed in a drop down menu. -->
3763        <attr name="completionThreshold" format="integer" min="1" />
3764        <!-- Selector in a drop down list. -->
3765        <attr name="dropDownSelector" format="reference|color" />
3766        <!-- Amount of pixels by which the drop down should be offset vertically. -->
3767        <attr name="dropDownVerticalOffset" format="dimension" />
3768        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
3769        <attr name="dropDownHorizontalOffset" format="dimension" />
3770        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
3771             is used. -->
3772        <attr name="dropDownAnchor" format="reference" />
3773        <!-- Specifies the basic width of the dropdown. Its value may
3774             be a dimension (such as "12dip") for a constant width,
3775             fill_parent or match_parent to match the width of the
3776             screen, or wrap_content to match the width of
3777             the anchored view. -->
3778        <attr name="dropDownWidth" format="dimension">
3779            <!-- The dropdown should fill the width of the screen.
3780                 This constant is deprecated starting from API Level 8 and
3781                 is replaced by {@code match_parent}. -->
3782            <enum name="fill_parent" value="-1" />
3783            <!-- The dropdown should fit the width of the screen.
3784                 Introduced in API Level 8. -->
3785            <enum name="match_parent" value="-1" />
3786            <!-- The dropdown should fit the width of its anchor. -->
3787            <enum name="wrap_content" value="-2" />
3788        </attr>
3789        <!-- Specifies the basic height of the dropdown. Its value may
3790             be a dimension (such as "12dip") for a constant height,
3791             fill_parent or match_parent to fill the height of the
3792             screen, or wrap_content to match the height of
3793             the content of the drop down. -->
3794        <attr name="dropDownHeight" format="dimension">
3795            <!-- The dropdown should fit the height of the screen.
3796                 This constant is deprecated starting from API Level 8 and
3797                 is replaced by {@code match_parent}. -->
3798            <enum name="fill_parent" value="-1" />
3799            <!-- The dropdown should fit the height of the screen.
3800                 Introduced in API Level 8. -->
3801            <enum name="match_parent" value="-1" />
3802            <!-- The dropdown should fit the height of the content. -->
3803            <enum name="wrap_content" value="-2" />
3804        </attr>
3805        <attr name="inputType" />
3806    </declare-styleable>
3807    <declare-styleable name="PopupWindow">
3808        <attr name="popupBackground" format="reference|color" />
3809        <attr name="popupAnimationStyle" format="reference" />
3810        <attr name="overlapAnchor" format="boolean" />
3811    </declare-styleable>
3812    <declare-styleable name="ViewAnimator">
3813        <!-- Identifier for the animation to use when a view is shown. -->
3814        <attr name="inAnimation" format="reference" />
3815        <!-- Identifier for the animation to use when a view is hidden. -->
3816        <attr name="outAnimation" format="reference" />
3817        <!-- Defines whether to animate the current View when the ViewAnimation
3818             is first displayed. -->
3819        <attr name="animateFirstView" format="boolean" />
3820    </declare-styleable>
3821    <declare-styleable name="ViewFlipper">
3822        <attr name="flipInterval" format="integer" min="0" />
3823        <!-- When true, automatically start animating -->
3824        <attr name="autoStart" format="boolean" />
3825    </declare-styleable>
3826    <declare-styleable name="AdapterViewAnimator">
3827        <!-- Identifier for the animation to use when a view is shown. -->
3828        <attr name="inAnimation" />
3829        <!-- Identifier for the animation to use when a view is hidden. -->
3830        <attr name="outAnimation" />
3831        <!--Defines whether the animator loops to the first view once it
3832        has reached the end of the list. -->
3833        <attr name="loopViews" format="boolean" />
3834        <!-- Defines whether to animate the current View when the ViewAnimation
3835        is first displayed. -->
3836        <attr name="animateFirstView" />
3837    </declare-styleable>
3838    <declare-styleable name="AdapterViewFlipper">
3839        <attr name="flipInterval" />
3840        <!-- When true, automatically start animating -->
3841        <attr name="autoStart" />
3842    </declare-styleable>
3843    <declare-styleable name="ViewSwitcher">
3844    </declare-styleable>
3845    <declare-styleable name="ScrollView">
3846        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
3847        <attr name="fillViewport" format="boolean" />
3848    </declare-styleable>
3849    <declare-styleable name="HorizontalScrollView">
3850        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
3851        <attr name="fillViewport" />
3852    </declare-styleable>
3853    <declare-styleable name="Spinner">
3854        <!-- The prompt to display when the spinner's dialog is shown. -->
3855        <attr name="prompt" format="reference" />
3856        <!-- Display mode for spinner options. -->
3857        <attr name="spinnerMode" format="enum">
3858            <!-- Spinner options will be presented to the user as a dialog window. -->
3859            <enum name="dialog" value="0" />
3860            <!-- Spinner options will be presented to the user as an inline dropdown
3861                 anchored to the spinner widget itself. -->
3862            <enum name="dropdown" value="1" />
3863        </attr>
3864        <!-- List selector to use for spinnerMode="dropdown" display. -->
3865        <attr name="dropDownSelector" />
3866        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
3867        <attr name="popupBackground" />
3868        <!-- Vertical offset from the spinner widget for positioning the dropdown in
3869             spinnerMode="dropdown". -->
3870        <attr name="dropDownVerticalOffset" />
3871        <!-- Horizontal offset from the spinner widget for positioning the dropdown
3872             in spinnerMode="dropdown". -->
3873        <attr name="dropDownHorizontalOffset" />
3874        <!-- Width of the dropdown in spinnerMode="dropdown". -->
3875        <attr name="dropDownWidth" />
3876        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
3877             spinnerMode="dropdown". This layout must contain a TextView with the id
3878             {@code @android:id/text1} to be populated with the prompt text. -->
3879        <attr name="popupPromptView" format="reference" />
3880        <!-- Gravity setting for positioning the currently selected item. -->
3881        <attr name="gravity" />
3882        <!-- Whether this spinner should mark child views as enabled/disabled when
3883             the spinner itself is enabled/disabled. -->
3884        <attr name="disableChildrenWhenDisabled" format="boolean" />
3885    </declare-styleable>
3886
3887    <declare-styleable name="DatePicker">
3888        <!-- The first year (inclusive), for example "1940".
3889             {@deprecated Use minDate instead.}
3890         -->
3891        <attr name="startYear" format="integer" />
3892        <!-- The last year (inclusive), for example "2010".
3893             {@deprecated Use maxDate instead.}
3894         -->
3895        <attr name="endYear" format="integer" />
3896        <!-- Whether the spinners are shown. -->
3897        <attr name="spinnersShown" format="boolean" />
3898        <!-- Whether the calendar view is shown. -->
3899        <attr name="calendarViewShown" format="boolean" />
3900        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
3901        <attr name="minDate" format="string" />
3902        <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. -->
3903        <attr name="maxDate" format="string" />
3904        <!-- @hide The layout of the date picker. -->
3905        <attr name="internalLayout" format="reference"  />
3906    </declare-styleable>
3907
3908    <declare-styleable name="TwoLineListItem">
3909        <attr name="mode">
3910            <!-- Always show only the first line. -->
3911            <enum name="oneLine" value="1" />
3912            <!-- When selected show both lines, otherwise show only the first line.
3913                 This is the default mode. -->
3914            <enum name="collapsing" value="2" />
3915            <!-- Always show both lines. -->
3916            <enum name="twoLine" value="3" />
3917        </attr>
3918    </declare-styleable>
3919
3920    <!-- SlidingDrawer specific attributes. These attributes are used to configure
3921         a SlidingDrawer from XML. -->
3922    <declare-styleable name="SlidingDrawer">
3923        <!-- Identifier for the child that represents the drawer's handle. -->
3924        <attr name="handle" format="reference" />
3925        <!-- Identifier for the child that represents the drawer's content. -->
3926        <attr name="content" format="reference" />
3927        <!-- Orientation of the SlidingDrawer. -->
3928        <attr name="orientation" />
3929        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
3930        <attr name="bottomOffset" format="dimension"  />
3931        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
3932        <attr name="topOffset" format="dimension"  />
3933        <!-- Indicates whether the drawer can be opened/closed by a single tap
3934             on the handle.  (If false, the user must drag or fling, or click
3935             using the trackball, to open/close the drawer.)  Default is true. -->
3936        <attr name="allowSingleTap" format="boolean" />
3937        <!-- Indicates whether the drawer should be opened/closed with an animation
3938             when the user clicks the handle. Default is true. -->
3939        <attr name="animateOnClick" format="boolean" />
3940    </declare-styleable>
3941
3942    <!-- GestureOverlayView specific attributes. These attributes are used to configure
3943         a GestureOverlayView from XML. -->
3944    <declare-styleable name="GestureOverlayView">
3945        <!-- Width of the stroke used to draw the gesture. -->
3946        <attr name="gestureStrokeWidth" format="float" />
3947        <!-- Color used to draw a gesture. -->
3948        <attr name="gestureColor" format="color" />
3949        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
3950        <attr name="uncertainGestureColor" format="color" />
3951        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
3952             is done drawing it. -->
3953        <attr name="fadeOffset" format="integer" />
3954        <!-- Duration, in milliseconds, of the fade out effect after the user is done
3955             drawing a gesture. -->
3956        <attr name="fadeDuration" format="integer" />
3957        <!-- Defines the type of strokes that define a gesture. -->
3958        <attr name="gestureStrokeType">
3959            <!-- A gesture is made of only one stroke. -->
3960            <enum name="single" value="0" />
3961            <!-- A gesture is made of multiple strokes. -->
3962            <enum name="multiple" value="1" />
3963        </attr>
3964        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
3965        <attr name="gestureStrokeLengthThreshold" format="float" />
3966        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
3967        <attr name="gestureStrokeSquarenessThreshold" format="float" />
3968        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
3969        <attr name="gestureStrokeAngleThreshold" format="float" />
3970        <!-- Defines whether the overlay should intercept the motion events when a gesture
3971             is recognized. -->
3972        <attr name="eventsInterceptionEnabled" format="boolean" />
3973        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
3974        <attr name="fadeEnabled" format="boolean" />
3975        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
3976             (when orientation is horizontal) strokes automatically define a gesture. -->
3977        <attr name="orientation" />
3978    </declare-styleable>
3979
3980    <declare-styleable name="QuickContactBadge">
3981        <attr name="quickContactWindowSize">
3982            <enum name="modeSmall" value="1" />
3983            <enum name="modeMedium" value="2" />
3984            <enum name="modeLarge" value="3" />
3985        </attr>
3986    </declare-styleable>
3987
3988    <!-- ======================================= -->
3989    <!-- Widget package parent layout attributes -->
3990    <!-- ======================================= -->
3991    <eat-comment />
3992
3993    <declare-styleable name="AbsoluteLayout_Layout">
3994        <attr name="layout_x" format="dimension" />
3995        <attr name="layout_y" format="dimension" />
3996    </declare-styleable>
3997    <declare-styleable name="LinearLayout_Layout">
3998        <attr name="layout_width" />
3999        <attr name="layout_height" />
4000        <attr name="layout_weight" format="float" />
4001        <attr name="layout_gravity" />
4002    </declare-styleable>
4003    <declare-styleable name="GridLayout_Layout">
4004        <!-- The row boundary delimiting the top of the group of cells
4005        occupied by this view. -->
4006        <attr name="layout_row" format="integer" />
4007        <!-- The row span: the difference between the bottom and top
4008        boundaries delimiting the group of cells occupied by this view.
4009        The default is one.
4010        See {@link android.widget.GridLayout.Spec}. -->
4011        <attr name="layout_rowSpan" format="integer" min="1" />
4012        <!-- The column boundary delimiting the left of the group of cells
4013        occupied by this view. -->
4014        <attr name="layout_column" />
4015        <!-- The column span: the difference between the right and left
4016        boundaries delimiting the group of cells occupied by this view.
4017        The default is one.
4018        See {@link android.widget.GridLayout.Spec}. -->
4019        <attr name="layout_columnSpan" format="integer" min="1" />
4020        <!-- Gravity specifies how a component should be placed in its group of cells.
4021        The default is LEFT | BASELINE.
4022        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
4023        <attr name="layout_gravity" />
4024    </declare-styleable>
4025    <declare-styleable name="FrameLayout_Layout">
4026        <attr name="layout_gravity" />
4027    </declare-styleable>
4028    <declare-styleable name="RelativeLayout_Layout">
4029        <!-- Positions the right edge of this view to the left of the given anchor view ID.
4030             Accommodates right margin of this view and left margin of anchor view. -->
4031        <attr name="layout_toLeftOf" format="reference" />
4032        <!-- Positions the left edge of this view to the right of the given anchor view ID.
4033            Accommodates left margin of this view and right margin of anchor view. -->
4034        <attr name="layout_toRightOf" format="reference" />
4035        <!-- Positions the bottom edge of this view above the given anchor view ID.
4036            Accommodates bottom margin of this view and top margin of anchor view. -->
4037        <attr name="layout_above" format="reference" />
4038        <!-- Positions the top edge of this view below the given anchor view ID.
4039            Accommodates top margin of this view and bottom margin of anchor view. -->
4040        <attr name="layout_below" format="reference" />
4041        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
4042        <attr name="layout_alignBaseline" format="reference" />
4043        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
4044            Accommodates left margin. -->
4045        <attr name="layout_alignLeft" format="reference" />
4046        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
4047            Accommodates top margin. -->
4048        <attr name="layout_alignTop" format="reference" />
4049        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
4050            Accommodates right margin. -->
4051        <attr name="layout_alignRight" format="reference" />
4052        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
4053            Accommodates bottom margin. -->
4054        <attr name="layout_alignBottom" format="reference" />
4055        <!-- If true, makes the left edge of this view match the left edge of the parent.
4056            Accommodates left margin. -->
4057        <attr name="layout_alignParentLeft" format="boolean" />
4058        <!-- If true, makes the top edge of this view match the top edge of the parent.
4059            Accommodates top margin. -->
4060        <attr name="layout_alignParentTop" format="boolean" />
4061        <!-- If true, makes the right edge of this view match the right edge of the parent.
4062            Accommodates right margin. -->
4063        <attr name="layout_alignParentRight" format="boolean" />
4064        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
4065            Accommodates bottom margin. -->
4066        <attr name="layout_alignParentBottom" format="boolean" />
4067        <!-- If true, centers this child horizontally and vertically within its parent. -->
4068        <attr name="layout_centerInParent" format="boolean" />
4069        <!-- If true, centers this child horizontally within its parent. -->
4070        <attr name="layout_centerHorizontal" format="boolean" />
4071        <!-- If true, centers this child vertically within its parent. -->
4072        <attr name="layout_centerVertical" format="boolean" />
4073        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
4074             be found for layout_toLeftOf, layout_toRightOf, etc. -->
4075        <attr name="layout_alignWithParentIfMissing" format="boolean" />
4076        <!-- Positions the end edge of this view to the start of the given anchor view ID.
4077             Accommodates end margin of this view and start margin of anchor view. -->
4078        <attr name="layout_toStartOf" format="reference" />
4079        <!-- Positions the start edge of this view to the end of the given anchor view ID.
4080             Accommodates start margin of this view and end margin of anchor view. -->
4081        <attr name="layout_toEndOf" format="reference" />
4082        <!-- Makes the start edge of this view match the start edge of the given anchor view ID.
4083            Accommodates start margin. -->
4084        <attr name="layout_alignStart" format="reference" />
4085        <!-- Makes the end edge of this view match the end edge of the given anchor view ID.
4086            Accommodates end margin. -->
4087        <attr name="layout_alignEnd" format="reference" />
4088        <!-- If true, makes the start edge of this view match the start edge of the parent.
4089            Accommodates start margin. -->
4090        <attr name="layout_alignParentStart" format="boolean" />
4091        <!-- If true, makes the end edge of this view match the end edge of the parent.
4092            Accommodates end margin. -->
4093        <attr name="layout_alignParentEnd" format="boolean" />
4094    </declare-styleable>
4095    <declare-styleable name="VerticalSlider_Layout">
4096        <attr name="layout_scale" format="float" />
4097    </declare-styleable>
4098
4099    <!-- attributes for internal rotary widget used in lock screen and phone app
4100      @hide -->
4101    <declare-styleable name="RotarySelector">
4102        <!-- Use "horizontal" or "vertical".  The default is horizontal. -->
4103        <attr name="orientation" />
4104    </declare-styleable>
4105
4106    <!-- @hide -->
4107    <declare-styleable name="WeightedLinearLayout">
4108        <attr name="majorWeightMin" format="float" />
4109        <attr name="minorWeightMin" format="float" />
4110        <attr name="majorWeightMax" format="float" />
4111        <attr name="minorWeightMax" format="float" />
4112    </declare-styleable>
4113
4114    <declare-styleable name="CalendarView">
4115        <!-- The first day of week according to {@link java.util.Calendar}. -->
4116        <attr name="firstDayOfWeek" format="integer" />
4117        <!-- Whether do show week numbers. -->
4118        <attr name="showWeekNumber" format="boolean" />
4119        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4120        <attr name="minDate" />
4121        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
4122        <attr name="maxDate" />
4123        <!-- The number of weeks to be shown. -->
4124        <attr name="shownWeekCount" format="integer"/>
4125        <!-- The background color for the selected week. -->
4126        <attr name="selectedWeekBackgroundColor" format="color|reference" />
4127        <!-- The color for the dates of the focused month. -->
4128        <attr name="focusedMonthDateColor" format="color|reference" />
4129        <!-- The color for the dates of an unfocused month. -->
4130        <attr name="unfocusedMonthDateColor" format="color|reference" />
4131        <!-- The color for the week numbers. -->
4132        <attr name="weekNumberColor" format="color|reference" />
4133        <!-- The color for the separator line between weeks. -->
4134        <attr name="weekSeparatorLineColor" format="color|reference" />
4135        <!-- Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
4136        <attr name="selectedDateVerticalBar" format="reference" />
4137        <!-- The text appearance for the week day abbreviation of the calendar header. -->
4138        <attr name="weekDayTextAppearance" format="reference" />
4139        <!-- The text appearance for the calendar dates. -->
4140        <attr name="dateTextAppearance" format="reference" />
4141    </declare-styleable>
4142
4143    <declare-styleable name="NumberPicker">
4144        <!-- @hide Color for the solid color background if such for optimized rendering. -->
4145        <attr name="solidColor" format="color|reference" />
4146        <!-- @hide The divider for making the selection area. -->
4147        <attr name="selectionDivider" format="reference" />
4148        <!-- @hide The height of the selection divider. -->
4149        <attr name="selectionDividerHeight" format="dimension" />
4150        <!-- @hide The distance between the two selection dividers. -->
4151        <attr name="selectionDividersDistance" format="dimension" />
4152        <!-- @hide The min height of the NumberPicker. -->
4153        <attr name="internalMinHeight" format="dimension" />
4154        <!-- @hide The max height of the NumberPicker. -->
4155        <attr name="internalMaxHeight" format="dimension" />
4156        <!-- @hide The min width of the NumberPicker. -->
4157        <attr name="internalMinWidth" format="dimension" />
4158        <!-- @hide The max width of the NumberPicker. -->
4159        <attr name="internalMaxWidth" format="dimension" />
4160        <!-- @hide The layout of the number picker. -->
4161        <attr name="internalLayout" />
4162        <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. -->
4163        <attr name="virtualButtonPressedDrawable" format="reference"/>
4164    </declare-styleable>
4165
4166    <declare-styleable name="TimePicker">
4167        <!-- @hide The layout of the time picker. -->
4168        <attr name="internalLayout" />
4169        <!-- @hide The layout of the legacy time picker. -->
4170        <attr name="legacyLayout" format="reference" />
4171        <!-- @hide Enables or disable the use of the legacy layout for the TimePicker. -->
4172        <attr name="legacyMode" format="boolean" />
4173        <!-- @hide The color when the non legacy TimePicker is disabled. -->
4174        <attr name="disabledColor" format="color|reference" />
4175        <!-- @hide The color for selected text of the non legacy TimePicker. -->
4176        <attr name="headerSelectedTextColor" format="color|reference" />
4177        <!-- @hide The color for unselected text of the non legacy TimePicker. -->
4178        <attr name="headerUnselectedTextColor" format="color|reference" />
4179        <!-- @hide The background color for the header of the non legacy TimePicker. -->
4180        <attr name="headerBackgroundColor" format="color|reference" />
4181        <!-- @hide The color for the hours/minutes numbers of the non legacy TimePicker. -->
4182        <attr name="numbersTextColor" format="color|reference" />
4183        <!-- @hide The background color for the hours/minutes numbers of the non legacy TimePicker. -->
4184        <attr name="numbersBackgroundColor" format="color|reference" />
4185        <!-- @hide The color for the AM/PM selectors of the non legacy TimePicker. -->
4186        <attr name="amPmTextColor" format="color|reference" />
4187        <!-- @hide The background color for the AM/PM selectors of the non legacy TimePicker when unselected. -->
4188        <attr name="amPmUnselectedBackgroundColor" format="color|reference" />
4189        <!-- @hide The background color for the AM/PM selectors of the non legacy TimePicker when selected. -->
4190        <attr name="amPmSelectedBackgroundColor" format="color|reference" />
4191        <!-- @hide The color for the hours/minutes selector of the non legacy TimePicker. -->
4192        <attr name="numbersSelectorColor" format="color|reference" />
4193    </declare-styleable>
4194
4195    <!-- ========================= -->
4196    <!-- Drawable class attributes -->
4197    <!-- ========================= -->
4198    <eat-comment />
4199
4200    <!-- Base attributes that are available to all Drawable objects. -->
4201    <declare-styleable name="Drawable">
4202        <!-- Provides initial visibility state of the drawable; the default
4203             value is false.  See
4204             {@link android.graphics.drawable.Drawable#setVisible}. -->
4205        <attr name="visible" format="boolean" />
4206        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4207             RTL (right-to-left).  See
4208             {@link android.graphics.drawable.Drawable#setAutoMirrored}. -->
4209        <attr name="autoMirrored" format="boolean" />
4210    </declare-styleable>
4211
4212    <!-- Drawable used to render several states. Each state is represented by
4213         a child drawable. -->
4214    <declare-styleable name="StateListDrawable">
4215        <!-- Indicates whether the drawable should be initially visible. -->
4216        <attr name="visible" />
4217        <!-- If true, allows the drawable's padding to change based on the
4218             current state that is selected.  If false, the padding will
4219             stay the same (based on the maximum padding of all the states).
4220             Enabling this feature requires that the owner of the drawable
4221             deal with performing layout when the state changes, which is
4222             often not supported. -->
4223        <attr name="variablePadding" format="boolean" />
4224        <!-- If true, the drawable's reported internal size will remain
4225             constant as the state changes; the size is the maximum of all
4226             of the states.  If false, the size will vary based on the
4227             current state. -->
4228        <attr name="constantSize" format="boolean" />
4229        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4230             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4231             an RGB 565 screen). -->
4232        <attr name="dither" format="boolean" />
4233        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
4234        <attr name="enterFadeDuration" format="integer" />
4235        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
4236        <attr name="exitFadeDuration" format="integer" />
4237        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4238             RTL (right-to-left). -->
4239        <attr name="autoMirrored"/>
4240    </declare-styleable>
4241
4242    <!-- Drawable used to render several states with animated transitions. Each state
4243         is represented by a child drawable with an optional keyframe ID. -->
4244    <declare-styleable name="AnimatedStateListDrawable">
4245        <!-- Indicates whether the drawable should be initially visible. -->
4246        <attr name="visible" />
4247        <!-- If true, allows the drawable's padding to change based on the
4248             current state that is selected.  If false, the padding will
4249             stay the same (based on the maximum padding of all the states).
4250             Enabling this feature requires that the owner of the drawable
4251             deal with performing layout when the state changes, which is
4252             often not supported. -->
4253        <attr name="variablePadding" />
4254        <!-- If true, the drawable's reported internal size will remain
4255             constant as the state changes; the size is the maximum of all
4256             of the states.  If false, the size will vary based on the
4257             current state. -->
4258        <attr name="constantSize" />
4259        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4260             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4261             an RGB 565 screen). -->
4262        <attr name="dither" />
4263        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
4264        <attr name="enterFadeDuration" />
4265        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
4266        <attr name="exitFadeDuration" />
4267        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4268             RTL (right-to-left). -->
4269        <attr name="autoMirrored"/>
4270    </declare-styleable>
4271
4272    <!-- Transition used to animate between states with keyframe IDs. -->
4273    <declare-styleable name="AnimatedStateListDrawableItem">
4274        <!-- Reference to a drawable resource to use for the frame.  If not
4275             given, the drawable must be defined by the first child tag. -->
4276        <attr name="drawable" />
4277        <!-- Keyframe identifier for use in specifying transitions. -->
4278        <attr name="id" />
4279    </declare-styleable>
4280
4281    <!-- Transition used to animate between states with keyframe IDs. -->
4282    <declare-styleable name="AnimatedStateListDrawableTransition">
4283        <!-- Keyframe identifier for the starting state. -->
4284        <attr name="fromId" format="reference" />
4285        <!-- Keyframe identifier for the ending state. -->
4286        <attr name="toId" format="reference" />
4287        <!-- Reference to a animation drawable resource to use for the frame.  If not
4288             given, the animation drawable must be defined by the first child tag. -->
4289        <attr name="drawable" />
4290        <!-- Whether this transition is reversible. -->
4291        <attr name="reversible" format="boolean" />
4292    </declare-styleable>
4293
4294    <!-- Drawable used to render several animated frames. -->
4295    <declare-styleable name="AnimationDrawable">
4296        <attr name="visible" />
4297        <attr name="variablePadding" />
4298        <!-- If true, the animation will only run a single time and then
4299             stop.  If false (the default), it will continually run,
4300             restarting at the first frame after the last has finished. -->
4301        <attr name="oneshot" format="boolean" />
4302    </declare-styleable>
4303
4304    <!-- Represents a single frame inside an AnimationDrawable. -->
4305    <declare-styleable name="AnimationDrawableItem">
4306        <!-- Amount of time (in milliseconds) to display this frame. -->
4307        <attr name="duration" format="integer" />
4308        <!-- Reference to a drawable resource to use for the frame.  If not
4309             given, the drawable must be defined by the first child tag. -->
4310        <attr name="drawable" format="reference" />
4311    </declare-styleable>
4312
4313    <!-- Attributes that can be assigned to a StateListAnimator item. -->
4314    <declare-styleable name="StateListAnimatorItem">
4315        <attr name="animation"/>
4316    </declare-styleable>
4317
4318    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
4319    <declare-styleable name="GradientDrawable">
4320        <!-- Indicates whether the drawable should intially be visible. -->
4321        <attr name="visible" />
4322        <!-- Enables or disables dithering. -->
4323        <attr name="dither" />
4324        <!-- Indicates what shape to fill with a gradient. -->
4325        <attr name="shape">
4326            <!-- Rectangle shape, with optional rounder corners. -->
4327            <enum name="rectangle" value="0" />
4328            <!-- Oval shape. -->
4329            <enum name="oval" value="1" />
4330            <!-- Line shape. -->
4331            <enum name="line" value="2" />
4332            <!-- Ring shape. -->
4333            <enum name="ring" value="3" />
4334        </attr>
4335        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
4336             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
4337             This value is ignored if innerRadius is defined. Default value is 9. -->
4338        <attr name="innerRadiusRatio" format="float" />
4339        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
4340             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
4341             This value is ignored if innerRadius is defined. Default value is 3. -->
4342        <attr name="thicknessRatio" format="float" />
4343        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
4344        <attr name="innerRadius" format="dimension" />
4345        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
4346        <attr name="thickness" format="dimension" />
4347        <!-- Indicates whether the drawable's level affects the way the gradient is drawn. -->
4348        <attr name="useLevel" />
4349    </declare-styleable>
4350
4351    <!-- Used to specify the size of the shape for GradientDrawable. -->
4352    <declare-styleable name="GradientDrawableSize">
4353        <!-- Width of the gradient shape. -->
4354        <attr name="width" />
4355        <!-- Height of the gradient shape. -->
4356        <attr name="height" />
4357    </declare-styleable>
4358
4359    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
4360    <declare-styleable name="GradientDrawableGradient">
4361        <!-- Start color of the gradient. -->
4362        <attr name="startColor" format="color" />
4363        <!-- Optional center color. For linear gradients, use centerX or centerY
4364             to place the center color. -->
4365        <attr name="centerColor" format="color" />
4366        <!-- End color of the gradient. -->
4367        <attr name="endColor" format="color" />
4368        <attr name="useLevel" format="boolean" />
4369        <!-- Angle of the gradient. -->
4370        <attr name="angle" format="float" />
4371        <!-- Type of gradient. The default type is linear. -->
4372        <attr name="type">
4373            <!-- Linear gradient. -->
4374            <enum name="linear" value="0" />
4375            <!-- Radial, or circular, gradient. -->
4376            <enum name="radial" value="1" />
4377            <!-- Sweep, or angled or diamond, gradient. -->
4378            <enum name="sweep"  value="2" />
4379        </attr>
4380        <!-- X coordinate of the origin of the gradient within the shape. -->
4381        <attr name="centerX" format="float|fraction" />
4382        <!-- Y coordinate of the origin of the gradient within the shape. -->
4383        <attr name="centerY" format="float|fraction" />
4384        <!-- Radius of the gradient, used only with radial gradient. -->
4385        <attr name="gradientRadius" format="float|fraction" />
4386    </declare-styleable>
4387
4388    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
4389    <declare-styleable name="GradientDrawableSolid">
4390        <!-- Solid color for the gradient shape. -->
4391        <attr name="color" format="color" />
4392    </declare-styleable>
4393
4394    <!-- Used to describe the optional stroke of a GradientDrawable. -->
4395    <declare-styleable name="GradientDrawableStroke">
4396        <!-- Width of the gradient shape's stroke. -->
4397        <attr name="width" />
4398        <!-- Color of the gradient shape's stroke. -->
4399        <attr name="color" />
4400        <!-- Length of a dash in the stroke. -->
4401        <attr name="dashWidth" format="dimension" />
4402        <!-- Gap between dashes in the stroke. -->
4403        <attr name="dashGap" format="dimension" />
4404    </declare-styleable>
4405
4406    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
4407         This can be used to render rounded corners. -->
4408    <declare-styleable name="DrawableCorners">
4409        <!-- Defines the radius of the four corners. -->
4410        <attr name="radius" format="dimension" />
4411        <!-- Radius of the top left corner. -->
4412        <attr name="topLeftRadius" format="dimension" />
4413        <!-- Radius of the top right corner. -->
4414        <attr name="topRightRadius" format="dimension" />
4415        <!-- Radius of the bottom left corner. -->
4416        <attr name="bottomLeftRadius" format="dimension" />
4417        <!-- Radius of the bottom right corner. -->
4418        <attr name="bottomRightRadius" format="dimension" />
4419    </declare-styleable>
4420
4421    <!-- Used to specify the optional padding of a GradientDrawable. -->
4422    <declare-styleable name="GradientDrawablePadding">
4423        <!-- Amount of left padding inside the gradient shape. -->
4424        <attr name="left" format="dimension" />
4425        <!-- Amount of top padding inside the gradient shape. -->
4426        <attr name="top" format="dimension" />
4427        <!-- Amount of right padding inside the gradient shape. -->
4428        <attr name="right" format="dimension" />
4429        <!-- Amount of bottom padding inside the gradient shape. -->
4430        <attr name="bottom" format="dimension" />
4431    </declare-styleable>
4432
4433    <!-- Drawable used to render several drawables stacked on top of each other.
4434         Each child drawable can be controlled individually. -->
4435    <declare-styleable name="LayerDrawable">
4436        <!-- Indicates the opacity of the layer. This can be useful to allow the
4437              system to enable drawing optimizations. The default value is
4438              translucent. -->
4439        <attr name="opacity">
4440            <!-- Indicates that the layer is opaque and contains no transparent
4441                 nor translucent pixels. -->
4442            <enum name="opaque" value="-1" />
4443            <!-- The layer is completely transparent (no pixel will be drawn.) -->
4444            <enum name="transparent" value="-2" />
4445            <!-- The layer has translucent pixels. -->
4446            <enum name="translucent" value="-3" />
4447        </attr>
4448        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4449             RTL (right-to-left). -->
4450        <attr name="autoMirrored" />
4451        <!-- Indicates how layer padding should affect the bounds of subsequent layers.
4452            The default value is nest. -->
4453        <attr name="paddingMode">
4454            <!-- Nest each layer inside the padding of the previous layer. -->
4455            <enum name="nest" value="0" />
4456            <!-- Stack each layer directly atop the previous layer. -->
4457            <enum name="stack" value="1" />
4458        </attr>
4459    </declare-styleable>
4460
4461    <!-- Describes an item (or child) of a LayerDrawable. -->
4462    <declare-styleable name="LayerDrawableItem">
4463        <!-- Left coordinate of the layer. -->
4464        <attr name="left" />
4465        <!-- Top coordinate of the layer. -->
4466        <attr name="top" />
4467        <!-- Right coordinate of the layer. -->
4468        <attr name="right" />
4469        <!-- Bottom coordinate of the layer. -->
4470        <attr name="bottom" />
4471        <!-- Drawable used to render the layer. -->
4472        <attr name="drawable" />
4473        <!-- Identifier of the layer. This can be used to retrieve the layer
4474             from a drawable container. -->
4475        <attr name="id" />
4476    </declare-styleable>
4477
4478    <declare-styleable name="LevelListDrawableItem">
4479        <!-- The minimum level allowed for this item. -->
4480        <attr name="minLevel" format="integer" />
4481        <!-- The maximum level allowed for this item. -->
4482        <attr name="maxLevel" format="integer" />
4483        <attr name="drawable" />
4484    </declare-styleable>
4485
4486    <!-- Drawable used to rotate another drawable. -->
4487    <declare-styleable name="RotateDrawable">
4488        <attr name="visible" />
4489        <attr name="fromDegrees" format="float" />
4490        <attr name="toDegrees" format="float" />
4491        <attr name="pivotX" format="float|fraction" />
4492        <attr name="pivotY" format="float|fraction" />
4493        <attr name="drawable" />
4494    </declare-styleable>
4495
4496    <declare-styleable name="AnimatedRotateDrawable">
4497        <attr name="visible" />
4498        <attr name="frameDuration" format="integer" />
4499        <attr name="framesCount" format="integer" />
4500        <attr name="pivotX" />
4501        <attr name="pivotY" />
4502        <attr name="drawable" />
4503    </declare-styleable>
4504
4505    <declare-styleable name="InsetDrawable">
4506        <attr name="visible" />
4507        <attr name="drawable" />
4508        <attr name="insetLeft" format="dimension" />
4509        <attr name="insetRight" format="dimension" />
4510        <attr name="insetTop" format="dimension" />
4511        <attr name="insetBottom" format="dimension" />
4512    </declare-styleable>
4513
4514    <!-- Drawable used to draw bitmaps. -->
4515    <declare-styleable name="BitmapDrawable">
4516        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
4517        <attr name="src" />
4518        <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the
4519             edges of a bitmap when rotated. Default value is false. -->
4520        <attr name="antialias" format="boolean" />
4521        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
4522             shrunk or stretched to smooth its apperance. Default value is true. -->
4523        <attr name="filter" format="boolean" />
4524        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4525             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4526             an RGB 565 screen). Default value is true. -->
4527        <attr name="dither" />
4528        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
4529             the drawable in its container if the bitmap is smaller than the container. -->
4530        <attr name="gravity" />
4531        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
4532             Gravity is ignored when the tile mode is enabled. Default value is "disabled". -->
4533        <attr name="tileMode">
4534            <!-- Do not tile the bitmap. This is the default value. -->
4535            <enum name="disabled" value="-1" />
4536            <!-- Replicates the edge color. -->
4537            <enum name="clamp" value="0" />
4538            <!-- Repeats the bitmap in both direction. -->
4539            <enum name="repeat" value="1" />
4540            <!-- Repeats the shader's image horizontally and vertically, alternating
4541                 mirror images so that adjacent images always seam. -->
4542            <enum name="mirror" value="2" />
4543        </attr>
4544        <!-- Enables or disables the mipmap hint. See
4545            {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information.
4546            Default value is false. -->
4547        <attr name="mipMap" format="boolean" />
4548        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4549             RTL (right-to-left). -->
4550        <attr name="autoMirrored" />
4551        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
4552             no tint is applied. May be a color state list. -->
4553        <attr name="tint" />
4554        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
4555             default value is src_in, which treats the drawable as an alpha mask. -->
4556        <attr name="tintMode">
4557            <!-- The tint is drawn on top of the drawable.
4558                 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
4559            <enum name="src_over" value="3" />
4560            <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
4561                 color channels are thrown out. [Sa * Da, Sc * Da] -->
4562            <enum name="src_in" value="5" />
4563            <!-- The tint is drawn above the drawable, but with the drawable’s alpha
4564                 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
4565            <enum name="src_atop" value="9" />
4566            <!-- Multiplies the color and alpha channels of the drawable with those of
4567                 the tint. [Sa * Da, Sc * Dc] -->
4568            <enum name="multiply" value="14" />
4569            <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
4570            <enum name="screen" value="15" />
4571            <!-- Combines the tint and drawable color and alpha channels, clamping the
4572                 result to valid color values. Saturate(S + D) -->
4573            <enum name="add" value="16" />
4574        </attr>
4575        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
4576        <attr name="alpha" />
4577    </declare-styleable>
4578
4579    <!-- Drawable used to draw 9-patches. -->
4580    <declare-styleable name="NinePatchDrawable">
4581        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
4582        <attr name="src" />
4583        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
4584             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
4585             an RGB 565 screen). -->
4586        <attr name="dither" />
4587        <!-- Indicates if the drawable needs to be mirrored when its layout direction is
4588             RTL (right-to-left). -->
4589        <attr name="autoMirrored" />
4590        <!-- If set, specifies the color to apply to the drawable as a tint. By default,
4591             no tint is applied. May be a color state list. -->
4592        <attr name="tint" />
4593        <!-- When a tint color is set, specifies its Porter-Duff blending mode. The
4594             default value is src_in, which treats the drawable as an alpha mask. -->
4595        <attr name="tintMode" />
4596        <!-- Specifies the alpha multiplier to apply to the base drawable. -->
4597        <attr name="alpha" />
4598    </declare-styleable>
4599
4600    <!-- Drawable used to draw a single color. -->
4601    <declare-styleable name="ColorDrawable">
4602        <!-- The color to use. -->
4603        <attr name="color" />
4604    </declare-styleable>
4605
4606    <!-- Drawable used to show animated touch feedback. -->
4607    <declare-styleable name="TouchFeedbackDrawable">
4608        <!-- The tint to use for feedback ripples. This attribute is required. -->
4609        <attr name="tint" />
4610        <!-- Specifies the Porter-Duff blending mode used to apply the tint. The default vlaue is src_atop, which draws over the opaque parts of the drawable. -->
4611        <attr name="tintMode" />
4612        <!-- Whether to pin feedback ripples to the center of the drawable. Default value is false. -->
4613        <attr name="pinned" format="boolean" />
4614    </declare-styleable>
4615
4616    <declare-styleable name="ScaleDrawable">
4617        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
4618             format is XX%. For instance: 100%, 12.5%, etc.-->
4619        <attr name="scaleWidth" format="string" />
4620        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
4621             format is XX%. For instance: 100%, 12.5%, etc.-->
4622        <attr name="scaleHeight" format="string" />
4623        <!-- Specifies where the drawable is positioned after scaling. The default value is
4624             left. -->
4625        <attr name="scaleGravity">
4626            <!-- Push object to the top of its container, not changing its size. -->
4627            <flag name="top" value="0x30" />
4628            <!-- Push object to the bottom of its container, not changing its size. -->
4629            <flag name="bottom" value="0x50" />
4630            <!-- Push object to the left of its container, not changing its size. -->
4631            <flag name="left" value="0x03" />
4632            <!-- Push object to the right of its container, not changing its size. -->
4633            <flag name="right" value="0x05" />
4634            <!-- Place object in the vertical center of its container, not changing its size. -->
4635            <flag name="center_vertical" value="0x10" />
4636            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
4637            <flag name="fill_vertical" value="0x70" />
4638            <!-- Place object in the horizontal center of its container, not changing its size. -->
4639            <flag name="center_horizontal" value="0x01" />
4640            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
4641            <flag name="fill_horizontal" value="0x07" />
4642            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
4643            <flag name="center" value="0x11" />
4644            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
4645            <flag name="fill" value="0x77" />
4646            <!-- Additional option that can be set to have the top and/or bottom edges of
4647                 the child clipped to its container's bounds.
4648                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
4649                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
4650            <flag name="clip_vertical" value="0x80" />
4651            <!-- Additional option that can be set to have the left and/or right edges of
4652                 the child clipped to its container's bounds.
4653                 The clip will be based on the horizontal gravity: a left gravity will clip the right
4654                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
4655            <flag name="clip_horizontal" value="0x08" />
4656            <!-- Push object to the beginning of its container, not changing its size. -->
4657            <flag name="start" value="0x00800003" />
4658            <!-- Push object to the end of its container, not changing its size. -->
4659            <flag name="end" value="0x00800005" />
4660        </attr>
4661        <!-- Reference to a drawable resource to draw with the specified scale. -->
4662        <attr name="drawable" />
4663        <!-- Use the drawable's intrinsic width and height as minimum size values.
4664             Useful if the target drawable is a 9-patch or otherwise should not be scaled
4665             down beyond a minimum size. -->
4666        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
4667    </declare-styleable>
4668
4669    <declare-styleable name="ClipDrawable">
4670        <!-- The orientation for the clip. -->
4671        <attr name="clipOrientation">
4672            <!-- Clip the drawable horizontally. -->
4673            <flag name="horizontal" value="1" />
4674            <!-- Clip the drawable vertically. -->
4675            <flag name="vertical" value="2" />
4676        </attr>
4677        <!-- Specifies where to clip within the drawable. The default value is
4678             left. -->
4679        <attr name="gravity" />
4680        <!-- Reference to a drawable resource to draw with the specified scale. -->
4681        <attr name="drawable" />
4682    </declare-styleable>
4683
4684    <!-- Defines the padding of a ShapeDrawable. -->
4685    <declare-styleable name="ShapeDrawablePadding">
4686        <!-- Left padding. -->
4687        <attr name="left" />
4688        <!-- Top padding. -->
4689        <attr name="top" />
4690        <!-- Right padding. -->
4691        <attr name="right" />
4692        <!-- Bottom padding. -->
4693        <attr name="bottom" />
4694    </declare-styleable>
4695
4696    <!-- Drawable used to draw shapes. -->
4697    <declare-styleable name="ShapeDrawable">
4698        <!-- Defines the color of the shape. -->
4699        <attr name="color" />
4700        <!-- Defines the width of the shape. -->
4701        <attr name="width" />
4702        <!-- Defines the height of the shape. -->
4703        <attr name="height" />
4704        <!-- Enables or disables dithering. -->
4705        <attr name="dither" />
4706    </declare-styleable>
4707
4708    <!-- ========================== -->
4709    <!--   Vector drawable class   -->
4710    <!-- ========================== -->
4711    <eat-comment />
4712
4713    <!-- Drawable used to draw Vector Drawables. -->
4714    <declare-styleable name="VectorDrawable">
4715        <attr name="versionCode" />
4716    </declare-styleable>
4717
4718    <!-- Define the virtual size of the drawing surface paths will draw to. -->
4719    <declare-styleable name="VectorDrawableViewport">
4720        <!-- The width of the canvas the drawing is on. -->
4721        <attr name="viewportWidth" format="float"/>
4722        <!-- The height of the canvas the drawing is on. -->
4723        <attr name="viewportHeight" format="float"/>
4724    </declare-styleable>
4725
4726    <!-- Define the size of the drawable -->
4727    <declare-styleable name="VectorDrawableSize">
4728        <!-- Width of the Vector Drawable. -->
4729        <attr name="width" />
4730        <!-- Height of the Vector Drawable. -->
4731        <attr name="height" />
4732    </declare-styleable>
4733
4734    <!-- Defines the path used in Vector Drawables. -->
4735    <declare-styleable name="VectorDrawablePath">
4736        <!-- The Name of this path -->
4737        <attr name="name" />
4738        <!-- The width a path stroke -->
4739        <attr name="strokeWidth" format="float" />
4740        <!-- The opacity of a path stroke -->
4741        <attr name="strokeOpacity" format="float" />
4742        <!-- The amount to rotate the path stroke -->
4743        <attr name="rotation" />
4744        <!-- The X coordinate of the center of rotation of a path -->
4745        <attr name="pivotX" />
4746        <!-- The Y coordinate of the center of rotation of a path -->
4747        <attr name="pivotY" />
4748        <!-- The color to stroke the path if not defined implies no stroke-->
4749        <attr name="stroke" format="color" />
4750        <!-- The color to fill the path if not defined implies no fill-->
4751        <attr name="fill" format="color" />
4752        <!-- The level of opacity of the filled area of the path -->
4753        <attr name="fillOpacity" format="float" />
4754        <!-- The specification of the operations that define the path  -->
4755        <attr name="pathData" format="string" />
4756        <!-- The fraction of the path to trim from the start from 0 to 1 -->
4757        <attr name="trimPathStart" format="float" />
4758        <!-- The fraction of the path to trim from the end from 0 to 1  -->
4759        <attr name="trimPathEnd" format="float" />
4760        <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1  -->
4761        <attr name="trimPathOffset" format="float" />
4762        <!-- Path will set the current clip path -->
4763        <attr name="clipToPath" format="boolean" />
4764        <!-- sets the linecap for a stroked path -->
4765        <attr name="strokeLineCap" format="enum">
4766            <enum name="butt" value="0"/>
4767            <enum name="round" value="1"/>
4768            <enum name="square" value="2"/>
4769        </attr>
4770        <!-- sets the lineJoin for a stroked path -->
4771        <attr name="strokeLineJoin" format="enum">
4772            <enum name="miter" value="0"/>
4773            <enum name="round" value="1"/>
4774            <enum name="bevel" value="2"/>
4775        </attr>
4776        <!-- sets the Miter limit for a stroked path -->
4777        <attr name="strokeMiterLimit" format="float"/>
4778    </declare-styleable>
4779
4780    <!-- ========================== -->
4781    <!-- Animation class attributes -->
4782    <!-- ========================== -->
4783    <eat-comment />
4784
4785    <declare-styleable name="Animation">
4786        <!-- Defines the interpolator used to smooth the animation movement in time. -->
4787        <attr name="interpolator" />
4788        <!-- When set to true, the value of fillBefore is taken into account. -->
4789        <attr name="fillEnabled" format="boolean" />
4790        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
4791             is applied before the animation has started. The default value is true. -->
4792        <attr name="fillBefore" format="boolean" />
4793        <!-- When set to true, the animation transformation is applied after the animation is
4794             over. The default value is false. If fillEnabled is not set to true and the
4795             animation is not set on a View, fillAfter is assumed to be true.-->
4796        <attr name="fillAfter" format="boolean" />
4797        <!-- Amount of time (in milliseconds) for the animation to run. -->
4798        <attr name="duration" />
4799        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
4800        <attr name="startOffset" format="integer" />
4801        <!-- Defines how many times the animation should repeat. The default value is 0. -->
4802        <attr name="repeatCount" format="integer">
4803            <enum name="infinite" value="-1" />
4804        </attr>
4805        <!-- Defines the animation behavior when it reaches the end and the repeat count is
4806             greater than 0 or infinite. The default value is restart. -->
4807        <attr name="repeatMode">
4808            <!-- The animation starts again from the beginning. -->
4809            <enum name="restart" value="1" />
4810            <!-- The animation plays backward. -->
4811            <enum name="reverse" value="2" />
4812        </attr>
4813        <!-- Allows for an adjustment of the Z ordering of the content being
4814             animated for the duration of the animation.  The default value is normal. -->
4815        <attr name="zAdjustment">
4816            <!-- The content being animated be kept in its current Z order. -->
4817            <enum name="normal" value="0" />
4818            <!-- The content being animated is forced on top of all other
4819                 content for the duration of the animation. -->
4820            <enum name="top" value="1" />
4821            <!-- The content being animated is forced under all other
4822                 content for the duration of the animation. -->
4823            <enum name="bottom" value="-1" />
4824        </attr>
4825        <!-- Special background behind animation.  Only for use with window
4826             animations.  Can only be a color, and only black.  If 0, the
4827             default, there is no background. -->
4828        <attr name="background" />
4829        <!-- Special option for window animations: if this window is on top
4830             of a wallpaper, don't animate the wallpaper with it. -->
4831        <attr name="detachWallpaper" format="boolean" />
4832    </declare-styleable>
4833
4834    <declare-styleable name="AnimationSet">
4835        <attr name="shareInterpolator" format="boolean" />
4836        <attr name="fillBefore" />
4837        <attr name="fillAfter" />
4838        <attr name="duration" />
4839        <attr name="startOffset" />
4840        <attr name="repeatMode" />
4841    </declare-styleable>
4842
4843    <declare-styleable name="RotateAnimation">
4844        <attr name="fromDegrees" />
4845        <attr name="toDegrees" />
4846        <attr name="pivotX" />
4847        <attr name="pivotY" />
4848    </declare-styleable>
4849
4850    <declare-styleable name="ScaleAnimation">
4851        <attr name="fromXScale" format="float|fraction|dimension" />
4852        <attr name="toXScale" format="float|fraction|dimension" />
4853        <attr name="fromYScale" format="float|fraction|dimension" />
4854        <attr name="toYScale" format="float|fraction|dimension" />
4855        <attr name="pivotX" />
4856        <attr name="pivotY" />
4857    </declare-styleable>
4858
4859    <declare-styleable name="TranslateAnimation">
4860        <attr name="fromXDelta" format="float|fraction" />
4861        <attr name="toXDelta" format="float|fraction" />
4862        <attr name="fromYDelta" format="float|fraction" />
4863        <attr name="toYDelta" format="float|fraction" />
4864    </declare-styleable>
4865
4866    <declare-styleable name="AlphaAnimation">
4867        <attr name="fromAlpha" format="float" />
4868        <attr name="toAlpha" format="float" />
4869    </declare-styleable>
4870
4871    <declare-styleable name="LayoutAnimation">
4872        <!-- Fraction of the animation duration used to delay the beginning of
4873         the animation of each child. -->
4874        <attr name="delay" format="float|fraction" />
4875        <!-- Animation to use on each child. -->
4876        <attr name="animation" format="reference" />
4877        <!-- The order in which the animations will be started. -->
4878        <attr name="animationOrder">
4879            <!-- Animations are started in the natural order. -->
4880            <enum name="normal" value="0" />
4881            <!-- Animations are started in the reverse order. -->
4882            <enum name="reverse" value="1" />
4883            <!-- Animations are started randomly. -->
4884            <enum name="random" value="2" />
4885        </attr>
4886        <!-- Interpolator used to interpolate the delay between the start of
4887         each animation. -->
4888        <attr name="interpolator" />
4889    </declare-styleable>
4890
4891    <declare-styleable name="GridLayoutAnimation">
4892        <!-- Fraction of the animation duration used to delay the beginning of
4893         the animation of each column. -->
4894        <attr name="columnDelay" format="float|fraction" />
4895        <!-- Fraction of the animation duration used to delay the beginning of
4896         the animation of each row. -->
4897        <attr name="rowDelay" format="float|fraction" />
4898        <!-- Direction of the animation in the grid. -->
4899        <attr name="direction">
4900            <!-- Animates columns from left to right. -->
4901            <flag name="left_to_right" value="0x0" />
4902            <!-- Animates columns from right to left. -->
4903            <flag name="right_to_left" value="0x1" />
4904            <!-- Animates rows from top to bottom. -->
4905            <flag name="top_to_bottom" value="0x0" />
4906            <!-- Animates rows from bottom to top. -->
4907            <flag name="bottom_to_top" value="0x2" />
4908        </attr>
4909        <!-- Priority of the rows and columns. When the priority is none,
4910         both rows and columns have the same priority. When the priority is
4911         column, the animations will be applied on the columns first. The same
4912         goes for rows. -->
4913        <attr name="directionPriority">
4914            <!-- Rows and columns are animated at the same time. -->
4915            <enum name="none"   value="0" />
4916            <!-- Columns are animated first. -->
4917            <enum name="column" value="1" />
4918            <!-- Rows are animated first. -->
4919            <enum name="row"    value="2" />
4920        </attr>
4921    </declare-styleable>
4922
4923    <declare-styleable name="AccelerateInterpolator">
4924        <!-- This is the amount of deceleration to add when easing in. -->
4925        <attr name="factor" format="float" />
4926    </declare-styleable>
4927
4928    <declare-styleable name="DecelerateInterpolator">
4929        <!-- This is the amount of acceleration to add when easing out. -->
4930        <attr name="factor" />
4931    </declare-styleable>
4932
4933    <declare-styleable name="CycleInterpolator">
4934        <attr name="cycles" format="float" />
4935    </declare-styleable>
4936
4937    <declare-styleable name="AnticipateInterpolator">
4938        <!-- This is the amount of tension. -->
4939        <attr name="tension" format="float" />
4940    </declare-styleable>
4941
4942    <declare-styleable name="OvershootInterpolator">
4943        <!-- This is the amount of tension. -->
4944        <attr name="tension" />
4945    </declare-styleable>
4946
4947    <declare-styleable name="AnticipateOvershootInterpolator">
4948        <!-- This is the amount of tension. -->
4949        <attr name="tension" />
4950        <!-- This is the amount by which to multiply the tension. -->
4951        <attr name="extraTension" format="float" />
4952    </declare-styleable>
4953
4954    <declare-styleable name="PathInterpolator">
4955        <attr name="controlX1" format="float" />
4956        <attr name="controlY1" format="float" />
4957        <attr name="controlX2" format="float" />
4958        <attr name="controlY2" format="float" />
4959    </declare-styleable>
4960
4961    <!-- ========================== -->
4962    <!-- Transition attributes -->
4963    <!-- ========================== -->
4964    <eat-comment />
4965
4966    <!-- Use specific transition subclass names as the root tag of the XML resource that
4967         describes a {@link android.transition.Transition Transition},
4968         such as <code>move</code>, <code>fade</code>, and <code>set</code>. -->
4969    <declare-styleable name="Transition">
4970        <!-- Amount of time (in milliseconds) that the transition should run. -->
4971        <attr name="duration" />
4972        <!-- Delay in milliseconds before the transition starts. -->
4973        <attr name="startDelay" format="integer" />
4974        <!-- Interpolator to be used in the animations spawned by this transition. -->
4975        <attr name="interpolator" />
4976    </declare-styleable>
4977
4978    <!-- Use <code>fade</code>as the root tag of the XML resource that
4979         describes a {@link android.transition.Fade Fade} transition.
4980         The attributes of the {@link android.R.styleable#Transition Transition}
4981         resource are available in addition to the specific attributes of Fade
4982         described here. -->
4983    <declare-styleable name="Fade">
4984        <attr name="fadingMode">
4985            <!-- Fade will only fade appearing items in. -->
4986            <enum name="fade_in" value="1" />
4987            <!-- Fade will only fade disappearing items out. -->
4988            <enum name="fade_out" value="2" />
4989            <!-- Fade will fade appearing items in and disappearing items out. -->
4990            <enum name="fade_in_out" value="3" />
4991        </attr>
4992    </declare-styleable>
4993
4994    <!-- Use <code>slide</code>as the root tag of the XML resource that
4995         describes a {@link android.transition.Slide Slide} transition.
4996         The attributes of the {@link android.R.styleable#Transition Transition}
4997         resource are available in addition to the specific attributes of Slide
4998         described here. -->
4999    <declare-styleable name="Slide">
5000        <attr name="slideEdge">
5001            <!-- Slide to and from the bottom edge of the Scene. -->
5002            <enum name="left" value="0" />
5003            <!-- Slide to and from the bottom edge of the Scene. -->
5004            <enum name="top" value="1" />
5005            <!-- Slide to and from the bottom edge of the Scene. -->
5006            <enum name="right" value="2" />
5007            <!-- Slide to and from the bottom edge of the Scene. -->
5008            <enum name="bottom" value="3" />
5009        </attr>
5010    </declare-styleable>
5011
5012    <!-- Use <code>target</code> as the root tag of the XML resource that
5013     describes a {@link android.transition.Transition#addTarget(int)
5014     targetId} of a transition. There can be one or more targets inside
5015     a <code>targets</code> tag, which is itself inside an appropriate
5016     {@link android.R.styleable#Transition Transition} tag.
5017     -->
5018    <declare-styleable name="TransitionTarget">
5019        <!-- The id of a target on which this transition will animate changes. -->
5020        <attr name="targetId" format="reference" />
5021        <!-- The id of a target to exclude from this transition. -->
5022        <attr name="excludeId" format="reference" />
5023        <!-- The fully-qualified name of the Class to include in this transition. -->
5024        <attr name="targetClass" />
5025        <!-- The fully-qualified name of the Class to exclude from this transition. -->
5026        <attr name="excludeClass" format="string" />
5027        <!-- The viewName of the target on which this transition will animation changes. -->
5028        <attr name="targetViewName" format="string" />
5029        <!-- The viewName of the target to exclude from this transition. -->
5030        <attr name="excludeViewName" format="string" />
5031    </declare-styleable>
5032
5033    <!-- Use <code>set</code> as the root tag of the XML resource that
5034         describes a {@link android.transition.TransitionSet
5035         TransitionSet} transition. -->
5036    <declare-styleable name="TransitionSet">
5037        <attr name="transitionOrdering">
5038            <!-- child transitions should be played together. -->
5039            <enum name="together" value="0" />
5040            <!-- child transitions should be played sequentially, in the same order
5041            as the xml. -->
5042            <enum name="sequential" value="1" />
5043        </attr>
5044    </declare-styleable>
5045
5046    <!-- Use <code>transitionManager</code> as the root tag of the XML resource that
5047         describes a {@link android.transition.TransitionManager
5048         TransitionManager}. -->
5049    <declare-styleable name="TransitionManager">
5050        <!-- The id of a transition to be used in a particular scene change. -->
5051        <attr name="transition" format="reference" />
5052        <!-- The originating scene in this scene change. -->
5053        <attr name="fromScene" format="reference" />
5054        <!-- The destination scene in this scene change. -->
5055        <attr name="toScene" format="reference" />
5056    </declare-styleable>
5057
5058    <!-- ========================== -->
5059    <!-- ValueAnimator class attributes -->
5060    <!-- ========================== -->
5061    <eat-comment />
5062
5063    <declare-styleable name="Animator">
5064        <!-- Defines the interpolator used to smooth the animation movement in time. -->
5065        <attr name="interpolator" />
5066        <!-- Amount of time (in milliseconds) for the animation to run. -->
5067        <attr name="duration" />
5068        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
5069        <attr name="startOffset"/>
5070        <!-- Defines how many times the animation should repeat. The default value is 0. -->
5071        <attr name="repeatCount"/>
5072        <!-- Defines the animation behavior when it reaches the end and the repeat count is
5073             greater than 0 or infinite. The default value is restart. -->
5074        <attr name="repeatMode"/>
5075        <!-- Value the animation starts from. -->
5076        <attr name="valueFrom" format="float|integer|color|dimension"/>
5077        <!-- Value the animation animates to. -->
5078        <attr name="valueTo" format="float|integer|color|dimension"/>
5079        <!-- The type of valueFrom and valueTo. -->
5080        <attr name="valueType">
5081            <!-- valueFrom and valueTo are floats. This is the default value is valueType is
5082                 unspecified. Note that if either valueFrom or valueTo represent colors
5083                 (beginning with "#"), then this attribute is ignored and the color values are
5084                 interpreted as integers. -->
5085            <enum name="floatType" value="0" />
5086            <!-- valueFrom and valueTo are integers. -->
5087            <enum name="intType"   value="1" />
5088        </attr>
5089    </declare-styleable>
5090
5091    <!-- ========================== -->
5092    <!-- ObjectAnimator class attributes -->
5093    <!-- ========================== -->
5094    <eat-comment />
5095
5096    <declare-styleable name="PropertyAnimator">
5097        <!-- Name of the property being animated. -->
5098        <attr name="propertyName" format="string"/>
5099    </declare-styleable>
5100
5101
5102    <!-- ========================== -->
5103    <!-- AnimatorSet class attributes -->
5104    <!-- ========================== -->
5105    <eat-comment />
5106
5107    <declare-styleable name="AnimatorSet">
5108        <!-- Name of the property being animated. -->
5109        <attr name="ordering">
5110            <!-- child animations should be played together. -->
5111            <enum name="together" value="0" />
5112            <!-- child animations should be played sequentially, in the same order as the xml. -->
5113            <enum name="sequentially" value="1" />
5114        </attr>
5115    </declare-styleable>
5116
5117    <!-- ========================== -->
5118    <!-- State attributes           -->
5119    <!-- ========================== -->
5120    <eat-comment />
5121
5122    <!-- Drawable states.
5123         The mapping of Drawable states to a particular drawables is specified
5124         in the "state" elements of a Widget's "selector" element.
5125         Possible values:
5126         <ul>
5127         <li>"state_focused"
5128         <li>"state_window_focused"
5129         <li>"state_enabled"
5130         <li>"state_checked"
5131         <li>"state_selected"
5132         <li>"state_active"
5133         <li>"state_single"
5134         <li>"state_first"
5135         <li>"state_mid"
5136         <li>"state_last"
5137         <li>"state_only"
5138         <li>"state_pressed"
5139         <li>"state_activated"
5140         <li>"state_error"
5141         <li>"state_circle"
5142         <li>"state_rect"
5143         <li>"state_grow"
5144         <li>"state_move"
5145         <li>"state_hovered"
5146         <li>"state_drag_can_accept"
5147         <li>"state_drag_hovered"
5148         <li>"state_accessibility_focused"
5149         </ul>  -->
5150    <declare-styleable name="DrawableStates">
5151        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5152             set when a view has input focus. -->
5153        <attr name="state_focused" format="boolean" />
5154        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5155             set when a view's window has input focus. -->
5156        <attr name="state_window_focused" format="boolean" />
5157        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5158             set when a view is enabled. -->
5159        <attr name="state_enabled" format="boolean" />
5160        <!-- State identifier indicating that the object <var>may</var> display a check mark.
5161             See {@link R.attr#state_checked} for the identifier that indicates whether it is
5162             actually checked. -->
5163        <attr name="state_checkable" format="boolean"/>
5164        <!-- State identifier indicating that the object is currently checked.  See
5165             {@link R.attr#state_checkable} for an additional identifier that can indicate if
5166             any object may ever display a check, regardless of whether state_checked is
5167             currently set. -->
5168        <attr name="state_checked" format="boolean"/>
5169        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5170             set when a view (or one of its parents) is currently selected. -->
5171        <attr name="state_selected" format="boolean" />
5172        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5173             set when the user is pressing down in a view. -->
5174        <attr name="state_pressed" format="boolean" />
5175        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5176             set when a view or its parent has been "activated" meaning the user has currently
5177             marked it as being of interest.  This is an alternative representation of
5178             state_checked for when the state should be propagated down the view hierarchy. -->
5179        <attr name="state_activated" format="boolean" />
5180        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5181        <attr name="state_active" format="boolean" />
5182        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5183        <attr name="state_single" format="boolean" />
5184        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5185        <attr name="state_first" format="boolean" />
5186        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5187        <attr name="state_middle" format="boolean" />
5188        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
5189        <attr name="state_last" format="boolean" />
5190        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5191             indicating that the Drawable is in a view that is hardware accelerated.
5192             This means that the device can at least render a full-screen scaled
5193             bitmap with one layer of text and bitmaps composited on top of it
5194             at 60fps.  When this is set, the colorBackgroundCacheHint will be
5195             ignored even if it specifies a solid color, since that optimization
5196             is not needed. -->
5197        <attr name="state_accelerated" format="boolean" />
5198        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
5199             set when a pointer is hovering over the view. -->
5200        <attr name="state_hovered" format="boolean" />
5201        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
5202             indicating that the Drawable is in a view that is capable of accepting a drop of
5203             the content currently being manipulated in a drag-and-drop operation. -->
5204        <attr name="state_drag_can_accept" format="boolean" />
5205        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
5206             indicating that a drag operation (for which the Drawable's view is a valid recipient)
5207             is currently positioned over the Drawable. -->
5208        <attr name="state_drag_hovered" format="boolean" />
5209        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
5210             indicating that a View has accessibility focus. -->
5211        <attr name="state_accessibility_focused" format="boolean" />
5212    </declare-styleable>
5213    <declare-styleable name="ViewDrawableStates">
5214        <attr name="state_pressed" />
5215        <attr name="state_focused" />
5216        <attr name="state_selected" />
5217        <attr name="state_window_focused" />
5218        <attr name="state_enabled" />
5219        <attr name="state_activated" />
5220        <attr name="state_accelerated" />
5221        <attr name="state_hovered" />
5222        <attr name="state_drag_can_accept" />
5223        <attr name="state_drag_hovered" />
5224    </declare-styleable>
5225    <!-- State array representing a menu item that is currently checked. -->
5226    <declare-styleable name="MenuItemCheckedState">
5227        <attr name="state_checkable" />
5228        <attr name="state_checked" />
5229    </declare-styleable>
5230    <!-- State array representing a menu item that is checkable but is not currently checked. -->
5231    <declare-styleable name="MenuItemUncheckedState">
5232        <attr name="state_checkable" />
5233    </declare-styleable>
5234    <!-- State array representing a menu item that is currently focused and checked. -->
5235    <declare-styleable name="MenuItemCheckedFocusedState">
5236        <attr name="state_checkable" />
5237        <attr name="state_checked" />
5238        <attr name="state_focused" />
5239    </declare-styleable>
5240    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
5241    <declare-styleable name="MenuItemUncheckedFocusedState">
5242        <attr name="state_checkable" />
5243        <attr name="state_focused" />
5244    </declare-styleable>
5245    <!-- State array representing an expandable list child's indicator. -->
5246    <declare-styleable name="ExpandableListChildIndicatorState">
5247        <!-- State identifier indicating the child is the last child within its group. -->
5248        <attr name="state_last" />
5249    </declare-styleable>
5250    <!-- State array representing an expandable list group's indicator. -->
5251    <declare-styleable name="ExpandableListGroupIndicatorState">
5252        <!-- State identifier indicating the group is expanded. -->
5253        <attr name="state_expanded" format="boolean" />
5254        <!-- State identifier indicating the group is empty (has no children). -->
5255        <attr name="state_empty" format="boolean" />
5256    </declare-styleable>
5257    <declare-styleable name="PopupWindowBackgroundState">
5258        <!-- State identifier indicating the popup will be above the anchor. -->
5259        <attr name="state_above_anchor" format="boolean" />
5260    </declare-styleable>
5261    <declare-styleable name="TextViewMultiLineBackgroundState">
5262        <!-- State identifier indicating a TextView has a multi-line layout. -->
5263        <attr name="state_multiline" format="boolean" />
5264    </declare-styleable>
5265
5266    <!-- ***************************************************************** -->
5267    <!-- Support for Searchable activities. -->
5268    <!-- ***************************************************************** -->
5269    <eat-comment />
5270
5271    <!-- Searchable activities and applications must provide search configuration information
5272        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
5273        For a more in-depth discussion of search configuration, please refer to
5274        {@link android.app.SearchManager}. -->
5275    <declare-styleable name="Searchable">
5276          <!--<strong>This is deprecated.</strong><br/>The default
5277              application icon is now always used, so this attribute is
5278              obsolete.-->
5279        <attr name="icon" />
5280        <!-- This is the user-displayed name of the searchable activity.  <i>Required
5281            attribute.</i> -->
5282        <attr name="label" />
5283        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
5284            attribute.</i> -->
5285        <attr name="hint" />
5286        <!-- If supplied, this string will be displayed as the text of the "Search" button.
5287          <i>Optional attribute.</i>
5288          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
5289                       changing to use only icons for its buttons.}-->
5290        <attr name="searchButtonText" format="string" />
5291        <attr name="inputType" />
5292        <attr name="imeOptions" />
5293
5294        <!-- Additional features are controlled by mode bits in this field.  Omitting
5295            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
5296        -->
5297        <attr name="searchMode">
5298          <!-- If set, this flag enables the display of the search target (label) within the
5299               search bar.  If neither bad mode is selected, no badge will be shown. -->
5300          <flag name="showSearchLabelAsBadge" value="0x04" />
5301          <!--<strong>This is deprecated.</strong><br/>The default
5302              application icon is now always used, so this option is
5303              obsolete.-->
5304          <flag name="showSearchIconAsBadge" value="0x08" />
5305          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
5306               be considered as the text for suggestion query rewriting.  This should only
5307               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
5308               inspection and editing - typically, HTTP/HTTPS Uri's. -->
5309          <flag name="queryRewriteFromData" value="0x10" />
5310          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
5311               be considered as the text for suggestion query rewriting.  This should be used
5312               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
5313               values are not suitable for user inspection and editing. -->
5314          <flag name="queryRewriteFromText" value="0x20" />
5315        </attr>
5316
5317        <!-- Voice search features are controlled by mode bits in this field.  Omitting
5318            this field, or setting to zero, provides default behavior.
5319            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
5320            also be set.  <i>Optional attribute.</i>
5321        -->
5322        <attr name="voiceSearchMode">
5323          <!-- If set, display a voice search button.  This only takes effect if voice search is
5324               available on the device. -->
5325          <flag name="showVoiceSearchButton" value="0x01" />
5326          <!-- If set, the voice search button will take the user directly to a built-in
5327               voice web search activity.  Most applications will not use this flag, as it
5328               will take the user away from the activity in which search was invoked. -->
5329          <flag name="launchWebSearch" value="0x02" />
5330          <!-- If set, the voice search button will take the user directly to a built-in
5331               voice recording activity.  This activity will prompt the user to speak,
5332               transcribe the spoken text, and forward the resulting query
5333               text to the searchable activity, just as if the user had typed it into
5334               the search UI and clicked the search button. -->
5335          <flag name="launchRecognizer" value="0x04" />
5336        </attr>
5337
5338        <!-- If provided, this specifies the language model that should be used by the
5339             voice recognition system.  See
5340             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
5341             If not provided, the default value
5342             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
5343        <attr name="voiceLanguageModel" format="string" />
5344        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
5345        <attr name="voicePromptText" format="string" />
5346        <!-- If provided, this specifies the spoken language to be expected, and that it will be
5347             different than the one set in the {@link java.util.Locale#getDefault()}. -->
5348        <attr name="voiceLanguage" format="string" />
5349        <!-- If provided, enforces the maximum number of results to return, including the "best"
5350             result which will always be provided as the SEARCH intent's primary query.  Must be one
5351             or greater.  If not provided, the recognizer will choose how many results to return.
5352             -->
5353        <attr name="voiceMaxResults" format="integer" />
5354
5355        <!-- If provided, this is the trigger indicating that the searchable activity
5356            provides suggestions as well.  The value must be a fully-qualified content provider
5357            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
5358            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
5359            attribute.</i> -->
5360        <attr name="searchSuggestAuthority" format="string" />
5361        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
5362            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
5363            -->
5364        <attr name="searchSuggestPath" format="string" />
5365        <!-- If provided, suggestion queries will be passed into your query function
5366            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
5367            database, and will contain a single question mark, which represents the actual query
5368            string that has been typed by the user.  If not provided, then the user query text
5369            will be appended to the query Uri (after an additional "/".)  <i>Optional
5370            attribute.</i> -->
5371        <attr name="searchSuggestSelection" format="string" />
5372
5373        <!-- If provided, and not overridden by an action in the selected suggestion, this
5374            string will be placed in the action field of the {@link android.content.Intent Intent}
5375            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
5376        <attr name="searchSuggestIntentAction" format="string" />
5377        <!-- If provided, and not overridden by an action in the selected suggestion, this
5378            string will be placed in the data field of the {@link android.content.Intent Intent}
5379            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
5380        <attr name="searchSuggestIntentData" format="string" />
5381
5382        <!-- If provided, this is the minimum number of characters needed to trigger
5383             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
5384        <attr name="searchSuggestThreshold" format="integer" />
5385
5386        <!-- If provided and <code>true</code>, this searchable activity will be
5387             included in any global lists of search targets.
5388             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
5389        <attr name="includeInGlobalSearch" format="boolean" />
5390
5391        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
5392             queries in a particular session. If set to <code>false</code> and the activity
5393             returned zero results for a query, it will not be invoked again in that session for
5394             supersets of that zero-results query. For example, if the activity returned zero
5395             results for "bo", it would not be queried again for "bob".
5396             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
5397        <attr name="queryAfterZeroResults" format="boolean" />
5398        <!-- If provided, this string will be used to describe the searchable item in the
5399             searchable items settings within system search settings. <i>Optional
5400             attribute.</i> -->
5401        <attr name="searchSettingsDescription" format="string" />
5402
5403        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
5404             within this activity would be detected and treated as URLs (show a 'go' button in the
5405             keyboard and invoke the browser directly when user launches the URL instead of passing
5406             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
5407             normal query text.
5408             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
5409        <attr name="autoUrlDetect" format="boolean" />
5410
5411    </declare-styleable>
5412
5413    <!-- In order to process special action keys during search, you must define them using
5414            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
5415            discussion of action code handling, please refer to {@link android.app.SearchManager}.
5416    -->
5417    <declare-styleable name="SearchableActionKey">
5418        <!-- This attribute denotes the action key you wish to respond to.  Note that not
5419            all action keys are actually supported using this mechanism, as many of them are
5420            used for typing, navigation, or system functions.  This will be added to the
5421            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
5422            searchable activity.  To examine the key code, use
5423            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
5424            <p>Note, in addition to the keycode, you must also provide one or more of the action
5425            specifier attributes.  <i>Required attribute.</i> -->
5426        <attr name="keycode" />
5427
5428        <!-- If you wish to handle an action key during normal search query entry, you
5429            must define an action string here.  This will be added to the
5430            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
5431            searchable activity.  To examine the string, use
5432            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
5433            <i>Optional attribute.</i> -->
5434        <attr name="queryActionMsg"  format="string" />
5435
5436        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
5437            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
5438            can handle the action key, you can simply define the action message using this
5439            attribute.  This will be added to the
5440            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
5441            searchable activity.  To examine the string, use
5442            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
5443            <i>Optional attribute.</i> -->
5444        <attr name="suggestActionMsg"  format="string" />
5445
5446        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
5447            selected</i>, but you do not wish to enable this action key for every suggestion,
5448            then you can use this attribute to control it on a suggestion-by-suggestion basis.
5449            First, you must define a column (and name it here) where your suggestions will include
5450            the action string.  Then, in your content provider, you must provide this column, and
5451            when desired, provide data in this column.
5452            The search manager will look at your suggestion cursor, using the string
5453            provided here in order to select a column, and will use that to select a string from
5454            the cursor.  That string will be added to the
5455            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
5456            your searchable activity.  To examine the string, use
5457            {@link android.content.Intent#getStringExtra
5458            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
5459            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
5460        <attr name="suggestActionMsgColumn" format="string" />
5461
5462    </declare-styleable>
5463
5464    <!-- ***************************************************************** -->
5465    <!-- Support for MapView. -->
5466    <!-- ***************************************************************** -->
5467    <eat-comment />
5468
5469    <!-- The set of attributes for a MapView. -->
5470    <declare-styleable name="MapView">
5471        <!-- Value is a string that specifies the Maps API Key to use. -->
5472        <attr name="apiKey" format="string" />
5473    </declare-styleable>
5474
5475    <!-- **************************************************************** -->
5476    <!-- Menu XML inflation. -->
5477    <!-- **************************************************************** -->
5478    <eat-comment />
5479
5480    <!-- Base attributes that are available to all Menu objects. -->
5481    <declare-styleable name="Menu">
5482    </declare-styleable>
5483
5484    <!-- Base attributes that are available to all groups. -->
5485    <declare-styleable name="MenuGroup">
5486
5487        <!-- The ID of the group. -->
5488        <attr name="id" />
5489
5490        <!-- The category applied to all items within this group.
5491             (This will be or'ed with the orderInCategory attribute.) -->
5492        <attr name="menuCategory">
5493            <!-- Items are part of a container. -->
5494            <enum name="container" value="0x00010000" />
5495            <!-- Items are provided by the system. -->
5496            <enum name="system" value="0x00020000" />
5497            <!-- Items are user-supplied secondary (infrequently used). -->
5498            <enum name="secondary" value="0x00030000" />
5499            <!-- Items are alternative actions. -->
5500            <enum name="alternative" value="0x00040000" />
5501        </attr>
5502
5503        <!-- The order within the category applied to all items within this group.
5504             (This will be or'ed with the category attribute.) -->
5505        <attr name="orderInCategory" format="integer" />
5506
5507        <!-- Whether the items are capable of displaying a check mark. -->
5508        <attr name="checkableBehavior">
5509            <!-- The items are not checkable. -->
5510            <enum name="none" value="0" />
5511            <!-- The items are all checkable. -->
5512            <enum name="all" value="1" />
5513            <!-- The items are checkable and there will only be a single checked item in
5514                 this group. -->
5515            <enum name="single" value="2" />
5516        </attr>
5517
5518        <!-- Whether the items are shown/visible. -->
5519        <attr name="visible" />
5520
5521        <!-- Whether the items are enabled. -->
5522        <attr name="enabled" />
5523
5524    </declare-styleable>
5525
5526    <!-- Base attributes that are available to all Item objects. -->
5527    <declare-styleable name="MenuItem">
5528
5529        <!-- The ID of the item. -->
5530        <attr name="id" />
5531
5532        <!-- The category applied to the item.
5533             (This will be or'ed with the orderInCategory attribute.) -->
5534        <attr name="menuCategory" />
5535
5536        <!-- The order within the category applied to the item.
5537             (This will be or'ed with the category attribute.) -->
5538        <attr name="orderInCategory" />
5539
5540        <!-- The title associated with the item. -->
5541        <attr name="title" format="string" />
5542
5543        <!-- The condensed title associated with the item.  This is used in situations where the
5544             normal title may be too long to be displayed. -->
5545        <attr name="titleCondensed" format="string" />
5546
5547        <!-- The icon associated with this item.  This icon will not always be shown, so
5548             the title should be sufficient in describing this item. -->
5549        <attr name="icon" />
5550
5551        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
5552             with alphabetic keys. -->
5553        <attr name="alphabeticShortcut" format="string" />
5554
5555        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
5556             keyboard. -->
5557        <attr name="numericShortcut" format="string" />
5558
5559        <!-- Whether the item is capable of displaying a check mark. -->
5560        <attr name="checkable" format="boolean" />
5561
5562        <!-- Whether the item is checked.  Note that you must first have enabled checking with
5563             the checkable attribute or else the check mark will not appear. -->
5564        <attr name="checked" />
5565
5566        <!-- Whether the item is shown/visible. -->
5567        <attr name="visible" />
5568
5569        <!-- Whether the item is enabled. -->
5570        <attr name="enabled" />
5571
5572        <!-- Name of a method on the Context used to inflate the menu that will be
5573             called when the item is clicked. -->
5574        <attr name="onClick" />
5575
5576        <!-- How this item should display in the Action Bar, if present. -->
5577        <attr name="showAsAction">
5578            <!-- Never show this item in an action bar, show it in the overflow menu instead.
5579                 Mutually exclusive with "ifRoom" and "always". -->
5580            <flag name="never" value="0" />
5581            <!-- Show this item in an action bar if there is room for it as determined
5582                 by the system. Favor this option over "always" where possible.
5583                 Mutually exclusive with "never" and "always". -->
5584            <flag name="ifRoom" value="1" />
5585            <!-- Always show this item in an actionbar, even if it would override
5586                 the system's limits of how much stuff to put there. This may make
5587                 your action bar look bad on some screens. In most cases you should
5588                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
5589            <flag name="always" value="2" />
5590            <!-- When this item is shown as an action in the action bar, show a text
5591                 label with it even if it has an icon representation. -->
5592            <flag name="withText" value="4" />
5593            <!-- This item's action view collapses to a normal menu
5594                 item. When expanded, the action view takes over a
5595                 larger segment of its container. -->
5596            <flag name="collapseActionView" value="8" />
5597        </attr>
5598
5599        <!-- An optional layout to be used as an action view.
5600             See {@link android.view.MenuItem#setActionView(android.view.View)}
5601             for more info. -->
5602        <attr name="actionLayout" format="reference" />
5603
5604        <!-- The name of an optional View class to instantiate and use as an
5605             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
5606             for more info. -->
5607        <attr name="actionViewClass" format="string" />
5608
5609        <!-- The name of an optional ActionProvider class to instantiate an action view
5610             and perform operations such as default action for that menu item.
5611             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
5612             for more info. -->
5613        <attr name="actionProviderClass" format="string" />
5614
5615    </declare-styleable>
5616
5617    <!-- Attrbitutes for a ActvityChooserView. -->
5618    <declare-styleable name="ActivityChooserView">
5619        <!-- The maximal number of items initially shown in the activity list. -->
5620        <attr name="initialActivityCount" format="string" />
5621        <!-- The drawable to show in the button for expanding the activities overflow popup.
5622             <strong>Note:</strong> Clients would like to set this drawable
5623             as a clue about the action the chosen activity will perform. For
5624             example, if share activity is to be chosen the drawable should
5625             give a clue that sharing is to be performed.
5626         -->
5627        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
5628    </declare-styleable>
5629
5630    <!-- **************************************************************** -->
5631    <!-- Preferences framework. -->
5632    <!-- **************************************************************** -->
5633    <eat-comment />
5634
5635    <!-- Base attributes available to PreferenceGroup. -->
5636    <declare-styleable name="PreferenceGroup">
5637        <!-- Whether to order the Preference under this group as they appear in the XML file.
5638             If this is false, the ordering will follow the Preference order attribute and
5639             default to alphabetic for those without the order attribute. -->
5640        <attr name="orderingFromXml" format="boolean" />
5641    </declare-styleable>
5642
5643    <!-- Attribute for a header describing the item shown in the top-level list
5644         from which the selects the set of preference to dig in to. -->
5645    <declare-styleable name="PreferenceHeader">
5646        <!-- Identifier value for the header. -->
5647        <attr name="id" />
5648        <!-- The title of the item that is shown to the user. -->
5649        <attr name="title" />
5650        <!-- The summary for the item. -->
5651        <attr name="summary" format="string" />
5652        <!-- The title for the bread crumb of this item. -->
5653        <attr name="breadCrumbTitle" format="string" />
5654        <!-- The short title for the bread crumb of this item. -->
5655        <attr name="breadCrumbShortTitle" format="string" />
5656        <!-- An icon for the item. -->
5657        <attr name="icon" />
5658        <!-- The fragment that is displayed when the user selects this item. -->
5659        <attr name="fragment" format="string" />
5660    </declare-styleable>
5661
5662    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
5663                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
5664                   proxy all attributes to its EditText widget. -->
5665    <eat-comment />
5666
5667    <!-- Base attributes available to Preference. -->
5668    <declare-styleable name="Preference">
5669        <!-- The optional icon for the preference -->
5670        <attr name="icon" />
5671        <!-- The key to store the Preference value. -->
5672        <attr name="key" format="string" />
5673        <!-- The title for the Preference in a PreferenceActivity screen. -->
5674        <attr name="title" />
5675        <!-- The summary for the Preference in a PreferenceActivity screen. -->
5676        <attr name="summary" />
5677        <!-- The order for the Preference (lower values are to be ordered first). If this is not
5678             specified, the default orderin will be alphabetic. -->
5679        <attr name="order" format="integer" />
5680        <!-- When used inside of a modern PreferenceActivity, this declares
5681             a new PreferenceFragment to be shown when the user selects this item. -->
5682        <attr name="fragment" />
5683        <!-- The layout for the Preference in a PreferenceActivity screen. This should
5684             rarely need to be changed, look at widgetLayout instead. -->
5685        <attr name="layout" />
5686        <!-- The layout for the controllable widget portion of a Preference. This is inflated
5687             into the layout for a Preference and should be used more frequently than
5688             the layout attribute. For example, a checkbox preference would specify
5689             a custom layout (consisting of just the CheckBox) here. -->
5690        <attr name="widgetLayout" format="reference" />
5691        <!-- Whether the Preference is enabled. -->
5692        <attr name="enabled" />
5693        <!-- Whether the Preference is selectable. -->
5694        <attr name="selectable" format="boolean" />
5695        <!-- The key of another Preference that this Preference will depend on.  If the other
5696             Preference is not set or is off, this Preference will be disabled. -->
5697        <attr name="dependency" format="string" />
5698        <!-- Whether the Preference stores its value to the shared preferences. -->
5699        <attr name="persistent" />
5700        <!-- The default value for the preference, which will be set either if persistence
5701             is off or persistence is on and the preference is not found in the persistent
5702             storage.  -->
5703        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
5704        <!-- Whether the view of this Preference should be disabled when
5705             this Preference is disabled. -->
5706        <attr name="shouldDisableView" format="boolean" />
5707    </declare-styleable>
5708
5709    <!-- Base attributes available to CheckBoxPreference. -->
5710    <declare-styleable name="CheckBoxPreference">
5711        <!-- The summary for the Preference in a PreferenceActivity screen when the
5712             CheckBoxPreference is checked. If separate on/off summaries are not
5713             needed, the summary attribute can be used instead. -->
5714        <attr name="summaryOn" format="string" />
5715        <!-- The summary for the Preference in a PreferenceActivity screen when the
5716             CheckBoxPreference is unchecked. If separate on/off summaries are not
5717             needed, the summary attribute can be used instead. -->
5718        <attr name="summaryOff" format="string" />
5719        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
5720             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
5721        <attr name="disableDependentsState" format="boolean" />
5722    </declare-styleable>
5723
5724    <!-- Base attributes available to DialogPreference. -->
5725    <declare-styleable name="DialogPreference">
5726        <!-- The title in the dialog. -->
5727        <attr name="dialogTitle" format="string" />
5728        <!-- The message in the dialog. If a dialogLayout is provided and contains
5729             a TextView with ID android:id/message, this message will be placed in there. -->
5730        <attr name="dialogMessage" format="string" />
5731        <!-- The icon for the dialog. -->
5732        <attr name="dialogIcon" format="reference" />
5733        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
5734        <attr name="positiveButtonText" format="string" />
5735        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
5736        <attr name="negativeButtonText" format="string" />
5737        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
5738             be needed. If a custom DialogPreference is required, this should be set. For example,
5739             the EditTextPreference uses a layout with an EditText as this attribute. -->
5740        <attr name="dialogLayout" format="reference" />
5741    </declare-styleable>
5742
5743    <!-- Base attributes available to ListPreference. -->
5744    <declare-styleable name="ListPreference">
5745        <!-- The human-readable array to present as a list. Each entry must have a corresponding
5746             index in entryValues. -->
5747        <attr name="entries" />
5748        <!-- The array to find the value to save for a preference when an entry from
5749             entries is selected. If a user clicks on the second item in entries, the
5750             second item in this array will be saved to the preference. -->
5751        <attr name="entryValues" format="reference" />
5752    </declare-styleable>
5753
5754    <declare-styleable name="MultiSelectListPreference">
5755        <!-- The human-readable array to present as a list. Each entry must have a corresponding
5756             index in entryValues. -->
5757        <attr name="entries" />
5758        <!-- The array to find the value to save for a preference when an entry from
5759             entries is selected. If a user clicks the second item in entries, the
5760             second item in this array will be saved to the preference. -->
5761        <attr name="entryValues" />
5762    </declare-styleable>
5763
5764    <!-- Base attributes available to RingtonePreference. -->
5765    <declare-styleable name="RingtonePreference">
5766        <!-- Which ringtone type(s) to show in the picker. -->
5767        <attr name="ringtoneType">
5768            <!-- Ringtones. -->
5769            <flag name="ringtone" value="1" />
5770            <!-- Notification sounds. -->
5771            <flag name="notification" value="2" />
5772            <!-- Alarm sounds. -->
5773            <flag name="alarm" value="4" />
5774            <!-- All available ringtone sounds. -->
5775            <flag name="all" value="7" />
5776        </attr>
5777        <!-- Whether to show an item for a default sound. -->
5778        <attr name="showDefault" format="boolean" />
5779        <!-- Whether to show an item for 'Silent'. -->
5780        <attr name="showSilent" format="boolean" />
5781    </declare-styleable>
5782
5783    <!-- Base attributes available to VolumePreference. -->
5784    <declare-styleable name="VolumePreference">
5785        <!-- Different audio stream types. -->
5786        <attr name="streamType">
5787            <enum name="voice" value="0" />
5788            <enum name="system" value="1" />
5789            <enum name="ring" value="2" />
5790            <enum name="music" value="3" />
5791            <enum name="alarm" value="4" />
5792        </attr>
5793    </declare-styleable>
5794
5795    <declare-styleable name="InputMethodService">
5796        <!-- Background to use for entire input method when it is being
5797             shown in fullscreen mode with the extract view, to ensure
5798             that it completely covers the application.  This allows,
5799             for example, the candidate view to be hidden
5800             while in fullscreen mode without having the application show through
5801             behind it.-->
5802        <attr name="imeFullscreenBackground" format="reference|color" />
5803        <!-- Animation to use when showing the fullscreen extract UI after
5804             it had previously been hidden. -->
5805        <attr name="imeExtractEnterAnimation" format="reference" />
5806        <!-- Animation to use when hiding the fullscreen extract UI after
5807             it had previously been shown. -->
5808        <attr name="imeExtractExitAnimation" format="reference" />
5809    </declare-styleable>
5810
5811    <declare-styleable name="VoiceInteractionSession">
5812    </declare-styleable>
5813
5814    <declare-styleable name="KeyboardView">
5815        <!-- Default KeyboardView style. -->
5816        <attr name="keyboardViewStyle" format="reference" />
5817
5818        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
5819             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
5820             checkable+checked+pressed. -->
5821        <attr name="keyBackground" format="reference" />
5822
5823        <!-- Size of the text for character keys. -->
5824        <attr name="keyTextSize" format="dimension" />
5825
5826        <!-- Size of the text for custom keys with some text and no icon. -->
5827        <attr name="labelTextSize" format="dimension" />
5828
5829        <!-- Color to use for the label in a key. -->
5830        <attr name="keyTextColor" format="color" />
5831
5832        <!-- Layout resource for key press feedback.-->
5833        <attr name="keyPreviewLayout" format="reference" />
5834
5835        <!-- Vertical offset of the key press feedback from the key. -->
5836        <attr name="keyPreviewOffset" format="dimension" />
5837
5838        <!-- Height of the key press feedback popup. -->
5839        <attr name="keyPreviewHeight" format="dimension" />
5840
5841        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
5842        <attr name="verticalCorrection" format="dimension" />
5843
5844        <!-- Layout resource for popup keyboards. -->
5845        <attr name="popupLayout" format="reference" />
5846
5847        <attr name="shadowColor" />
5848        <attr name="shadowRadius" />
5849    </declare-styleable>
5850
5851    <declare-styleable name="KeyboardViewPreviewState">
5852        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
5853                key preview background. -->
5854        <attr name="state_long_pressable" format="boolean" />
5855    </declare-styleable>
5856
5857    <declare-styleable name="Keyboard">
5858        <!-- Default width of a key, in pixels or percentage of display width. -->
5859        <attr name="keyWidth" format="dimension|fraction" />
5860        <!-- Default height of a key, in pixels or percentage of display width. -->
5861        <attr name="keyHeight" format="dimension|fraction" />
5862        <!-- Default horizontal gap between keys. -->
5863        <attr name="horizontalGap" format="dimension|fraction" />
5864        <!-- Default vertical gap between rows of keys. -->
5865        <attr name="verticalGap" format="dimension|fraction" />
5866    </declare-styleable>
5867
5868    <declare-styleable name="Keyboard_Row">
5869        <!-- Row edge flags. -->
5870        <attr name="rowEdgeFlags">
5871            <!-- Row is anchored to the top of the keyboard. -->
5872            <flag name="top" value="4" />
5873            <!-- Row is anchored to the bottom of the keyboard. -->
5874            <flag name="bottom" value="8" />
5875        </attr>
5876        <!-- Mode of the keyboard. If the mode doesn't match the
5877             requested keyboard mode, the row will be skipped. -->
5878        <attr name="keyboardMode" format="reference" />
5879    </declare-styleable>
5880
5881    <declare-styleable name="Keyboard_Key">
5882        <!-- The unicode value or comma-separated values that this key outputs. -->
5883        <attr name="codes" format="integer|string" />
5884        <!-- The XML keyboard layout of any popup keyboard. -->
5885        <attr name="popupKeyboard" format="reference" />
5886        <!-- The characters to display in the popup keyboard. -->
5887        <attr name="popupCharacters" format="string" />
5888        <!-- Key edge flags. -->
5889        <attr name="keyEdgeFlags">
5890            <!-- Key is anchored to the left of the keyboard. -->
5891            <flag name="left" value="1" />
5892            <!-- Key is anchored to the right of the keyboard. -->
5893            <flag name="right" value="2" />
5894        </attr>
5895        <!-- Whether this is a modifier key such as Alt or Shift. -->
5896        <attr name="isModifier" format="boolean" />
5897        <!-- Whether this is a toggle key. -->
5898        <attr name="isSticky" format="boolean" />
5899        <!-- Whether long-pressing on this key will make it repeat. -->
5900        <attr name="isRepeatable" format="boolean" />
5901        <!-- The icon to show in the popup preview. -->
5902        <attr name="iconPreview" format="reference" />
5903        <!-- The string of characters to output when this key is pressed. -->
5904        <attr name="keyOutputText" format="string" />
5905        <!-- The label to display on the key. -->
5906        <attr name="keyLabel" format="string" />
5907        <!-- The icon to display on the key instead of the label. -->
5908        <attr name="keyIcon" format="reference" />
5909        <!-- Mode of the keyboard. If the mode doesn't match the
5910             requested keyboard mode, the key will be skipped. -->
5911        <attr name="keyboardMode" />
5912    </declare-styleable>
5913
5914    <!-- =============================== -->
5915    <!-- AppWidget package class attributes -->
5916    <!-- =============================== -->
5917    <eat-comment />
5918
5919    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
5920         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
5921         package for more info.
5922     -->
5923    <declare-styleable name="AppWidgetProviderInfo">
5924        <!-- Minimum width of the AppWidget. -->
5925        <attr name="minWidth"/>
5926        <!-- Minimum height of the AppWidget. -->
5927        <attr name="minHeight"/>
5928        <!-- Minimum width that the AppWidget can be resized to. -->
5929        <attr name="minResizeWidth" format="dimension"/>
5930        <!-- Minimum height that the AppWidget can be resized to. -->
5931        <attr name="minResizeHeight" format="dimension"/>
5932        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
5933        <attr name="updatePeriodMillis" format="integer" />
5934        <!-- A resource id of a layout. -->
5935        <attr name="initialLayout" format="reference" />
5936        <!-- A resource id of a layout. -->
5937        <attr name="initialKeyguardLayout" format="reference" />
5938        <!-- A class name in the AppWidget's package to be launched to configure.
5939             If not supplied, then no activity will be launched. -->
5940        <attr name="configure" format="string" />
5941        <!-- A preview of what the AppWidget will look like after it's configured.
5942              If not supplied, the AppWidget's icon will be used. -->
5943        <attr name="previewImage" format="reference" />
5944        <!-- The view id of the AppWidget subview which should be auto-advanced.
5945             by the widget's host. -->
5946        <attr name="autoAdvanceViewId" format="reference" />
5947        <!-- Optional parameter which indicates if and how this widget can be
5948             resized. Supports combined values using | operator. -->
5949        <attr name="resizeMode" format="integer">
5950            <flag name="none" value="0x0" />
5951            <flag name="horizontal" value="0x1" />
5952            <flag name="vertical" value="0x2" />
5953        </attr>
5954        <!-- Optional parameter which indicates where this widget can be shown,
5955             ie. home screen, keyguard, recents or any combination thereof.
5956             Supports combined values using | operator. -->
5957        <attr name="widgetCategory" format="integer">
5958            <flag name="home_screen" value="0x1" />
5959            <flag name="keyguard" value="0x2" />
5960            <flag name="recents" value="0x4" />
5961        </attr>
5962    </declare-styleable>
5963
5964    <!-- =============================== -->
5965    <!-- Wallpaper preview attributes    -->
5966    <!-- =============================== -->
5967    <eat-comment />
5968
5969    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
5970         describes a wallpaper preview. -->
5971    <declare-styleable name="WallpaperPreviewInfo">
5972        <!-- A resource id of a static drawable. -->
5973        <attr name="staticWallpaperPreview" format="reference" />
5974    </declare-styleable>
5975
5976    <!-- =============================== -->
5977    <!-- App package class attributes -->
5978    <!-- =============================== -->
5979    <eat-comment />
5980
5981    <!-- ============================= -->
5982    <!-- View package class attributes -->
5983    <!-- ============================= -->
5984    <eat-comment />
5985
5986    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
5987         tags inside of the layout of an Activity.  This instantiates
5988         the given {@link android.app.Fragment} and inserts its content
5989         view into the current location in the layout. -->
5990    <declare-styleable name="Fragment">
5991        <!-- Supply the name of the fragment class to instantiate. -->
5992        <attr name="name" />
5993
5994        <!-- Supply an identifier name for the top-level view, to later retrieve it
5995             with {@link android.view.View#findViewById View.findViewById()} or
5996             {@link android.app.Activity#findViewById Activity.findViewById()}.
5997             This must be a
5998             resource reference; typically you set this using the
5999             <code>@+</code> syntax to create a new ID resources.
6000             For example: <code>android:id="@+id/my_id"</code> which
6001             allows you to later retrieve the view
6002             with <code>findViewById(R.id.my_id)</code>. -->
6003        <attr name="id" />
6004
6005        <!-- Supply a tag for the top-level view containing a String, to be retrieved
6006             later with {@link android.view.View#getTag View.getTag()} or
6007             searched for with {@link android.view.View#findViewWithTag
6008             View.findViewWithTag()}.  It is generally preferable to use
6009             IDs (through the android:id attribute) instead of tags because
6010             they are faster and allow for compile-time type checking. -->
6011        <attr name="tag" />
6012    </declare-styleable>
6013
6014    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
6015         describes a
6016         {@link android.app.admin.DeviceAdminReceiver}, which is
6017         referenced from its
6018         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
6019         meta-data entry.  Described here are the attributes that can be
6020         included in that tag. -->
6021    <declare-styleable name="DeviceAdmin">
6022        <!-- Control whether the admin is visible to the user, even when it
6023             is not enabled.  This is true by default.  You may want to make
6024             it false if your admin does not make sense to be turned on
6025             unless some explicit action happens in your app. -->
6026        <attr name="visible" />
6027    </declare-styleable>
6028
6029    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
6030         describes an
6031         {@link android.service.wallpaper.WallpaperService}, which is
6032         referenced from its
6033         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
6034         meta-data entry.  Described here are the attributes that can be
6035         included in that tag. -->
6036    <declare-styleable name="Wallpaper">
6037        <attr name="settingsActivity" />
6038
6039        <!-- Reference to a the wallpaper's thumbnail bitmap. -->
6040        <attr name="thumbnail" format="reference" />
6041
6042        <!-- Name of the author of this component, e.g. Google. -->
6043        <attr name="author" format="reference" />
6044
6045        <!-- Short description of the component's purpose or behavior. -->
6046        <attr name="description" />
6047    </declare-styleable>
6048
6049    <!-- Use <code>dream</code> as the root tag of the XML resource that
6050         describes an
6051         {@link android.service.dreams.DreamService}, which is
6052         referenced from its
6053         {@link android.service.dreams.DreamService#DREAM_META_DATA}
6054         meta-data entry.  Described here are the attributes that can be
6055         included in that tag. -->
6056    <declare-styleable name="Dream">
6057        <!-- Component name of an activity that allows the user to modify
6058             the settings for this dream. -->
6059        <attr name="settingsActivity" />
6060    </declare-styleable>
6061
6062    <!-- Use <code>trust_agent</code> as the root tag of the XML resource that
6063         describes an {@link android.service.trust.TrustAgentService}, which is
6064         referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA}
6065         meta-data entry.  Described here are the attributes that can be included in that tag. -->
6066    <declare-styleable name="TrustAgent">
6067        <!-- Component name of an activity that allows the user to modify
6068             the settings for this TrustAgent. -->
6069        <attr name="settingsActivity" />
6070    </declare-styleable>
6071
6072    <!-- =============================== -->
6073    <!-- Accounts package class attributes -->
6074    <!-- =============================== -->
6075    <eat-comment />
6076
6077    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
6078         describes an account authenticator.
6079     -->
6080    <declare-styleable name="AccountAuthenticator">
6081        <!-- The account type this authenticator handles. -->
6082        <attr name="accountType" format="string"/>
6083        <!-- The user-visible name of the authenticator. -->
6084        <attr name="label"/>
6085        <!-- The icon of the authenticator. -->
6086        <attr name="icon"/>
6087        <!-- Smaller icon of the authenticator. -->
6088        <attr name="smallIcon" format="reference"/>
6089        <!-- A preferences.xml file for authenticator-specific settings. -->
6090        <attr name="accountPreferences" format="reference"/>
6091        <!-- Account handles its own token storage and permissions.
6092             Default to false
6093          -->
6094        <attr name="customTokens" format="boolean"/>
6095    </declare-styleable>
6096
6097    <!-- =============================== -->
6098    <!-- Accounts package class attributes -->
6099    <!-- =============================== -->
6100    <eat-comment />
6101
6102    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
6103         describes an account authenticator.
6104     -->
6105    <declare-styleable name="SyncAdapter">
6106        <!-- the authority of a content provider. -->
6107        <attr name="contentAuthority" format="string"/>
6108        <attr name="accountType"/>
6109        <attr name="userVisible" format="boolean"/>
6110        <attr name="supportsUploading" format="boolean"/>
6111        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
6112             multiple simultaneous syncs for the same account type and authority.
6113             Otherwise the SyncManager will be sure not to issue a start sync request
6114             to this SyncAdapter if the SyncAdapter is already syncing another account.
6115             Defaults to false.
6116             -->
6117        <attr name="allowParallelSyncs" format="boolean"/>
6118        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
6119             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
6120             Defaults to false.
6121             -->
6122        <attr name="isAlwaysSyncable" format="boolean"/>
6123        <!-- If provided, specifies the action of the settings
6124             activity for this SyncAdapter.
6125             -->
6126        <attr name="settingsActivity"/>
6127    </declare-styleable>
6128
6129    <!-- =============================== -->
6130    <!-- Contacts meta-data attributes -->
6131    <!-- =============================== -->
6132    <eat-comment />
6133
6134    <!-- TODO: remove this deprecated styleable. -->
6135    <eat-comment />
6136    <declare-styleable name="Icon">
6137        <attr name="icon" />
6138        <attr name="mimeType" />
6139    </declare-styleable>
6140
6141    <!-- TODO: remove this deprecated styleable -->
6142    <eat-comment />
6143    <declare-styleable name="IconDefault">
6144        <attr name="icon" />
6145    </declare-styleable>
6146
6147    <!-- Maps a specific contact data MIME-type to styling information. -->
6148    <declare-styleable name="ContactsDataKind">
6149        <!-- Mime-type handled by this mapping. -->
6150        <attr name="mimeType" />
6151        <!-- Icon used to represent data of this kind. -->
6152        <attr name="icon" />
6153        <!-- Column in data table that summarizes this data. -->
6154        <attr name="summaryColumn" format="string" />
6155        <!-- Column in data table that contains details for this data. -->
6156        <attr name="detailColumn" format="string" />
6157        <!-- Flag indicating that detail should be built from SocialProvider. -->
6158        <attr name="detailSocialSummary" format="boolean" />
6159        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
6160        "All connections"). Optional (Default is "All Contacts"). -->
6161        <attr name="allContactsName" format="string" />
6162    </declare-styleable>
6163
6164    <!-- =============================== -->
6165    <!-- TabSelector class attributes -->
6166    <!-- =============================== -->
6167    <eat-comment />
6168
6169    <declare-styleable name="SlidingTab">
6170        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
6171        <attr name="orientation" />
6172    </declare-styleable>
6173
6174    <!-- =============================== -->
6175    <!-- GlowPadView class attributes -->
6176    <!-- =============================== -->
6177    <eat-comment />
6178    <declare-styleable name="GlowPadView">
6179        <!-- Reference to an array resource that be shown as targets around a circle. -->
6180        <attr name="targetDrawables" format="reference" />
6181
6182        <!-- Reference to an array resource that be used as description for the targets around the circle. -->
6183        <attr name="targetDescriptions" format="reference" />
6184
6185        <!-- Reference to an array resource that be used to announce the directions with targets around the circle. -->
6186        <attr name="directionDescriptions" format="reference" />
6187
6188        <!-- Sets a drawable as the center. -->
6189        <attr name="handleDrawable" format="reference" />
6190
6191        <!-- Drawable to use for wave ripple animation. -->
6192        <attr name="outerRingDrawable" format="reference"/>
6193
6194        <!-- Drawble used for drawing points -->
6195        <attr name="pointDrawable" format="reference" />
6196
6197        <!-- Inner radius of glow area. -->
6198        <attr name="innerRadius"/>
6199
6200        <!-- Outer radius of glow area. Target icons will be drawn on this circle. -->
6201        <attr name="outerRadius" format="dimension" />
6202
6203        <!-- Radius of glow under finger. -->
6204        <attr name="glowRadius" format="dimension" />
6205
6206        <!-- Tactile feedback duration for actions. Set to '0' for no vibration. -->
6207        <attr name="vibrationDuration" format="integer" />
6208
6209        <!-- How close we need to be before snapping to a target. -->
6210        <attr name="snapMargin" format="dimension" />
6211
6212        <!-- Number of waves/chevrons to show in animation. -->
6213        <attr name="feedbackCount" format="integer" />
6214
6215        <!-- Used when the handle shouldn't wait to be hit before following the finger -->
6216        <attr name="alwaysTrackFinger" format="boolean" />
6217
6218        <!-- Location along the circle of the first item, in degrees.-->
6219        <attr name="firstItemOffset" format="float" />
6220
6221        <!-- Causes targets to snap to the finger location on activation. -->
6222        <attr name="magneticTargets" format="boolean" />
6223
6224        <attr name="gravity" />
6225
6226        <!-- Determine whether the glow pad is allowed to scale to fit the bounds indicated
6227            by its parent. If this is set to false, no scaling will occur. If this is set to true
6228            scaling will occur to fit for any axis in which gravity is set to center. -->
6229        <attr name="allowScaling" format="boolean" />
6230    </declare-styleable>
6231
6232    <!-- =============================== -->
6233    <!-- SizeAdaptiveLayout class attributes -->
6234    <!-- =============================== -->
6235    <eat-comment />
6236    <declare-styleable name="SizeAdaptiveLayout_Layout">
6237      <!-- The maximum valid height for this item. -->
6238      <attr name="layout_maxHeight" format="dimension">
6239        <!-- Indicates that the view may be resized arbitrarily large. -->
6240        <enum name="unbounded" value="-1" />
6241      </attr>
6242      <!-- The minimum valid height for this item. -->
6243      <attr name="layout_minHeight" format="dimension" />
6244    </declare-styleable>
6245    <declare-styleable name="SizeAdaptiveLayout" />
6246
6247    <!-- =============================== -->
6248    <!-- Location package class attributes -->
6249    <!-- =============================== -->
6250    <eat-comment />
6251
6252    <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that
6253         describes an injected "Location services" setting. Note that the status value (subtitle)
6254         for the setting is specified dynamically by a subclass of SettingInjectorService.
6255     -->
6256    <declare-styleable name="SettingInjectorService">
6257        <!-- The title for the preference. -->
6258        <attr name="title"/>
6259        <!-- The icon for the preference, should refer to all apps covered by the setting. Typically
6260             a generic icon for the developer. -->
6261        <attr name="icon"/>
6262        <!-- The activity to launch when the setting is clicked on. -->
6263        <attr name="settingsActivity"/>
6264    </declare-styleable>
6265
6266    <!-- =============================== -->
6267    <!-- LockPatternView class attributes -->
6268    <!-- =============================== -->
6269    <eat-comment />
6270
6271    <declare-styleable name="LockPatternView">
6272        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
6273             or "lock_height" -->
6274        <attr name="aspect" format="string" />
6275        <!-- Color to use when drawing LockPatternView paths. -->
6276        <attr name="pathColor" format="color|reference" />
6277    </declare-styleable>
6278
6279    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
6280         describes a {@link android.speech.RecognitionService}, which is referenced from
6281         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
6282         Described here are the attributes that can be included in that tag. -->
6283    <declare-styleable name="RecognitionService">
6284        <attr name="settingsActivity" />
6285    </declare-styleable>
6286
6287    <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that
6288         describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from
6289         its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry.
6290         Described here are the attributes that can be included in that tag. -->
6291    <declare-styleable name="VoiceInteractionService">
6292        <attr name="sessionService" format="string" />
6293        <attr name="settingsActivity" />
6294    </declare-styleable>
6295
6296    <!-- Attributes used to style the Action Bar. -->
6297    <declare-styleable name="ActionBar">
6298        <!-- The type of navigation to use. -->
6299        <attr name="navigationMode">
6300            <!-- Normal static title text -->
6301            <enum name="normal" value="0" />
6302            <!-- The action bar will use a selection list for navigation. -->
6303            <enum name="listMode" value="1" />
6304            <!-- The action bar will use a series of horizontal tabs for navigation. -->
6305            <enum name="tabMode" value="2" />
6306        </attr>
6307        <!-- Options affecting how the action bar is displayed. -->
6308        <attr name="displayOptions">
6309            <flag name="none" value="0" />
6310            <flag name="useLogo" value="0x1" />
6311            <flag name="showHome" value="0x2" />
6312            <flag name="homeAsUp" value="0x4" />
6313            <flag name="showTitle" value="0x8" />
6314            <flag name="showCustom" value="0x10" />
6315            <flag name="disableHome" value="0x20" />
6316        </attr>
6317        <!-- Specifies title text used for navigationMode="normal" -->
6318        <attr name="title" />
6319        <!-- Specifies subtitle text used for navigationMode="normal" -->
6320        <attr name="subtitle" format="string" />
6321        <!-- Specifies a style to use for title text. -->
6322        <attr name="titleTextStyle" format="reference" />
6323        <!-- Specifies a style to use for subtitle text. -->
6324        <attr name="subtitleTextStyle" format="reference" />
6325        <!-- Specifies the drawable used for the application icon. -->
6326        <attr name="icon" />
6327        <!-- Specifies the drawable used for the application logo. -->
6328        <attr name="logo" />
6329        <!-- Specifies the drawable used for item dividers. -->
6330        <attr name="divider" />
6331        <!-- Specifies a background drawable for the action bar. -->
6332        <attr name="background" />
6333        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
6334        <attr name="backgroundStacked" format="reference|color" />
6335        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
6336        <attr name="backgroundSplit" format="reference|color" />
6337        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
6338        <attr name="customNavigationLayout" format="reference" />
6339        <!-- Specifies a fixed height. -->
6340        <attr name="height" />
6341        <!-- Specifies a layout to use for the "home" section of the action bar. -->
6342        <attr name="homeLayout" format="reference" />
6343        <!-- Specifies a style resource to use for an embedded progress bar. -->
6344        <attr name="progressBarStyle" />
6345        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
6346        <attr name="indeterminateProgressStyle" format="reference" />
6347        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
6348        <attr name="progressBarPadding" format="dimension" />
6349        <!-- Specifies padding that should be applied to the left and right sides of
6350             system-provided items in the bar. -->
6351        <attr name="itemPadding" format="dimension" />
6352        <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
6353        <attr name="hideOnContentScroll" format="boolean" />
6354    </declare-styleable>
6355
6356    <declare-styleable name="ActionMode">
6357        <!-- Specifies a style to use for title text. -->
6358        <attr name="titleTextStyle" />
6359        <!-- Specifies a style to use for subtitle text. -->
6360        <attr name="subtitleTextStyle" />
6361        <!-- Specifies a background for the action mode bar. -->
6362        <attr name="background" />
6363        <!-- Specifies a background for the split action mode bar. -->
6364        <attr name="backgroundSplit" />
6365        <!-- Specifies a fixed height for the action mode bar. -->
6366        <attr name="height" />
6367    </declare-styleable>
6368
6369    <declare-styleable name="SearchView">
6370        <!-- The default state of the SearchView. If true, it will be iconified when not in
6371             use and expanded when clicked. -->
6372        <attr name="iconifiedByDefault" format="boolean"/>
6373        <!-- An optional maximum width of the SearchView. -->
6374        <attr name="maxWidth" />
6375        <!-- An optional query hint string to be displayed in the empty query field. -->
6376        <attr name="queryHint" format="string" />
6377        <!-- The IME options to set on the query text field. -->
6378        <attr name="imeOptions" />
6379        <!-- The input type to set on the query text field. -->
6380        <attr name="inputType" />
6381    </declare-styleable>
6382
6383    <declare-styleable name="Switch">
6384        <!-- Drawable to use as the "thumb" that switches back and forth. -->
6385        <attr name="thumb" />
6386        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
6387        <attr name="track" format="reference" />
6388        <!-- Text to use when the switch is in the checked/"on" state. -->
6389        <attr name="textOn" />
6390        <!-- Text to use when the switch is in the unchecked/"off" state. -->
6391        <attr name="textOff" />
6392        <!-- Amount of padding on either side of text within the switch thumb. -->
6393        <attr name="thumbTextPadding" format="dimension" />
6394        <!-- TextAppearance style for text displayed on the switch thumb. -->
6395        <attr name="switchTextAppearance" format="reference" />
6396        <!-- Minimum width for the switch component -->
6397        <attr name="switchMinWidth" format="dimension" />
6398        <!-- Minimum space between the switch and caption text -->
6399        <attr name="switchPadding" format="dimension" />
6400        <!-- Whether to split the track and leave a gap for the thumb drawable. -->
6401        <attr name="splitTrack" />
6402    </declare-styleable>
6403
6404    <declare-styleable name="Pointer">
6405        <!-- Reference to a pointer icon drawable with STYLE_ARROW -->
6406        <attr name="pointerIconArrow" format="reference" />
6407        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER -->
6408        <attr name="pointerIconSpotHover" format="reference" />
6409        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH -->
6410        <attr name="pointerIconSpotTouch" format="reference" />
6411        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR -->
6412        <attr name="pointerIconSpotAnchor" format="reference" />
6413    </declare-styleable>
6414
6415    <declare-styleable name="PointerIcon">
6416        <!-- Drawable to use as the icon bitmap. -->
6417        <attr name="bitmap" format="reference" />
6418        <!-- X coordinate of the icon hot spot. -->
6419        <attr name="hotSpotX" format="float" />
6420        <!-- Y coordinate of the icon hot spot. -->
6421        <attr name="hotSpotY" format="float" />
6422    </declare-styleable>
6423
6424    <declare-styleable name="Storage">
6425        <!-- path to mount point for the storage -->
6426        <attr name="mountPoint" format="string" />
6427        <!-- user visible description of the storage -->
6428        <attr name="storageDescription" format="string" />
6429        <!-- true if the storage is the primary external storage -->
6430        <attr name="primary" format="boolean" />
6431        <!-- true if the storage is removable -->
6432        <attr name="removable" format="boolean" />
6433        <!-- true if the storage is emulated via the FUSE sdcard daemon -->
6434        <attr name="emulated" format="boolean" />
6435        <!-- number of megabytes of storage MTP should reserve for free storage
6436             (used for emulated storage that is shared with system's data partition) -->
6437        <attr name="mtpReserve" format="integer" />
6438        <!-- true if the storage can be shared via USB mass storage -->
6439        <attr name="allowMassStorage" format="boolean" />
6440        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded -->
6441        <attr name="maxFileSize" format="integer" />
6442    </declare-styleable>
6443
6444    <declare-styleable name="SwitchPreference">
6445        <!-- The summary for the Preference in a PreferenceActivity screen when the
6446             SwitchPreference is checked. If separate on/off summaries are not
6447             needed, the summary attribute can be used instead. -->
6448        <attr name="summaryOn" />
6449        <!-- The summary for the Preference in a PreferenceActivity screen when the
6450             SwitchPreference is unchecked. If separate on/off summaries are not
6451             needed, the summary attribute can be used instead. -->
6452        <attr name="summaryOff" />
6453        <!-- The text used on the switch itself when in the "on" state.
6454             This should be a very SHORT string, as it appears in a small space. -->
6455        <attr name="switchTextOn" format="string" />
6456        <!-- The text used on the switch itself when in the "off" state.
6457             This should be a very SHORT string, as it appears in a small space. -->
6458        <attr name="switchTextOff" format="string" />
6459        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
6460             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
6461        <attr name="disableDependentsState" />
6462    </declare-styleable>
6463
6464    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
6465         describes a text to speech engine implemented as a subclass of
6466         {@link android.speech.tts.TextToSpeechService}.
6467
6468         The XML resource must be referenced from its
6469         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
6470         entry. -->
6471    <declare-styleable name="TextToSpeechEngine">
6472        <attr name="settingsActivity" />
6473    </declare-styleable>
6474
6475    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
6476         describes a collection of keyboard layouts provided by an application.
6477         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
6478         with these attributes.
6479
6480         The XML resource that contains the keyboard layouts must be referenced from its
6481         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
6482         meta-data entry used with broadcast receivers for
6483         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
6484    <declare-styleable name="KeyboardLayout">
6485        <!-- The name of the keyboard layout, must be unique in the receiver. -->
6486        <attr name="name" />
6487        <!-- The display label of the keyboard layout. -->
6488        <attr name="label" />
6489        <!-- The key character map file resource. -->
6490        <attr name="keyboardLayout" format="reference" />
6491    </declare-styleable>
6492
6493    <declare-styleable name="MediaRouteButton">
6494        <!-- This drawable is a state list where the "activated" state
6495             indicates active media routing. Non-activated indicates
6496             that media is playing to the local device only.
6497             @hide -->
6498        <attr name="externalRouteEnabledDrawable" format="reference" />
6499
6500        <!-- The types of media routes the button and its resulting
6501             chooser will filter by. -->
6502        <attr name="mediaRouteTypes" format="integer">
6503            <!-- Allow selection of live audio routes. -->
6504            <enum name="liveAudio" value="0x1" />
6505            <!-- Allow selection of user (app-specified) routes. -->
6506            <enum name="user" value="0x800000" />
6507        </attr>
6508
6509        <attr name="minWidth" />
6510        <attr name="minHeight" />
6511    </declare-styleable>
6512
6513    <!-- PagedView specific attributes. These attributes are used to customize
6514         a PagedView view in XML files. -->
6515    <declare-styleable name="PagedView">
6516        <!-- The space between adjacent pages of the PagedView. -->
6517        <attr name="pageSpacing" format="dimension" />
6518        <!-- The padding for the scroll indicator area -->
6519        <attr name="scrollIndicatorPaddingLeft" format="dimension" />
6520        <attr name="scrollIndicatorPaddingRight" format="dimension" />
6521    </declare-styleable>
6522
6523    <declare-styleable name="KeyguardGlowStripView">
6524        <attr name="dotSize" format="dimension" />
6525        <attr name="numDots" format="integer" />
6526        <attr name="glowDot" format="reference" />
6527        <attr name="leftToRight" format="boolean" />
6528    </declare-styleable>
6529
6530    <!-- Some child types have special behavior. -->
6531    <attr name="layout_childType">
6532        <!-- No special behavior. Layout will proceed as normal. -->
6533        <enum name="none" value="0" />
6534        <!-- Widget container.
6535             This will be resized in response to certain events. -->
6536        <enum name="widget" value="1" />
6537        <!-- Security challenge container.
6538             This will be dismissed/shown in response to certain events,
6539             possibly obscuring widget elements. -->
6540        <enum name="challenge" value="2" />
6541        <!-- User switcher.
6542             This will consume space from the total layout area. -->
6543        <enum name="userSwitcher" value="3" />
6544        <!-- Scrim. This will block access to child views that
6545             come before it in the child list in bouncer mode. -->
6546        <enum name="scrim" value="4" />
6547        <!-- The home for widgets. All widgets will be descendents of this. -->
6548        <enum name="widgets" value="5" />
6549        <!-- This is a handle that is used for expanding the
6550             security challenge container when it is collapsed. -->
6551        <enum name="expandChallengeHandle" value="6" />
6552        <!-- Delete drop target.  This will be the drop target to delete pages. -->
6553        <enum name="pageDeleteDropTarget" value="7" />
6554    </attr>
6555
6556    <declare-styleable name="SlidingChallengeLayout_Layout">
6557        <attr name="layout_childType" />
6558        <attr name="layout_maxHeight" />
6559    </declare-styleable>
6560
6561    <!-- Attributes that can be used with <code>&lt;FragmentBreadCrumbs&gt;</code>
6562    tags. -->
6563    <declare-styleable name="FragmentBreadCrumbs">
6564        <attr name="gravity" />
6565    </declare-styleable>
6566
6567    <declare-styleable name="MultiPaneChallengeLayout">
6568        <!-- Influences how layout_centerWithinArea behaves -->
6569        <attr name="orientation" />
6570    </declare-styleable>
6571
6572    <declare-styleable name="MultiPaneChallengeLayout_Layout">
6573        <!-- Percentage of the screen this child should consume or center within.
6574             If 0/default, the view will be measured by standard rules
6575             as if this were a FrameLayout. -->
6576        <attr name="layout_centerWithinArea" format="float" />
6577        <attr name="layout_childType" />
6578        <attr name="layout_gravity" />
6579        <attr name="layout_maxWidth" format="dimension" />
6580        <attr name="layout_maxHeight" />
6581    </declare-styleable>
6582
6583    <declare-styleable name="KeyguardSecurityViewFlipper_Layout">
6584        <attr name="layout_maxWidth" />
6585        <attr name="layout_maxHeight" />
6586    </declare-styleable>
6587
6588    <declare-styleable name="NumPadKey">
6589        <attr name="digit" format="integer" />
6590        <attr name="textView" format="reference" />
6591    </declare-styleable>
6592
6593    <declare-styleable name="Toolbar">
6594        <attr name="titleTextAppearance" format="reference" />
6595        <attr name="subtitleTextAppearance" format="reference" />
6596        <attr name="title" />
6597        <attr name="subtitle" />
6598        <attr name="gravity" />
6599        <attr name="titleMargins" format="dimension" />
6600        <attr name="titleMarginStart" format="dimension" />
6601        <attr name="titleMarginEnd" format="dimension" />
6602        <attr name="titleMarginTop" format="dimension" />
6603        <attr name="titleMarginBottom" format="dimension" />
6604    </declare-styleable>
6605
6606    <declare-styleable name="Toolbar_LayoutParams">
6607        <attr name="layout_gravity" />
6608    </declare-styleable>
6609
6610    <declare-styleable name="ActionBar_LayoutParams">
6611        <attr name="layout_gravity" />
6612    </declare-styleable>
6613
6614    <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. -->
6615    <declare-styleable name="EdgeEffect">
6616        <attr name="colorPrimaryLight" />
6617    </declare-styleable>
6618</resources>
6619