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