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