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