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