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