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