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