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