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