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