attrs.xml revision e4abc512aa6474f0106f407f7b399832da34483f
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#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} -->
2465            <flag name="flagIncludeNotImportantViews" value="0x00000002" />
2466            <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} -->
2467            <flag name="flagRequestTouchExplorationMode" value="0x00000004" />
2468        </attr>
2469        <!-- Component name of an activity that allows the user to modify
2470             the settings for this service. This setting cannot be changed at runtime. -->
2471        <attr name="settingsActivity" />
2472        <!-- Flag whether the accessibility service wants to be able to retrieve the
2473             active window content. This setting cannot be changed at runtime. -->
2474        <attr name="canRetrieveWindowContent" 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 widget is enabled. The interpretation of the enabled state varies by subclass.
3109             For example, a non-enabled EditText prevents the user from editing the contained text, and
3110             a non-enabled Button prevents the user from tapping the button.
3111             The appearance of enabled and non-enabled widgets may differ, if the drawables referenced
3112             from evaluating state_enabled differ. -->
3113        <attr name="enabled" format="boolean" />
3114        <!-- If the text is selectable, select it all when the view takes
3115             focus. -->
3116        <attr name="selectAllOnFocus" format="boolean" />
3117        <!-- Leave enough room for ascenders and descenders instead of
3118             using the font ascent and descent strictly.  (Normally true). -->
3119        <attr name="includeFontPadding" format="boolean" />
3120        <!-- Set an input filter to constrain the text length to the
3121             specified number. -->
3122        <attr name="maxLength" format="integer" min="0" />
3123        <!-- Place a shadow of the specified color behind the text. -->
3124        <attr name="shadowColor" format="color" />
3125        <!-- Horizontal offset of the shadow. -->
3126        <attr name="shadowDx" format="float" />
3127        <!-- Vertical offset of the shadow. -->
3128        <attr name="shadowDy" format="float" />
3129        <!-- Radius of the shadow. -->
3130        <attr name="shadowRadius" format="float" />
3131        <attr name="autoLink" />
3132        <!-- If set to false, keeps the movement method from being set
3133             to the link movement method even if autoLink causes links
3134             to be found. -->
3135        <attr name="linksClickable" format="boolean" />
3136        <!-- If set, specifies that this TextView has a numeric input method.
3137             The default is false.
3138             {@deprecated Use inputType instead.} -->
3139        <attr name="numeric">
3140            <!-- Input is numeric. -->
3141            <flag name="integer" value="0x01" />
3142            <!-- Input is numeric, with sign allowed. -->
3143            <flag name="signed" value="0x03" />
3144            <!-- Input is numeric, with decimals allowed. -->
3145            <flag name="decimal" value="0x05" />
3146        </attr>
3147        <!-- If set, specifies that this TextView has a numeric input method
3148             and that these specific characters are the ones that it will
3149             accept.
3150             If this is set, numeric is implied to be true.
3151             The default is false. -->
3152        <attr name="digits" format="string" />
3153        <!-- If set, specifies that this TextView has a phone number input
3154             method. The default is false.
3155             {@deprecated Use inputType instead.} -->
3156        <attr name="phoneNumber" format="boolean" />
3157        <!-- If set, specifies that this TextView should use the specified
3158             input method (specified by fully-qualified class name).
3159             {@deprecated Use inputType instead.} -->
3160        <attr name="inputMethod" format="string" />
3161        <!-- If set, specifies that this TextView has a textual input method
3162             and should automatically capitalize what the user types.
3163             The default is "none".
3164             {@deprecated Use inputType instead.} -->
3165        <attr name="capitalize">
3166            <!-- Don't automatically capitalize anything. -->
3167            <enum name="none" value="0" />
3168            <!-- Capitalize the first word of each sentence. -->
3169            <enum name="sentences" value="1" />
3170            <!-- Capitalize the first letter of every word. -->
3171            <enum name="words" value="2" />
3172            <!-- Capitalize every character. -->
3173            <enum name="characters" value="3" />
3174        </attr>
3175        <!-- If set, specifies that this TextView has a textual input method
3176             and automatically corrects some common spelling errors.
3177             The default is "false".
3178             {@deprecated Use inputType instead.} -->
3179        <attr name="autoText" format="boolean" />
3180        <!-- If set, specifies that this TextView has an input method.
3181             It will be a textual one unless it has otherwise been specified.
3182             For TextView, this is false by default.  For EditText, it is
3183             true by default.
3184             {@deprecated Use inputType instead.} -->
3185        <attr name="editable" format="boolean" />
3186        <!-- If set, the text view will include its current complete text
3187             inside of its frozen icicle in addition to meta-data such as
3188             the current cursor position.  By default this is disabled;
3189             it can be useful when the contents of a text view is not stored
3190             in a persistent place such as a content provider. -->
3191        <attr name="freezesText" format="boolean" />
3192        <!-- If set, causes words that are longer than the view is wide
3193             to be ellipsized instead of broken in the middle.
3194             You will often also want to set scrollHorizontally or singleLine
3195             as well so that the text as a whole is also constrained to
3196             a single line instead of still allowed to be broken onto
3197             multiple lines. -->
3198        <attr name="ellipsize" />
3199        <!-- The drawable to be drawn above the text. -->
3200        <attr name="drawableTop" format="reference|color" />
3201        <!-- The drawable to be drawn below the text. -->
3202        <attr name="drawableBottom" format="reference|color" />
3203        <!-- The drawable to be drawn to the left of the text. -->
3204        <attr name="drawableLeft" format="reference|color" />
3205        <!-- The drawable to be drawn to the right of the text. -->
3206        <attr name="drawableRight" format="reference|color" />
3207        <!-- The drawable to be drawn to the start of the text. -->
3208        <attr name="drawableStart" format="reference|color" />
3209        <!-- The drawable to be drawn to the end of the text. -->
3210        <attr name="drawableEnd" format="reference|color" />
3211        <!-- The padding between the drawables and the text. -->
3212        <attr name="drawablePadding" format="dimension" />
3213        <!-- Extra spacing between lines of text. -->
3214        <attr name="lineSpacingExtra" format="dimension" />
3215        <!-- Extra spacing between lines of text, as a multiplier. -->
3216        <attr name="lineSpacingMultiplier" format="float" />
3217        <!-- The number of times to repeat the marquee animation. Only applied if the
3218             TextView has marquee enabled. -->
3219        <attr name="marqueeRepeatLimit" format="integer">
3220            <!-- Indicates that marquee should repeat indefinitely. -->
3221            <enum name="marquee_forever" value="-1" />
3222        </attr>
3223        <attr name="inputType" />
3224        <attr name="imeOptions" />
3225        <!-- An addition content type description to supply to the input
3226             method attached to the text view, which is private to the
3227             implementation of the input method.  This simply fills in
3228             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
3229             EditorInfo.privateImeOptions} field when the input
3230             method is connected. -->
3231        <attr name="privateImeOptions" format="string" />
3232        <!-- Supply a value for
3233             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
3234             used when an input method is connected to the text view. -->
3235        <attr name="imeActionLabel" format="string" />
3236        <!-- Supply a value for
3237             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
3238             used when an input method is connected to the text view. -->
3239        <attr name="imeActionId" format="integer" />
3240        <!-- Reference to an
3241             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
3242             XML resource containing additional data to
3243             supply to an input method, which is private to the implementation
3244             of the input method.  This simply fills in
3245             the {@link android.view.inputmethod.EditorInfo#extras
3246             EditorInfo.extras} field when the input
3247             method is connected. -->
3248        <attr name="editorExtras" format="reference" />
3249
3250        <!-- Reference to a drawable that will be used to display a text selection
3251             anchor on the left side of a selection region. -->
3252        <attr name="textSelectHandleLeft" />
3253        <!-- Reference to a drawable that will be used to display a text selection
3254             anchor on the right side of a selection region. -->
3255        <attr name="textSelectHandleRight" />
3256        <!-- Reference to a drawable that will be used to display a text selection
3257             anchor for positioning the cursor within text. -->
3258        <attr name="textSelectHandle" />
3259        <!-- The layout of the view that is displayed on top of the cursor to paste inside a
3260             TextEdit field. -->
3261        <attr name="textEditPasteWindowLayout" />
3262        <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. -->
3263        <attr name="textEditNoPasteWindowLayout" />
3264        <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the
3265             insertion cursor because it would be clipped if it were positioned on top. -->
3266        <attr name="textEditSidePasteWindowLayout" />
3267        <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. -->
3268        <attr name="textEditSideNoPasteWindowLayout" />
3269
3270        <!-- Layout of the TextView item that will populate the suggestion popup window. -->
3271        <attr name="textEditSuggestionItemLayout" />
3272
3273
3274        <!-- Reference to a drawable that will be drawn under the insertion cursor. -->
3275        <attr name="textCursorDrawable" />
3276
3277        <!-- Indicates that the content of a non-editable text can be selected. -->
3278        <attr name="textIsSelectable" />
3279        <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
3280        <attr name="textAllCaps" />
3281    </declare-styleable>
3282    <declare-styleable name="TextViewAppearance">
3283        <!-- Base text color, typeface, size, and style. -->
3284        <attr name="textAppearance" />
3285    </declare-styleable>
3286    <declare-styleable name="SelectionModeDrawables">
3287        <attr name="actionModeSelectAllDrawable" />
3288        <attr name="actionModeCutDrawable" />
3289        <attr name="actionModeCopyDrawable" />
3290        <attr name="actionModePasteDrawable" />
3291    </declare-styleable>
3292    <declare-styleable name="SuggestionSpan">
3293        <attr name="textUnderlineColor" />
3294        <attr name="textUnderlineThickness" />
3295    </declare-styleable>
3296    <!-- An <code>input-extras</code> is a container for extra data to supply to
3297         an input method.  Contains
3298         one more more {@link #Extra <extra>} tags.  -->
3299    <declare-styleable name="InputExtras">
3300    </declare-styleable>
3301    <declare-styleable name="AutoCompleteTextView">
3302        <!-- Defines the hint displayed in the drop down menu. -->
3303        <attr name="completionHint" format="string" />
3304        <!-- Defines the hint view displayed in the drop down menu. -->
3305        <attr name="completionHintView" format="reference" />
3306        <!-- Defines the number of characters that the user must type before
3307         completion suggestions are displayed in a drop down menu. -->
3308        <attr name="completionThreshold" format="integer" min="1" />
3309        <!-- Selector in a drop down list. -->
3310        <attr name="dropDownSelector" format="reference|color" />
3311        <!-- Amount of pixels by which the drop down should be offset vertically. -->
3312        <attr name="dropDownVerticalOffset" format="dimension" />
3313        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
3314        <attr name="dropDownHorizontalOffset" format="dimension" />
3315        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
3316             is used. -->
3317        <attr name="dropDownAnchor" format="reference" />
3318        <!-- Specifies the basic width of the dropdown. Its value may
3319             be a dimension (such as "12dip") for a constant width,
3320             fill_parent or match_parent to match the width of the
3321             screen, or wrap_content to match the width of
3322             the anchored view. -->
3323        <attr name="dropDownWidth" format="dimension">
3324            <!-- The dropdown should fill the width of the screen.
3325                 This constant is deprecated starting from API Level 8 and
3326                 is replaced by {@code match_parent}. -->
3327            <enum name="fill_parent" value="-1" />
3328            <!-- The dropdown should fit the width of the screen.
3329                 Introduced in API Level 8. -->
3330            <enum name="match_parent" value="-1" />
3331            <!-- The dropdown should fit the width of its anchor. -->
3332            <enum name="wrap_content" value="-2" />
3333        </attr>
3334        <!-- Specifies the basic height of the dropdown. Its value may
3335             be a dimension (such as "12dip") for a constant height,
3336             fill_parent or match_parent to fill the height of the
3337             screen, or wrap_content to match the height of
3338             the content of the drop down. -->
3339        <attr name="dropDownHeight" format="dimension">
3340            <!-- The dropdown should fit the height of the screen.
3341                 This constant is deprecated starting from API Level 8 and
3342                 is replaced by {@code match_parent}. -->
3343            <enum name="fill_parent" value="-1" />
3344            <!-- The dropdown should fit the height of the screen.
3345                 Introduced in API Level 8. -->
3346            <enum name="match_parent" value="-1" />
3347            <!-- The dropdown should fit the height of the content. -->
3348            <enum name="wrap_content" value="-2" />
3349        </attr>
3350        <attr name="inputType" />
3351    </declare-styleable>
3352    <declare-styleable name="PopupWindow">
3353        <attr name="popupBackground" format="reference|color" />
3354        <attr name="popupAnimationStyle" format="reference" />
3355    </declare-styleable>
3356    <declare-styleable name="ViewAnimator">
3357        <!-- Identifier for the animation to use when a view is shown. -->
3358        <attr name="inAnimation" format="reference" />
3359        <!-- Identifier for the animation to use when a view is hidden. -->
3360        <attr name="outAnimation" format="reference" />
3361        <!-- Defines whether to animate the current View when the ViewAnimation
3362             is first displayed. -->
3363        <attr name="animateFirstView" format="boolean" />
3364    </declare-styleable>
3365    <declare-styleable name="ViewFlipper">
3366        <attr name="flipInterval" format="integer" min="0" />
3367        <!-- When true, automatically start animating -->
3368        <attr name="autoStart" format="boolean" />
3369    </declare-styleable>
3370    <declare-styleable name="AdapterViewAnimator">
3371        <!-- Identifier for the animation to use when a view is shown. -->
3372        <attr name="inAnimation" />
3373        <!-- Identifier for the animation to use when a view is hidden. -->
3374        <attr name="outAnimation" />
3375        <!--Defines whether the animator loops to the first view once it
3376        has reached the end of the list. -->
3377        <attr name="loopViews" format="boolean" />
3378        <!-- Defines whether to animate the current View when the ViewAnimation
3379        is first displayed. -->
3380        <attr name="animateFirstView" />
3381    </declare-styleable>
3382    <declare-styleable name="AdapterViewFlipper">
3383        <attr name="flipInterval" />
3384        <!-- When true, automatically start animating -->
3385        <attr name="autoStart" />
3386    </declare-styleable>
3387    <declare-styleable name="ViewSwitcher">
3388    </declare-styleable>
3389    <declare-styleable name="ScrollView">
3390        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
3391        <attr name="fillViewport" format="boolean" />
3392    </declare-styleable>
3393    <declare-styleable name="HorizontalScrollView">
3394        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
3395        <attr name="fillViewport" />
3396    </declare-styleable>
3397    <declare-styleable name="Spinner">
3398        <!-- The prompt to display when the spinner's dialog is shown. -->
3399        <attr name="prompt" format="reference" />
3400        <!-- Display mode for spinner options. -->
3401        <attr name="spinnerMode" format="enum">
3402            <!-- Spinner options will be presented to the user as a dialog window. -->
3403            <enum name="dialog" value="0" />
3404            <!-- Spinner options will be presented to the user as an inline dropdown
3405                 anchored to the spinner widget itself. -->
3406            <enum name="dropdown" value="1" />
3407        </attr>
3408        <!-- List selector to use for spinnerMode="dropdown" display. -->
3409        <attr name="dropDownSelector" />
3410        <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
3411        <attr name="popupBackground" />
3412        <!-- Vertical offset from the spinner widget for positioning the dropdown in
3413             spinnerMode="dropdown". -->
3414        <attr name="dropDownVerticalOffset" />
3415        <!-- Horizontal offset from the spinner widget for positioning the dropdown
3416             in spinnerMode="dropdown". -->
3417        <attr name="dropDownHorizontalOffset" />
3418        <!-- Width of the dropdown in spinnerMode="dropdown". -->
3419        <attr name="dropDownWidth" />
3420        <!-- Reference to a layout to use for displaying a prompt in the dropdown for
3421             spinnerMode="dropdown". This layout must contain a TextView with the id
3422             @android:id/text1 to be populated with the prompt text. -->
3423        <attr name="popupPromptView" format="reference" />
3424        <!-- Gravity setting for positioning the currently selected item. -->
3425        <attr name="gravity" />
3426        <!-- Whether this spinner should mark child views as enabled/disabled when
3427             the spinner itself is enabled/disabled. -->
3428        <attr name="disableChildrenWhenDisabled" format="boolean" />
3429    </declare-styleable>
3430
3431    <declare-styleable name="DatePicker">
3432        <!-- The first year (inclusive), for example "1940".
3433             {@deprecated Use minDate instead.}
3434         -->
3435        <attr name="startYear" format="integer" />
3436        <!-- The last year (inclusive), for example "2010".
3437             {@deprecated Use maxDate instead.}
3438         -->
3439        <attr name="endYear" format="integer" />
3440        <!-- Whether the spinners are shown. -->
3441        <attr name="spinnersShown" format="boolean" />
3442        <!-- Whether the calendar view is shown. -->
3443        <attr name="calendarViewShown" format="boolean" />
3444        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
3445        <attr name="minDate" format="string" />
3446        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
3447        <attr name="maxDate" format="string" />
3448        <!-- @hide The layout of the date picker. -->
3449        <attr name="internalLayout" format="reference"  />
3450    </declare-styleable>
3451
3452    <declare-styleable name="TwoLineListItem">
3453        <attr name="mode">
3454            <!-- Always show only the first line. -->
3455            <enum name="oneLine" value="1" />
3456            <!-- When selected show both lines, otherwise show only the first line.
3457                 This is the default mode. -->
3458            <enum name="collapsing" value="2" />
3459            <!-- Always show both lines. -->
3460            <enum name="twoLine" value="3" />
3461        </attr>
3462    </declare-styleable>
3463
3464    <!-- SlidingDrawer specific attributes. These attributes are used to configure
3465         a SlidingDrawer from XML. -->
3466    <declare-styleable name="SlidingDrawer">
3467        <!-- Identifier for the child that represents the drawer's handle. -->
3468        <attr name="handle" format="reference" />
3469        <!-- Identifier for the child that represents the drawer's content. -->
3470        <attr name="content" format="reference" />
3471        <!-- Orientation of the SlidingDrawer. -->
3472        <attr name="orientation" />
3473        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
3474        <attr name="bottomOffset" format="dimension"  />
3475        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
3476        <attr name="topOffset" format="dimension"  />
3477        <!-- Indicates whether the drawer can be opened/closed by a single tap
3478             on the handle.  (If false, the user must drag or fling, or click
3479             using the trackball, to open/close the drawer.)  Default is true. -->
3480        <attr name="allowSingleTap" format="boolean" />
3481        <!-- Indicates whether the drawer should be opened/closed with an animation
3482             when the user clicks the handle. Default is true. -->
3483        <attr name="animateOnClick" format="boolean" />
3484    </declare-styleable>
3485
3486    <!-- GestureOverlayView specific attributes. These attributes are used to configure
3487         a GestureOverlayView from XML. -->
3488    <declare-styleable name="GestureOverlayView">
3489        <!-- Width of the stroke used to draw the gesture. -->
3490        <attr name="gestureStrokeWidth" format="float" />
3491        <!-- Color used to draw a gesture. -->
3492        <attr name="gestureColor" format="color" />
3493        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
3494        <attr name="uncertainGestureColor" format="color" />
3495        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
3496             is done drawing it. -->
3497        <attr name="fadeOffset" format="integer" />
3498        <!-- Duration, in milliseconds, of the fade out effect after the user is done
3499             drawing a gesture. -->
3500        <attr name="fadeDuration" format="integer" />
3501        <!-- Defines the type of strokes that define a gesture. -->
3502        <attr name="gestureStrokeType">
3503            <!-- A gesture is made of only one stroke. -->
3504            <enum name="single" value="0" />
3505            <!-- A gesture is made of multiple strokes. -->
3506            <enum name="multiple" value="1" />
3507        </attr>
3508        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
3509        <attr name="gestureStrokeLengthThreshold" format="float" />
3510        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
3511        <attr name="gestureStrokeSquarenessThreshold" format="float" />
3512        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
3513        <attr name="gestureStrokeAngleThreshold" format="float" />
3514        <!-- Defines whether the overlay should intercept the motion events when a gesture
3515             is recognized. -->
3516        <attr name="eventsInterceptionEnabled" format="boolean" />
3517        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
3518        <attr name="fadeEnabled" format="boolean" />
3519        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
3520             (when orientation is horizontal) strokes automatically define a gesture. -->
3521        <attr name="orientation" />
3522    </declare-styleable>
3523
3524    <declare-styleable name="QuickContactBadge">
3525        <attr name="quickContactWindowSize">
3526            <enum name="modeSmall" value="1" />
3527            <enum name="modeMedium" value="2" />
3528            <enum name="modeLarge" value="3" />
3529        </attr>
3530    </declare-styleable>
3531
3532    <!-- ======================================= -->
3533    <!-- Widget package parent layout attributes -->
3534    <!-- ======================================= -->
3535    <eat-comment />
3536
3537    <declare-styleable name="AbsoluteLayout_Layout">
3538        <attr name="layout_x" format="dimension" />
3539        <attr name="layout_y" format="dimension" />
3540    </declare-styleable>
3541    <declare-styleable name="LinearLayout_Layout">
3542        <attr name="layout_width" />
3543        <attr name="layout_height" />
3544        <attr name="layout_weight" format="float" />
3545        <attr name="layout_gravity" />
3546    </declare-styleable>
3547    <declare-styleable name="GridLayout_Layout">
3548        <!-- The row boundary delimiting the top of the group of cells
3549        occupied by this view. -->
3550        <attr name="layout_row" format="integer" />
3551        <!-- The row span: the difference between the bottom and top
3552        boundaries delimiting the group of cells occupied by this view.
3553        The default is one.
3554        See {@link android.widget.GridLayout.Spec}. -->
3555        <attr name="layout_rowSpan" format="integer" min="1" />
3556        <!-- The column boundary delimiting the left of the group of cells
3557        occupied by this view. -->
3558        <attr name="layout_column" />
3559        <!-- The column span: the difference between the right and left
3560        boundaries delimiting the group of cells occupied by this view.
3561        The default is one.
3562        See {@link android.widget.GridLayout.Spec}. -->
3563        <attr name="layout_columnSpan" format="integer" min="1" />
3564        <!-- Gravity specifies how a component should be placed in its group of cells.
3565        The default is LEFT | BASELINE.
3566        See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. -->
3567        <attr name="layout_gravity" />
3568    </declare-styleable>
3569    <declare-styleable name="FrameLayout_Layout">
3570        <attr name="layout_gravity" />
3571    </declare-styleable>
3572    <declare-styleable name="RelativeLayout_Layout">
3573        <!-- Positions the right edge of this view to the left of the given anchor view ID.
3574             Accommodates right margin of this view and left margin of anchor view. -->
3575        <attr name="layout_toLeftOf" format="reference" />
3576        <!-- Positions the left edge of this view to the right of the given anchor view ID.
3577            Accommodates left margin of this view and right margin of anchor view. -->
3578        <attr name="layout_toRightOf" format="reference" />
3579        <!-- Positions the bottom edge of this view above the given anchor view ID.
3580            Accommodates bottom margin of this view and top margin of anchor view. -->
3581        <attr name="layout_above" format="reference" />
3582        <!-- Positions the top edge of this view below the given anchor view ID.
3583            Accommodates top margin of this view and bottom margin of anchor view. -->
3584        <attr name="layout_below" format="reference" />
3585        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
3586        <attr name="layout_alignBaseline" format="reference" />
3587        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
3588            Accommodates left margin. -->
3589        <attr name="layout_alignLeft" format="reference" />
3590        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
3591            Accommodates top margin. -->
3592        <attr name="layout_alignTop" format="reference" />
3593        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
3594            Accommodates right margin. -->
3595        <attr name="layout_alignRight" format="reference" />
3596        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
3597            Accommodates bottom margin. -->
3598        <attr name="layout_alignBottom" format="reference" />
3599        <!-- If true, makes the left edge of this view match the left edge of the parent.
3600            Accommodates left margin. -->
3601        <attr name="layout_alignParentLeft" format="boolean" />
3602        <!-- If true, makes the top edge of this view match the top edge of the parent.
3603            Accommodates top margin. -->
3604        <attr name="layout_alignParentTop" format="boolean" />
3605        <!-- If true, makes the right edge of this view match the right edge of the parent.
3606            Accommodates right margin. -->
3607        <attr name="layout_alignParentRight" format="boolean" />
3608        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
3609            Accommodates bottom margin. -->
3610        <attr name="layout_alignParentBottom" format="boolean" />
3611        <!-- If true, centers this child horizontally and vertically within its parent. -->
3612        <attr name="layout_centerInParent" format="boolean" />
3613        <!-- If true, centers this child horizontally within its parent. -->
3614        <attr name="layout_centerHorizontal" format="boolean" />
3615        <!-- If true, centers this child vertically within its parent. -->
3616        <attr name="layout_centerVertical" format="boolean" />
3617        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
3618             be found for layout_toLeftOf, layout_toRightOf, etc. -->
3619        <attr name="layout_alignWithParentIfMissing" format="boolean" />
3620    </declare-styleable>
3621    <declare-styleable name="VerticalSlider_Layout">
3622        <attr name="layout_scale" format="float" />
3623    </declare-styleable>
3624
3625    <!-- attributes for internal rotary widget used in lock screen and phone app
3626      @hide -->
3627    <declare-styleable name="RotarySelector">
3628        <!-- Use "horizontal" or "vertical".  The default is horizontal. -->
3629        <attr name="orientation" />
3630    </declare-styleable>
3631
3632    <!-- @hide -->
3633    <declare-styleable name="WeightedLinearLayout">
3634        <attr name="majorWeightMin" format="float" />
3635        <attr name="minorWeightMin" format="float" />
3636        <attr name="majorWeightMax" format="float" />
3637        <attr name="minorWeightMax" format="float" />
3638    </declare-styleable>
3639
3640    <declare-styleable name="CalendarView">
3641        <!-- The first day of week according to {@link java.util.Calendar}. -->
3642        <attr name="firstDayOfWeek" format="integer" />
3643        <!-- Whether do show week numbers. -->
3644        <attr name="showWeekNumber" format="boolean" />
3645        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
3646        <attr name="minDate" />
3647        <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. -->
3648        <attr name="maxDate" />
3649        <!-- The number of weeks to be shown. -->
3650        <attr name="shownWeekCount" format="integer"/>
3651        <!-- The background color for the selected week. -->
3652        <attr name="selectedWeekBackgroundColor" format="color|reference" />
3653        <!-- The color for the dates of the focused month. -->
3654        <attr name="focusedMonthDateColor" format="color|reference" />
3655        <!-- The color for the dates of an unfocused month. -->
3656        <attr name="unfocusedMonthDateColor" format="color|reference" />
3657        <!-- The color for the week numbers. -->
3658        <attr name="weekNumberColor" format="color|reference" />
3659        <!-- The color for the separator line between weeks. -->
3660        <attr name="weekSeparatorLineColor" format="color|reference" />
3661        <!-- Drawable for the vertical bar shown at the beginning and at the end of the selected date. -->
3662        <attr name="selectedDateVerticalBar" format="reference" />
3663        <!-- The text appearance for the week day abbreviation of the calendar header. -->
3664        <attr name="weekDayTextAppearance" format="reference" />
3665        <!-- The text appearance for the calendar dates. -->
3666        <attr name="dateTextAppearance" format="reference" />
3667    </declare-styleable>
3668
3669    <declare-styleable name="NumberPicker">
3670        <!-- @hide Color for the solid color background if such for optimized rendering. -->
3671        <attr name="solidColor" format="color|reference" />
3672        <!-- @hide The divider for making the selection area. -->
3673        <attr name="selectionDivider" format="reference" />
3674        <!-- @hide The height of the selection divider. -->
3675        <attr name="selectionDividerHeight" format="dimension" />
3676        <!-- @hide The distance between the two selection dividers. -->
3677        <attr name="selectionDividersDistance" format="dimension" />
3678        <!-- @hide The min height of the NumberPicker. -->
3679        <attr name="internalMinHeight" format="dimension" />
3680        <!-- @hide The max height of the NumberPicker. -->
3681        <attr name="internalMaxHeight" format="dimension" />
3682        <!-- @hide The min width of the NumberPicker. -->
3683        <attr name="internalMinWidth" format="dimension" />
3684        <!-- @hide The max width of the NumberPicker. -->
3685        <attr name="internalMaxWidth" format="dimension" />
3686        <!-- @hide The layout of the number picker. -->
3687        <attr name="internalLayout" />
3688        <!-- @hide The minimal move distance of a swipe to be considered a fling. -->
3689       <attr name="minFlingDistance" format="dimension" />
3690    </declare-styleable>
3691
3692    <declare-styleable name="TimePicker">
3693        <!-- @hide The layout of the time picker. -->
3694        <attr name="internalLayout" />
3695    </declare-styleable>
3696
3697    <!-- ========================= -->
3698    <!-- Drawable class attributes -->
3699    <!-- ========================= -->
3700    <eat-comment />
3701
3702    <!-- Base attributes that are available to all Drawable objects. -->
3703    <declare-styleable name="Drawable">
3704        <!-- Provides initial visibility state of the drawable; the default
3705             value is false.  See
3706             {@link android.graphics.drawable.Drawable#setVisible}. -->
3707        <attr name="visible" format="boolean" />
3708    </declare-styleable>
3709
3710    <!-- Drawable used to render several states. Each state is represented by
3711         a child drawable. -->
3712    <declare-styleable name="StateListDrawable">
3713        <!-- Indicates whether the drawable should be initially visible. -->
3714        <attr name="visible" />
3715        <!-- If true, allows the drawable's padding to change based on the
3716             current state that is selected.  If false, the padding will
3717             stay the same (based on the maximum padding of all the states).
3718             Enabling this feature requires that the owner of the drawable
3719             deal with performing layout when the state changes, which is
3720             often not supported. -->
3721        <attr name="variablePadding" format="boolean" />
3722        <!-- If true, the drawable's reported internal size will remain
3723             constant as the state changes; the size is the maximum of all
3724             of the states.  If false, the size will vary based on the
3725             current state. -->
3726        <attr name="constantSize" format="boolean" />
3727        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
3728             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
3729             an RGB 565 screen). -->
3730        <attr name="dither" format="boolean" />
3731        <!-- Amount of time (in milliseconds) to fade in a new state drawable. -->
3732        <attr name="enterFadeDuration" format="integer" />
3733        <!-- Amount of time (in milliseconds) to fade out an old state drawable. -->
3734        <attr name="exitFadeDuration" format="integer" />
3735    </declare-styleable>
3736
3737    <!-- Drawable used to render several animated frames. -->
3738    <declare-styleable name="AnimationDrawable">
3739        <attr name="visible" />
3740        <attr name="variablePadding" />
3741        <!-- If true, the animation will only run a single time and then
3742             stop.  If false (the default), it will continually run,
3743             restarting at the first frame after the last has finished. -->
3744        <attr name="oneshot" format="boolean" />
3745    </declare-styleable>
3746
3747    <!-- Represents a single frame inside an AnimationDrawable. -->
3748    <declare-styleable name="AnimationDrawableItem">
3749        <!-- Amount of time (in milliseconds) to display this frame. -->
3750        <attr name="duration" format="integer" />
3751        <!-- Reference to a drawable resource to use for the frame.  If not
3752             given, the drawable must be defined by the first child tag. -->
3753        <attr name="drawable" format="reference" />
3754    </declare-styleable>
3755
3756    <!-- Drawable used to render a geometric shape, with a gradient or a solid color. -->
3757    <declare-styleable name="GradientDrawable">
3758        <!-- Indicates whether the drawable should intially be visible. -->
3759        <attr name="visible" />
3760        <!-- Enables or disables dithering. -->
3761        <attr name="dither" />
3762        <!-- Indicates what shape to fill with a gradient. -->
3763        <attr name="shape">
3764            <!-- Rectangle shape, with optional rounder corners. -->
3765            <enum name="rectangle" value="0" />
3766            <!-- Oval shape. -->
3767            <enum name="oval" value="1" />
3768            <!-- Line shape. -->
3769            <enum name="line" value="2" />
3770            <!-- Ring shape. -->
3771            <enum name="ring" value="3" />
3772        </attr>
3773        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
3774             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
3775             This value is ignored if innerRadius is defined. Default value is 9. -->
3776        <attr name="innerRadiusRatio" format="float" />
3777        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
3778             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
3779             This value is ignored if innerRadius is defined. Default value is 3. -->
3780        <attr name="thicknessRatio" format="float" />
3781        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
3782        <attr name="innerRadius" format="dimension" />
3783        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
3784        <attr name="thickness" format="dimension" />
3785        <!-- Indicates whether the drawable's level affects the way the gradient is drawn. -->
3786        <attr name="useLevel" />
3787    </declare-styleable>
3788
3789    <!-- Used to specify the size of the shape for GradientDrawable. -->
3790    <declare-styleable name="GradientDrawableSize">
3791        <!-- Width of the gradient shape. -->
3792        <attr name="width" />
3793        <!-- Height of the gradient shape. -->
3794        <attr name="height" />
3795    </declare-styleable>
3796
3797    <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. -->
3798    <declare-styleable name="GradientDrawableGradient">
3799        <!-- Start color of the gradient. -->
3800        <attr name="startColor" format="color" />
3801        <!-- Optional center color. For linear gradients, use centerX or centerY
3802             to place the center color. -->
3803        <attr name="centerColor" format="color" />
3804        <!-- End color of the gradient. -->
3805        <attr name="endColor" format="color" />
3806        <attr name="useLevel" format="boolean" />
3807        <!-- Angle of the gradient. -->
3808        <attr name="angle" format="float" />
3809        <!-- Type of gradient. The default type is linear. -->
3810        <attr name="type">
3811            <!-- Linear gradient. -->
3812            <enum name="linear" value="0" />
3813            <!-- Radial, or circular, gradient. -->
3814            <enum name="radial" value="1" />
3815            <!-- Sweep, or angled or diamond, gradient. -->
3816            <enum name="sweep"  value="2" />
3817        </attr>
3818        <!-- X coordinate of the origin of the gradient within the shape. -->
3819        <attr name="centerX" format="float|fraction" />
3820        <!-- Y coordinate of the origin of the gradient within the shape. -->
3821        <attr name="centerY" format="float|fraction" />
3822        <!-- Radius of the gradient, used only with radial gradient. -->
3823        <attr name="gradientRadius" format="float|fraction" />
3824    </declare-styleable>
3825
3826    <!-- Used to fill the shape of GradientDrawable with a solid color. -->
3827    <declare-styleable name="GradientDrawableSolid">
3828        <!-- Solid color for the gradient shape. -->
3829        <attr name="color" format="color" />
3830    </declare-styleable>
3831
3832    <!-- Used to describe the optional stroke of a GradientDrawable. -->
3833    <declare-styleable name="GradientDrawableStroke">
3834        <!-- Width of the gradient shape's stroke. -->
3835        <attr name="width" />
3836        <!-- Color of the gradient shape's stroke. -->
3837        <attr name="color" />
3838        <!-- Length of a dash in the stroke. -->
3839        <attr name="dashWidth" format="dimension" />
3840        <!-- Gap between dashes in the stroke. -->
3841        <attr name="dashGap" format="dimension" />
3842    </declare-styleable>
3843
3844    <!-- Describes the corners for the rectangle shape of a GradientDrawable.
3845         This can be used to render rounded corners. -->
3846    <declare-styleable name="DrawableCorners">
3847        <!-- Defines the radius of the four corners. -->
3848        <attr name="radius" format="dimension" />
3849        <!-- Radius of the top left corner. -->
3850        <attr name="topLeftRadius" format="dimension" />
3851        <!-- Radius of the top right corner. -->
3852        <attr name="topRightRadius" format="dimension" />
3853        <!-- Radius of the bottom left corner. -->
3854        <attr name="bottomLeftRadius" format="dimension" />
3855        <!-- Radius of the bottom right corner. -->
3856        <attr name="bottomRightRadius" format="dimension" />
3857    </declare-styleable>
3858
3859    <!-- Used to specify the optional padding of a GradientDrawable. -->
3860    <declare-styleable name="GradientDrawablePadding">
3861        <!-- Amount of left padding inside the gradient shape. -->
3862        <attr name="left" format="dimension" />
3863        <!-- Amount of top padding inside the gradient shape. -->
3864        <attr name="top" format="dimension" />
3865        <!-- Amount of right padding inside the gradient shape. -->
3866        <attr name="right" format="dimension" />
3867        <!-- Amount of bottom padding inside the gradient shape. -->
3868        <attr name="bottom" format="dimension" />
3869    </declare-styleable>
3870
3871    <!-- Drawable used to render several drawables stacked on top of each other.
3872         Each child drawable can be controlled individually. -->
3873    <declare-styleable name="LayerDrawable">
3874        <!-- Indicates the opacity of the layer. This can be useful to allow the
3875              system to enable drawing optimizations. The default value is
3876              translucent. -->
3877        <attr name="opacity">
3878            <!-- Indicates that the layer is opaque and contains no transparent
3879                 nor translucent pixels. -->
3880            <enum name="opaque" value="-1" />
3881            <!-- The layer is completely transparent (no pixel will be drawn.) -->
3882            <enum name="transparent" value="-2" />
3883            <!-- The layer has translucent pixels. -->
3884            <enum name="translucent" value="-3" />
3885        </attr>
3886    </declare-styleable>
3887
3888    <!-- Describes an item (or child) of a LayerDrawable. -->
3889    <declare-styleable name="LayerDrawableItem">
3890        <!-- Left coordinate of the layer. -->
3891        <attr name="left" />
3892        <!-- Top coordinate of the layer. -->
3893        <attr name="top" />
3894        <!-- Right coordinate of the layer. -->
3895        <attr name="right" />
3896        <!-- Bottom coordinate of the layer. -->
3897        <attr name="bottom" />
3898        <!-- Drawable used to render the layer. -->
3899        <attr name="drawable" />
3900        <!-- Identifier of the layer. This can be used to retrieve the layer
3901             from a drawbable container. -->
3902        <attr name="id" />
3903    </declare-styleable>
3904
3905    <declare-styleable name="LevelListDrawableItem">
3906        <!-- The minimum level allowed for this item. -->
3907        <attr name="minLevel" format="integer" />
3908        <!-- The maximum level allowed for this item. -->
3909        <attr name="maxLevel" format="integer" />
3910        <attr name="drawable" />
3911    </declare-styleable>
3912
3913    <declare-styleable name="MipmapDrawableItem">
3914        <attr name="drawable" />
3915    </declare-styleable>
3916
3917    <!-- Drawable used to rotate another drawable. -->
3918    <declare-styleable name="RotateDrawable">
3919        <attr name="visible" />
3920        <attr name="fromDegrees" format="float" />
3921        <attr name="toDegrees" format="float" />
3922        <attr name="pivotX" format="float|fraction" />
3923        <attr name="pivotY" format="float|fraction" />
3924        <attr name="drawable" />
3925    </declare-styleable>
3926
3927    <declare-styleable name="AnimatedRotateDrawable">
3928        <attr name="visible" />
3929        <attr name="frameDuration" format="integer" />
3930        <attr name="framesCount" format="integer" />
3931        <attr name="pivotX" />
3932        <attr name="pivotY" />
3933        <attr name="drawable" />
3934    </declare-styleable>
3935
3936    <declare-styleable name="InsetDrawable">
3937        <attr name="visible" />
3938        <attr name="drawable" />
3939        <attr name="insetLeft" format="dimension" />
3940        <attr name="insetRight" format="dimension" />
3941        <attr name="insetTop" format="dimension" />
3942        <attr name="insetBottom" format="dimension" />
3943    </declare-styleable>
3944
3945    <!-- Drawable used to draw bitmaps. -->
3946    <declare-styleable name="BitmapDrawable">
3947        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
3948        <attr name="src" />
3949        <!-- Enables or disables antialiasing. -->
3950        <attr name="antialias" format="boolean" />
3951        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
3952             shrunk or stretched to smooth its apperance. -->
3953        <attr name="filter" format="boolean" />
3954        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
3955             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
3956             an RGB 565 screen). -->
3957        <attr name="dither" />
3958        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
3959             the drawable in its container if the bitmap is smaller than the container. -->
3960        <attr name="gravity" />
3961        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
3962             Gravity is ignored when the tile mode is enabled. -->
3963        <attr name="tileMode">
3964            <!-- Do not tile the bitmap. This is the default value. -->
3965            <enum name="disabled" value="-1" />
3966            <!-- Replicates the edge color. -->
3967            <enum name="clamp" value="0" />
3968            <!-- Repeats the bitmap in both direction. -->
3969            <enum name="repeat" value="1" />
3970            <!-- Repeats the shader's image horizontally and vertically, alternating
3971                 mirror images so that adjacent images always seam. -->
3972            <enum name="mirror" value="2" />
3973        </attr>
3974    </declare-styleable>
3975
3976    <!-- Drawable used to draw 9-patches. -->
3977    <declare-styleable name="NinePatchDrawable">
3978        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
3979        <attr name="src" />
3980        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
3981             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
3982             an RGB 565 screen). -->
3983        <attr name="dither" />
3984    </declare-styleable>
3985
3986    <!-- Drawable used to draw a single color. -->
3987    <declare-styleable name="ColorDrawable">
3988        <!-- The color to use. -->
3989        <attr name="color" />
3990    </declare-styleable>
3991
3992    <declare-styleable name="ScaleDrawable">
3993        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
3994             format is XX%. For instance: 100%, 12.5%, etc.-->
3995        <attr name="scaleWidth" format="string" />
3996        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
3997             format is XX%. For instance: 100%, 12.5%, etc.-->
3998        <attr name="scaleHeight" format="string" />
3999        <!-- Specifies where the drawable is positioned after scaling. The default value is
4000             left. -->
4001        <attr name="scaleGravity">
4002            <!-- Push object to the top of its container, not changing its size. -->
4003            <flag name="top" value="0x30" />
4004            <!-- Push object to the bottom of its container, not changing its size. -->
4005            <flag name="bottom" value="0x50" />
4006            <!-- Push object to the left of its container, not changing its size. -->
4007            <flag name="left" value="0x03" />
4008            <!-- Push object to the right of its container, not changing its size. -->
4009            <flag name="right" value="0x05" />
4010            <!-- Place object in the vertical center of its container, not changing its size. -->
4011            <flag name="center_vertical" value="0x10" />
4012            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
4013            <flag name="fill_vertical" value="0x70" />
4014            <!-- Place object in the horizontal center of its container, not changing its size. -->
4015            <flag name="center_horizontal" value="0x01" />
4016            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
4017            <flag name="fill_horizontal" value="0x07" />
4018            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
4019            <flag name="center" value="0x11" />
4020            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
4021            <flag name="fill" value="0x77" />
4022            <!-- Additional option that can be set to have the top and/or bottom edges of
4023                 the child clipped to its container's bounds.
4024                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
4025                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
4026            <flag name="clip_vertical" value="0x80" />
4027            <!-- Additional option that can be set to have the left and/or right edges of
4028                 the child clipped to its container's bounds.
4029                 The clip will be based on the horizontal gravity: a left gravity will clip the right
4030                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
4031            <flag name="clip_horizontal" value="0x08" />
4032        </attr>
4033        <!-- Reference to a drawable resource to draw with the specified scale. -->
4034        <attr name="drawable" />
4035        <!-- Use the drawable's intrinsic width and height as minimum size values.
4036             Useful if the target drawable is a 9-patch or otherwise should not be scaled
4037             down beyond a minimum size. -->
4038        <attr name="useIntrinsicSizeAsMinimum" format="boolean" />
4039    </declare-styleable>
4040
4041    <declare-styleable name="ClipDrawable">
4042        <!-- The orientation for the clip. -->
4043        <attr name="clipOrientation">
4044            <!-- Clip the drawable horizontally. -->
4045            <flag name="horizontal" value="1" />
4046            <!-- Clip the drawable vertically. -->
4047            <flag name="vertical" value="2" />
4048        </attr>
4049        <!-- Specifies where to clip within the drawable. The default value is
4050             left. -->
4051        <attr name="gravity" />
4052        <!-- Reference to a drawable resource to draw with the specified scale. -->
4053        <attr name="drawable" />
4054    </declare-styleable>
4055
4056    <!-- Defines the padding of a ShapeDrawable. -->
4057    <declare-styleable name="ShapeDrawablePadding">
4058        <!-- Left padding. -->
4059        <attr name="left" />
4060        <!-- Top padding. -->
4061        <attr name="top" />
4062        <!-- Right padding. -->
4063        <attr name="right" />
4064        <!-- Bottom padding. -->
4065        <attr name="bottom" />
4066    </declare-styleable>
4067
4068    <!-- Drawable used to draw shapes. -->
4069    <declare-styleable name="ShapeDrawable">
4070        <!-- Defines the color of the shape. -->
4071        <attr name="color" />
4072        <!-- Defines the width of the shape. -->
4073        <attr name="width" />
4074        <!-- Defines the height of the shape. -->
4075        <attr name="height" />
4076        <!-- Enables or disables dithering. -->
4077        <attr name="dither" />
4078    </declare-styleable>
4079
4080    <!-- ========================== -->
4081    <!-- Animation class attributes -->
4082    <!-- ========================== -->
4083    <eat-comment />
4084
4085    <declare-styleable name="Animation">
4086        <!-- Defines the interpolator used to smooth the animation movement in time. -->
4087        <attr name="interpolator" />
4088        <!-- When set to true, the value of fillBefore is taken into account. -->
4089        <attr name="fillEnabled" format="boolean" />
4090        <!-- When set to true or when fillEnabled is not set to true, the animation transformation
4091             is applied before the animation has started. The default value is true. -->
4092        <attr name="fillBefore" format="boolean" />
4093        <!-- When set to true, the animation transformation is applied after the animation is
4094             over. The default value is false. If fillEnabled is not set to true and the
4095             animation is not set on a View, fillAfter is assumed to be true.-->
4096        <attr name="fillAfter" format="boolean" />
4097        <!-- Amount of time (in milliseconds) for the animation to run. -->
4098        <attr name="duration" />
4099        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
4100        <attr name="startOffset" format="integer" />
4101        <!-- Defines how many times the animation should repeat. The default value is 0. -->
4102        <attr name="repeatCount" format="integer">
4103            <enum name="infinite" value="-1" />
4104        </attr>
4105        <!-- Defines the animation behavior when it reaches the end and the repeat count is
4106             greater than 0 or infinite. The default value is restart. -->
4107        <attr name="repeatMode">
4108            <!-- The animation starts again from the beginning. -->
4109            <enum name="restart" value="1" />
4110            <!-- The animation plays backward. -->
4111            <enum name="reverse" value="2" />
4112        </attr>
4113        <!-- Allows for an adjustment of the Z ordering of the content being
4114             animated for the duration of the animation.  The default value is normal. -->
4115        <attr name="zAdjustment">
4116            <!-- The content being animated be kept in its current Z order. -->
4117            <enum name="normal" value="0" />
4118            <!-- The content being animated is forced on top of all other
4119                 content for the duration of the animation. -->
4120            <enum name="top" value="1" />
4121            <!-- The content being animated is forced under all other
4122                 content for the duration of the animation. -->
4123            <enum name="bottom" value="-1" />
4124        </attr>
4125        <!-- Special background behind animation.  Only for use with window
4126             animations.  Can only be a color, and only black.  If 0, the
4127             default, there is no background. -->
4128        <attr name="background" />
4129        <!-- Special option for window animations: if this window is on top
4130             of a wallpaper, don't animate the wallpaper with it. -->
4131        <attr name="detachWallpaper" format="boolean" />
4132    </declare-styleable>
4133
4134    <declare-styleable name="AnimationSet">
4135        <attr name="shareInterpolator" format="boolean" />
4136        <attr name="fillBefore" />
4137        <attr name="fillAfter" />
4138        <attr name="duration" />
4139        <attr name="startOffset" />
4140        <attr name="repeatMode" />
4141    </declare-styleable>
4142
4143    <declare-styleable name="RotateAnimation">
4144        <attr name="fromDegrees" />
4145        <attr name="toDegrees" />
4146        <attr name="pivotX" />
4147        <attr name="pivotY" />
4148    </declare-styleable>
4149
4150    <declare-styleable name="ScaleAnimation">
4151        <attr name="fromXScale" format="float|fraction|dimension" />
4152        <attr name="toXScale" format="float|fraction|dimension" />
4153        <attr name="fromYScale" format="float|fraction|dimension" />
4154        <attr name="toYScale" format="float|fraction|dimension" />
4155        <attr name="pivotX" />
4156        <attr name="pivotY" />
4157    </declare-styleable>
4158
4159    <declare-styleable name="TranslateAnimation">
4160        <attr name="fromXDelta" format="float|fraction" />
4161        <attr name="toXDelta" format="float|fraction" />
4162        <attr name="fromYDelta" format="float|fraction" />
4163        <attr name="toYDelta" format="float|fraction" />
4164    </declare-styleable>
4165
4166    <declare-styleable name="AlphaAnimation">
4167        <attr name="fromAlpha" format="float" />
4168        <attr name="toAlpha" format="float" />
4169    </declare-styleable>
4170
4171    <declare-styleable name="LayoutAnimation">
4172        <!-- Fraction of the animation duration used to delay the beginning of
4173         the animation of each child. -->
4174        <attr name="delay" format="float|fraction" />
4175        <!-- Animation to use on each child. -->
4176        <attr name="animation" format="reference" />
4177        <!-- The order in which the animations will be started. -->
4178        <attr name="animationOrder">
4179            <!-- Animations are started in the natural order. -->
4180            <enum name="normal" value="0" />
4181            <!-- Animations are started in the reverse order. -->
4182            <enum name="reverse" value="1" />
4183            <!-- Animations are started randomly. -->
4184            <enum name="random" value="2" />
4185        </attr>
4186        <!-- Interpolator used to interpolate the delay between the start of
4187         each animation. -->
4188        <attr name="interpolator" />
4189    </declare-styleable>
4190
4191    <declare-styleable name="GridLayoutAnimation">
4192        <!-- Fraction of the animation duration used to delay the beginning of
4193         the animation of each column. -->
4194        <attr name="columnDelay" format="float|fraction" />
4195        <!-- Fraction of the animation duration used to delay the beginning of
4196         the animation of each row. -->
4197        <attr name="rowDelay" format="float|fraction" />
4198        <!-- Direction of the animation in the grid. -->
4199        <attr name="direction">
4200            <!-- Animates columns from left to right. -->
4201            <flag name="left_to_right" value="0x0" />
4202            <!-- Animates columns from right to left. -->
4203            <flag name="right_to_left" value="0x1" />
4204            <!-- Animates rows from top to bottom. -->
4205            <flag name="top_to_bottom" value="0x0" />
4206            <!-- Animates rows from bottom to top. -->
4207            <flag name="bottom_to_top" value="0x2" />
4208        </attr>
4209        <!-- Priority of the rows and columns. When the priority is none,
4210         both rows and columns have the same priority. When the priority is
4211         column, the animations will be applied on the columns first. The same
4212         goes for rows. -->
4213        <attr name="directionPriority">
4214            <!-- Rows and columns are animated at the same time. -->
4215            <enum name="none"   value="0" />
4216            <!-- Columns are animated first. -->
4217            <enum name="column" value="1" />
4218            <!-- Rows are animated first. -->
4219            <enum name="row"    value="2" />
4220        </attr>
4221    </declare-styleable>
4222
4223    <declare-styleable name="AccelerateInterpolator">
4224        <!-- This is the amount of deceleration to add when easing in. -->
4225        <attr name="factor" format="float" />
4226    </declare-styleable>
4227
4228    <declare-styleable name="DecelerateInterpolator">
4229        <!-- This is the amount of acceleration to add when easing out. -->
4230        <attr name="factor" />
4231    </declare-styleable>
4232
4233    <declare-styleable name="CycleInterpolator">
4234        <attr name="cycles" format="float" />
4235    </declare-styleable>
4236
4237    <declare-styleable name="AnticipateInterpolator">
4238        <!-- This is the amount of tension. -->
4239        <attr name="tension" format="float" />
4240    </declare-styleable>
4241
4242    <declare-styleable name="OvershootInterpolator">
4243        <!-- This is the amount of tension. -->
4244        <attr name="tension" />
4245    </declare-styleable>
4246
4247    <declare-styleable name="AnticipateOvershootInterpolator">
4248        <!-- This is the amount of tension. -->
4249        <attr name="tension" />
4250        <!-- This is the amount by which to multiply the tension. -->
4251        <attr name="extraTension" format="float" />
4252    </declare-styleable>
4253
4254    <!-- ========================== -->
4255    <!-- ValueAnimator class attributes -->
4256    <!-- ========================== -->
4257    <eat-comment />
4258
4259    <declare-styleable name="Animator">
4260        <!-- Defines the interpolator used to smooth the animation movement in time. -->
4261        <attr name="interpolator" />
4262        <!-- Amount of time (in milliseconds) for the animation to run. -->
4263        <attr name="duration" />
4264        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
4265        <attr name="startOffset"/>
4266        <!-- Defines how many times the animation should repeat. The default value is 0. -->
4267        <attr name="repeatCount"/>
4268        <!-- Defines the animation behavior when it reaches the end and the repeat count is
4269             greater than 0 or infinite. The default value is restart. -->
4270        <attr name="repeatMode"/>
4271        <!-- Value the animation starts from. -->
4272        <attr name="valueFrom" format="float|integer|color|dimension"/>
4273        <!-- Value the animation animates to. -->
4274        <attr name="valueTo" format="float|integer|color|dimension"/>
4275        <!-- The type of valueFrom and valueTo. -->
4276        <attr name="valueType">
4277            <!-- valueFrom and valueTo are floats. This is the default value is valueType is
4278                 unspecified. Note that if either valueFrom or valueTo represent colors
4279                 (beginning with "#"), then this attribute is ignored and the color values are
4280                 interpreted as integers. -->
4281            <enum name="floatType" value="0" />
4282            <!-- valueFrom and valueTo are integers. -->
4283            <enum name="intType"   value="1" />
4284        </attr>
4285    </declare-styleable>
4286
4287    <!-- ========================== -->
4288    <!-- ObjectAnimator class attributes -->
4289    <!-- ========================== -->
4290    <eat-comment />
4291
4292    <declare-styleable name="PropertyAnimator">
4293        <!-- Name of the property being animated. -->
4294        <attr name="propertyName" format="string"/>
4295    </declare-styleable>
4296
4297
4298    <!-- ========================== -->
4299    <!-- AnimatorSet class attributes -->
4300    <!-- ========================== -->
4301    <eat-comment />
4302
4303    <declare-styleable name="AnimatorSet">
4304        <!-- Name of the property being animated. -->
4305        <attr name="ordering">
4306            <!-- child animations should be played together. -->
4307            <enum name="together" value="0" />
4308            <!-- child animations should be played sequentially, in the same order as the xml. -->
4309            <enum name="sequentially" value="1" />
4310        </attr>
4311    </declare-styleable>
4312
4313    <!-- ========================== -->
4314    <!-- State attributes           -->
4315    <!-- ========================== -->
4316    <eat-comment />
4317
4318    <!-- Drawable states.
4319         The mapping of Drawable states to a particular drawables is specified
4320         in the "state" elements of a Widget's "selector" element.
4321         Possible values:
4322         <ul>
4323         <li>"state_focused"
4324         <li>"state_window_focused"
4325         <li>"state_enabled"
4326         <li>"state_checked"
4327         <li>"state_selected"
4328         <li>"state_active"
4329         <li>"state_single"
4330         <li>"state_first"
4331         <li>"state_mid"
4332         <li>"state_last"
4333         <li>"state_only"
4334         <li>"state_pressed"
4335         <li>"state_activated"
4336         <li>"state_error"
4337         <li>"state_circle"
4338         <li>"state_rect"
4339         <li>"state_grow"
4340         <li>"state_move"
4341         <li>"state_hovered"
4342         <li>"state_drag_can_accept"
4343         <li>"state_drag_hovered"
4344         <li>"state_accessibility_focused"
4345         </ul>  -->
4346    <declare-styleable name="DrawableStates">
4347        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
4348             set when a view has input focus. -->
4349        <attr name="state_focused" format="boolean" />
4350        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
4351             set when a view's window has input focus. -->
4352        <attr name="state_window_focused" format="boolean" />
4353        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
4354             set when a view is enabled. -->
4355        <attr name="state_enabled" format="boolean" />
4356        <!-- State identifier indicating that the object <var>may</var> display a check mark.
4357             See {@link R.attr#state_checked} for the identifier that indicates whether it is
4358             actually checked. -->
4359        <attr name="state_checkable" format="boolean"/>
4360        <!-- State identifier indicating that the object is currently checked.  See
4361             {@link R.attr#state_checkable} for an additional identifier that can indicate if
4362             any object may ever display a check, regardless of whether state_checked is
4363             currently set. -->
4364        <attr name="state_checked" format="boolean"/>
4365        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
4366             set when a view (or one of its parents) is currently selected. -->
4367        <attr name="state_selected" format="boolean" />
4368        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
4369             set when the user is pressing down in a view. -->
4370        <attr name="state_pressed" format="boolean" />
4371        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
4372             set when a view or its parent has been "activated" meaning the user has currently
4373             marked it as being of interest.  This is an alternative representation of
4374             state_checked for when the state should be propagated down the view hierarchy. -->
4375        <attr name="state_activated" format="boolean" />
4376        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
4377        <attr name="state_active" format="boolean" />
4378        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
4379        <attr name="state_single" format="boolean" />
4380        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
4381        <attr name="state_first" format="boolean" />
4382        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
4383        <attr name="state_middle" format="boolean" />
4384        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
4385        <attr name="state_last" format="boolean" />
4386        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
4387             indicating that the Drawable is in a view that is hardware accelerated.
4388             This means that the device can at least render a full-screen scaled
4389             bitmap with one layer of text and bitmaps composited on top of it
4390             at 60fps.  When this is set, the colorBackgroundCacheHint will be
4391             ignored even if it specifies a solid color, since that optimization
4392             is not needed. -->
4393        <attr name="state_accelerated" format="boolean" />
4394        <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable},
4395             set when a pointer is hovering over the view. -->
4396        <attr name="state_hovered" format="boolean" />
4397        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
4398             indicating that the Drawable is in a view that is capable of accepting a drop of
4399             the content currently being manipulated in a drag-and-drop operation. -->
4400        <attr name="state_drag_can_accept" format="boolean" />
4401        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
4402             indicating that a drag operation (for which the Drawable's view is a valid recipient)
4403             is currently positioned over the Drawable. -->
4404        <attr name="state_drag_hovered" format="boolean" />
4405        <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable}
4406             indicating that a View has accessibility focus. -->
4407        <attr name="state_accessibility_focused" format="boolean" />
4408    </declare-styleable>
4409    <declare-styleable name="ViewDrawableStates">
4410        <attr name="state_pressed" />
4411        <attr name="state_focused" />
4412        <attr name="state_selected" />
4413        <attr name="state_window_focused" />
4414        <attr name="state_enabled" />
4415        <attr name="state_activated" />
4416        <attr name="state_accelerated" />
4417        <attr name="state_hovered" />
4418        <attr name="state_drag_can_accept" />
4419        <attr name="state_drag_hovered" />
4420    </declare-styleable>
4421    <!-- State array representing a menu item that is currently checked. -->
4422    <declare-styleable name="MenuItemCheckedState">
4423        <attr name="state_checkable" />
4424        <attr name="state_checked" />
4425    </declare-styleable>
4426    <!-- State array representing a menu item that is checkable but is not currently checked. -->
4427    <declare-styleable name="MenuItemUncheckedState">
4428        <attr name="state_checkable" />
4429    </declare-styleable>
4430    <!-- State array representing a menu item that is currently focused and checked. -->
4431    <declare-styleable name="MenuItemCheckedFocusedState">
4432        <attr name="state_checkable" />
4433        <attr name="state_checked" />
4434        <attr name="state_focused" />
4435    </declare-styleable>
4436    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
4437    <declare-styleable name="MenuItemUncheckedFocusedState">
4438        <attr name="state_checkable" />
4439        <attr name="state_focused" />
4440    </declare-styleable>
4441    <!-- State array representing an expandable list child's indicator. -->
4442    <declare-styleable name="ExpandableListChildIndicatorState">
4443        <!-- State identifier indicating the child is the last child within its group. -->
4444        <attr name="state_last" />
4445    </declare-styleable>
4446    <!-- State array representing an expandable list group's indicator. -->
4447    <declare-styleable name="ExpandableListGroupIndicatorState">
4448        <!-- State identifier indicating the group is expanded. -->
4449        <attr name="state_expanded" format="boolean" />
4450        <!-- State identifier indicating the group is empty (has no children). -->
4451        <attr name="state_empty" format="boolean" />
4452    </declare-styleable>
4453    <declare-styleable name="PopupWindowBackgroundState">
4454        <!-- State identifier indicating the popup will be above the anchor. -->
4455        <attr name="state_above_anchor" format="boolean" />
4456    </declare-styleable>
4457    <declare-styleable name="TextViewMultiLineBackgroundState">
4458        <!-- State identifier indicating a TextView has a multi-line layout. -->
4459        <attr name="state_multiline" format="boolean" />
4460    </declare-styleable>
4461
4462    <!-- ***************************************************************** -->
4463    <!-- Support for Searchable activities. -->
4464    <!-- ***************************************************************** -->
4465    <eat-comment />
4466
4467    <!-- Searchable activities and applications must provide search configuration information
4468        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
4469        For a more in-depth discussion of search configuration, please refer to
4470        {@link android.app.SearchManager}. -->
4471    <declare-styleable name="Searchable">
4472          <!--<strong>This is deprecated.</strong><br/>The default
4473              application icon is now always used, so this attribute is
4474              obsolete.-->
4475        <attr name="icon" />
4476        <!-- This is the user-displayed name of the searchable activity.  <i>Required
4477            attribute.</i> -->
4478        <attr name="label" />
4479        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
4480            attribute.</i> -->
4481        <attr name="hint" />
4482        <!-- If supplied, this string will be displayed as the text of the "Search" button.
4483          <i>Optional attribute.</i>
4484          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
4485                       changing to use only icons for its buttons.}-->
4486        <attr name="searchButtonText" format="string" />
4487        <attr name="inputType" />
4488        <attr name="imeOptions" />
4489
4490        <!-- Additional features are controlled by mode bits in this field.  Omitting
4491            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
4492        -->
4493        <attr name="searchMode">
4494          <!-- If set, this flag enables the display of the search target (label) within the
4495               search bar.  If neither bad mode is selected, no badge will be shown. -->
4496          <flag name="showSearchLabelAsBadge" value="0x04" />
4497          <!--<strong>This is deprecated.</strong><br/>The default
4498              application icon is now always used, so this option is
4499              obsolete.-->
4500          <flag name="showSearchIconAsBadge" value="0x08" />
4501          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
4502               be considered as the text for suggestion query rewriting.  This should only
4503               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
4504               inspection and editing - typically, HTTP/HTTPS Uri's. -->
4505          <flag name="queryRewriteFromData" value="0x10" />
4506          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
4507               be considered as the text for suggestion query rewriting.  This should be used
4508               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
4509               values are not suitable for user inspection and editing. -->
4510          <flag name="queryRewriteFromText" value="0x20" />
4511        </attr>
4512
4513        <!-- Voice search features are controlled by mode bits in this field.  Omitting
4514            this field, or setting to zero, provides default behavior.
4515            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
4516            also be set.  <i>Optional attribute.</i>
4517        -->
4518        <attr name="voiceSearchMode">
4519          <!-- If set, display a voice search button.  This only takes effect if voice search is
4520               available on the device. -->
4521          <flag name="showVoiceSearchButton" value="0x01" />
4522          <!-- If set, the voice search button will take the user directly to a built-in
4523               voice web search activity.  Most applications will not use this flag, as it
4524               will take the user away from the activity in which search was invoked. -->
4525          <flag name="launchWebSearch" value="0x02" />
4526          <!-- If set, the voice search button will take the user directly to a built-in
4527               voice recording activity.  This activity will prompt the user to speak,
4528               transcribe the spoken text, and forward the resulting query
4529               text to the searchable activity, just as if the user had typed it into
4530               the search UI and clicked the search button. -->
4531          <flag name="launchRecognizer" value="0x04" />
4532        </attr>
4533
4534        <!-- If provided, this specifies the language model that should be used by the
4535             voice recognition system.  See
4536             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
4537             If not provided, the default value
4538             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
4539        <attr name="voiceLanguageModel" format="string" />
4540        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
4541        <attr name="voicePromptText" format="string" />
4542        <!-- If provided, this specifies the spoken language to be expected, and that it will be
4543             different than the one set in the {@link java.util.Locale#getDefault()}. -->
4544        <attr name="voiceLanguage" format="string" />
4545        <!-- If provided, enforces the maximum number of results to return, including the "best"
4546             result which will always be provided as the SEARCH intent's primary query.  Must be one
4547             or greater.  If not provided, the recognizer will choose how many results to return.
4548             -->
4549        <attr name="voiceMaxResults" format="integer" />
4550
4551        <!-- If provided, this is the trigger indicating that the searchable activity
4552            provides suggestions as well.  The value must be a fully-qualified content provider
4553            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
4554            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
4555            attribute.</i> -->
4556        <attr name="searchSuggestAuthority" format="string" />
4557        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
4558            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
4559            -->
4560        <attr name="searchSuggestPath" format="string" />
4561        <!-- If provided, suggestion queries will be passed into your query function
4562            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
4563            database, and will contain a single question mark, which represents the actual query
4564            string that has been typed by the user.  If not provided, then the user query text
4565            will be appended to the query Uri (after an additional "/".)  <i>Optional
4566            attribute.</i> -->
4567        <attr name="searchSuggestSelection" format="string" />
4568
4569        <!-- If provided, and not overridden by an action in the selected suggestion, this
4570            string will be placed in the action field of the {@link android.content.Intent Intent}
4571            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
4572        <attr name="searchSuggestIntentAction" format="string" />
4573        <!-- If provided, and not overridden by an action in the selected suggestion, this
4574            string will be placed in the data field of the {@link android.content.Intent Intent}
4575            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
4576        <attr name="searchSuggestIntentData" format="string" />
4577
4578        <!-- If provided, this is the minimum number of characters needed to trigger
4579             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
4580        <attr name="searchSuggestThreshold" format="integer" />
4581
4582        <!-- If provided and <code>true</code>, this searchable activity will be
4583             included in any global lists of search targets.
4584             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
4585        <attr name="includeInGlobalSearch" format="boolean" />
4586
4587        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
4588             queries in a particular session. If set to <code>false</code> and the activity
4589             returned zero results for a query, it will not be invoked again in that session for
4590             supersets of that zero-results query. For example, if the activity returned zero
4591             results for "bo", it would not be queried again for "bob".
4592             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
4593        <attr name="queryAfterZeroResults" format="boolean" />
4594        <!-- If provided, this string will be used to describe the searchable item in the
4595             searchable items settings within system search settings. <i>Optional
4596             attribute.</i> -->
4597        <attr name="searchSettingsDescription" format="string" />
4598
4599        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
4600             within this activity would be detected and treated as URLs (show a 'go' button in the
4601             keyboard and invoke the browser directly when user launches the URL instead of passing
4602             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
4603             normal query text.
4604             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
4605        <attr name="autoUrlDetect" format="boolean" />
4606
4607    </declare-styleable>
4608
4609    <!-- In order to process special action keys during search, you must define them using
4610            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
4611            discussion of action code handling, please refer to {@link android.app.SearchManager}.
4612    -->
4613    <declare-styleable name="SearchableActionKey">
4614        <!-- This attribute denotes the action key you wish to respond to.  Note that not
4615            all action keys are actually supported using this mechanism, as many of them are
4616            used for typing, navigation, or system functions.  This will be added to the
4617            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
4618            searchable activity.  To examine the key code, use
4619            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
4620            <p>Note, in addition to the keycode, you must also provide one or more of the action
4621            specifier attributes.  <i>Required attribute.</i> -->
4622        <attr name="keycode" />
4623
4624        <!-- If you wish to handle an action key during normal search query entry, you
4625            must define an action string here.  This will be added to the
4626            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
4627            searchable activity.  To examine the string, use
4628            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
4629            <i>Optional attribute.</i> -->
4630        <attr name="queryActionMsg"  format="string" />
4631
4632        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
4633            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
4634            can handle the action key, you can simply define the action message using this
4635            attribute.  This will be added to the
4636            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
4637            searchable activity.  To examine the string, use
4638            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
4639            <i>Optional attribute.</i> -->
4640        <attr name="suggestActionMsg"  format="string" />
4641
4642        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
4643            selected</i>, but you do not wish to enable this action key for every suggestion,
4644            then you can use this attribute to control it on a suggestion-by-suggestion basis.
4645            First, you must define a column (and name it here) where your suggestions will include
4646            the action string.  Then, in your content provider, you must provide this column, and
4647            when desired, provide data in this column.
4648            The search manager will look at your suggestion cursor, using the string
4649            provided here in order to select a column, and will use that to select a string from
4650            the cursor.  That string will be added to the
4651            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
4652            your searchable activity.  To examine the string, use
4653            {@link android.content.Intent#getStringExtra
4654            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
4655            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
4656        <attr name="suggestActionMsgColumn" format="string" />
4657
4658    </declare-styleable>
4659
4660    <!-- ***************************************************************** -->
4661    <!-- Support for MapView. -->
4662    <!-- ***************************************************************** -->
4663    <eat-comment />
4664
4665    <!-- The set of attributes for a MapView. -->
4666    <declare-styleable name="MapView">
4667        <!-- Value is a string that specifies the Maps API Key to use. -->
4668        <attr name="apiKey" format="string" />
4669    </declare-styleable>
4670
4671    <!-- **************************************************************** -->
4672    <!-- Menu XML inflation. -->
4673    <!-- **************************************************************** -->
4674    <eat-comment />
4675
4676    <!-- Base attributes that are available to all Menu objects. -->
4677    <declare-styleable name="Menu">
4678    </declare-styleable>
4679
4680    <!-- Base attributes that are available to all groups. -->
4681    <declare-styleable name="MenuGroup">
4682
4683        <!-- The ID of the group. -->
4684        <attr name="id" />
4685
4686        <!-- The category applied to all items within this group.
4687             (This will be or'ed with the orderInCategory attribute.) -->
4688        <attr name="menuCategory">
4689            <!-- Items are part of a container. -->
4690            <enum name="container" value="0x00010000" />
4691            <!-- Items are provided by the system. -->
4692            <enum name="system" value="0x00020000" />
4693            <!-- Items are user-supplied secondary (infrequently used). -->
4694            <enum name="secondary" value="0x00030000" />
4695            <!-- Items are alternative actions. -->
4696            <enum name="alternative" value="0x00040000" />
4697        </attr>
4698
4699        <!-- The order within the category applied to all items within this group.
4700             (This will be or'ed with the category attribute.) -->
4701        <attr name="orderInCategory" format="integer" />
4702
4703        <!-- Whether the items are capable of displaying a check mark. -->
4704        <attr name="checkableBehavior">
4705            <!-- The items are not checkable. -->
4706            <enum name="none" value="0" />
4707            <!-- The items are all checkable. -->
4708            <enum name="all" value="1" />
4709            <!-- The items are checkable and there will only be a single checked item in
4710                 this group. -->
4711            <enum name="single" value="2" />
4712        </attr>
4713
4714        <!-- Whether the items are shown/visible. -->
4715        <attr name="visible" />
4716
4717        <!-- Whether the items are enabled. -->
4718        <attr name="enabled" />
4719
4720    </declare-styleable>
4721
4722    <!-- Base attributes that are available to all Item objects. -->
4723    <declare-styleable name="MenuItem">
4724
4725        <!-- The ID of the item. -->
4726        <attr name="id" />
4727
4728        <!-- The category applied to the item.
4729             (This will be or'ed with the orderInCategory attribute.) -->
4730        <attr name="menuCategory" />
4731
4732        <!-- The order within the category applied to the item.
4733             (This will be or'ed with the category attribute.) -->
4734        <attr name="orderInCategory" />
4735
4736        <!-- The title associated with the item. -->
4737        <attr name="title" format="string" />
4738
4739        <!-- The condensed title associated with the item.  This is used in situations where the
4740             normal title may be too long to be displayed. -->
4741        <attr name="titleCondensed" format="string" />
4742
4743        <!-- The icon associated with this item.  This icon will not always be shown, so
4744             the title should be sufficient in describing this item. -->
4745        <attr name="icon" />
4746
4747        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
4748             with alphabetic keys. -->
4749        <attr name="alphabeticShortcut" format="string" />
4750
4751        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
4752             keyboard. -->
4753        <attr name="numericShortcut" format="string" />
4754
4755        <!-- Whether the item is capable of displaying a check mark. -->
4756        <attr name="checkable" format="boolean" />
4757
4758        <!-- Whether the item is checked.  Note that you must first have enabled checking with
4759             the checkable attribute or else the check mark will not appear. -->
4760        <attr name="checked" />
4761
4762        <!-- Whether the item is shown/visible. -->
4763        <attr name="visible" />
4764
4765        <!-- Whether the item is enabled. -->
4766        <attr name="enabled" />
4767
4768        <!-- Name of a method on the Context used to inflate the menu that will be
4769             called when the item is clicked. -->
4770        <attr name="onClick" />
4771
4772        <!-- How this item should display in the Action Bar, if present. -->
4773        <attr name="showAsAction">
4774            <!-- Never show this item in an action bar, show it in the overflow menu instead.
4775                 Mutually exclusive with "ifRoom" and "always". -->
4776            <flag name="never" value="0" />
4777            <!-- Show this item in an action bar if there is room for it as determined
4778                 by the system. Favor this option over "always" where possible.
4779                 Mutually exclusive with "never" and "always". -->
4780            <flag name="ifRoom" value="1" />
4781            <!-- Always show this item in an actionbar, even if it would override
4782                 the system's limits of how much stuff to put there. This may make
4783                 your action bar look bad on some screens. In most cases you should
4784                 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
4785            <flag name="always" value="2" />
4786            <!-- When this item is shown as an action in the action bar, show a text
4787                 label with it even if it has an icon representation. -->
4788            <flag name="withText" value="4" />
4789            <!-- This item's action view collapses to a normal menu
4790                 item. When expanded, the action view takes over a
4791                 larger segment of its container. -->
4792            <flag name="collapseActionView" value="8" />
4793        </attr>
4794
4795        <!-- An optional layout to be used as an action view.
4796             See {@link android.view.MenuItem#setActionView(android.view.View)}
4797             for more info. -->
4798        <attr name="actionLayout" format="reference" />
4799
4800        <!-- The name of an optional View class to instantiate and use as an
4801             action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
4802             for more info. -->
4803        <attr name="actionViewClass" format="string" />
4804
4805        <!-- The name of an optional ActionProvider class to instantiate an action view
4806             and perform operations such as default action for that menu item.
4807             See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
4808             for more info. -->
4809        <attr name="actionProviderClass" format="string" />
4810
4811    </declare-styleable>
4812
4813    <!-- Attrbitutes for a ActvityChooserView. -->
4814    <declare-styleable name="ActivityChooserView">
4815        <!-- The maximal number of items initially shown in the activity list. -->
4816        <attr name="initialActivityCount" format="string" />
4817        <!-- The drawable to show in the button for expanding the activities overflow popup.
4818             <strong>Note:</strong> Clients would like to set this drawable
4819             as a clue about the action the chosen activity will perform. For
4820             example, if share activity is to be chosen the drawable should
4821             give a clue that sharing is to be performed.
4822         -->
4823        <attr name="expandActivityOverflowButtonDrawable" format="reference" />
4824    </declare-styleable>
4825
4826    <!-- **************************************************************** -->
4827    <!-- Preferences framework. -->
4828    <!-- **************************************************************** -->
4829    <eat-comment />
4830
4831    <!-- Base attributes available to PreferenceGroup. -->
4832    <declare-styleable name="PreferenceGroup">
4833        <!-- Whether to order the Preference under this group as they appear in the XML file.
4834             If this is false, the ordering will follow the Preference order attribute and
4835             default to alphabetic for those without the order attribute. -->
4836        <attr name="orderingFromXml" format="boolean" />
4837    </declare-styleable>
4838
4839    <!-- Attribute for a header describing the item shown in the top-level list
4840         from which the selects the set of preference to dig in to. -->
4841    <declare-styleable name="PreferenceHeader">
4842        <!-- Identifier value for the header. -->
4843        <attr name="id" />
4844        <!-- The title of the item that is shown to the user. -->
4845        <attr name="title" />
4846        <!-- The summary for the item. -->
4847        <attr name="summary" format="string" />
4848        <!-- The title for the bread crumb of this item. -->
4849        <attr name="breadCrumbTitle" format="string" />
4850        <!-- The short title for the bread crumb of this item. -->
4851        <attr name="breadCrumbShortTitle" format="string" />
4852        <!-- An icon for the item. -->
4853        <attr name="icon" />
4854        <!-- The fragment that is displayed when the user selects this item. -->
4855        <attr name="fragment" format="string" />
4856    </declare-styleable>
4857
4858    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
4859                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
4860                   proxy all attributes to its EditText widget. -->
4861    <eat-comment />
4862
4863    <!-- Base attributes available to Preference. -->
4864    <declare-styleable name="Preference">
4865        <!-- The optional icon for the preference -->
4866        <attr name="icon" />
4867        <!-- The key to store the Preference value. -->
4868        <attr name="key" format="string" />
4869        <!-- The title for the Preference in a PreferenceActivity screen. -->
4870        <attr name="title" />
4871        <!-- The summary for the Preference in a PreferenceActivity screen. -->
4872        <attr name="summary" />
4873        <!-- The order for the Preference (lower values are to be ordered first). If this is not
4874             specified, the default orderin will be alphabetic. -->
4875        <attr name="order" format="integer" />
4876        <!-- When used inside of a modern PreferenceActivity, this declares
4877             a new PreferenceFragment to be shown when the user selects this item. -->
4878        <attr name="fragment" />
4879        <!-- The layout for the Preference in a PreferenceActivity screen. This should
4880             rarely need to be changed, look at widgetLayout instead. -->
4881        <attr name="layout" />
4882        <!-- The layout for the controllable widget portion of a Preference. This is inflated
4883             into the layout for a Preference and should be used more frequently than
4884             the layout attribute. For example, a checkbox preference would specify
4885             a custom layout (consisting of just the CheckBox) here. -->
4886        <attr name="widgetLayout" format="reference" />
4887        <!-- Whether the Preference is enabled. -->
4888        <attr name="enabled" />
4889        <!-- Whether the Preference is selectable. -->
4890        <attr name="selectable" format="boolean" />
4891        <!-- The key of another Preference that this Preference will depend on.  If the other
4892             Preference is not set or is off, this Preference will be disabled. -->
4893        <attr name="dependency" format="string" />
4894        <!-- Whether the Preference stores its value to the shared preferences. -->
4895        <attr name="persistent" />
4896        <!-- The default value for the preference, which will be set either if persistence
4897             is off or persistence is on and the preference is not found in the persistent
4898             storage.  -->
4899        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
4900        <!-- Whether the view of this Preference should be disabled when
4901             this Preference is disabled. -->
4902        <attr name="shouldDisableView" format="boolean" />
4903    </declare-styleable>
4904
4905    <!-- Base attributes available to CheckBoxPreference. -->
4906    <declare-styleable name="CheckBoxPreference">
4907        <!-- The summary for the Preference in a PreferenceActivity screen when the
4908             CheckBoxPreference is checked. If separate on/off summaries are not
4909             needed, the summary attribute can be used instead. -->
4910        <attr name="summaryOn" format="string" />
4911        <!-- The summary for the Preference in a PreferenceActivity screen when the
4912             CheckBoxPreference is unchecked. If separate on/off summaries are not
4913             needed, the summary attribute can be used instead. -->
4914        <attr name="summaryOff" format="string" />
4915        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
4916             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
4917        <attr name="disableDependentsState" format="boolean" />
4918    </declare-styleable>
4919
4920    <!-- Base attributes available to DialogPreference. -->
4921    <declare-styleable name="DialogPreference">
4922        <!-- The title in the dialog. -->
4923        <attr name="dialogTitle" format="string" />
4924        <!-- The message in the dialog. If a dialogLayout is provided and contains
4925             a TextView with ID android:id/message, this message will be placed in there. -->
4926        <attr name="dialogMessage" format="string" />
4927        <!-- The icon for the dialog. -->
4928        <attr name="dialogIcon" format="reference" />
4929        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
4930        <attr name="positiveButtonText" format="string" />
4931        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
4932        <attr name="negativeButtonText" format="string" />
4933        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
4934             be needed. If a custom DialogPreference is required, this should be set. For example,
4935             the EditTextPreference uses a layout with an EditText as this attribute. -->
4936        <attr name="dialogLayout" format="reference" />
4937    </declare-styleable>
4938
4939    <!-- Base attributes available to ListPreference. -->
4940    <declare-styleable name="ListPreference">
4941        <!-- The human-readable array to present as a list. Each entry must have a corresponding
4942             index in entryValues. -->
4943        <attr name="entries" />
4944        <!-- The array to find the value to save for a preference when an entry from
4945             entries is selected. If a user clicks on the second item in entries, the
4946             second item in this array will be saved to the preference. -->
4947        <attr name="entryValues" format="reference" />
4948    </declare-styleable>
4949
4950    <declare-styleable name="MultiSelectListPreference">
4951        <!-- The human-readable array to present as a list. Each entry must have a corresponding
4952             index in entryValues. -->
4953        <attr name="entries" />
4954        <!-- The array to find the value to save for a preference when an entry from
4955             entries is selected. If a user clicks the second item in entries, the
4956             second item in this array will be saved to the preference. -->
4957        <attr name="entryValues" />
4958    </declare-styleable>
4959
4960    <!-- Base attributes available to RingtonePreference. -->
4961    <declare-styleable name="RingtonePreference">
4962        <!-- Which ringtone type(s) to show in the picker. -->
4963        <attr name="ringtoneType">
4964            <!-- Ringtones. -->
4965            <flag name="ringtone" value="1" />
4966            <!-- Notification sounds. -->
4967            <flag name="notification" value="2" />
4968            <!-- Alarm sounds. -->
4969            <flag name="alarm" value="4" />
4970            <!-- All available ringtone sounds. -->
4971            <flag name="all" value="7" />
4972        </attr>
4973        <!-- Whether to show an item for a default sound. -->
4974        <attr name="showDefault" format="boolean" />
4975        <!-- Whether to show an item for 'Silent'. -->
4976        <attr name="showSilent" format="boolean" />
4977    </declare-styleable>
4978
4979    <!-- Base attributes available to VolumePreference. -->
4980    <declare-styleable name="VolumePreference">
4981        <!-- Different audio stream types. -->
4982        <attr name="streamType">
4983            <enum name="voice" value="0" />
4984            <enum name="system" value="1" />
4985            <enum name="ring" value="2" />
4986            <enum name="music" value="3" />
4987            <enum name="alarm" value="4" />
4988        </attr>
4989    </declare-styleable>
4990
4991    <declare-styleable name="InputMethodService">
4992        <!-- Background to use for entire input method when it is being
4993             shown in fullscreen mode with the extract view, to ensure
4994             that it completely covers the application.  This allows,
4995             for example, the candidate view to be hidden
4996             while in fullscreen mode without having the application show through
4997             behind it.-->
4998        <attr name="imeFullscreenBackground" format="reference|color" />
4999        <!-- Animation to use when showing the fullscreen extract UI after
5000             it had previously been hidden. -->
5001        <attr name="imeExtractEnterAnimation" format="reference" />
5002        <!-- Animation to use when hiding the fullscreen extract UI after
5003             it had previously been shown. -->
5004        <attr name="imeExtractExitAnimation" format="reference" />
5005    </declare-styleable>
5006
5007    <declare-styleable name="KeyboardView">
5008        <!-- Default KeyboardView style. -->
5009        <attr name="keyboardViewStyle" format="reference" />
5010
5011        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
5012             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
5013             checkable+checked+pressed. -->
5014        <attr name="keyBackground" format="reference" />
5015
5016        <!-- Size of the text for character keys. -->
5017        <attr name="keyTextSize" format="dimension" />
5018
5019        <!-- Size of the text for custom keys with some text and no icon. -->
5020        <attr name="labelTextSize" format="dimension" />
5021
5022        <!-- Color to use for the label in a key. -->
5023        <attr name="keyTextColor" format="color" />
5024
5025        <!-- Layout resource for key press feedback.-->
5026        <attr name="keyPreviewLayout" format="reference" />
5027
5028        <!-- Vertical offset of the key press feedback from the key. -->
5029        <attr name="keyPreviewOffset" format="dimension" />
5030
5031        <!-- Height of the key press feedback popup. -->
5032        <attr name="keyPreviewHeight" format="dimension" />
5033
5034        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
5035        <attr name="verticalCorrection" format="dimension" />
5036
5037        <!-- Layout resource for popup keyboards. -->
5038        <attr name="popupLayout" format="reference" />
5039
5040        <attr name="shadowColor" />
5041        <attr name="shadowRadius" />
5042    </declare-styleable>
5043
5044    <declare-styleable name="KeyboardViewPreviewState">
5045        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
5046                key preview background. -->
5047        <attr name="state_long_pressable" format="boolean" />
5048    </declare-styleable>
5049
5050    <declare-styleable name="Keyboard">
5051        <!-- Default width of a key, in pixels or percentage of display width. -->
5052        <attr name="keyWidth" format="dimension|fraction" />
5053        <!-- Default height of a key, in pixels or percentage of display width. -->
5054        <attr name="keyHeight" format="dimension|fraction" />
5055        <!-- Default horizontal gap between keys. -->
5056        <attr name="horizontalGap" format="dimension|fraction" />
5057        <!-- Default vertical gap between rows of keys. -->
5058        <attr name="verticalGap" format="dimension|fraction" />
5059    </declare-styleable>
5060
5061    <declare-styleable name="Keyboard_Row">
5062        <!-- Row edge flags. -->
5063        <attr name="rowEdgeFlags">
5064            <!-- Row is anchored to the top of the keyboard. -->
5065            <flag name="top" value="4" />
5066            <!-- Row is anchored to the bottom of the keyboard. -->
5067            <flag name="bottom" value="8" />
5068        </attr>
5069        <!-- Mode of the keyboard. If the mode doesn't match the
5070             requested keyboard mode, the row will be skipped. -->
5071        <attr name="keyboardMode" format="reference" />
5072    </declare-styleable>
5073
5074    <declare-styleable name="Keyboard_Key">
5075        <!-- The unicode value or comma-separated values that this key outputs. -->
5076        <attr name="codes" format="integer|string" />
5077        <!-- The XML keyboard layout of any popup keyboard. -->
5078        <attr name="popupKeyboard" format="reference" />
5079        <!-- The characters to display in the popup keyboard. -->
5080        <attr name="popupCharacters" format="string" />
5081        <!-- Key edge flags. -->
5082        <attr name="keyEdgeFlags">
5083            <!-- Key is anchored to the left of the keyboard. -->
5084            <flag name="left" value="1" />
5085            <!-- Key is anchored to the right of the keyboard. -->
5086            <flag name="right" value="2" />
5087        </attr>
5088        <!-- Whether this is a modifier key such as Alt or Shift. -->
5089        <attr name="isModifier" format="boolean" />
5090        <!-- Whether this is a toggle key. -->
5091        <attr name="isSticky" format="boolean" />
5092        <!-- Whether long-pressing on this key will make it repeat. -->
5093        <attr name="isRepeatable" format="boolean" />
5094        <!-- The icon to show in the popup preview. -->
5095        <attr name="iconPreview" format="reference" />
5096        <!-- The string of characters to output when this key is pressed. -->
5097        <attr name="keyOutputText" format="string" />
5098        <!-- The label to display on the key. -->
5099        <attr name="keyLabel" format="string" />
5100        <!-- The icon to display on the key instead of the label. -->
5101        <attr name="keyIcon" format="reference" />
5102        <!-- Mode of the keyboard. If the mode doesn't match the
5103             requested keyboard mode, the key will be skipped. -->
5104        <attr name="keyboardMode" />
5105    </declare-styleable>
5106
5107    <!-- =============================== -->
5108    <!-- AppWidget package class attributes -->
5109    <!-- =============================== -->
5110    <eat-comment />
5111
5112    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
5113         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
5114         package for more info.
5115     -->
5116    <declare-styleable name="AppWidgetProviderInfo">
5117        <!-- Minimum width of the AppWidget. -->
5118        <attr name="minWidth"/>
5119        <!-- Minimum height of the AppWidget. -->
5120        <attr name="minHeight"/>
5121        <!-- Minimum width that the AppWidget can be resized to. -->
5122        <attr name="minResizeWidth" format="dimension"/>
5123        <!-- Minimum height that the AppWidget can be resized to. -->
5124        <attr name="minResizeHeight" format="dimension"/>
5125        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
5126        <attr name="updatePeriodMillis" format="integer" />
5127        <!-- A resource id of a layout. -->
5128        <attr name="initialLayout" format="reference" />
5129        <!-- A class name in the AppWidget's package to be launched to configure.
5130             If not supplied, then no activity will be launched. -->
5131        <attr name="configure" format="string" />
5132        <!-- A preview of what the AppWidget will look like after it's configured.
5133              If not supplied, the AppWidget's icon will be used. -->
5134        <attr name="previewImage" format="reference" />
5135        <!-- The view id of the AppWidget subview which should be auto-advanced.
5136             by the widget's host. -->
5137        <attr name="autoAdvanceViewId" format="reference" />
5138        <!-- Optional parameter which indicates if and how this widget can be
5139             resized. -->
5140        <attr name="resizeMode" format="integer">
5141            <flag name="none" value="0x0" />
5142            <flag name="horizontal" value="0x1" />
5143            <flag name="vertical" value="0x2" />
5144        </attr>
5145    </declare-styleable>
5146
5147    <!-- =============================== -->
5148    <!-- Wallpaper preview attributes    -->
5149    <!-- =============================== -->
5150    <eat-comment />
5151
5152    <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that
5153         describes a wallpaper preview. -->
5154    <declare-styleable name="WallpaperPreviewInfo">
5155        <!-- A resource id of a static drawable. -->
5156        <attr name="staticWallpaperPreview" format="reference" />
5157    </declare-styleable>
5158
5159    <!-- =============================== -->
5160    <!-- App package class attributes -->
5161    <!-- =============================== -->
5162    <eat-comment />
5163
5164    <!-- ============================= -->
5165    <!-- View package class attributes -->
5166    <!-- ============================= -->
5167    <eat-comment />
5168
5169    <!-- Attributes that can be used with <code>&lt;fragment&gt;</code>
5170         tags inside of the layout of an Activity.  This instantiates
5171         the given {@link android.app.Fragment} and inserts its content
5172         view into the current location in the layout. -->
5173    <declare-styleable name="Fragment">
5174        <!-- Supply the name of the fragment class to instantiate. -->
5175        <attr name="name" />
5176
5177        <!-- Supply an identifier name for the top-level view, to later retrieve it
5178             with {@link android.view.View#findViewById View.findViewById()} or
5179             {@link android.app.Activity#findViewById Activity.findViewById()}.
5180             This must be a
5181             resource reference; typically you set this using the
5182             <code>@+</code> syntax to create a new ID resources.
5183             For example: <code>android:id="@+id/my_id"</code> which
5184             allows you to later retrieve the view
5185             with <code>findViewById(R.id.my_id)</code>. -->
5186        <attr name="id" />
5187
5188        <!-- Supply a tag for the top-level view containing a String, to be retrieved
5189             later with {@link android.view.View#getTag View.getTag()} or
5190             searched for with {@link android.view.View#findViewWithTag
5191             View.findViewWithTag()}.  It is generally preferable to use
5192             IDs (through the android:id attribute) instead of tags because
5193             they are faster and allow for compile-time type checking. -->
5194        <attr name="tag" />
5195    </declare-styleable>
5196
5197    <!-- Use <code>device-admin</code> as the root tag of the XML resource that
5198         describes a
5199         {@link android.app.admin.DeviceAdminReceiver}, which is
5200         referenced from its
5201         {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA}
5202         meta-data entry.  Described here are the attributes that can be
5203         included in that tag. -->
5204    <declare-styleable name="DeviceAdmin">
5205        <!-- Control whether the admin is visible to the user, even when it
5206             is not enabled.  This is true by default.  You may want to make
5207             it false if your admin does not make sense to be turned on
5208             unless some explicit action happens in your app. -->
5209        <attr name="visible" />
5210    </declare-styleable>
5211
5212    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
5213         describes an
5214         {@link android.service.wallpaper.WallpaperService}, which is
5215         referenced from its
5216         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
5217         meta-data entry.  Described here are the attributes that can be
5218         included in that tag. -->
5219    <declare-styleable name="Wallpaper">
5220        <attr name="settingsActivity" />
5221
5222        <!-- Reference to a the wallpaper's thumbnail bitmap. -->
5223        <attr name="thumbnail" format="reference" />
5224
5225        <!-- Name of the author of this component, e.g. Google. -->
5226        <attr name="author" format="reference" />
5227
5228        <!-- Short description of the component's purpose or behavior. -->
5229        <attr name="description" />
5230    </declare-styleable>
5231
5232    <!-- =============================== -->
5233    <!-- Accounts package class attributes -->
5234    <!-- =============================== -->
5235    <eat-comment />
5236
5237    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
5238         describes an account authenticator.
5239     -->
5240    <declare-styleable name="AccountAuthenticator">
5241        <!-- The account type this authenticator handles. -->
5242        <attr name="accountType" format="string"/>
5243        <!-- The user-visible name of the authenticator. -->
5244        <attr name="label"/>
5245        <!-- The icon of the authenticator. -->
5246        <attr name="icon"/>
5247        <!-- Smaller icon of the authenticator. -->
5248        <attr name="smallIcon" format="reference"/>
5249        <!-- A preferences.xml file for authenticator-specific settings. -->
5250        <attr name="accountPreferences" format="reference"/>
5251        <!-- Account handles its own token storage and permissions.
5252             Default to false
5253          -->
5254        <attr name="customTokens" format="boolean"/>
5255    </declare-styleable>
5256
5257    <!-- =============================== -->
5258    <!-- Accounts package class attributes -->
5259    <!-- =============================== -->
5260    <eat-comment />
5261
5262    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
5263         describes an account authenticator.
5264     -->
5265    <declare-styleable name="SyncAdapter">
5266        <!-- the authority of a content provider. -->
5267        <attr name="contentAuthority" format="string"/>
5268        <attr name="accountType"/>
5269        <attr name="userVisible" format="boolean"/>
5270        <attr name="supportsUploading" format="boolean"/>
5271        <!-- Set to true to tell the SyncManager that this SyncAdapter supports
5272             multiple simultaneous syncs for the same account type and authority.
5273             Otherwise the SyncManager will be sure not to issue a start sync request
5274             to this SyncAdapter if the SyncAdapter is already syncing another account.
5275             Defaults to false.
5276             -->
5277        <attr name="allowParallelSyncs" format="boolean"/>
5278        <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1)
5279             for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter.
5280             Defaults to false.
5281             -->
5282        <attr name="isAlwaysSyncable" format="boolean"/>
5283        <!-- If provided, specifies the action of the settings
5284             activity for this SyncAdapter.
5285             -->
5286        <attr name="settingsActivity"/>
5287    </declare-styleable>
5288
5289    <!-- =============================== -->
5290    <!-- Contacts meta-data attributes -->
5291    <!-- =============================== -->
5292    <eat-comment />
5293
5294    <!-- TODO: remove this deprecated styleable. -->
5295    <eat-comment />
5296    <declare-styleable name="Icon">
5297        <attr name="icon" />
5298        <attr name="mimeType" />
5299    </declare-styleable>
5300
5301    <!-- TODO: remove this deprecated styleable -->
5302    <eat-comment />
5303    <declare-styleable name="IconDefault">
5304        <attr name="icon" />
5305    </declare-styleable>
5306
5307    <!-- Maps a specific contact data MIME-type to styling information. -->
5308    <declare-styleable name="ContactsDataKind">
5309        <!-- Mime-type handled by this mapping. -->
5310        <attr name="mimeType" />
5311        <!-- Icon used to represent data of this kind. -->
5312        <attr name="icon" />
5313        <!-- Column in data table that summarizes this data. -->
5314        <attr name="summaryColumn" format="string" />
5315        <!-- Column in data table that contains details for this data. -->
5316        <attr name="detailColumn" format="string" />
5317        <!-- Flag indicating that detail should be built from SocialProvider. -->
5318        <attr name="detailSocialSummary" format="boolean" />
5319        <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or
5320        "All connections"). Optional (Default is "All Contacts"). -->
5321        <attr name="allContactsName" format="string" />
5322    </declare-styleable>
5323
5324    <!-- =============================== -->
5325    <!-- TabSelector class attributes -->
5326    <!-- =============================== -->
5327    <eat-comment />
5328
5329    <declare-styleable name="SlidingTab">
5330        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
5331        <attr name="orientation" />
5332    </declare-styleable>
5333
5334    <!-- =============================== -->
5335    <!-- MultiWaveView class attributes -->
5336    <!-- =============================== -->
5337    <eat-comment />
5338    <declare-styleable name="MultiWaveView">
5339        <!-- Reference to an array resource that be shown as targets around a circle. -->
5340        <attr name="targetDrawables" format="reference"/>
5341
5342        <!-- Reference to an array resource that be used as description for the targets around the circle. -->
5343        <attr name="targetDescriptions" format="reference"/>
5344
5345        <!-- Reference to an array resource that be used to announce the directions with targets around the circle. -->
5346        <attr name="directionDescriptions" format="reference"/>
5347
5348        <!-- Sets a drawable as the drag center. -->
5349        <attr name="handleDrawable" format="reference" />
5350
5351        <!-- Drawable to use for chevron animation on the left. May be null. -->
5352        <attr name="leftChevronDrawable" format="reference" />
5353
5354        <!-- Drawable to use for chevron animation on the right. May be null. -->
5355        <attr name="rightChevronDrawable" format="reference" />
5356
5357        <!-- Drawable to use for chevron animation on the top. May be null. -->
5358        <attr name="topChevronDrawable" format="reference" />
5359
5360        <!-- Drawable to use for chevron animation on the bottom. May be null. -->
5361        <attr name="bottomChevronDrawable" format="reference" />
5362
5363        <!-- Drawable to use for wave ripple animation. -->
5364        <attr name="waveDrawable" format="reference" />
5365
5366        <!-- Outer radius of target circle. Icons will be drawn on this circle. -->
5367        <attr name="outerRadius" format="dimension" />
5368
5369        <!-- Size of target radius. Points within this distance of target center is a "hit". -->
5370        <attr name="hitRadius" format="dimension" />
5371
5372        <!-- Tactile feedback duration for actions. Set to '0' for no vibration. -->
5373        <attr name="vibrationDuration" format="integer"/>
5374
5375        <!-- How close we need to be before snapping to a target. -->
5376        <attr name="snapMargin" format="dimension" />
5377
5378        <!-- Number of waves/chevrons to show in animation. -->
5379        <attr name="feedbackCount" format="integer" />
5380
5381        <!-- {@deprecated Not used by the framework. Use android:gravity instead}
5382            Used to shift center of pattern vertically. -->
5383        <attr name="verticalOffset" format="dimension" />
5384
5385        <!-- {@deprecated Not used by the framework. Use android:gravity instead}
5386            Used to shift center of pattern horizontally. -->
5387        <attr name="horizontalOffset" format="dimension" />
5388
5389        <!-- How the items in this layout should be positioned -->
5390        <attr name="gravity" />
5391
5392        <!-- Used when the handle shouldn't wait to be hit before following the finger -->
5393        <attr name="alwaysTrackFinger" format="boolean" />
5394    </declare-styleable>
5395
5396    <!-- =============================== -->
5397    <!-- SizeAdaptiveLayout class attributes -->
5398    <!-- =============================== -->
5399    <eat-comment />
5400    <declare-styleable name="SizeAdaptiveLayout_Layout">
5401      <!-- The maximum valid height for this item. -->
5402      <attr name="layout_maxHeight" format="dimension">
5403        <!-- Indicates that the view may be resized arbitrarily large. -->
5404        <enum name="unbounded" value="-1" />
5405      </attr>
5406      <!-- The minimum valid height for this item. -->
5407      <attr name="layout_minHeight" format="dimension" />
5408    </declare-styleable>
5409    <declare-styleable name="SizeAdaptiveLayout" />
5410
5411    <!-- =============================== -->
5412    <!-- LockPatternView class attributes -->
5413    <!-- =============================== -->
5414    <eat-comment />
5415
5416    <declare-styleable name="LockPatternView">
5417        <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width"
5418             or "lock_height" -->
5419        <attr name="aspect" format="string" />
5420    </declare-styleable>
5421
5422    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
5423         describes a {@link android.speech.RecognitionService}, which is reference from
5424         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
5425         Described here are the attributes that can be included in that tag. -->
5426    <declare-styleable name="RecognitionService">
5427        <attr name="settingsActivity" />
5428    </declare-styleable>
5429
5430    <!-- Attributes used to style the Action Bar. -->
5431    <declare-styleable name="ActionBar">
5432        <!-- The type of navigation to use. -->
5433        <attr name="navigationMode">
5434            <!-- Normal static title text -->
5435            <enum name="normal" value="0" />
5436            <!-- The action bar will use a selection list for navigation. -->
5437            <enum name="listMode" value="1" />
5438            <!-- The action bar will use a series of horizontal tabs for navigation. -->
5439            <enum name="tabMode" value="2" />
5440        </attr>
5441        <!-- Options affecting how the action bar is displayed. -->
5442        <attr name="displayOptions">
5443            <flag name="useLogo" value="0x1" />
5444            <flag name="showHome" value="0x2" />
5445            <flag name="homeAsUp" value="0x4" />
5446            <flag name="showTitle" value="0x8" />
5447            <flag name="showCustom" value="0x10" />
5448            <flag name="disableHome" value="0x20" />
5449        </attr>
5450        <!-- Specifies title text used for navigationMode="normal" -->
5451        <attr name="title" />
5452        <!-- Specifies subtitle text used for navigationMode="normal" -->
5453        <attr name="subtitle" format="string" />
5454        <!-- Specifies a style to use for title text. -->
5455        <attr name="titleTextStyle" format="reference" />
5456        <!-- Specifies a style to use for subtitle text. -->
5457        <attr name="subtitleTextStyle" format="reference" />
5458        <!-- Specifies the drawable used for the application icon. -->
5459        <attr name="icon" />
5460        <!-- Specifies the drawable used for the application logo. -->
5461        <attr name="logo" />
5462        <!-- Specifies the drawable used for item dividers. -->
5463        <attr name="divider" />
5464        <!-- Specifies a background drawable for the action bar. -->
5465        <attr name="background" />
5466        <!-- Specifies a background drawable for a second stacked row of the action bar. -->
5467        <attr name="backgroundStacked" format="reference|color" />
5468        <!-- Specifies a background drawable for the bottom component of a split action bar. -->
5469        <attr name="backgroundSplit" format="reference|color" />
5470        <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
5471        <attr name="customNavigationLayout" format="reference" />
5472        <!-- Specifies a fixed height. -->
5473        <attr name="height" />
5474        <!-- Specifies a layout to use for the "home" section of the action bar. -->
5475        <attr name="homeLayout" format="reference" />
5476        <!-- Specifies a style resource to use for an embedded progress bar. -->
5477        <attr name="progressBarStyle" />
5478        <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
5479        <attr name="indeterminateProgressStyle" format="reference" />
5480        <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
5481        <attr name="progressBarPadding" format="dimension" />
5482        <!-- Specifies padding that should be applied to the left and right sides of
5483             system-provided items in the bar. -->
5484        <attr name="itemPadding" format="dimension" />
5485    </declare-styleable>
5486
5487    <declare-styleable name="ActionMode">
5488        <!-- Specifies a style to use for title text. -->
5489        <attr name="titleTextStyle" />
5490        <!-- Specifies a style to use for subtitle text. -->
5491        <attr name="subtitleTextStyle" />
5492        <!-- Specifies a background for the action mode bar. -->
5493        <attr name="background" />
5494        <!-- Specifies a background for the split action mode bar. -->
5495        <attr name="backgroundSplit" />
5496        <!-- Specifies a fixed height for the action mode bar. -->
5497        <attr name="height" />
5498    </declare-styleable>
5499
5500    <declare-styleable name="SearchView">
5501        <!-- The default state of the SearchView. If true, it will be iconified when not in
5502             use and expanded when clicked. -->
5503        <attr name="iconifiedByDefault" format="boolean"/>
5504        <!-- An optional maximum width of the SearchView. -->
5505        <attr name="maxWidth" />
5506        <!-- An optional query hint string to be displayed in the empty query field. -->
5507        <attr name="queryHint" format="string" />
5508        <!-- The IME options to set on the query text field. -->
5509        <attr name="imeOptions" />
5510        <!-- The input type to set on the query text field. -->
5511        <attr name="inputType" />
5512    </declare-styleable>
5513
5514    <declare-styleable name="ActionBar_LayoutParams">
5515        <attr name="layout_gravity" />
5516    </declare-styleable>
5517
5518    <declare-styleable name="Switch">
5519        <!-- Drawable to use as the "thumb" that switches back and forth. -->
5520        <attr name="thumb" />
5521        <!-- Drawable to use as the "track" that the switch thumb slides within. -->
5522        <attr name="track" format="reference" />
5523        <!-- Text to use when the switch is in the checked/"on" state. -->
5524        <attr name="textOn" />
5525        <!-- Text to use when the switch is in the unchecked/"off" state. -->
5526        <attr name="textOff" />
5527        <!-- Amount of padding on either side of text within the switch thumb. -->
5528        <attr name="thumbTextPadding" format="dimension" />
5529        <!-- TextAppearance style for text displayed on the switch thumb. -->
5530        <attr name="switchTextAppearance" format="reference" />
5531        <!-- Minimum width for the switch component -->
5532        <attr name="switchMinWidth" format="dimension" />
5533        <!-- Minimum space between the switch and caption text -->
5534        <attr name="switchPadding" format="dimension" />
5535    </declare-styleable>
5536
5537    <declare-styleable name="Pointer">
5538        <!-- Reference to a pointer icon drawable with STYLE_ARROW -->
5539        <attr name="pointerIconArrow" format="reference" />
5540        <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER -->
5541        <attr name="pointerIconSpotHover" format="reference" />
5542        <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH -->
5543        <attr name="pointerIconSpotTouch" format="reference" />
5544        <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR -->
5545        <attr name="pointerIconSpotAnchor" format="reference" />
5546    </declare-styleable>
5547
5548    <declare-styleable name="PointerIcon">
5549        <!-- Drawable to use as the icon bitmap. -->
5550        <attr name="bitmap" format="reference" />
5551        <!-- X coordinate of the icon hot spot. -->
5552        <attr name="hotSpotX" format="float" />
5553        <!-- Y coordinate of the icon hot spot. -->
5554        <attr name="hotSpotY" format="float" />
5555    </declare-styleable>
5556
5557    <declare-styleable name="Storage">
5558        <!-- path to mount point for the storage -->
5559        <attr name="mountPoint" format="string" />
5560        <!-- user visible description of the storage -->
5561        <attr name="storageDescription" format="string" />
5562        <!-- true if the storage is the primary external storage -->
5563        <attr name="primary" format="boolean" />
5564        <!-- true if the storage is removable -->
5565        <attr name="removable" format="boolean" />
5566        <!-- true if the storage is emulated via the FUSE sdcard daemon -->
5567        <attr name="emulated" format="boolean" />
5568        <!-- number of megabytes of storage MTP should reserve for free storage
5569             (used for emulated storage that is shared with system's data partition) -->
5570        <attr name="mtpReserve" format="integer" />
5571        <!-- true if the storage can be shared via USB mass storage -->
5572        <attr name="allowMassStorage" format="boolean" />
5573        <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded -->
5574        <attr name="maxFileSize" format="integer" />
5575    </declare-styleable>
5576
5577    <declare-styleable name="SwitchPreference">
5578        <!-- The summary for the Preference in a PreferenceActivity screen when the
5579             SwitchPreference is checked. If separate on/off summaries are not
5580             needed, the summary attribute can be used instead. -->
5581        <attr name="summaryOn" />
5582        <!-- The summary for the Preference in a PreferenceActivity screen when the
5583             SwitchPreference is unchecked. If separate on/off summaries are not
5584             needed, the summary attribute can be used instead. -->
5585        <attr name="summaryOff" />
5586        <!-- The text used on the switch itself when in the "on" state.
5587             This should be a very SHORT string, as it appears in a small space. -->
5588        <attr name="switchTextOn" format="string" />
5589        <!-- The text used on the switch itself when in the "off" state.
5590             This should be a very SHORT string, as it appears in a small space. -->
5591        <attr name="switchTextOff" format="string" />
5592        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
5593             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
5594        <attr name="disableDependentsState" />
5595    </declare-styleable>
5596
5597    <!-- Use <code>tts-engine</code> as the root tag of the XML resource that
5598         describes a text to speech engine implemented as a subclass of
5599         {@link android.speech.tts.TextToSpeechService}.
5600
5601         The XML resource must be referenced from its
5602         {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data
5603         entry. -->
5604    <declare-styleable name="TextToSpeechEngine">
5605        <attr name="settingsActivity" />
5606    </declare-styleable>
5607
5608    <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that
5609         describes a collection of keyboard layouts provided by an application.
5610         Each keyboard layout is declared by a <code>keyboard-layout</code> tag
5611         with these attributes.
5612
5613         The XML resource that contains the keyboard layouts must be referenced from its
5614         {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS}
5615         meta-data entry used with broadcast receivers for
5616         {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. -->
5617    <declare-styleable name="KeyboardLayout">
5618        <!-- The name of the keyboard layout, must be unique in the receiver. -->
5619        <attr name="name" />
5620        <!-- The display label of the keyboard layout. -->
5621        <attr name="label" />
5622        <!-- The key character map file resource. -->
5623        <attr name="kcm" format="reference" />
5624    </declare-styleable>
5625</resources>
5626