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