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