attrs.xml revision e265532f30ca460dc0900c4cdfc3c7425ae7714b
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 will be the color of the background when
38             there is a solid background color; it will be null when the
39             background is a texture or translucent. -->
40        <attr name="colorBackgroundCacheHint" format="color" />
41        <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. -->
42        <attr name="disabledAlpha" format="float" />
43        <!-- Default background dim amount when a menu, dialog, or something similar pops up. -->
44        <attr name="backgroundDimAmount" format="float" />
45        <!-- Control whether dimming behind the window is enabled.  The default
46             theme does not set this value, meaning it is based on whether the
47             window is floating. -->
48        <attr name="backgroundDimEnabled" format="boolean" />
49
50        <!-- =========== -->
51        <!-- Text styles -->
52        <!-- =========== -->
53        <eat-comment />
54
55        <!-- Default appearance of text: color, typeface, size, and style. -->
56        <attr name="textAppearance" format="reference" />
57        <!-- Default appearance of text against an inverted background:
58             color, typeface, size, and style. -->
59        <attr name="textAppearanceInverse" format="reference" />
60
61        <!-- The most prominent text color.  -->
62        <attr name="textColorPrimary" format="reference|color" />
63        <!-- Secondary text color. -->
64        <attr name="textColorSecondary" format="reference|color" />
65        <!-- Tertiary text color. -->
66        <attr name="textColorTertiary" format="reference|color" />
67
68        <!-- Primary inverse text color, useful for inverted backgrounds. -->
69        <attr name="textColorPrimaryInverse" format="reference|color" />
70        <!-- Secondary inverse text color, useful for inverted backgrounds. -->
71        <attr name="textColorSecondaryInverse" format="reference|color" />
72        <!-- Tertiary inverse text color, useful for inverted backgrounds. -->
73        <attr name="textColorTertiaryInverse" format="reference|color" />
74
75        <!-- Inverse hint text color. -->
76        <attr name="textColorHintInverse" format="reference|color" />
77
78        <!-- Bright text color. Only differentiates based on the disabled state. -->
79        <attr name="textColorPrimaryDisableOnly" format="reference|color" />
80
81        <!-- Bright inverse text color. Only differentiates based on the disabled state. -->
82        <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" />
83
84        <!-- Bright text color. This does not differentiate the disabled state. As an example,
85             buttons use this since they display the disabled state via the background and not the
86             foreground text color. -->
87        <attr name="textColorPrimaryNoDisable" format="reference|color" />
88        <!-- Dim text color. This does not differentiate the disabled state. -->
89        <attr name="textColorSecondaryNoDisable" format="reference|color" />
90
91        <!-- Bright inverse text color. This does not differentiate the disabled state. -->
92        <attr name="textColorPrimaryInverseNoDisable" format="reference|color" />
93        <!-- Dim inverse text color. This does not differentiate the disabled state. -->
94        <attr name="textColorSecondaryInverseNoDisable" format="reference|color" />
95
96        <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide -->
97        <attr name="textColorSearchUrl" format="reference|color" />
98        <!-- Search widget more corpus result item background. -->
99        <attr name="searchWidgetCorpusItemBackground" format="reference|color" />
100
101        <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. -->
102        <attr name="textAppearanceLarge" format="reference" />
103        <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. -->
104        <attr name="textAppearanceMedium" format="reference" />
105        <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. -->
106        <attr name="textAppearanceSmall" format="reference" />
107
108        <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. -->
109        <attr name="textAppearanceLargeInverse" format="reference" />
110        <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. -->
111        <attr name="textAppearanceMediumInverse" format="reference" />
112        <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. -->
113        <attr name="textAppearanceSmallInverse" format="reference" />
114
115        <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
116        <attr name="textAppearanceSearchResultTitle" format="reference" />
117        <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
118        <attr name="textAppearanceSearchResultSubtitle" format="reference" />
119
120
121        <!-- Text color, typeface, size, and style for the text inside of a button. -->
122        <attr name="textAppearanceButton" format="reference" />
123
124        <!-- A styled string, specifying the style to be used for showing
125             inline candidate text when composing with an input method.  The
126             text itself will be ignored, but the style spans will be applied
127             to the candidate text as it is edited. -->
128        <attr name="candidatesTextStyleSpans" format="reference|string" />
129
130        <!-- Drawable to use for check marks. -->
131        <attr name="textCheckMark" format="reference" />
132        <attr name="textCheckMarkInverse" format="reference" />
133
134        <!-- Drawable to use for multiple choice indicators. -->
135        <attr name="listChoiceIndicatorMultiple" format="reference" />
136
137        <!-- Drawable to use for single choice indicators. -->
138        <attr name="listChoiceIndicatorSingle" format="reference" />
139
140        <!-- ============= -->
141        <!-- Button styles -->
142        <!-- ============= -->
143        <eat-comment />
144
145        <!-- Normal Button style. -->
146        <attr name="buttonStyle" format="reference" />
147
148        <!-- Small Button style. -->
149        <attr name="buttonStyleSmall" format="reference" />
150
151        <!-- Button style to inset into an EditText. -->
152        <attr name="buttonStyleInset" format="reference" />
153
154        <!-- ToggleButton style. -->
155        <attr name="buttonStyleToggle" format="reference" />
156
157        <!-- ============== -->
158        <!-- Gallery styles -->
159        <!-- ============== -->
160        <eat-comment />
161
162        <!-- The preferred background for gallery items. This should be set
163             as the background of any Views you provide from the Adapter. -->
164        <attr name="galleryItemBackground" format="reference" />
165
166        <!-- =========== -->
167        <!-- List styles -->
168        <!-- =========== -->
169        <eat-comment />
170
171        <!-- The preferred list item height. -->
172        <attr name="listPreferredItemHeight" format="dimension" />
173        <!-- The drawable for the list divider. -->
174        <!-- The list item height for search results. @hide -->
175        <attr name="searchResultListItemHeight" format="dimension" />
176        <attr name="listDivider" format="reference" />
177        <!-- TextView style for list separators. -->
178        <attr name="listSeparatorTextViewStyle" format="reference" />
179        <!-- The preferred left padding for an expandable list item (for child-specific layouts,
180             use expandableListPreferredChildPaddingLeft). This takes into account
181             the indicator that will be shown to next to the item. -->
182        <attr name="expandableListPreferredItemPaddingLeft" format="dimension" />
183        <!-- The preferred left padding for an expandable list item that is a child.
184             If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. -->
185        <attr name="expandableListPreferredChildPaddingLeft" format="dimension" />
186        <!-- The preferred left bound for an expandable list item's indicator. For a child-specific
187             indicator, use expandableListPreferredChildIndicatorLeft. -->
188        <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" />
189        <!-- The preferred right bound for an expandable list item's indicator. For a child-specific
190             indicator, use expandableListPreferredChildIndicatorRight. -->
191        <attr name="expandableListPreferredItemIndicatorRight" format="dimension" />
192        <!-- The preferred left bound for an expandable list child's indicator. -->
193        <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" />
194        <!-- The preferred right bound for an expandable list child's indicator. -->
195        <attr name="expandableListPreferredChildIndicatorRight" format="dimension" />
196
197        <!-- ============= -->
198        <!-- Window styles -->
199        <!-- ============= -->
200        <eat-comment />
201
202        <!-- Drawable to use as the overall window background.  There are a
203             few special considerations you should use when settings this
204             drawable:
205             <ul>
206             <li> This information will be used to infer the pixel format
207                  for your window's surface.  If the drawable has any
208                  non-opaque pixels, your window will be translucent
209                  (32 bpp).
210             <li> If you want to draw the entire background
211                  yourself, you should set this drawable to some solid
212                  color that closely matches that background (so the
213                  system's preview of your window will match), and
214                  then in code manually set your window's background to
215                  null so it will not be drawn.
216             </ul> -->
217        <attr name="windowBackground" format="reference" />
218        <!-- Drawable to use as a frame around the window. -->
219        <attr name="windowFrame" format="reference" />
220        <!-- Flag indicating whether there should be no title on this window. -->
221        <attr name="windowNoTitle" format="boolean" />
222        <!-- Flag indicating whether this window should fill the entire screen. -->
223        <attr name="windowFullscreen" format="boolean" />
224        <!-- Flag indicating whether this is a floating window. -->
225        <attr name="windowIsFloating" format="boolean" />
226        <!-- Flag indicating whether this is a translucent window. -->
227        <attr name="windowIsTranslucent" format="boolean" />
228        <!-- Flag indicating that this window's background should be the
229        	 user's current wallpaper. -->
230        <attr name="windowShowWallpaper" format="boolean" />
231        <!-- This Drawable is overlaid over the foreground of the Window's content area, usually
232             to place a shadow below the title.  -->
233        <attr name="windowContentOverlay" format="reference" />
234        <!-- The style resource to use for a window's title bar height. -->
235        <attr name="windowTitleSize" format="dimension" />
236        <!-- The style resource to use for a window's title text. -->
237        <attr name="windowTitleStyle" format="reference" />
238        <!-- The style resource to use for a window's title area. -->
239        <attr name="windowTitleBackgroundStyle" format="reference" />
240
241        <!-- Reference to a style resource holding
242             the set of window animations to use, which can be
243             any of the attributes defined by
244             {@link android.R.styleable#WindowAnimation}. -->
245        <attr name="windowAnimationStyle" format="reference" />
246
247        <!-- Defines the default soft input state that this window would
248             like when it is displayed. -->
249        <attr name="windowSoftInputMode">
250            <!-- Not specified, use what the system thinks is best.  This
251                 is the default. -->
252            <flag name="stateUnspecified" value="0" />
253            <!-- Leave the soft input window as-is, in whatever state it
254                 last was. -->
255            <flag name="stateUnchanged" value="1" />
256            <!-- Make the soft input area hidden when normally appropriate
257                 (when the user is navigating forward to your window). -->
258            <flag name="stateHidden" value="2" />
259            <!-- Always make the soft input area hidden when this window
260                 has input focus. -->
261            <flag name="stateAlwaysHidden" value="3" />
262            <!-- Make the soft input area visible when normally appropriate
263                 (when the user is navigating forward to your window). -->
264            <flag name="stateVisible" value="4" />
265            <!-- Always make the soft input area visible when this window
266                 has input focus. -->
267            <flag name="stateAlwaysVisible" value="5" />
268
269            <!-- The window resize/pan adjustment has not been specified,
270                 the system will automatically select between resize and pan
271                 modes, depending
272                 on whether the content of the window has any layout views
273                 that can scroll their contents.  If there is such a view,
274                 then the window will be resized, with the assumption being
275                 that the resizeable area can be reduced to make room for
276                 the input UI. -->
277            <flag name="adjustUnspecified" value="0x00" />
278            <!-- Always resize the window: the content area of the window is
279                 reduced to make room for the soft input area. -->
280            <flag name="adjustResize" value="0x10" />
281            <!-- Don't resize the window to make room for the soft input area;
282                 instead pan the contents of the window as focus moves inside
283                 of it so that the user can see what they are typing.  This is
284                 generally less desireable than panning because the user may
285                 need to close the input area to get at and interact with
286                 parts of the window. -->
287            <flag name="adjustPan" value="0x20" />
288        </attr>
289
290        <!-- Flag allowing you to disable the preview animation for a window.
291             The default value is false; if set to true, the system can never
292             use the window's theme to show a preview of it before your
293             actual instance is shown to the user. -->
294        <attr name="windowDisablePreview" format="boolean" />
295
296        <!-- Flag indicating that this window should not be displayed at all.
297             The default value is false; if set to true, and this window is
298             the main window of an Activity, then it will never actually
299             be added to the window manager.  This means that your activity
300             must immediately quit without waiting for user interaction,
301             because there will be no such interaction coming. -->
302        <attr name="windowNoDisplay" format="boolean" />
303
304        <!-- ============ -->
305        <!-- Alert Dialog styles -->
306        <!-- ============ -->
307        <eat-comment />
308        <attr name="alertDialogStyle" format="reference" />
309
310        <!-- ============ -->
311        <!-- Panel styles -->
312        <!-- ============ -->
313        <eat-comment />
314
315        <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
316        <attr name="panelBackground" format="reference|color" />
317        <!-- The background of a panel when it extends to the left and right edges of the screen. -->
318        <attr name="panelFullBackground" format="reference|color" />
319        <!-- Default color of foreground panel imagery. -->
320        <attr name="panelColorForeground" format="reference|color" />
321        <!-- Color that matches (as closely as possible) the panel background. -->
322        <attr name="panelColorBackground" format="reference|color" />
323        <!-- Default appearance of panel text. -->
324        <attr name="panelTextAppearance" format="reference" />
325
326        <!-- =================== -->
327        <!-- Other widget styles -->
328        <!-- =================== -->
329        <eat-comment />
330
331        <!-- Default AbsListView style. -->
332        <attr name="absListViewStyle" format="reference" />
333        <!-- Default AutoCompleteTextView style. -->
334        <attr name="autoCompleteTextViewStyle" format="reference" />
335        <!-- Default Checkbox style. -->
336        <attr name="checkboxStyle" format="reference" />
337        <!-- Default ListView style for drop downs. -->
338        <attr name="dropDownListViewStyle" format="reference" />
339        <!-- Default EditText style. -->
340        <attr name="editTextStyle" format="reference" />
341        <!-- Default ExpandableListView style. -->
342        <attr name="expandableListViewStyle" format="reference" />
343        <!-- ExpandableListView with white background. -->
344        <attr name="expandableListViewWhiteStyle" format="reference" />
345        <!-- Default Gallery style. -->
346        <attr name="galleryStyle" format="reference" />
347        <!-- Default GestureOverlayView style. -->
348        <attr name="gestureOverlayViewStyle" format="reference" />
349        <!-- Default GridView style. -->
350        <attr name="gridViewStyle" format="reference" />
351        <!-- The style resource to use for an ImageButton. -->
352        <attr name="imageButtonStyle" format="reference" />
353        <!-- The style resource to use for an ImageButton that is an image well. -->
354        <attr name="imageWellStyle" format="reference" />
355        <!-- Default ListView style. -->
356        <attr name="listViewStyle" format="reference" />
357        <!-- ListView with white background. -->
358        <attr name="listViewWhiteStyle" format="reference" />
359        <!-- Default PopupWindow style. -->
360        <attr name="popupWindowStyle" format="reference" />
361        <!-- Default ProgressBar style. This is a medium circular progress bar. -->
362        <attr name="progressBarStyle" format="reference" />
363        <!-- Horizontal ProgressBar style. This is a horizontal progress bar. -->
364        <attr name="progressBarStyleHorizontal" format="reference" />
365        <!-- Small ProgressBar style. This is a small circular progress bar. -->
366        <attr name="progressBarStyleSmall" format="reference" />
367        <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. -->
368        <attr name="progressBarStyleSmallTitle" format="reference" />
369        <!-- Large ProgressBar style. This is a large circular progress bar. -->
370        <attr name="progressBarStyleLarge" format="reference" />
371        <!-- Inverse ProgressBar style. This is a medium circular progress bar. -->
372        <attr name="progressBarStyleInverse" format="reference" />
373        <!-- Small inverse ProgressBar style. This is a small circular progress bar. -->
374        <attr name="progressBarStyleSmallInverse" format="reference" />
375        <!-- Large inverse ProgressBar style. This is a large circular progress bar. -->
376        <attr name="progressBarStyleLargeInverse" format="reference" />
377        <!-- Default SeekBar style. -->
378        <attr name="seekBarStyle" format="reference" />
379        <!-- Default RatingBar style. -->
380        <attr name="ratingBarStyle" format="reference" />
381        <!-- Indicator RatingBar style. -->
382        <attr name="ratingBarStyleIndicator" format="reference" />
383        <!-- Small indicator RatingBar style. -->
384        <attr name="ratingBarStyleSmall" format="reference" />
385        <!-- Default RadioButton style. -->
386        <attr name="radioButtonStyle" format="reference" />
387        <!-- Default ScrollView style. -->
388        <attr name="scrollViewStyle" format="reference" />
389        <!-- Default HorizontalScrollView style. -->
390        <attr name="horizontalScrollViewStyle" format="reference" />
391        <!-- Default Spinner style. -->
392        <attr name="spinnerStyle" format="reference" />
393        <!-- Default Star style. -->
394        <attr name="starStyle" format="reference" />
395        <!-- Default TabWidget style. -->
396        <attr name="tabWidgetStyle" format="reference" />
397        <!-- Default TextView style. -->
398        <attr name="textViewStyle" format="reference" />
399        <!-- Default WebTextView style. -->
400        <attr name="webTextViewStyle" format="reference" />
401        <!-- Default WebView style. -->
402        <attr name="webViewStyle" format="reference" />
403        <!-- Default style for drop down items. -->
404        <attr name="dropDownItemStyle" format="reference" />
405         <!-- Default style for spinner drop down items. -->
406        <attr name="spinnerDropDownItemStyle" format="reference" />
407        <!-- Default style for drop down hints. -->
408        <attr name="dropDownHintAppearance" format="reference" />
409        <!-- Default spinner item style. -->
410        <attr name="spinnerItemStyle" format="reference" />
411        <!-- Default MapView style. -->
412        <attr name="mapViewStyle" format="reference" />
413        <!-- Default quickcontact badge style. -->
414        <attr name="quickContactBadgeStyle" format="reference" />
415        <!-- Default quickcontact badge style with small quickcontact window. -->
416        <attr name="quickContactBadgeStyleWindowSmall" format="reference" />
417        <!-- Default quickcontact badge style with medium quickcontact window. -->
418        <attr name="quickContactBadgeStyleWindowMedium" format="reference" />
419        <!-- Default quickcontact badge style with large quickcontact window. -->
420        <attr name="quickContactBadgeStyleWindowLarge" format="reference" />
421        <!-- Default quickcontact badge style with small quickcontact window. -->
422        <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" />
423        <!-- Default quickcontact badge style with medium quickcontact window. -->
424        <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" />
425        <!-- Default quickcontact badge style with large quickcontact window. -->
426        <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" />
427
428        <!-- =================== -->
429        <!-- Preference styles   -->
430        <!-- =================== -->
431        <eat-comment />
432
433        <!-- Default style for PreferenceScreen. -->
434        <attr name="preferenceScreenStyle" format="reference" />
435        <!-- Default style for PreferenceCategory. -->
436        <attr name="preferenceCategoryStyle" format="reference" />
437        <!-- Default style for Preference. -->
438        <attr name="preferenceStyle" format="reference" />
439        <!-- Default style for informational Preference. -->
440        <attr name="preferenceInformationStyle" format="reference" />
441        <!-- Default style for CheckBoxPreference. -->
442        <attr name="checkBoxPreferenceStyle" format="reference" />
443        <!-- Default style for YesNoPreference. -->
444        <attr name="yesNoPreferenceStyle" format="reference" />
445        <!-- Default style for DialogPreference. -->
446        <attr name="dialogPreferenceStyle" format="reference" />
447        <!-- Default style for EditTextPreference. -->
448        <attr name="editTextPreferenceStyle" format="reference" />
449        <!-- Default style for RingtonePreference. -->
450        <attr name="ringtonePreferenceStyle" format="reference" />
451        <!-- The preference layout that has the child/tabbed effect. -->
452        <attr name="preferenceLayoutChild" format="reference" />
453
454    </declare-styleable>
455
456    <!-- **************************************************************** -->
457    <!-- Other non-theme attributes. -->
458    <!-- **************************************************************** -->
459    <eat-comment />
460
461    <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp).
462         Supported values include the following:<p/>
463    <ul>
464        <li><b>px</b> Pixels</li>
465        <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li>
466        <li><b>pt</b> Points</li>
467        <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li>
468    </ul>
469        -->
470    <attr name="textSize" format="dimension" />
471
472    <!-- Default text typeface. -->
473    <attr name="typeface">
474        <enum name="normal" value="0" />
475        <enum name="sans" value="1" />
476        <enum name="serif" value="2" />
477        <enum name="monospace" value="3" />
478    </attr>
479
480    <!-- Default text typeface style. -->
481    <attr name="textStyle">
482        <flag name="normal" value="0" />
483        <flag name="bold" value="1" />
484        <flag name="italic" value="2" />
485    </attr>
486
487    <!-- Color of text (usually same as colorForeground). -->
488    <attr name="textColor" format="reference|color" />
489
490    <!-- Color of highlighted text. -->
491    <attr name="textColorHighlight" format="reference|color" />
492
493    <!-- Color of hint text (displayed when the field is empty). -->
494    <attr name="textColorHint" format="reference|color" />
495
496    <!-- Color of link text (URLs). -->
497    <attr name="textColorLink" format="reference|color" />
498
499    <!-- Where to ellipsize text. -->
500    <attr name="ellipsize">
501        <enum name="none" value="0" />
502        <enum name="start" value="1" />
503        <enum name="middle" value="2" />
504        <enum name="end" value="3" />
505        <enum name="marquee" value="4" />
506    </attr>
507
508    <!-- The type of data being placed in a text field, used to help an
509         input method decide how to let the user enter text.  The constants
510         here correspond to those defined by
511         {@link android.text.InputType}.  Generally you can select
512         a single value, though some can be combined together as
513         indicated.  Setting this attribute to anything besides
514         <var>none</var> also implies that the text is editable. -->
515    <attr name="inputType">
516        <!-- There is no content type.  The text is not editable. -->
517        <flag name="none" value="0x00000000" />
518        <!-- Just plain old text.  Corresponds to
519             {@link android.text.InputType#TYPE_CLASS_TEXT} |
520             {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. -->
521        <flag name="text" value="0x00000001" />
522        <!-- Can be combined with <var>text</var> and its variations to
523             request capitalization of all characters.  Corresponds to
524             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. -->
525        <flag name="textCapCharacters" value="0x00001001" />
526        <!-- Can be combined with <var>text</var> and its variations to
527             request capitalization of the first character of every word.  Corresponds to
528             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. -->
529        <flag name="textCapWords" value="0x00002001" />
530        <!-- Can be combined with <var>text</var> and its variations to
531             request capitalization of the first character of every sentence.  Corresponds to
532             {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. -->
533        <flag name="textCapSentences" value="0x00004001" />
534        <!-- Can be combined with <var>text</var> and its variations to
535             request auto-correction of text being input.  Corresponds to
536             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. -->
537        <flag name="textAutoCorrect" value="0x00008001" />
538        <!-- Can be combined with <var>text</var> and its variations to
539             specify that this field will be doing its own auto-completion and
540             talking with the input method appropriately.  Corresponds to
541             {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. -->
542        <flag name="textAutoComplete" value="0x00010001" />
543        <!-- Can be combined with <var>text</var> and its variations to
544             allow multiple lines of text in the field.  If this flag is not set,
545             the text field will be constrained to a single line.  Corresponds to
546             {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. -->
547        <flag name="textMultiLine" value="0x00020001" />
548        <!-- Can be combined with <var>text</var> and its variations to
549             indicate that though the regular text view should not be multiple
550             lines, the IME should provide multiple lines if it can.  Corresponds to
551             {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. -->
552        <flag name="textImeMultiLine" value="0x00040001" />
553        <!-- Can be combined with <var>text</var> and its variations to
554             indicate that the IME should not show any
555             dictionary-based word suggestions.  Corresponds to
556             {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. -->
557        <flag name="textNoSuggestions" value="0x00080001" />
558        <!-- Text that will be used as a URI.  Corresponds to
559             {@link android.text.InputType#TYPE_CLASS_TEXT} |
560             {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. -->
561        <flag name="textUri" value="0x00000011" />
562        <!-- Text that will be used as an e-mail address.  Corresponds to
563             {@link android.text.InputType#TYPE_CLASS_TEXT} |
564             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. -->
565        <flag name="textEmailAddress" value="0x00000021" />
566        <!-- Text that is being supplied as the subject of an e-mail.  Corresponds to
567             {@link android.text.InputType#TYPE_CLASS_TEXT} |
568             {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. -->
569        <flag name="textEmailSubject" value="0x00000031" />
570        <!-- Text that is the content of a short message.  Corresponds to
571             {@link android.text.InputType#TYPE_CLASS_TEXT} |
572             {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. -->
573        <flag name="textShortMessage" value="0x00000041" />
574        <!-- Text that is the content of a long message.  Corresponds to
575             {@link android.text.InputType#TYPE_CLASS_TEXT} |
576             {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. -->
577        <flag name="textLongMessage" value="0x00000051" />
578        <!-- Text that is the name of a person.  Corresponds to
579             {@link android.text.InputType#TYPE_CLASS_TEXT} |
580             {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. -->
581        <flag name="textPersonName" value="0x00000061" />
582        <!-- Text that is being supplied as a postal mailing address.  Corresponds to
583             {@link android.text.InputType#TYPE_CLASS_TEXT} |
584             {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. -->
585        <flag name="textPostalAddress" value="0x00000071" />
586        <!-- Text that is a password.  Corresponds to
587             {@link android.text.InputType#TYPE_CLASS_TEXT} |
588             {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. -->
589        <flag name="textPassword" value="0x00000081" />
590        <!-- Text that is a password that should be visible.  Corresponds to
591             {@link android.text.InputType#TYPE_CLASS_TEXT} |
592             {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. -->
593        <flag name="textVisiblePassword" value="0x00000091" />
594        <!-- Text that is being supplied as text in a web form.  Corresponds to
595             {@link android.text.InputType#TYPE_CLASS_TEXT} |
596             {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. -->
597        <flag name="textWebEditText" value="0x000000a1" />
598        <!-- Text that is filtering some other data.  Corresponds to
599             {@link android.text.InputType#TYPE_CLASS_TEXT} |
600             {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. -->
601        <flag name="textFilter" value="0x000000b1" />
602        <!-- Text that is for phonetic pronunciation, such as a phonetic name
603             field in a contact entry.  Corresponds to
604             {@link android.text.InputType#TYPE_CLASS_TEXT} |
605             {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. -->
606        <flag name="textPhonetic" value="0x000000c1" />
607        <!-- A numeric only field.  Corresponds to
608             {@link android.text.InputType#TYPE_CLASS_NUMBER}. -->
609        <flag name="number" value="0x00000002" />
610        <!-- Can be combined with <var>number</var> and its other options to
611             allow a signed number.  Corresponds to
612             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
613             {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. -->
614        <flag name="numberSigned" value="0x00001002" />
615        <!-- Can be combined with <var>number</var> and its other options to
616             allow a decimal (fractional) number.  Corresponds to
617             {@link android.text.InputType#TYPE_CLASS_NUMBER} |
618             {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. -->
619        <flag name="numberDecimal" value="0x00002002" />
620        <!-- For entering a phone number.  Corresponds to
621             {@link android.text.InputType#TYPE_CLASS_PHONE}. -->
622        <flag name="phone" value="0x00000003" />
623        <!-- For entering a date and time.  Corresponds to
624             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
625             {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. -->
626        <flag name="datetime" value="0x00000004" />
627        <!-- For entering a date.  Corresponds to
628             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
629             {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. -->
630        <flag name="date" value="0x00000014" />
631        <!-- For entering a time.  Corresponds to
632             {@link android.text.InputType#TYPE_CLASS_DATETIME} |
633             {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. -->
634        <flag name="time" value="0x00000024" />
635    </attr>
636
637    <!-- Additional features you can enable in an IME associated with an editor
638         to improve the integration with your application.  The constants
639         here correspond to those defined by
640         {@link android.view.inputmethod.EditorInfo#imeOptions}. -->
641    <attr name="imeOptions">
642        <!-- There are no special semantics associated with this editor. -->
643        <flag name="normal" value="0x00000000" />
644        <!-- There is no specific action associated with this editor, let the
645             editor come up with its own if it can.
646             Corresponds to
647             {@link android.view.inputmethod.EditorInfo#IME_NULL}. -->
648        <flag name="actionUnspecified" value="0x00000000" />
649        <!-- This editor has no action associated with it.
650             Corresponds to
651             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. -->
652        <flag name="actionNone" value="0x00000001" />
653        <!-- The action key performs a "go"
654             operation to take the user to the target of the text they typed.
655             Typically used, for example, when entering a URL.
656             Corresponds to
657             {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. -->
658        <flag name="actionGo" value="0x00000002" />
659        <!-- The action key performs a "search"
660             operation, taking the user to the results of searching for the text
661             the have typed (in whatever context is appropriate).
662             Corresponds to
663             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. -->
664        <flag name="actionSearch" value="0x00000003" />
665        <!-- The action key performs a "send"
666             operation, delivering the text to its target.  This is typically used
667             when composing a message.
668             Corresponds to
669             {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. -->
670        <flag name="actionSend" value="0x00000004" />
671        <!-- The action key performs a "next"
672             operation, taking the user to the next field that will accept text.
673             Corresponds to
674             {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. -->
675        <flag name="actionNext" value="0x00000005" />
676        <!-- The action key performs a "done"
677             operation, closing the soft input method.
678             Corresponds to
679             {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. -->
680        <flag name="actionDone" value="0x00000006" />
681        <!-- Used to specify that the IME does not need
682             to show its extracted text UI.  For input methods that may be fullscreen,
683             often when in landscape mode, this allows them to be smaller and let part
684             of the application be shown behind.  Though there will likely be limited
685             access to the application available from the user, it can make the
686             experience of a (mostly) fullscreen IME less jarring.  Note that when
687             this flag is specified the IME may <em>not</em> be set up to be able
688             to display text, so it should only be used in situations where this is
689             not needed.
690             <p>Corresponds to
691             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. -->
692        <flag name="flagNoExtractUi" value="0x10000000" />
693        <!-- Used in conjunction with a custom action, this indicates that the
694             action should not be available as an accessory button when the
695             input method is full-screen.
696             Note that by setting this flag, there can be cases where the action
697             is simply never available to the user.  Setting this generally means
698             that you think showing text being edited is more important than the
699             action you have supplied.
700             <p>Corresponds to
701             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. -->
702        <flag name="flagNoAccessoryAction" value="0x20000000" />
703        <!-- Used in conjunction with a custom action,
704             this indicates that the action should not be available in-line as
705             a replacement for the "enter" key.  Typically this is
706             because the action has such a significant impact or is not recoverable
707             enough that accidentally hitting it should be avoided, such as sending
708             a message.    Note that {@link android.widget.TextView} will
709             automatically set this flag for you on multi-line text views.
710             <p>Corresponds to
711             {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. -->
712        <flag name="flagNoEnterAction" value="0x40000000" />
713    </attr>
714
715    <!-- A coordinate in the X dimension. -->
716    <attr name="x" format="dimension" />
717    <!-- A coordinate in the Y dimension. -->
718    <attr name="y" format="dimension" />
719
720    <!-- Specifies how to place the content of an object, both
721         on the x- and y-axis, within the object itself. -->
722    <attr name="gravity">
723        <!-- Push object to the top of its container, not changing its size. -->
724        <flag name="top" value="0x30" />
725        <!-- Push object to the bottom of its container, not changing its size. -->
726        <flag name="bottom" value="0x50" />
727        <!-- Push object to the left of its container, not changing its size. -->
728        <flag name="left" value="0x03" />
729        <!-- Push object to the right of its container, not changing its size. -->
730        <flag name="right" value="0x05" />
731        <!-- Place object in the vertical center of its container, not changing its size. -->
732        <flag name="center_vertical" value="0x10" />
733        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
734        <flag name="fill_vertical" value="0x70" />
735        <!-- Place object in the horizontal center of its container, not changing its size. -->
736        <flag name="center_horizontal" value="0x01" />
737        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
738        <flag name="fill_horizontal" value="0x07" />
739        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
740        <flag name="center" value="0x11" />
741        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
742        <flag name="fill" value="0x77" />
743        <!-- Additional option that can be set to have the top and/or bottom edges of
744             the child clipped to its container's bounds.
745             The clip will be based on the vertical gravity: a top gravity will clip the bottom
746             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
747        <flag name="clip_vertical" value="0x80" />
748        <!-- Additional option that can be set to have the left and/or right edges of
749             the child clipped to its container's bounds.
750             The clip will be based on the horizontal gravity: a left gravity will clip the right
751             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
752        <flag name="clip_horizontal" value="0x08" />
753    </attr>
754
755    <!-- Controls whether links such as urls and email addresses are
756         automatically found and converted to clickable links.  The default
757         value is "none", disabling this feature. -->
758    <attr name="autoLink">
759        <!-- Match no patterns (default). -->
760        <flag name="none" value="0x00" />
761        <!-- Match Web URLs. -->
762        <flag name="web" value="0x01" />
763        <!-- Match email addresses. -->
764        <flag name="email" value="0x02" />
765        <!-- Match phone numbers. -->
766        <flag name="phone" value="0x04" />
767        <!-- Match map addresses. -->
768        <flag name="map" value="0x08" />
769        <!-- Match all patterns (equivalent to web|email|phone|map). -->
770        <flag name="all" value="0x0f" />
771    </attr>
772
773    <!-- Reference to an array resource that will populate a list/adapter. -->
774    <attr name="entries" format="reference" />
775
776    <!-- Standard gravity constant that a child can supply to its parent.
777         Defines how to place the view, both its x- and y-axis, within its parent view group. -->
778    <attr name="layout_gravity">
779        <!-- Push object to the top of its container, not changing its size. -->
780        <flag name="top" value="0x30" />
781        <!-- Push object to the bottom of its container, not changing its size. -->
782        <flag name="bottom" value="0x50" />
783        <!-- Push object to the left of its container, not changing its size. -->
784        <flag name="left" value="0x03" />
785        <!-- Push object to the right of its container, not changing its size. -->
786        <flag name="right" value="0x05" />
787        <!-- Place object in the vertical center of its container, not changing its size. -->
788        <flag name="center_vertical" value="0x10" />
789        <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
790        <flag name="fill_vertical" value="0x70" />
791        <!-- Place object in the horizontal center of its container, not changing its size. -->
792        <flag name="center_horizontal" value="0x01" />
793        <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
794        <flag name="fill_horizontal" value="0x07" />
795        <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
796        <flag name="center" value="0x11" />
797        <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
798        <flag name="fill" value="0x77" />
799        <!-- Additional option that can be set to have the top and/or bottom edges of
800             the child clipped to its container's bounds.
801             The clip will be based on the vertical gravity: a top gravity will clip the bottom
802             edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
803        <flag name="clip_vertical" value="0x80" />
804        <!-- Additional option that can be set to have the left and/or right edges of
805             the child clipped to its container's bounds.
806             The clip will be based on the horizontal gravity: a left gravity will clip the right
807             edge, a right gravity will clip the left edge, and neither will clip both edges. -->
808        <flag name="clip_horizontal" value="0x08" />
809    </attr>
810
811    <!-- Standard orientation constant. -->
812    <attr name="orientation">
813        <!-- Defines an horizontal widget. -->
814        <enum name="horizontal" value="0" />
815        <!-- Defines a vertical widget. -->
816        <enum name="vertical" value="1" />
817    </attr>
818
819    <!-- ========================== -->
820    <!-- Key Codes                  -->
821    <!-- ========================== -->
822    <eat-comment />
823
824    <!-- This enum provides the same keycode values as can be found in
825        {@link android.view.KeyEvent}. -->
826    <attr name="keycode">
827        <enum name="KEYCODE_UNKNOWN" value="0" />
828        <enum name="KEYCODE_SOFT_LEFT" value="1" />
829        <enum name="KEYCODE_SOFT_RIGHT" value="2" />
830        <enum name="KEYCODE_HOME" value="3" />
831        <enum name="KEYCODE_BACK" value="4" />
832        <enum name="KEYCODE_CALL" value="5" />
833        <enum name="KEYCODE_ENDCALL" value="6" />
834        <enum name="KEYCODE_0" value="7" />
835        <enum name="KEYCODE_1" value="8" />
836        <enum name="KEYCODE_2" value="9" />
837        <enum name="KEYCODE_3" value="10" />
838        <enum name="KEYCODE_4" value="11" />
839        <enum name="KEYCODE_5" value="12" />
840        <enum name="KEYCODE_6" value="13" />
841        <enum name="KEYCODE_7" value="14" />
842        <enum name="KEYCODE_8" value="15" />
843        <enum name="KEYCODE_9" value="16" />
844        <enum name="KEYCODE_STAR" value="17" />
845        <enum name="KEYCODE_POUND" value="18" />
846        <enum name="KEYCODE_DPAD_UP" value="19" />
847        <enum name="KEYCODE_DPAD_DOWN" value="20" />
848        <enum name="KEYCODE_DPAD_LEFT" value="21" />
849        <enum name="KEYCODE_DPAD_RIGHT" value="22" />
850        <enum name="KEYCODE_DPAD_CENTER" value="23" />
851        <enum name="KEYCODE_VOLUME_UP" value="24" />
852        <enum name="KEYCODE_VOLUME_DOWN" value="25" />
853        <enum name="KEYCODE_POWER" value="26" />
854        <enum name="KEYCODE_CAMERA" value="27" />
855        <enum name="KEYCODE_CLEAR" value="28" />
856        <enum name="KEYCODE_A" value="29" />
857        <enum name="KEYCODE_B" value="30" />
858        <enum name="KEYCODE_C" value="31" />
859        <enum name="KEYCODE_D" value="32" />
860        <enum name="KEYCODE_E" value="33" />
861        <enum name="KEYCODE_F" value="34" />
862        <enum name="KEYCODE_G" value="35" />
863        <enum name="KEYCODE_H" value="36" />
864        <enum name="KEYCODE_I" value="37" />
865        <enum name="KEYCODE_J" value="38" />
866        <enum name="KEYCODE_K" value="39" />
867        <enum name="KEYCODE_L" value="40" />
868        <enum name="KEYCODE_M" value="41" />
869        <enum name="KEYCODE_N" value="42" />
870        <enum name="KEYCODE_O" value="43" />
871        <enum name="KEYCODE_P" value="44" />
872        <enum name="KEYCODE_Q" value="45" />
873        <enum name="KEYCODE_R" value="46" />
874        <enum name="KEYCODE_S" value="47" />
875        <enum name="KEYCODE_T" value="48" />
876        <enum name="KEYCODE_U" value="49" />
877        <enum name="KEYCODE_V" value="50" />
878        <enum name="KEYCODE_W" value="51" />
879        <enum name="KEYCODE_X" value="52" />
880        <enum name="KEYCODE_Y" value="53" />
881        <enum name="KEYCODE_Z" value="54" />
882        <enum name="KEYCODE_COMMA" value="55" />
883        <enum name="KEYCODE_PERIOD" value="56" />
884        <enum name="KEYCODE_ALT_LEFT" value="57" />
885        <enum name="KEYCODE_ALT_RIGHT" value="58" />
886        <enum name="KEYCODE_SHIFT_LEFT" value="59" />
887        <enum name="KEYCODE_SHIFT_RIGHT" value="60" />
888        <enum name="KEYCODE_TAB" value="61" />
889        <enum name="KEYCODE_SPACE" value="62" />
890        <enum name="KEYCODE_SYM" value="63" />
891        <enum name="KEYCODE_EXPLORER" value="64" />
892        <enum name="KEYCODE_ENVELOPE" value="65" />
893        <enum name="KEYCODE_ENTER" value="66" />
894        <enum name="KEYCODE_DEL" value="67" />
895        <enum name="KEYCODE_GRAVE" value="68" />
896        <enum name="KEYCODE_MINUS" value="69" />
897        <enum name="KEYCODE_EQUALS" value="70" />
898        <enum name="KEYCODE_LEFT_BRACKET" value="71" />
899        <enum name="KEYCODE_RIGHT_BRACKET" value="72" />
900        <enum name="KEYCODE_BACKSLASH" value="73" />
901        <enum name="KEYCODE_SEMICOLON" value="74" />
902        <enum name="KEYCODE_APOSTROPHE" value="75" />
903        <enum name="KEYCODE_SLASH" value="76" />
904        <enum name="KEYCODE_AT" value="77" />
905        <enum name="KEYCODE_NUM" value="78" />
906        <enum name="KEYCODE_HEADSETHOOK" value="79" />
907        <enum name="KEYCODE_FOCUS" value="80" />
908        <enum name="KEYCODE_PLUS" value="81" />
909        <enum name="KEYCODE_MENU" value="82" />
910        <enum name="KEYCODE_NOTIFICATION" value="83" />
911        <enum name="KEYCODE_SEARCH" value="84" />
912        <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" />
913        <enum name="KEYCODE_MEDIA_STOP" value="86" />
914        <enum name="KEYCODE_MEDIA_NEXT" value="87" />
915        <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" />
916        <enum name="KEYCODE_MEDIA_REWIND" value="89" />
917        <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" />
918        <enum name="KEYCODE_MUTE" value="91" />
919    </attr>
920
921    <!-- ***************************************************************** -->
922    <!-- These define collections of attributes that can are with classes. -->
923    <!-- ***************************************************************** -->
924
925    <!-- ========================== -->
926    <!-- Special attribute classes. -->
927    <!-- ========================== -->
928    <eat-comment />
929
930    <!-- The set of attributes that describe a Windows's theme. -->
931    <declare-styleable name="Window">
932        <attr name="windowBackground" />
933        <attr name="windowContentOverlay" />
934        <attr name="windowFrame" />
935        <attr name="windowNoTitle" />
936        <attr name="windowFullscreen" />
937        <attr name="windowIsFloating" />
938        <attr name="windowIsTranslucent" />
939        <attr name="windowShowWallpaper" />
940        <attr name="windowAnimationStyle" />
941        <attr name="windowSoftInputMode" />
942        <attr name="windowDisablePreview" />
943        <attr name="windowNoDisplay" />
944        <attr name="textColor" />
945        <attr name="backgroundDimEnabled" />
946        <attr name="backgroundDimAmount" />
947    </declare-styleable>
948
949    <!-- The set of attributes that describe a AlertDialog's theme. -->
950    <declare-styleable name="AlertDialog">
951        <attr name="fullDark" format="reference|color" />
952        <attr name="topDark" format="reference|color" />
953        <attr name="centerDark" format="reference|color" />
954        <attr name="bottomDark" format="reference|color" />
955        <attr name="fullBright" format="reference|color" />
956        <attr name="topBright" format="reference|color" />
957        <attr name="centerBright" format="reference|color" />
958        <attr name="bottomBright" format="reference|color" />
959        <attr name="bottomMedium" format="reference|color" />
960        <attr name="centerMedium" format="reference|color" />
961    </declare-styleable>
962
963    <!-- Window animation class attributes. -->
964    <declare-styleable name="WindowAnimation">
965        <!-- The animation used when a window is being added. -->
966        <attr name="windowEnterAnimation" format="reference" />
967        <!-- The animation used when a window is being removed. -->
968        <attr name="windowExitAnimation" format="reference" />
969        <!-- The animation used when a window is going from INVISIBLE to VISIBLE. -->
970        <attr name="windowShowAnimation" format="reference" />
971        <!-- The animation used when a window is going from VISIBLE to INVISIBLE. -->
972        <attr name="windowHideAnimation" format="reference" />
973        
974        <!--  When opening a new activity, this is the animation that is
975              run on the next activity (which is entering the screen). -->
976        <attr name="activityOpenEnterAnimation" format="reference" />
977        <!--  When opening a new activity, this is the animation that is
978              run on the previous activity (which is exiting the screen). -->
979        <attr name="activityOpenExitAnimation" format="reference" />
980        <!--  When closing the current activity, this is the animation that is
981              run on the next activity (which is entering the screen). -->
982        <attr name="activityCloseEnterAnimation" format="reference" />
983        <!--  When closing the current activity, this is the animation that is
984              run on the current activity (which is exiting the screen). -->
985        <attr name="activityCloseExitAnimation" format="reference" />
986        <!--  When opening an activity in a new task, this is the animation that is
987              run on the activity of the new task (which is entering the screen). -->
988        <attr name="taskOpenEnterAnimation" format="reference" />
989        <!--  When opening an activity in a new task, this is the animation that is
990              run on the activity of the old task (which is exiting the screen). -->
991        <attr name="taskOpenExitAnimation" format="reference" />
992        <!--  When closing the last activity of a task, this is the animation that is
993              run on the activity of the next task (which is entering the screen). -->
994        <attr name="taskCloseEnterAnimation" format="reference" />
995        <!--  When opening an activity in a new task, this is the animation that is
996              run on the activity of the old task (which is exiting the screen). -->
997        <attr name="taskCloseExitAnimation" format="reference" />
998        <!--  When bringing an existing task to the foreground, this is the
999              animation that is run on the top activity of the task being brought
1000              to the foreground (which is entering the screen). -->
1001        <attr name="taskToFrontEnterAnimation" format="reference" />
1002        <!--  When bringing an existing task to the foreground, this is the
1003              animation that is run on the current foreground activity
1004              (which is exiting the screen). -->
1005        <attr name="taskToFrontExitAnimation" format="reference" />
1006        <!--  When sending the current task to the background, this is the
1007              animation that is run on the top activity of the task behind
1008              it (which is entering the screen). -->
1009        <attr name="taskToBackEnterAnimation" format="reference" />
1010        <!--  When sending the current task to the background, this is the
1011              animation that is run on the top activity of the current task
1012              (which is exiting the screen). -->
1013        <attr name="taskToBackExitAnimation" format="reference" />
1014        
1015        <!--  When opening a new activity that shows the wallpaper, while
1016              currently not showing the wallpaper, this is the animation that
1017              is run on the new wallpaper activity (which is entering the screen). -->
1018        <attr name="wallpaperOpenEnterAnimation" format="reference" />
1019        <!--  When opening a new activity that shows the wallpaper, while
1020              currently not showing the wallpaper, this is the animation that
1021              is run on the current activity (which is exiting the screen). -->
1022        <attr name="wallpaperOpenExitAnimation" format="reference" />
1023        <!--  When opening a new activity that hides the wallpaper, while
1024              currently showing the wallpaper, this is the animation that
1025              is run on the new activity (which is entering the screen). -->
1026        <attr name="wallpaperCloseEnterAnimation" format="reference" />
1027        <!--  When opening a new activity that hides the wallpaper, while
1028              currently showing the wallpaper, this is the animation that
1029              is run on the old wallpaper activity (which is exiting the screen). -->
1030        <attr name="wallpaperCloseExitAnimation" format="reference" />
1031        
1032        <!--  When opening a new activity that is on top of the wallpaper
1033              when the current activity is also on top of the wallpaper,
1034              this is the animation that is run on the new activity
1035              (which is entering the screen).  The wallpaper remains
1036              static behind the animation. -->
1037        <attr name="wallpaperIntraOpenEnterAnimation" format="reference" />
1038        <!--  When opening a new activity that is on top of the wallpaper
1039              when the current activity is also on top of the wallpaper,
1040              this is the animation that is run on the current activity
1041              (which is exiting the screen).  The wallpaper remains
1042              static behind the animation. -->
1043        <attr name="wallpaperIntraOpenExitAnimation" format="reference" />
1044        <!--  When closing a foreround activity that is on top of the wallpaper
1045              when the previous activity is also on top of the wallpaper,
1046              this is the animation that is run on the previous activity
1047              (which is entering the screen).  The wallpaper remains
1048              static behind the animation. -->
1049        <attr name="wallpaperIntraCloseEnterAnimation" format="reference" />
1050        <!--  When closing a foreround activity that is on top of the wallpaper
1051              when the previous activity is also on top of the wallpaper,
1052              this is the animation that is run on the current activity
1053              (which is exiting the screen).  The wallpaper remains
1054              static behind the animation. -->
1055        <attr name="wallpaperIntraCloseExitAnimation" format="reference" />
1056    </declare-styleable>
1057
1058    <!-- ============================= -->
1059    <!-- View package class attributes -->
1060    <!-- ============================= -->
1061    <eat-comment />
1062
1063    <!-- Attributes that can be used with {@link android.view.View} or
1064         any of its subclasses.  Also see {@link #ViewGroup_Layout} for
1065         attributes that are processed by the view's parent. -->
1066    <declare-styleable name="View">
1067        <!-- Supply an identifier name for this view, to later retrieve it
1068             with {@link android.view.View#findViewById View.findViewById()} or
1069             {@link android.app.Activity#findViewById Activity.findViewById()}.
1070             This must be a
1071             resource reference; typically you set this using the
1072             <code>@+</code> syntax to create a new ID resources.
1073             For example: <code>android:id="@+id/my_id"</code> which
1074             allows you to later retrieve the view
1075             with <code>findViewById(R.id.my_id)</code>. -->
1076        <attr name="id" format="reference" />
1077
1078        <!-- Supply a tag for this view containing a String, to be retrieved
1079             later with {@link android.view.View#getTag View.getTag()} or
1080             searched for with {@link android.view.View#findViewWithTag
1081             View.findViewWithTag()}.  It is generally preferable to use
1082             IDs (through the android:id attribute) instead of tags because
1083             they are faster and allow for compile-time type checking. -->
1084        <attr name="tag" format="string" />
1085
1086        <!-- The initial horizontal scroll offset, in pixels.-->
1087        <attr name="scrollX" format="dimension" />
1088
1089        <!-- The initial vertical scroll offset, in pixels. -->
1090        <attr name="scrollY" format="dimension" />
1091
1092        <!-- A drawable to use as the background.  This can be either a reference
1093             to a full drawable resource (such as a PNG image, 9-patch,
1094             XML state list description, etc), or a solid color such as "#ff000000"
1095            (black). -->
1096        <attr name="background" format="reference|color" />
1097
1098        <!-- Sets the padding, in pixels, of all four edges.  Padding is defined as
1099             space between the edges of the view and the view's content. A views size
1100             will include it's padding.  If a {@link android.R.attr#background}
1101             is provided, the padding will initially be set to that (0 if the
1102             drawable does not have padding).  Explicitly setting a padding value
1103             will override the corresponding padding found in the background. -->
1104        <attr name="padding" format="dimension" />
1105        <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. -->
1106        <attr name="paddingLeft" format="dimension" />
1107        <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. -->
1108        <attr name="paddingTop" format="dimension" />
1109        <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. -->
1110        <attr name="paddingRight" format="dimension" />
1111        <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. -->
1112        <attr name="paddingBottom" format="dimension" />
1113
1114        <!-- Boolean that controls whether a view can take focus.  By default the user can not
1115             move focus to a view; by setting this attribute to true the view is
1116             allowed to take focus.  This value does not impact the behavior of
1117             directly calling {@link android.view.View#requestFocus}, which will
1118             always request focus regardless of this view.  It only impacts where
1119             focus navigation will try to move focus. -->
1120        <attr name="focusable" format="boolean" />
1121
1122        <!-- Boolean that controls whether a view can take focus while in touch mode.
1123             If this is true for a view, that view can gain focus when clicked on, and can keep
1124             focus if another view is clicked on that doesn't have this attribute set to true. -->
1125        <attr name="focusableInTouchMode" format="boolean" />
1126
1127        <!-- Controls the initial visibility of the view.  -->
1128        <attr name="visibility">
1129            <!-- Visible on screen; the default value. -->
1130            <enum name="visible" value="0" />
1131            <!-- Not displayed, but taken into account during layout (space is left for it). -->
1132            <enum name="invisible" value="1" />
1133            <!-- Completely hidden, as if the view had not been added. -->
1134            <enum name="gone" value="2" />
1135        </attr>
1136
1137        <!-- Boolean internal attribute to adjust view layout based on
1138             system windows such as the status bar.
1139             If true, adjusts the padding of this view to leave space for the system windows.
1140             Will only take effect if this view is in a non-embedded activity. -->
1141        <attr name="fitsSystemWindows" format="boolean" />
1142
1143        <!-- Defines which scrollbars should be displayed on scrolling or not. -->
1144        <attr name="scrollbars">
1145            <!-- No scrollbar is displayed. -->
1146            <flag name="none" value="0x00000000" />
1147            <!-- Displays horizontal scrollbar only. -->
1148            <flag name="horizontal" value="0x00000100" />
1149            <!-- Displays vertical scrollbar only. -->
1150            <flag name="vertical" value="0x00000200" />
1151        </attr>
1152
1153        <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or
1154             inset. When inset, they add to the padding of the view. And the
1155             scrollbars can be drawn inside the padding area or on the edge of
1156             the view. For example, if a view has a background drawable and you
1157             want to draw the scrollbars inside the padding specified by the
1158             drawable, you can use insideOverlay or insideInset. If you want them
1159             to appear at the edge of the view, ignoring the padding, then you can
1160             use outsideOverlay or outsideInset.-->
1161        <attr name="scrollbarStyle">
1162            <!-- Inside the padding and overlaid -->
1163            <enum name="insideOverlay" value="0x0" />
1164            <!-- Inside the padding and inset -->
1165            <enum name="insideInset" value="0x01000000" />
1166            <!-- Edge of the view and overlaid -->
1167            <enum name="outsideOverlay" value="0x02000000" />
1168            <!-- Edge of the view and inset -->
1169            <enum name="outsideInset" value="0x03000000" />
1170        </attr>
1171
1172        <!-- Set this if the view will serve as a scrolling container, meaing
1173             that it can be resized to shrink its overall window so that there
1174             will be space for an input method.  If not set, the default
1175             value will be true if "scrollbars" has the vertical scrollbar
1176             set, else it will be false. -->
1177        <attr name="isScrollContainer" format="boolean" />
1178
1179          <!-- Defines whether to fade out scrollbars when they are not in use. -->
1180         <attr name="fadeScrollbars" format="boolean" />
1181         <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. -->
1182         <attr name="scrollbarFadeDuration" format="integer" />
1183         <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. -->
1184        <attr name="scrollbarDefaultDelayBeforeFade" format="integer" />
1185        <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. -->
1186        <attr name="scrollbarSize" format="dimension" />
1187        <!-- Defines the horizontal scrollbar thumb drawable. -->
1188        <attr name="scrollbarThumbHorizontal" format="reference" />
1189        <!-- Defines the vertical scrollbar thumb drawable. -->
1190        <attr name="scrollbarThumbVertical" format="reference" />
1191        <!-- Defines the horizontal scrollbar track drawable. -->
1192        <attr name="scrollbarTrackHorizontal" format="reference" />
1193        <!-- Defines the vertical scrollbar track drawable. -->
1194        <attr name="scrollbarTrackVertical" format="reference" />
1195        <!-- Defines whether the horizontal scrollbar track should always be drawn. -->
1196        <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" />
1197        <!-- Defines whether the vertical scrollbar track should always be drawn. -->
1198        <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" />
1199
1200        <!-- Defines which edges should be fadeded on scrolling. -->
1201        <attr name="fadingEdge">
1202            <!-- No edge is faded. -->
1203            <flag name="none" value="0x00000000" />
1204            <!-- Fades horizontal edges only. -->
1205            <flag name="horizontal" value="0x00001000" />
1206            <!-- Fades vertical edges only. -->
1207            <flag name="vertical" value="0x00002000" />
1208        </attr>
1209        <!-- Defines the length of the fading edges. -->
1210        <attr name="fadingEdgeLength" format="dimension" />
1211
1212        <!-- Defines the next view to give focus to when the next focus is
1213             {@link android.view.View#FOCUS_LEFT}.
1214
1215             If the reference refers to a view that does not exist or is part
1216             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
1217             will result when the reference is accessed.-->
1218        <attr name="nextFocusLeft" format="reference"/>
1219
1220        <!-- Defines the next view to give focus to when the next focus is
1221             {@link android.view.View#FOCUS_RIGHT}
1222
1223             If the reference refers to a view that does not exist or is part
1224             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
1225             will result when the reference is accessed.-->
1226        <attr name="nextFocusRight" format="reference"/>
1227
1228        <!-- Defines the next view to give focus to when the next focus is
1229             {@link android.view.View#FOCUS_UP}
1230
1231             If the reference refers to a view that does not exist or is part
1232             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
1233             will result when the reference is accessed.-->
1234        <attr name="nextFocusUp" format="reference"/>
1235
1236        <!-- Defines the next view to give focus to when the next focus is
1237             {@link android.view.View#FOCUS_DOWN}
1238
1239             If the reference refers to a view that does not exist or is part
1240             of a hierarchy that is invisible, a {@link java.lang.RuntimeException}
1241             will result when the reference is accessed.-->
1242        <attr name="nextFocusDown" format="reference"/>
1243
1244        <!-- Defines whether this view reacts to click events. -->
1245        <attr name="clickable" format="boolean" />
1246
1247        <!-- Defines whether this view reacts to long click events. -->
1248        <attr name="longClickable" format="boolean" />
1249
1250        <!-- If unset, no state will be saved for this view when it is being
1251             frozen. The default is true, allowing the view to be saved
1252             (however it also must have an ID assigned to it for its
1253             state to be saved).  Setting this to false only disables the
1254             state for this view, not for its children which may still
1255             be saved. -->
1256        <attr name="saveEnabled" format="boolean" />
1257
1258        <!-- Defines the quality of translucent drawing caches. This property is used
1259             only when the drawing cache is enabled and translucent. The default value is auto. -->
1260        <attr name="drawingCacheQuality">
1261            <!-- Lets the framework decide what quality level should be used
1262                 for the drawing cache. -->
1263            <enum name="auto" value="0" />
1264            <!-- Low quality. When set to low quality, the drawing cache uses a lower color
1265                 depth, thus losing precision in rendering gradients, but uses less memory. -->
1266            <enum name="low" value="1" />
1267            <!-- High quality. When set to high quality, the drawing cache uses a higher
1268                 color depth but uses more memory. -->
1269            <enum name="high" value="2" />
1270        </attr>
1271
1272        <!-- Controls whether the view's window should keep the screen on
1273             while visible. -->
1274        <attr name="keepScreenOn" format="boolean" />
1275
1276        <!-- When this attribute is set to true, the view gets its drawable state
1277             (focused, pressed, etc.) from its direct parent rather than from itself. -->
1278        <attr name="duplicateParentState" format="boolean" />
1279
1280        <!-- Defines the minimum height of the view. It is not guaranteed
1281             the view will be able to achieve this minimum height (for example,
1282             if its parent layout constrains it with less available height). -->
1283        <attr name="minHeight" />
1284
1285        <!-- Defines the minimum width of the view. It is not guaranteed
1286             the view will be able to achieve this minimum width (for example,
1287             if its parent layout constrains it with less available width). -->
1288        <attr name="minWidth" />
1289
1290        <!-- Boolean that controls whether a view should have sound effects
1291             enabled for events such as clicking and touching. -->
1292        <attr name="soundEffectsEnabled" format="boolean" />
1293
1294        <!-- Boolean that controls whether a view should have haptic feedback
1295             enabled for events such as long presses. -->
1296        <attr name="hapticFeedbackEnabled" format="boolean" />
1297
1298        <!-- Defines text that briefly describes content of the view. This property is used
1299             primarily for accessibility. Since some views do not have textual
1300             representation this attribute can be used for providing such. -->
1301        <attr name="contentDescription" format="string" localization="suggested" />
1302
1303        <!-- Name of the method in this View's context to invoke when the view is
1304             clicked. This name must correspond to a public method that takes
1305             exactly one parameter of type View. For instance, if you specify
1306             <code>android:onClick="sayHello"</code>, you must declare a
1307             <code>public void sayHello(View v)</code> method of your context
1308             (typically, your Activity). -->
1309        <attr name="onClick" format="string" />
1310    </declare-styleable>
1311
1312    <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any
1313         of its subclasses.  Also see {@link #ViewGroup_Layout} for
1314         attributes that this class processes in its children. -->
1315    <declare-styleable name="ViewGroup">
1316        <!-- Defines whether a child is limited to draw inside of its bounds or not.
1317             This is useful with animations that scale the size of the children to more
1318             than 100% for instance. In such a case, this property should be set to false
1319             to allow the children to draw outside of their bounds. The default value of
1320             this property is true. -->
1321        <attr name="clipChildren" format="boolean" />
1322        <!-- Defines whether the ViewGroup will clip its drawing surface so as to exclude
1323             the padding area. This property is set to true by default. -->
1324        <attr name="clipToPadding" format="boolean" />
1325        <!-- Defines the layout animation to use the first time the ViewGroup is laid out.
1326             Layout animations can also be started manually after the first layout. -->
1327        <attr name="layoutAnimation" format="reference" />
1328        <!-- Defines whether layout animations should create a drawing cache for their
1329             children. Enabling the animation cache consumes more memory and requires
1330             a longer initialization but provides better performance. The animation
1331             cache is enabled by default. -->
1332        <attr name="animationCache" format="boolean" />
1333        <!-- Defines the persistence of the drawing cache. The drawing cache might be
1334             enabled by a ViewGroup for all its children in specific situations (for
1335             instance during a scrolling.) This property lets you persist the cache
1336             in memory after its initial usage. Persisting the cache consumes more
1337             memory but may prevent frequent garbage collection is the cache is created
1338             over and over again. By default the persistence is set to scrolling. -->
1339        <attr name="persistentDrawingCache">
1340            <!-- The drawing cache is not persisted after use. -->
1341            <flag name="none" value="0x0" />
1342            <!-- The drawing cache is persisted after a layout animation. -->
1343            <flag name="animation" value="0x1" />
1344            <!-- The drawing cache is persisted after a scroll. -->
1345            <flag name="scrolling" value="0x2" />
1346            <!-- The drawing cache is always persisted. -->
1347            <flag name="all" value="0x3" />
1348        </attr>
1349        <!-- Defines whether the ViewGroup should always draw its children using their
1350             drawing cache or not. The default value is true. -->
1351        <attr name="alwaysDrawnWithCache" format="boolean" />
1352        <!-- Sets whether this ViewGroup's drawable states also include
1353             its children's drawable states.  This is used, for example, to
1354             make a group appear to be focused when its child EditText or button
1355             is focused. -->
1356        <attr name="addStatesFromChildren" format="boolean" />
1357
1358        <!-- Defines the relationship between the ViewGroup and its descendants
1359             when looking for a View to take focus. -->
1360        <attr name="descendantFocusability">
1361            <!-- The ViewGroup will get focus before any of its descendants. -->
1362            <enum name="beforeDescendants" value="0" />
1363            <!-- The ViewGroup will get focus only if none of its descendants want it. -->
1364            <enum name="afterDescendants" value="1" />
1365            <!-- The ViewGroup will block its descendants from receiving focus. -->
1366            <enum name="blocksDescendants" value="2" />
1367        </attr>
1368
1369    </declare-styleable>
1370
1371    <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts
1372         inside your application at runtime. -->
1373    <declare-styleable name="ViewStub">
1374        <!-- Supply an identifier for the layout resource to inflate when the ViewStub
1375             becomes visible or when forced to do so. The layout resource must be a
1376             valid reference to a layout. -->
1377        <attr name="layout" format="reference" />
1378        <!-- Overrides the id of the inflated View with this value. -->
1379        <attr name="inflatedId" format="reference" />
1380    </declare-styleable>
1381
1382    <!-- ===================================== -->
1383    <!-- View package parent layout attributes -->
1384    <!-- ===================================== -->
1385    <eat-comment />
1386
1387    <!-- This is the basic set of layout attributes that are common to all
1388         layout managers.  These attributes are specified with the rest of
1389         a view's normal attributes (such as {@link android.R.attr#background},
1390         but will be parsed by the view's parent and ignored by the child.
1391        <p>The values defined here correspond to the base layout attribute
1392        class {@link android.view.ViewGroup.LayoutParams}. -->
1393    <declare-styleable name="ViewGroup_Layout">
1394        <!-- Specifies the basic width of the view.  This is a required attribute
1395             for any view inside of a containing layout manager.  Its value may
1396             be a dimension (such as "12dip") for a constant width or one of
1397             the special constants. -->
1398        <attr name="layout_width" format="dimension">
1399            <!-- <strong>Deprecated.</strong> Use {@code match_parent} instead. -->
1400            <enum name="fill_parent" value="-1" />
1401            <!-- The view should be as big as its parent (minus padding). -->
1402            <enum name="match_parent" value="-1" />
1403            <!-- The view should be only big enough to enclose its content (plus padding). -->
1404            <enum name="wrap_content" value="-2" />
1405        </attr>
1406
1407        <!-- Specifies the basic height of the view.  This is a required attribute
1408             for any view inside of a containing layout manager.  Its value may
1409             be a dimension (such as "12dip") for a constant height or one of
1410             the special constants. -->
1411        <attr name="layout_height" format="dimension">
1412            <!-- <strong>Deprecated.</strong> Use {@code match_parent} instead. -->
1413            <enum name="fill_parent" value="-1" />
1414            <!-- The view should be as big as its parent (minus padding). -->
1415            <enum name="match_parent" value="-1" />
1416            <!-- The view should be only big enough to enclose its content (plus padding). -->
1417            <enum name="wrap_content" value="-2" />
1418        </attr>
1419    </declare-styleable>
1420
1421    <!-- This is the basic set of layout attributes for layout managers that
1422         wish to place margins around their child views.
1423         These attributes are specified with the rest of
1424         a view's normal attributes (such as {@link android.R.attr#background},
1425         but will be parsed by the view's parent and ignored by the child.
1426        <p>The values defined here correspond to the base layout attribute
1427        class {@link android.view.ViewGroup.MarginLayoutParams}. -->
1428    <declare-styleable name="ViewGroup_MarginLayout">
1429        <attr name="layout_width" />
1430        <attr name="layout_height" />
1431        <!--  Specifies extra space on the left, top, right and bottom
1432              sides of this view. This space is outside this view's bounds. -->
1433        <attr name="layout_margin" format="dimension"  />
1434        <!--  Specifies extra space on the left side of this view.
1435              This space is outside this view's bounds. -->
1436        <attr name="layout_marginLeft" format="dimension"  />
1437        <!--  Specifies extra space on the top side of this view.
1438              This space is outside this view's bounds. -->
1439        <attr name="layout_marginTop" format="dimension" />
1440        <!--  Specifies extra space on the right side of this view.
1441              This space is outside this view's bounds. -->
1442        <attr name="layout_marginRight" format="dimension"  />
1443        <!--  Specifies extra space on the bottom side of this view.
1444              This space is outside this view's bounds. -->
1445        <attr name="layout_marginBottom" format="dimension"  />
1446    </declare-styleable>
1447
1448    <!-- Use <code>input-method</code> as the root tag of the XML resource that
1449         describes an
1450         {@link android.view.inputmethod.InputMethod} service, which is
1451         referenced from its
1452         {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA}
1453         meta-data entry.  Described here are the attributes that can be
1454         included in that tag. -->
1455    <declare-styleable name="InputMethod">
1456        <!-- Component name of an activity that allows the user to modify
1457             the settings for this service. -->
1458        <attr name="settingsActivity" format="string" />
1459        <!-- Set to true in all of the configurations for which this input
1460             method should be considered an option as the default. -->
1461        <attr name="isDefault" format="boolean" />
1462    </declare-styleable>
1463
1464    <!-- =============================== -->
1465    <!-- Widget package class attributes -->
1466    <!-- =============================== -->
1467    <eat-comment />
1468
1469    <declare-styleable name="AbsListView">
1470         <!-- Drawable used to indicate the currently selected item in the list. -->
1471        <attr name="listSelector" format="color|reference" />
1472        <!-- When set to true, the selector will be drawn over the selected item.
1473             Otherwise the selector is drawn behind the selected item. The default
1474             value is false. -->
1475        <attr name="drawSelectorOnTop" format="boolean" />
1476        <!-- Used by ListView and GridView to stack their content from the bottom. -->
1477        <attr name="stackFromBottom" format="boolean" />
1478        <!-- When set to true, the list uses a drawing cache during scrolling.
1479             This makes the rendering faster but uses more memory. The default
1480             value is true. -->
1481        <attr name="scrollingCache" format="boolean" />
1482        <!-- When set to true, the list will filter results as the user types. The
1483             List's adapter must support the Filterable interface for this to work. -->
1484        <attr name="textFilterEnabled" format="boolean" />
1485        <!-- Sets the transcript mode for the list. In transcript mode, the list
1486             scrolls to the bottom to make new items visible when they are added. -->
1487        <attr name="transcriptMode">
1488            <!-- Disables transcript mode. This is the default value. -->
1489            <enum name="disabled" value="0"/>
1490            <!-- The list will automatically scroll to the bottom when
1491                 a data set change notification is received and only if the last item is
1492                 already visible on screen. -->
1493            <enum name="normal" value="1" />
1494            <!-- The list will automatically scroll to the bottom, no matter what items
1495                 are currently visible. -->
1496            <enum name="alwaysScroll" value="2" />
1497        </attr>
1498        <!-- Indicates that this list will always be drawn on top of solid, single-color
1499             opaque background. This allows the list to optimize drawing. -->
1500        <attr name="cacheColorHint" format="color" />
1501        <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through
1502             the list. -->
1503        <attr name="fastScrollEnabled" format="boolean" />
1504        <!-- When set to true, the list will use a more refined calculation
1505             method based on the pixels height of the items visible on screen. This
1506             property is set to true by default but should be set to false if your adapter
1507             will display items of varying heights. When this property is set to true and
1508             your adapter displays items of varying heights, the scrollbar thumb will
1509             change size as the user scrolls through the list. When set to fale, the list
1510             will use only the number of items in the adapter and the number of items visible
1511             on screen to determine the scrollbar's properties. -->
1512        <attr name="smoothScrollbar" format="boolean" />
1513    </declare-styleable>
1514    <declare-styleable name="AbsSpinner">
1515        <!-- Reference to an array resource that will populate the Spinner.  For static content,
1516             this is simpler than populating the Spinner programmatically. -->
1517        <attr name="entries" />
1518    </declare-styleable>
1519    <declare-styleable name="AnalogClock">
1520        <attr name="dial" format="reference"/>
1521        <attr name="hand_hour" format="reference"/>
1522        <attr name="hand_minute" format="reference"/>
1523    </declare-styleable>
1524    <declare-styleable name="Button">
1525    </declare-styleable>
1526    <declare-styleable name="Chronometer">
1527        <!-- Format string: if specified, the Chronometer will display this
1528             string, with the first "%s" replaced by the current timer value
1529             in "MM:SS" or "H:MM:SS" form.
1530             If no format string is specified, the Chronometer will simply display
1531             "MM:SS" or "H:MM:SS". -->
1532        <attr name="format" format="string" localization="suggested" />
1533    </declare-styleable>
1534    <declare-styleable name="CompoundButton">
1535        <!-- Indicates the initial checked state of this button. -->
1536        <attr name="checked" format="boolean" />
1537        <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). -->
1538        <attr name="button" format="reference"/>
1539    </declare-styleable>
1540    <declare-styleable name="CheckedTextView">
1541        <!-- Indicates the initial checked state of this text. -->
1542        <attr name="checked" />
1543        <!-- Drawable used for the check mark graphic. -->
1544        <attr name="checkMark" format="reference"/>
1545    </declare-styleable>
1546    <declare-styleable name="EditText">
1547    </declare-styleable>
1548    <declare-styleable name="FrameLayout">
1549        <!-- Defines the drawable to draw over the content. This can be used as an overlay.
1550             The foreground drawable participates in the padding of the content if the gravity
1551             is set to fill. -->
1552        <attr name="foreground" format="reference|color" />
1553        <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults
1554             to fill. -->
1555        <attr name="foregroundGravity">
1556            <!-- Push object to the top of its container, not changing its size. -->
1557            <flag name="top" value="0x30" />
1558            <!-- Push object to the bottom of its container, not changing its size. -->
1559            <flag name="bottom" value="0x50" />
1560            <!-- Push object to the left of its container, not changing its size. -->
1561            <flag name="left" value="0x03" />
1562            <!-- Push object to the right of its container, not changing its size. -->
1563            <flag name="right" value="0x05" />
1564            <!-- Place object in the vertical center of its container, not changing its size. -->
1565            <flag name="center_vertical" value="0x10" />
1566            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
1567            <flag name="fill_vertical" value="0x70" />
1568            <!-- Place object in the horizontal center of its container, not changing its size. -->
1569            <flag name="center_horizontal" value="0x01" />
1570            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
1571            <flag name="fill_horizontal" value="0x07" />
1572            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
1573            <flag name="center" value="0x11" />
1574            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
1575            <flag name="fill" value="0x77" />
1576            <!-- Additional option that can be set to have the top and/or bottom edges of
1577                 the child clipped to its container's bounds.
1578                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
1579                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
1580            <flag name="clip_vertical" value="0x80" />
1581            <!-- Additional option that can be set to have the left and/or right edges of
1582                 the child clipped to its container's bounds.
1583                 The clip will be based on the horizontal gravity: a left gravity will clip the right
1584                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
1585            <flag name="clip_horizontal" value="0x08" />
1586        </attr>
1587        <!-- Defines whether the foreground drawable should be drawn inside the padding.
1588             This property is turned on by default. -->
1589        <attr name="foregroundInsidePadding" format="boolean" />
1590        <!-- Determines whether to measure all children or just those in
1591             the VISIBLE or INVISIBLE state when measuring. Defaults to false. -->
1592        <attr name="measureAllChildren" format="boolean" />
1593    </declare-styleable>
1594    <declare-styleable name="ExpandableListView">
1595        <!-- Indicator shown beside the group View. This can be a stateful Drawable. -->
1596        <attr name="groupIndicator" format="reference" />
1597        <!-- Indicator shown beside the child View. This can be a stateful Drawable. -->
1598        <attr name="childIndicator" format="reference" />
1599        <!-- The left bound for an item's indicator. To specify a left bound specific to children,
1600             use childIndicatorLeft. -->
1601        <attr name="indicatorLeft" format="dimension" />
1602        <!-- The right bound for an item's indicator. To specify a right bound specific to children,
1603             use childIndicatorRight. -->
1604        <attr name="indicatorRight" format="dimension" />
1605        <!-- The left bound for a child's indicator. -->
1606        <attr name="childIndicatorLeft" format="dimension" />
1607        <!-- The right bound for a child's indicator. -->
1608        <attr name="childIndicatorRight" format="dimension" />
1609        <!-- Drawable or color that is used as a divider for children. (It will drawn
1610             below and above child items.) The height of this will be the same as
1611             the height of the normal list item divider. -->
1612        <attr name="childDivider" format="reference|color" />
1613    </declare-styleable>
1614    <declare-styleable name="Gallery">
1615        <attr name="gravity" />
1616        <!-- Sets how long a transition animation should run (in milliseconds)
1617             when layout has changed.  Only relevant if animation is turned on. -->
1618        <attr name="animationDuration" format="integer" min="0" />
1619        <attr name="spacing" format="dimension" />
1620        <!-- Sets the alpha on the items that are not selected. -->
1621        <attr name="unselectedAlpha" format="float" />
1622    </declare-styleable>
1623    <declare-styleable name="GridView">
1624        <attr name="horizontalSpacing" format="dimension" />
1625        <attr name="verticalSpacing" format="dimension" />
1626        <attr name="stretchMode">
1627            <enum name="none" value="0"/>
1628            <enum name="spacingWidth" value="1" />
1629            <enum name="columnWidth" value="2" />
1630            <enum name="spacingWidthUniform" value="3" />
1631        </attr>
1632        <attr name="columnWidth" format="dimension" />
1633        <attr name="numColumns" format="integer" min="0">
1634            <enum name="auto_fit" value="-1" />
1635        </attr>
1636        <attr name="gravity" />
1637    </declare-styleable>
1638    <declare-styleable name="ImageSwitcher">
1639    </declare-styleable>
1640    <declare-styleable name="ImageView">
1641        <!-- Sets a drawable as the content of this ImageView. -->
1642        <attr name="src" format="reference|color" />
1643        <!-- Controls how the image should be resized or moved to match the size
1644             of this ImageView. -->
1645        <attr name="scaleType">
1646            <enum name="matrix" value="0" />
1647            <enum name="fitXY" value="1" />
1648            <enum name="fitStart" value="2" />
1649            <enum name="fitCenter" value="3" />
1650            <enum name="fitEnd" value="4" />
1651            <enum name="center" value="5" />
1652            <enum name="centerCrop" value="6" />
1653            <enum name="centerInside" value="7" />
1654        </attr>
1655        <!-- Set this to true if you want the ImageView to adjust its bounds
1656             to preserve the aspect ratio of its drawable. -->
1657        <attr name="adjustViewBounds" format="boolean" />
1658        <!-- An optional argument to supply a maximum width for this view.
1659             See {see android.widget.ImageView#setMaxWidth} for details. -->
1660        <attr name="maxWidth" format="dimension" />
1661        <!-- An optional argument to supply a maximum height for this view.
1662             See {see android.widget.ImageView#setMaxHeight} for details. -->
1663        <attr name="maxHeight" format="dimension" />
1664        <!-- Set a tinting color for the image. -->
1665        <attr name="tint" format="color" />
1666        <!-- If true, the image view will be baseline aligned with based on its
1667             bottom edge. -->
1668        <attr name="baselineAlignBottom" format="boolean" />
1669         <!-- If true, the image will be cropped to fit within its padding. -->
1670        <attr name="cropToPadding" format="boolean" />
1671    </declare-styleable>
1672    <declare-styleable name="ToggleButton">
1673        <!-- The text for the button when it is checked. -->
1674        <attr name="textOn" format="string" />
1675        <!-- The text for the button when it is not checked. -->
1676        <attr name="textOff" format="string" />
1677        <!-- The alpha to apply to the indicator when disabled. -->
1678        <attr name="disabledAlpha" />
1679    </declare-styleable>
1680    <declare-styleable name="RelativeLayout">
1681        <attr name="gravity" />
1682        <!-- Indicates what view should not be affected by gravity. -->
1683        <attr name="ignoreGravity" format="reference" />
1684    </declare-styleable>
1685    <declare-styleable name="LinearLayout">
1686        <!-- Should the layout be a column or a row?  Use "horizontal"
1687             for a row, "vertical" for a column.  The default is
1688             horizontal. -->
1689        <attr name="orientation" />
1690        <attr name="gravity" />
1691        <!-- When set to false, prevents the layout from aligning its children's
1692             baselines. This attribute is particularly useful when the children
1693             use different values for gravity. The default value is true. -->
1694        <attr name="baselineAligned" format="boolean" />
1695        <!-- When a linear layout is part of another layout that is baseline
1696          aligned, it can specify which of its children to baseline align to
1697          (that is, which child TextView).-->
1698        <attr name="baselineAlignedChildIndex" format="integer" min="0"/>
1699        <!-- Defines the maximum weight sum. If unspecified, the sum is computed
1700             by adding the layout_weight of all of the children. This can be
1701             used for instance to give a single child 50% of the total available
1702             space by giving it a layout_weight of 0.5 and setting the weightSum
1703             to 1.0. -->
1704        <attr name="weightSum" format="float" />
1705        <!-- When set to true, all children with a weight will be considered having
1706             the minimum size of the largest child. If false, all children are
1707             measured normally. -->
1708        <attr name="useLargestChild" format="boolean" />
1709    </declare-styleable>
1710    <declare-styleable name="ListView">
1711        <!-- Reference to an array resource that will populate the ListView.  For static content,
1712             this is simpler than populating the ListView programmatically. -->
1713        <attr name="entries" />
1714        <!-- Drawable or color to draw between list items. -->
1715        <attr name="divider" format="reference|color" />
1716        <!-- Height of the divider. Will use the intrinsic height of the divider if this
1717             is not specified. -->
1718        <attr name="dividerHeight" format="dimension" />
1719        <!-- Defines the choice behavior for the ListView. By default, lists do not have
1720             any choice behavior. By setting the choiceMode to singleChoice, the List
1721             allows up to one item to be in a chosen state. By setting the choiceMode to
1722             multipleChoice, the list allows any number of items to be chosen. -->
1723        <attr name="choiceMode">
1724            <!-- Normal list that does not indicate choices. -->
1725            <enum name="none" value="0" />
1726            <!-- The list allows up to one choice. -->
1727            <enum name="singleChoice" value="1" />
1728            <!-- The list allows multiple choices. -->
1729            <enum name="multipleChoice" value="2" />
1730        </attr>
1731        <!-- When set to false, the ListView will not draw the divider after each header view.
1732             The default value is true. -->
1733        <attr name="headerDividersEnabled" format="boolean" />
1734        <!-- When set to false, the ListView will not draw the divider before each footer view.
1735             The default value is true. -->
1736        <attr name="footerDividersEnabled" format="boolean" />
1737    </declare-styleable>
1738    <declare-styleable name="MenuView">
1739        <!-- Default appearance of menu item text. -->
1740        <attr name="itemTextAppearance" format="reference" />
1741        <!-- Default horizontal divider between rows of menu items. -->
1742        <attr name="horizontalDivider" format="reference" />
1743        <!-- Default vertical divider between menu items. -->
1744        <attr name="verticalDivider" format="reference" />
1745        <!-- Default background for the menu header. -->
1746        <attr name="headerBackground" format="color|reference" />
1747        <!-- Default background for each menu item. -->
1748        <attr name="itemBackground" format="color|reference" />
1749        <!-- Default animations for the menu. -->
1750        <attr name="windowAnimationStyle" />
1751        <!-- Default disabled icon alpha for each menu item that shows an icon. -->
1752        <attr name="itemIconDisabledAlpha" format="float" />
1753    </declare-styleable>
1754    <declare-styleable name="IconMenuView">
1755        <!-- Defines the height of each row. -->
1756        <attr name="rowHeight" format="dimension" />
1757        <!-- Defines the maximum number of rows displayed. -->
1758        <attr name="maxRows" format="integer" />
1759        <!-- Defines the maximum number of items per row. -->
1760        <attr name="maxItemsPerRow" format="integer" />
1761        <!-- Defines the maximum number of items to show. -->
1762        <attr name="maxItems" format="integer" />
1763        <!-- 'More' icon. -->
1764        <attr name="moreIcon" format="reference" />
1765    </declare-styleable>
1766
1767    <declare-styleable name="ProgressBar">
1768        <!-- Defines the maximum value the progress can take. -->
1769        <attr name="max" format="integer" />
1770        <!-- Defines the default progress value, between 0 and max. -->
1771        <attr name="progress" format="integer" />
1772        <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between
1773             the primary progress and the background.  It can be ideal for media scenarios such as
1774             showing the buffering progress while the default progress shows the play progress. -->
1775        <attr name="secondaryProgress" format="integer" />
1776        <!-- Allows to enable the indeterminate mode. In this mode the progress
1777         bar plays an infinite looping animation. -->
1778        <attr name="indeterminate" format="boolean" />
1779        <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). -->
1780        <attr name="indeterminateOnly" format="boolean" />
1781        <!-- Drawable used for the indeterminate mode. -->
1782        <attr name="indeterminateDrawable" format="reference" />
1783        <!-- Drawable used for the progress mode. -->
1784        <attr name="progressDrawable" format="reference" />
1785        <!-- Duration of the indeterminate animation. -->
1786        <attr name="indeterminateDuration" format="integer" min="1" />
1787        <!-- Defines how the indeterminate mode should behave when the progress
1788        reaches max. -->
1789        <attr name="indeterminateBehavior">
1790            <!-- Progress starts over from 0. -->
1791            <enum name="repeat" value="1" />
1792            <!-- Progress keeps the current value and goes back to 0. -->
1793            <enum name="cycle" value="2" />
1794        </attr>
1795        <attr name="minWidth" format="dimension" />
1796        <attr name="maxWidth" />
1797        <attr name="minHeight" format="dimension" />
1798        <attr name="maxHeight" />
1799        <attr name="interpolator" format="reference" />
1800    </declare-styleable>
1801
1802    <declare-styleable name="SeekBar">
1803        <!-- Draws the thumb on a seekbar. -->
1804        <attr name="thumb" format="reference" />
1805        <!-- An offset for the thumb that allows it to extend out of the range of the track. -->
1806        <attr name="thumbOffset" format="dimension" />
1807    </declare-styleable>
1808
1809    <declare-styleable name="RatingBar">
1810        <!-- The number of stars (or rating items) to show. -->
1811        <attr name="numStars" format="integer" />
1812        <!-- The rating to set by default. -->
1813        <attr name="rating" format="float" />
1814        <!-- The step size of the rating. -->
1815        <attr name="stepSize" format="float" />
1816        <!-- Whether this rating bar is an indicator (and non-changeable by the user). -->
1817        <attr name="isIndicator" format="boolean" />
1818    </declare-styleable>
1819
1820    <declare-styleable name="RadioGroup">
1821        <!-- The id of the child radio button that should be checked by default
1822             within this radio group. -->
1823        <attr name="checkedButton" format="integer" />
1824        <!-- Should the radio group be a column or a row?  Use "horizontal"
1825             for a row, "vertical" for a column.  The default is
1826             vertical. -->
1827        <attr name="orientation" />
1828    </declare-styleable>
1829    <declare-styleable name="TableLayout">
1830        <!-- The zero-based index of the columns to stretch. The column indices
1831             must be separated by a comma: 1, 2, 5. Illegal and duplicate
1832             indices are ignored. You can stretch all columns by using the
1833             value "*" instead. Note that a column can be marked stretchable
1834             and shrinkable at the same time. -->
1835        <attr name="stretchColumns" format="string" />
1836       <!-- The zero-based index of the columns to shrink. The column indices
1837             must be separated by a comma: 1, 2, 5. Illegal and duplicate
1838             indices are ignored. You can shrink all columns by using the
1839             value "*" instead. Note that a column can be marked stretchable
1840             and shrinkable at the same time. -->
1841        <attr name="shrinkColumns" format="string" />
1842        <!-- The zero-based index of the columns to collapse. The column indices
1843             must be separated by a comma: 1, 2, 5. Illegal and duplicate
1844             indices are ignored. -->
1845        <attr name="collapseColumns" format="string" />
1846    </declare-styleable>
1847    <declare-styleable name="TableRow">
1848
1849    </declare-styleable>
1850    <declare-styleable name="TableRow_Cell">
1851        <!-- The index of the column in which this child should be. -->
1852        <attr name="layout_column" format="integer" />
1853        <!-- Defines how many columns this child should span.  Must be >= 1.-->
1854        <attr name="layout_span" format="integer" />
1855    </declare-styleable>
1856    <declare-styleable name="TabWidget">
1857    </declare-styleable>
1858    <declare-styleable name="TextAppearance">
1859        <!-- Text color. -->
1860        <attr name="textColor" />
1861        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
1862        <attr name="textSize" />
1863        <!-- Style (bold, italic, bolditalic) for the text. -->
1864        <attr name="textStyle" />
1865        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
1866        <attr name="typeface" />
1867        <!-- Color of the text selection highlight. -->
1868        <attr name="textColorHighlight" />
1869        <!-- Color of the hint text. -->
1870        <attr name="textColorHint" />
1871        <!-- Color of the links. -->
1872        <attr name="textColorLink" />
1873    </declare-styleable>
1874    <declare-styleable name="TextSwitcher">
1875    </declare-styleable>
1876    <declare-styleable name="TextView">
1877        <!-- Determines the minimum type that getText() will return.
1878             The default is "normal".
1879             Note that EditText and LogTextBox always return Editable,
1880             even if you specify something less powerful here. -->
1881        <attr name="bufferType">
1882            <!-- Can return any CharSequence, possibly a
1883             Spanned one if the source text was Spanned. -->
1884            <enum name="normal" value="0" />
1885            <!-- Can only return Spannable. -->
1886            <enum name="spannable" value="1" />
1887            <!-- Can only return Spannable and Editable. -->
1888            <enum name="editable" value="2" />
1889        </attr>
1890        <!-- Text to display. -->
1891        <attr name="text" format="string" localization="suggested" />
1892        <!-- Hint text to display when the text is empty. -->
1893        <attr name="hint" format="string" />
1894        <!-- Text color. -->
1895        <attr name="textColor" />
1896        <!-- Color of the text selection highlight. -->
1897        <attr name="textColorHighlight" />
1898        <!-- Color of the hint text. -->
1899        <attr name="textColorHint" />
1900        <!-- Base text color, typeface, size, and style. -->
1901        <attr name="textAppearance" />
1902        <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). -->
1903        <attr name="textSize" />
1904        <!-- Sets the horizontal scaling factor for the text. -->
1905        <attr name="textScaleX" format="float" />
1906        <!-- Typeface (normal, sans, serif, monospace) for the text. -->
1907        <attr name="typeface" />
1908        <!-- Style (bold, italic, bolditalic) for the text. -->
1909        <attr name="textStyle" />
1910        <!-- Text color for links. -->
1911        <attr name="textColorLink" />
1912        <!-- Makes the cursor visible (the default) or invisible. -->
1913        <attr name="cursorVisible" format="boolean" />
1914        <!-- Makes the TextView be at most this many lines tall. -->
1915        <attr name="maxLines" format="integer" min="0" />
1916        <!-- Makes the TextView be at most this many pixels tall. -->
1917        <attr name="maxHeight" />
1918        <!-- Makes the TextView be exactly this many lines tall. -->
1919        <attr name="lines" format="integer" min="0" />
1920        <!-- Makes the TextView be exactly this many pixels tall.
1921             You could get the same effect by specifying this number in the
1922             layout parameters. -->
1923        <attr name="height" format="dimension" />
1924        <!-- Makes the TextView be at least this many lines tall. -->
1925        <attr name="minLines" format="integer" min="0" />
1926        <!-- Makes the TextView be at least this many pixels tall. -->
1927        <attr name="minHeight" />
1928        <!-- Makes the TextView be at most this many ems wide. -->
1929        <attr name="maxEms" format="integer" min="0" />
1930        <!-- Makes the TextView be at most this many pixels wide. -->
1931        <attr name="maxWidth" />
1932        <!-- Makes the TextView be exactly this many ems wide. -->
1933        <attr name="ems" format="integer" min="0" />
1934        <!-- Makes the TextView be exactly this many pixels wide.
1935             You could get the same effect by specifying this number in the
1936             layout parameters. -->
1937        <attr name="width" format="dimension" />
1938        <!-- Makes the TextView be at least this many ems wide. -->
1939        <attr name="minEms" format="integer" min="0" />
1940        <!-- Makes the TextView be at least this many pixels wide. -->
1941        <attr name="minWidth" />
1942        <!-- Specifies how to align the text by the view's x- and/or y-axis
1943             when the text is smaller than the view. -->
1944        <attr name="gravity" />
1945        <!-- Whether the text is allowed to be wider than the view (and
1946             therefore can be scrolled horizontally). -->
1947        <attr name="scrollHorizontally" format="boolean" />
1948        <!-- Whether the characters of the field are displayed as
1949             password dots instead of themselves.
1950             {@deprecated Use inputType instead.} -->
1951        <attr name="password" format="boolean" />
1952        <!-- Constrains the text to a single horizontally scrolling line
1953             instead of letting it wrap onto multiple lines, and advances
1954             focus instead of inserting a newline when you press the
1955             enter key.  Note: for editable text views, it is better
1956             to control this using the textMultiLine flag in the inputType
1957             attribute.  (If both singleLine and inputType are supplied,
1958             the inputType flags will override the value of singleLine.)
1959             {@deprecated This attribute is deprecated and is replaced by the textMultiLine flag
1960             in the inputType attribute.  Use caution when altering existing layouts, as the
1961             default value of singeLine is false (multi-line mode), but if you specify any
1962             value for inputType, the default is single-line mode.  (If both singleLine and
1963             inputType attributes are found,  the inputType flags will override the value of
1964             singleLine.) } -->
1965        <attr name="singleLine" format="boolean" />
1966        <!-- Specifies whether the TextView is enabled or not. {@deprecated Use state_enabled instead}. -->
1967        <attr name="enabled" format="boolean" />
1968        <!-- If the text is selectable, select it all when the view takes
1969             focus instead of moving the cursor to the start or end. -->
1970        <attr name="selectAllOnFocus" format="boolean" />
1971        <!-- Leave enough room for ascenders and descenders instead of
1972             using the font ascent and descent strictly.  (Normally true). -->
1973        <attr name="includeFontPadding" format="boolean" />
1974        <!-- Set an input filter to constrain the text length to the
1975             specified number. -->
1976        <attr name="maxLength" format="integer" min="0" />
1977        <!-- Place a shadow of the specified color behind the text. -->
1978        <attr name="shadowColor" format="color" />
1979        <!-- Horizontal offset of the shadow. -->
1980        <attr name="shadowDx" format="float" />
1981        <!-- Vertical offset of the shadow. -->
1982        <attr name="shadowDy" format="float" />
1983        <!-- Radius of the shadow. -->
1984        <attr name="shadowRadius" format="float" />
1985        <attr name="autoLink" />
1986        <!-- If set to false, keeps the movement method from being set
1987             to the link movement method even if autoLink causes links
1988             to be found. -->
1989        <attr name="linksClickable" format="boolean" />
1990        <!-- If set, specifies that this TextView has a numeric input method.
1991             The default is false.
1992             {@deprecated Use inputType instead.} -->
1993        <attr name="numeric">
1994            <!-- Input is numeric. -->
1995            <flag name="integer" value="0x01" />
1996            <!-- Input is numeric, with sign allowed. -->
1997            <flag name="signed" value="0x003" />
1998            <!-- Input is numeric, with decimals allowed. -->
1999            <flag name="decimal" value="0x05" />
2000        </attr>
2001        <!-- If set, specifies that this TextView has a numeric input method
2002             and that these specific characters are the ones that it will
2003             accept.
2004             If this is set, numeric is implied to be true.
2005             The default is false. -->
2006        <attr name="digits" format="string" />
2007        <!-- If set, specifies that this TextView has a phone number input
2008             method. The default is false.
2009             {@deprecated Use inputType instead.} -->
2010        <attr name="phoneNumber" format="boolean" />
2011        <!-- If set, specifies that this TextView should use the specified
2012             input method (specified by fully-qualified class name).
2013             {@deprecated Use inputType instead.} -->
2014        <attr name="inputMethod" format="string" />
2015        <!-- If set, specifies that this TextView has a textual input method
2016             and should automatically capitalize what the user types.
2017             The default is "none".
2018             {@deprecated Use inputType instead.} -->
2019        <attr name="capitalize">
2020            <!-- Don't automatically capitalize anything. -->
2021            <enum name="none" value="0" />
2022            <!-- Capitalize the first word of each sentence. -->
2023            <enum name="sentences" value="1" />
2024            <!-- Capitalize the first letter of every word. -->
2025            <enum name="words" value="2" />
2026            <!-- Capitalize every character. -->
2027            <enum name="characters" value="3" />
2028        </attr>
2029        <!-- If set, specifies that this TextView has a textual input method
2030             and automatically corrects some common spelling errors.
2031             The default is "false".
2032             {@deprecated Use inputType instead.} -->
2033        <attr name="autoText" format="boolean" />
2034        <!-- If set, specifies that this TextView has an input method.
2035             It will be a textual one unless it has otherwise been specified.
2036             For TextView, this is false by default.  For EditText, it is
2037             true by default.
2038             {@deprecated Use inputType instead.} -->
2039        <attr name="editable" format="boolean" />
2040        <!-- If set, the text view will include its current complete text
2041             inside of its frozen icicle in addition to meta-data such as
2042             the current cursor position.  By default this is disabled;
2043             it can be useful when the contents of a text view is not stored
2044             in a persistent place such as a content provider. -->
2045        <attr name="freezesText" format="boolean" />
2046        <!-- If set, causes words that are longer than the view is wide
2047             to be ellipsized instead of broken in the middle.
2048             You will often also want to set scrollHorizontally or singleLine
2049             as well so that the text as a whole is also constrained to
2050             a single line instead of still allowed to be broken onto
2051             multiple lines. -->
2052        <attr name="ellipsize" />
2053        <!-- The drawable to be drawn above the text. -->
2054        <attr name="drawableTop" format="reference|color" />
2055        <!-- The drawable to be drawn below the text. -->
2056        <attr name="drawableBottom" format="reference|color" />
2057        <!-- The drawable to be drawn to the left of the text. -->
2058        <attr name="drawableLeft" format="reference|color" />
2059        <!-- The drawable to be drawn to the right of the text. -->
2060        <attr name="drawableRight" format="reference|color" />
2061        <!-- The padding between the drawables and the text. -->
2062        <attr name="drawablePadding" format="dimension" />
2063        <!-- Extra spacing between lines of text. -->
2064        <attr name="lineSpacingExtra" format="dimension" />
2065        <!-- Extra spacing between lines of text, as a multiplier. -->
2066        <attr name="lineSpacingMultiplier" format="float" />
2067        <!-- The number of times to repeat the marquee animation. Only applied if the
2068             TextView has marquee enabled. -->
2069        <attr name="marqueeRepeatLimit" format="integer">
2070            <!-- Indicates that marquee should repeat indefinitely. -->
2071            <enum name="marquee_forever" value="-1" />
2072        </attr>
2073        <attr name="inputType" />
2074        <attr name="imeOptions" />
2075        <!-- An addition content type description to supply to the input
2076             method attached to the text view, which is private to the
2077             implementation of the input method.  This simply fills in
2078             the {@link android.view.inputmethod.EditorInfo#privateImeOptions
2079             EditorInfo.privateImeOptions} field when the input
2080             method is connected. -->
2081        <attr name="privateImeOptions" format="string" />
2082        <!-- Supply a value for
2083             {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel}
2084             used when an input method is connected to the text view. -->
2085        <attr name="imeActionLabel" format="string" />
2086        <!-- Supply a value for
2087             {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId}
2088             used when an input method is connected to the text view. -->
2089        <attr name="imeActionId" format="integer" />
2090        <!-- Reference to an
2091             {@link android.R.styleable#InputExtras &lt;input-extras&gt;}
2092             XML resource containing additional data to
2093             supply to an input method, which is private to the implementation
2094             of the input method.  This simply fills in
2095             the {@link android.view.inputmethod.EditorInfo#extras
2096             EditorInfo.extras} field when the input
2097             method is connected. -->
2098        <attr name="editorExtras" format="reference" />
2099    </declare-styleable>
2100    <!-- An <code>input-extras</code> is a container for extra data to supply to
2101         an input method.  Contains
2102         one more more {@link #Extra <extra>} tags.  -->
2103    <declare-styleable name="InputExtras">
2104    </declare-styleable>
2105    <declare-styleable name="AutoCompleteTextView">
2106        <!-- Defines the hint displayed in the drop down menu. -->
2107        <attr name="completionHint" format="string" />
2108        <!-- Defines the hint view displayed in the drop down menu. -->
2109        <attr name="completionHintView" format="reference" />
2110        <!-- Defines the number of characters that the user must type before
2111         completion suggestions are displayed in a drop down menu. -->
2112        <attr name="completionThreshold" format="integer" min="1" />
2113        <!-- Selector in a drop down list. -->
2114        <attr name="dropDownSelector" format="reference|color" />
2115        <!-- Amount of pixels by which the drop down should be offset vertically. -->
2116        <attr name="dropDownVerticalOffset" format="dimension" />
2117        <!-- Amount of pixels by which the drop down should be offset horizontally. -->
2118        <attr name="dropDownHorizontalOffset" format="dimension" />
2119        <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself
2120             is used. -->
2121        <attr name="dropDownAnchor" format="reference" />
2122        <!-- Specifies the basic width of the dropdown. Its value may
2123             be a dimension (such as "12dip") for a constant width, match_parent
2124             to match the width of the screen, or wrap_content to match the width
2125             of the anchored view. -->
2126        <attr name="dropDownWidth" format="dimension">
2127            <!-- <strong>Deprecated.</strong> Use {@code match_parent} instead. -->
2128            <enum name="fill_parent" value="-1" />
2129            <!-- The dropdown should fit the width of the screen. -->
2130            <enum name="match_parent" value="-1" />
2131            <!-- The dropdown should fit the width of its anchor. -->
2132            <enum name="wrap_content" value="-2" />
2133        </attr>
2134        <!-- Specifies the basic width of the dropdown. Its value may
2135             be a dimension (such as "12dip") for a constant width, match_parent
2136             to fill the width of the screen, or wrap_content to match the height of
2137             the content of the drop down. -->
2138        <attr name="dropDownHeight" format="dimension">
2139            <!-- <strong>Deprecated.</strong> Use {@code match_parent} instead. -->
2140            <enum name="fill_parent" value="-1" />
2141            <!-- The dropdown should fill the width of the screen. -->
2142            <enum name="match_parent" value="-1" />
2143            <!-- The dropdown should fit the width of its anchor. -->
2144            <enum name="wrap_content" value="-2" />
2145        </attr>
2146        <attr name="inputType" />
2147    </declare-styleable>
2148    <declare-styleable name="PopupWindow">
2149        <attr name="popupBackground" format="reference|color" />
2150    </declare-styleable>
2151    <declare-styleable name="ViewAnimator">
2152        <attr name="inAnimation" format="reference" />
2153        <attr name="outAnimation" format="reference" />
2154    </declare-styleable>
2155    <declare-styleable name="ViewFlipper">
2156        <attr name="flipInterval" format="integer" min="0" />
2157        <!-- When true, automatically start animating -->
2158        <attr name="autoStart" format="boolean" />
2159    </declare-styleable>
2160    <declare-styleable name="ViewSwitcher">
2161    </declare-styleable>
2162    <declare-styleable name="ScrollView">
2163        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
2164        <attr name="fillViewport" format="boolean" />
2165    </declare-styleable>
2166    <declare-styleable name="HorizontalScrollView">
2167        <!-- Defines whether the scrollview should stretch its content to fill the viewport. -->
2168        <attr name="fillViewport" />
2169    </declare-styleable>
2170    <declare-styleable name="Spinner">
2171        <!-- The prompt to display when the spinner's dialog is shown. -->
2172        <attr name="prompt" format="reference" />
2173    </declare-styleable>
2174    <declare-styleable name="DatePicker">
2175        <!-- The first year (inclusive), for example "1940". -->
2176        <attr name="startYear" format="integer" />
2177        <!-- The last year (inclusive), for example "2010". -->
2178        <attr name="endYear" format="integer" />
2179    </declare-styleable>
2180
2181    <declare-styleable name="TwoLineListItem">
2182        <attr name="mode">
2183            <!-- Always show only the first line. -->
2184            <enum name="oneLine" value="1" />
2185            <!-- When selected show both lines, otherwise show only the first line.
2186                 This is the default mode. -->
2187            <enum name="collapsing" value="2" />
2188            <!-- Always show both lines. -->
2189            <enum name="twoLine" value="3" />
2190        </attr>
2191    </declare-styleable>
2192
2193    <!-- SlidingDrawer specific attributes. These attributes are used to configure
2194         a SlidingDrawer from XML. -->
2195    <declare-styleable name="SlidingDrawer">
2196        <!-- Identifier for the child that represents the drawer's handle. -->
2197        <attr name="handle" format="reference" />
2198        <!-- Identifier for the child that represents the drawer's content. -->
2199        <attr name="content" format="reference" />
2200        <!-- Orientation of the SlidingDrawer. -->
2201        <attr name="orientation" />
2202        <!-- Extra offset for the handle at the bottom of the SlidingDrawer. -->
2203        <attr name="bottomOffset" format="dimension"  />
2204        <!-- Extra offset for the handle at the top of the SlidingDrawer. -->
2205        <attr name="topOffset" format="dimension"  />
2206        <!-- Indicates whether the drawer can be opened/closed by a single tap
2207             on the handle.  (If false, the user must drag or fling, or click
2208             using the trackball, to open/close the drawer.)  Default is true. -->
2209        <attr name="allowSingleTap" format="boolean" />
2210        <!-- Indicates whether the drawer should be opened/closed with an animation
2211             when the user clicks the handle. Default is true. -->
2212        <attr name="animateOnClick" format="boolean" />
2213    </declare-styleable>
2214
2215    <!-- GestureOverlayView specific attributes. These attributes are used to configure
2216         a GestureOverlayView from XML. -->
2217    <declare-styleable name="GestureOverlayView">
2218        <!-- Width of the stroke used to draw the gesture. -->
2219        <attr name="gestureStrokeWidth" format="float" />
2220        <!-- Color used to draw a gesture. -->
2221        <attr name="gestureColor" format="color" />
2222        <!-- Color used to draw the user's strokes until we are sure it's a gesture. -->
2223        <attr name="uncertainGestureColor" format="color" />
2224        <!-- Time, in milliseconds, to wait before the gesture fades out after the user
2225             is done drawing it. -->
2226        <attr name="fadeOffset" format="integer" />
2227        <!-- Duration, in milliseconds, of the fade out effect after the user is done
2228             drawing a gesture. -->
2229        <attr name="fadeDuration" format="integer" />
2230        <!-- Defines the type of strokes that define a gesture. -->
2231        <attr name="gestureStrokeType">
2232            <!-- A gesture is made of only one stroke. -->
2233            <enum name="single" value="0" />
2234            <!-- A gesture is made of multiple strokes. -->
2235            <enum name="multiple" value="1" />
2236        </attr>
2237        <!-- Minimum length of a stroke before it is recognized as a gesture. -->
2238        <attr name="gestureStrokeLengthThreshold" format="float" />
2239        <!-- Squareness threshold of a stroke before it is recognized as a gesture. -->
2240        <attr name="gestureStrokeSquarenessThreshold" format="float" />
2241        <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. -->
2242        <attr name="gestureStrokeAngleThreshold" format="float" />
2243        <!-- Defines whether the overlay should intercept the motion events when a gesture
2244             is recognized. -->
2245        <attr name="eventsInterceptionEnabled" format="boolean" />
2246        <!-- Defines whether the gesture will automatically fade out after being recognized. -->
2247        <attr name="fadeEnabled" format="boolean" />
2248        <!-- Indicates whether horizontal (when the orientation is vertical) or vertical
2249             (when orientation is horizontal) strokes automatically define a gesture. -->
2250        <attr name="orientation" />
2251    </declare-styleable>
2252
2253    <declare-styleable name="QuickContactBadge">
2254        <attr name="quickContactWindowSize">
2255            <enum name="modeSmall" value="1" />
2256            <enum name="modeMedium" value="2" />
2257            <enum name="modeLarge" value="3" />
2258        </attr>
2259    </declare-styleable>
2260
2261    <!-- ======================================= -->
2262    <!-- Widget package parent layout attributes -->
2263    <!-- ======================================= -->
2264    <eat-comment />
2265
2266    <declare-styleable name="AbsoluteLayout_Layout">
2267        <attr name="layout_x" format="dimension" />
2268        <attr name="layout_y" format="dimension" />
2269    </declare-styleable>
2270    <declare-styleable name="LinearLayout_Layout">
2271        <attr name="layout_width" />
2272        <attr name="layout_height" />
2273        <attr name="layout_weight" format="float" />
2274        <attr name="layout_gravity" />
2275    </declare-styleable>
2276    <declare-styleable name="FrameLayout_Layout">
2277        <attr name="layout_gravity" />
2278    </declare-styleable>
2279    <declare-styleable name="RelativeLayout_Layout">
2280        <!-- Positions the right edge of this view to the left of the given anchor view ID.
2281             Accommodates right margin of this view and left margin of anchor view. -->
2282        <attr name="layout_toLeftOf" format="reference" />
2283        <!-- Positions the left edge of this view to the right of the given anchor view ID.
2284            Accommodates left margin of this view and right margin of anchor view. -->
2285        <attr name="layout_toRightOf" format="reference" />
2286        <!-- Positions the bottom edge of this view above the given anchor view ID.
2287            Accommodates bottom margin of this view and top margin of anchor view. -->
2288        <attr name="layout_above" format="reference" />
2289        <!-- Positions the top edge of this view below the given anchor view ID.
2290            Accommodates top margin of this view and bottom margin of anchor view. -->
2291        <attr name="layout_below" format="reference" />
2292        <!-- Positions the baseline of this view on the baseline of the given anchor view ID. -->
2293        <attr name="layout_alignBaseline" format="reference" />
2294        <!-- Makes the left edge of this view match the left edge of the given anchor view ID.
2295            Accommodates left margin. -->
2296        <attr name="layout_alignLeft" format="reference" />
2297        <!-- Makes the top edge of this view match the top edge of the given anchor view ID.
2298            Accommodates top margin. -->
2299        <attr name="layout_alignTop" format="reference" />
2300        <!-- Makes the right edge of this view match the right edge of the given anchor view ID.
2301            Accommodates right margin. -->
2302        <attr name="layout_alignRight" format="reference" />
2303        <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID.
2304            Accommodates bottom margin. -->
2305        <attr name="layout_alignBottom" format="reference" />
2306        <!-- If true, makes the left edge of this view match the left edge of the parent.
2307            Accommodates left margin. -->
2308        <attr name="layout_alignParentLeft" format="boolean" />
2309        <!-- If true, makes the top edge of this view match the top edge of the parent.
2310            Accommodates top margin. -->
2311        <attr name="layout_alignParentTop" format="boolean" />
2312        <!-- If true, makes the right edge of this view match the right edge of the parent.
2313            Accommodates right margin. -->
2314        <attr name="layout_alignParentRight" format="boolean" />
2315        <!-- If true, makes the bottom edge of this view match the bottom edge of the parent.
2316            Accommodates bottom margin. -->
2317        <attr name="layout_alignParentBottom" format="boolean" />
2318        <!-- If true, centers this child horizontally and vertically within its parent. -->
2319        <attr name="layout_centerInParent" format="boolean" />
2320        <!-- If true, centers this child horizontally within its parent. -->
2321        <attr name="layout_centerHorizontal" format="boolean" />
2322        <!-- If true, centers this child vertically within its parent. -->
2323        <attr name="layout_centerVertical" format="boolean" />
2324        <!-- If set to true, the parent will be used as the anchor when the anchor cannot be
2325             be found for layout_toLeftOf, layout_toRightOf, etc. -->
2326        <attr name="layout_alignWithParentIfMissing" format="boolean" />
2327    </declare-styleable>
2328    <declare-styleable name="VerticalSlider_Layout">
2329        <attr name="layout_scale" format="float" />
2330    </declare-styleable>
2331
2332    <!-- attributes for internal rotary widget used in lock screen and phone app
2333      @hide -->
2334    <declare-styleable name="RotarySelector">
2335        <!-- Use "horizontal" or "vertical".  The default is horizontal. -->
2336        <attr name="orientation" />
2337    </declare-styleable>
2338
2339    <!-- @hide -->
2340    <declare-styleable name="WeightedLinearLayout">
2341        <attr name="majorWeight" format="float" />
2342        <attr name="minorWeight" format="float" />
2343    </declare-styleable>
2344
2345    <!-- ========================= -->
2346    <!-- Drawable class attributes -->
2347    <!-- ========================= -->
2348    <eat-comment />
2349
2350    <!-- Base attributes that are available to all Drawable objects. -->
2351    <declare-styleable name="Drawable">
2352        <!-- Provides initial visibility state of the drawable; the default
2353             value is false.  See
2354             {@link android.graphics.drawable.Drawable#setVisible}. -->
2355        <attr name="visible" format="boolean" />
2356    </declare-styleable>
2357
2358    <declare-styleable name="StateListDrawable">
2359        <attr name="visible" />
2360        <!-- If true, allows the drawable's padding to change based on the
2361             current state that is selected.  If false, the padding will
2362             stay the same (based on the maximum padding of all the states).
2363             Enabling this feature requires that the owner of the drawable
2364             deal with performing layout when the state changes, which is
2365             often not supported. -->
2366        <attr name="variablePadding" format="boolean" />
2367        <!-- If true, the drawable's reported internal size will remain
2368             constant as the state changes; the size is the maximum of all
2369             of the states.  If false, the size will vary based on the
2370             current state. -->
2371        <attr name="constantSize" format="boolean" />
2372        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
2373             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
2374             an RGB 565 screen). -->
2375        <attr name="dither" format="boolean" />
2376    </declare-styleable>
2377
2378    <declare-styleable name="AnimationDrawable">
2379        <attr name="visible" />
2380        <attr name="variablePadding" />
2381        <!-- If true, the animation will only run a single time and then
2382             stop.  If false (the default), it will continually run,
2383             restarting at the first frame after the last has finished. -->
2384        <attr name="oneshot" format="boolean" />
2385    </declare-styleable>
2386
2387    <declare-styleable name="AnimationDrawableItem">
2388        <!-- Amount of time (in milliseconds) to display this frame. -->
2389        <attr name="duration" format="integer" />
2390        <!-- Reference to a drawable resource to use for the frame.  If not
2391             given, the drawable must be defined by the first child tag. -->
2392        <attr name="drawable" format="reference" />
2393    </declare-styleable>
2394
2395    <declare-styleable name="GradientDrawable">
2396        <attr name="visible" />
2397        <attr name="shape">
2398            <enum name="rectangle" value="0" />
2399            <enum name="oval" value="1" />
2400            <enum name="line" value="2" />
2401            <enum name="ring" value="3" />
2402        </attr>
2403        <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance,
2404             if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9.
2405             This value is ignored if innerRadius is defined. Default value is 9. -->
2406        <attr name="innerRadiusRatio" format="float" />
2407        <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance,
2408             if thicknessRatio=3, then the thickness equals the ring's width divided by 3.
2409             This value is ignored if innerRadius is defined. Default value is 3. -->
2410        <attr name="thicknessRatio" format="float" />
2411        <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. -->
2412        <attr name="innerRadius" format="dimension" />
2413        <!-- Thickness of the ring. When defined, thicknessRatio is ignored. -->
2414        <attr name="thickness" format="dimension" />
2415        <attr name="useLevel" />
2416    </declare-styleable>
2417
2418    <declare-styleable name="GradientDrawableSize">
2419        <attr name="width" />
2420        <attr name="height" />
2421    </declare-styleable>
2422
2423    <declare-styleable name="GradientDrawableGradient">
2424        <attr name="startColor" format="color" />
2425        <!-- Optional center color. For linear gradients, use centerX or centerY to place the center color. -->
2426        <attr name="centerColor" format="color" />
2427        <attr name="endColor" format="color" />
2428        <attr name="useLevel" format="boolean" />
2429        <attr name="angle" format="float" />
2430        <attr name="type">
2431            <enum name="linear" value="0" />
2432            <enum name="radial" value="1" />
2433            <enum name="sweep"  value="2" />
2434        </attr>
2435        <attr name="centerX" format="float|fraction" />
2436        <attr name="centerY" format="float|fraction" />
2437        <attr name="gradientRadius" format="float|fraction" />
2438    </declare-styleable>
2439
2440    <declare-styleable name="GradientDrawableSolid">
2441        <attr name="color" format="color" />
2442    </declare-styleable>
2443
2444    <declare-styleable name="GradientDrawableStroke">
2445        <attr name="width" />
2446        <attr name="color" />
2447        <attr name="dashWidth" format="dimension" />
2448        <attr name="dashGap" format="dimension" />
2449    </declare-styleable>
2450
2451    <declare-styleable name="DrawableCorners">
2452        <attr name="radius" format="dimension" />
2453        <attr name="topLeftRadius" format="dimension" />
2454        <attr name="topRightRadius" format="dimension" />
2455        <attr name="bottomLeftRadius" format="dimension" />
2456        <attr name="bottomRightRadius" format="dimension" />
2457    </declare-styleable>
2458
2459    <declare-styleable name="GradientDrawablePadding">
2460        <attr name="left" format="dimension" />
2461        <attr name="top" format="dimension" />
2462        <attr name="right" format="dimension" />
2463        <attr name="bottom" format="dimension" />
2464    </declare-styleable>
2465
2466    <declare-styleable name="LayerDrawableItem">
2467        <attr name="left" />
2468        <attr name="top" />
2469        <attr name="right" />
2470        <attr name="bottom" />
2471        <attr name="drawable" />
2472        <attr name="id" />
2473    </declare-styleable>
2474
2475    <declare-styleable name="LevelListDrawableItem">
2476        <!-- The minimum level allowed for this item. -->
2477        <attr name="minLevel" format="integer" />
2478        <!-- The maximum level allowed for this item. -->
2479        <attr name="maxLevel" format="integer" />
2480        <attr name="drawable" />
2481    </declare-styleable>
2482
2483    <declare-styleable name="RotateDrawable">
2484        <attr name="visible" />
2485        <attr name="fromDegrees" format="float" />
2486        <attr name="toDegrees" format="float" />
2487        <attr name="pivotX" format="float|fraction" />
2488        <attr name="pivotY" format="float|fraction" />
2489        <attr name="drawable" />
2490    </declare-styleable>
2491
2492    <declare-styleable name="AnimatedRotateDrawable">
2493        <attr name="visible" />
2494        <attr name="frameDuration" format="integer" />
2495        <attr name="framesCount" format="integer" />
2496        <attr name="pivotX" />
2497        <attr name="pivotY" />
2498        <attr name="drawable" />
2499    </declare-styleable>
2500
2501    <declare-styleable name="InsetDrawable">
2502        <attr name="visible" />
2503        <attr name="drawable" />
2504        <attr name="insetLeft" format="dimension" />
2505        <attr name="insetRight" format="dimension" />
2506        <attr name="insetTop" format="dimension" />
2507        <attr name="insetBottom" format="dimension" />
2508    </declare-styleable>
2509
2510    <!-- Drawable used to draw bitmaps. -->
2511    <declare-styleable name="BitmapDrawable">
2512        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
2513        <attr name="src" />
2514        <!-- Enables or disables antialiasing. -->
2515        <attr name="antialias" format="boolean" />
2516        <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is
2517             shrunk or stretched to smooth its apperance. -->
2518        <attr name="filter" format="boolean" />
2519        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
2520             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
2521             an RGB 565 screen). -->
2522        <attr name="dither" />
2523        <!-- Defines the gravity for the bitmap. The gravity indicates where to position
2524             the drawable in its container if the bitmap is smaller than the container. -->
2525        <attr name="gravity" />
2526        <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated.
2527             Gravity is ignored when the tile mode is enabled. -->
2528        <attr name="tileMode">
2529            <!-- Do not tile the bitmap. This is the default value. -->
2530            <enum name="disabled" value="-1" />
2531            <!-- Replicates the edge color. -->
2532            <enum name="clamp" value="0" />
2533            <!-- Repeats the bitmap in both direction. -->
2534            <enum name="repeat" value="1" />
2535            <!-- Repeats the shader's image horizontally and vertically, alternating
2536                 mirror images so that adjacent images always seam. -->
2537            <enum name="mirror" value="2" />
2538        </attr>
2539    </declare-styleable>
2540
2541    <!-- Drawable used to draw 9-patches. -->
2542    <declare-styleable name="NinePatchDrawable">
2543        <!-- Identifier of the bitmap file. This attribute is mandatory. -->
2544        <attr name="src" />
2545        <!-- Enables or disables dithering of the bitmap if the bitmap does not have the
2546             same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with
2547             an RGB 565 screen). -->
2548        <attr name="dither" />
2549    </declare-styleable>
2550
2551    <!-- Drawable used to draw a single color. -->
2552    <declare-styleable name="ColorDrawable">
2553        <!-- The color to use. -->
2554        <attr name="color" />
2555    </declare-styleable>
2556
2557    <declare-styleable name="ScaleDrawable">
2558        <!-- Scale width, expressed as a percentage of the drawable's bound. The value's
2559             format is XX%. For instance: 100%, 12.5%, etc.-->
2560        <attr name="scaleWidth" format="string" />
2561        <!-- Scale height, expressed as a percentage of the drawable's bound. The value's
2562             format is XX%. For instance: 100%, 12.5%, etc.-->
2563        <attr name="scaleHeight" format="string" />
2564        <!-- Specifies where the drawable is positioned after scaling. The default value is
2565             left. -->
2566        <attr name="scaleGravity">
2567            <!-- Push object to the top of its container, not changing its size. -->
2568            <flag name="top" value="0x30" />
2569            <!-- Push object to the bottom of its container, not changing its size. -->
2570            <flag name="bottom" value="0x50" />
2571            <!-- Push object to the left of its container, not changing its size. -->
2572            <flag name="left" value="0x03" />
2573            <!-- Push object to the right of its container, not changing its size. -->
2574            <flag name="right" value="0x05" />
2575            <!-- Place object in the vertical center of its container, not changing its size. -->
2576            <flag name="center_vertical" value="0x10" />
2577            <!-- Grow the vertical size of the object if needed so it completely fills its container. -->
2578            <flag name="fill_vertical" value="0x70" />
2579            <!-- Place object in the horizontal center of its container, not changing its size. -->
2580            <flag name="center_horizontal" value="0x01" />
2581            <!-- Grow the horizontal size of the object if needed so it completely fills its container. -->
2582            <flag name="fill_horizontal" value="0x07" />
2583            <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. -->
2584            <flag name="center" value="0x11" />
2585            <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. -->
2586            <flag name="fill" value="0x77" />
2587            <!-- Additional option that can be set to have the top and/or bottom edges of
2588                 the child clipped to its container's bounds.
2589                 The clip will be based on the vertical gravity: a top gravity will clip the bottom
2590                 edge, a bottom gravity will clip the top edge, and neither will clip both edges. -->
2591            <flag name="clip_vertical" value="0x80" />
2592            <!-- Additional option that can be set to have the left and/or right edges of
2593                 the child clipped to its container's bounds.
2594                 The clip will be based on the horizontal gravity: a left gravity will clip the right
2595                 edge, a right gravity will clip the left edge, and neither will clip both edges. -->
2596            <flag name="clip_horizontal" value="0x08" />
2597        </attr>
2598        <!-- Reference to a drawable resource to draw with the specified scale. -->
2599        <attr name="drawable" />
2600    </declare-styleable>
2601
2602    <declare-styleable name="ClipDrawable">
2603        <!-- The orientation for the clip. -->
2604        <attr name="clipOrientation">
2605            <!-- Clip the drawable horizontally. -->
2606            <flag name="horizontal" value="1" />
2607            <!-- Clip the drawable vertically. -->
2608            <flag name="vertical" value="2" />
2609        </attr>
2610        <!-- Specifies where to clip within the drawable. The default value is
2611             left. -->
2612        <attr name="gravity" />
2613        <!-- Reference to a drawable resource to draw with the specified scale. -->
2614        <attr name="drawable" />
2615    </declare-styleable>
2616
2617    <!-- Defines the padding of a ShapeDrawable. -->
2618    <declare-styleable name="ShapeDrawablePadding">
2619        <!-- Left padding. -->
2620        <attr name="left" />
2621        <!-- Top padding. -->
2622        <attr name="top" />
2623        <!-- Right padding. -->
2624        <attr name="right" />
2625        <!-- Bottom padding. -->
2626        <attr name="bottom" />
2627    </declare-styleable>
2628
2629    <!-- Drawable used to draw shapes. -->
2630    <declare-styleable name="ShapeDrawable">
2631        <!-- Defines the color of the shape. -->
2632        <attr name="color" />
2633        <!-- Defines the width of the shape. -->
2634        <attr name="width" />
2635        <!-- Defines the height of the shape. -->
2636        <attr name="height" />
2637    </declare-styleable>
2638
2639    <!-- ========================== -->
2640    <!-- Animation class attributes -->
2641    <!-- ========================== -->
2642    <eat-comment />
2643
2644    <declare-styleable name="AnimationSet">
2645        <attr name="shareInterpolator" format="boolean" />
2646    </declare-styleable>
2647
2648    <declare-styleable name="Animation">
2649        <!-- Defines the interpolator used to smooth the animation movement in time. -->
2650        <attr name="interpolator" />
2651        <!-- When set to true, fillAfter is taken into account. -->
2652        <attr name="fillEnabled" format="boolean" />
2653        <!-- When set to true, the animation transformation is applied before the animation has
2654             started. The default value is true. If fillEnabled is not set to true, fillBefore
2655             is assumed to be true. -->
2656        <attr name="fillBefore" format="boolean" />
2657        <!-- When set to true, the animation transformation is applied after the animation is
2658             over. The default value is false. If fillEnabled is not set to true and the animation
2659             is not set on a View, fillAfter is assumed to be true. -->
2660        <attr name="fillAfter" format="boolean" />
2661        <!-- Amount of time (in milliseconds) for the animation to run. -->
2662        <attr name="duration" />
2663        <!-- Delay in milliseconds before the animation runs, once start time is reached. -->
2664        <attr name="startOffset" format="integer" />
2665        <!-- Defines how many times the animation should repeat. The default value is 0. -->
2666        <attr name="repeatCount" format="integer">
2667            <enum name="infinite" value="-1" />
2668        </attr>
2669        <!-- Defines the animation behavior when it reaches the end and the repeat count is
2670             greater than 0 or infinite. The default value is restart. -->
2671        <attr name="repeatMode">
2672            <!-- The animation starts again from the beginning. -->
2673            <enum name="restart" value="1" />
2674            <!-- The animation plays backward. -->
2675            <enum name="reverse" value="2" />
2676        </attr>
2677        <!-- Allows for an adjustment of the Z ordering of the content being
2678             animated for the duration of the animation.  The default value is normal. -->
2679        <attr name="zAdjustment">
2680            <!-- The content being animated be kept in its current Z order. -->
2681            <enum name="normal" value="0" />
2682            <!-- The content being animated is forced on top of all other
2683                 content for the duration of the animation. -->
2684            <enum name="top" value="1" />
2685            <!-- The content being animated is forced under all other
2686                 content for the duration of the animation. -->
2687            <enum name="bottom" value="-1" />
2688        </attr>
2689        <!-- Special option for window animations: if this window is on top
2690             of a wallpaper, don't animate the wallpaper with it. -->
2691        <attr name="detachWallpaper" format="boolean" />
2692    </declare-styleable>
2693
2694    <declare-styleable name="RotateAnimation">
2695        <attr name="fromDegrees" />
2696        <attr name="toDegrees" />
2697        <attr name="pivotX" />
2698        <attr name="pivotY" />
2699    </declare-styleable>
2700
2701    <declare-styleable name="ScaleAnimation">
2702        <attr name="fromXScale" format="float" />
2703        <attr name="toXScale" format="float" />
2704        <attr name="fromYScale" format="float" />
2705        <attr name="toYScale" format="float" />
2706        <attr name="pivotX" />
2707        <attr name="pivotY" />
2708    </declare-styleable>
2709
2710    <declare-styleable name="TranslateAnimation">
2711        <attr name="fromXDelta" format="float|fraction" />
2712        <attr name="toXDelta" format="float|fraction" />
2713        <attr name="fromYDelta" format="float|fraction" />
2714        <attr name="toYDelta" format="float|fraction" />
2715    </declare-styleable>
2716
2717    <declare-styleable name="AlphaAnimation">
2718        <attr name="fromAlpha" format="float" />
2719        <attr name="toAlpha" format="float" />
2720    </declare-styleable>
2721
2722    <declare-styleable name="LayoutAnimation">
2723        <!-- Fraction of the animation duration used to delay the beginning of
2724         the animation of each child. -->
2725        <attr name="delay" format="float|fraction" />
2726        <!-- Animation to use on each child. -->
2727        <attr name="animation" format="reference" />
2728        <!-- The order in which the animations will be started. -->
2729        <attr name="animationOrder">
2730            <!-- Animations are started in the natural order. -->
2731            <enum name="normal" value="0" />
2732            <!-- Animations are started in the reverse order. -->
2733            <enum name="reverse" value="1" />
2734            <!-- Animations are started randomly. -->
2735            <enum name="random" value="2" />
2736        </attr>
2737        <!-- Interpolator used to interpolate the delay between the start of
2738         each animation. -->
2739        <attr name="interpolator" />
2740    </declare-styleable>
2741
2742    <declare-styleable name="GridLayoutAnimation">
2743        <!-- Fraction of the animation duration used to delay the beginning of
2744         the animation of each column. -->
2745        <attr name="columnDelay" format="float|fraction" />
2746        <!-- Fraction of the animation duration used to delay the beginning of
2747         the animation of each row. -->
2748        <attr name="rowDelay" format="float|fraction" />
2749        <!-- Direction of the animation in the grid. -->
2750        <attr name="direction">
2751            <!-- Animates columns from left to right. -->
2752            <flag name="left_to_right" value="0x0" />
2753            <!-- Animates columns from right to left. -->
2754            <flag name="right_to_left" value="0x1" />
2755            <!-- Animates rows from top to bottom. -->
2756            <flag name="top_to_bottom" value="0x0" />
2757            <!-- Animates rows from bottom to top. -->
2758            <flag name="bottom_to_top" value="0x2" />
2759        </attr>
2760        <!-- Priority of the rows and columns. When the priority is none,
2761         both rows and columns have the same priority. When the priority is
2762         column, the animations will be applied on the columns first. The same
2763         goes for rows. -->
2764        <attr name="directionPriority">
2765            <!-- Rows and columns are animated at the same time. -->
2766            <enum name="none"   value="0" />
2767            <!-- Columns are animated first. -->
2768            <enum name="column" value="1" />
2769            <!-- Rows are animated first. -->
2770            <enum name="row"    value="2" />
2771        </attr>
2772    </declare-styleable>
2773
2774    <declare-styleable name="AccelerateInterpolator">
2775        <!-- This is the amount of deceleration to add when easing in. -->
2776        <attr name="factor" format="float" />
2777    </declare-styleable>
2778
2779    <declare-styleable name="DecelerateInterpolator">
2780        <!-- This is the amount of acceleration to add when easing out. -->
2781        <attr name="factor" />
2782    </declare-styleable>
2783
2784    <declare-styleable name="CycleInterpolator">
2785        <attr name="cycles" format="float" />
2786    </declare-styleable>
2787
2788    <declare-styleable name="AnticipateInterpolator">
2789        <!-- This is the amount of tension. -->
2790        <attr name="tension" format="float" />
2791    </declare-styleable>
2792
2793    <declare-styleable name="OvershootInterpolator">
2794        <!-- This is the amount of tension. -->
2795        <attr name="tension" />
2796    </declare-styleable>
2797
2798    <declare-styleable name="AnticipateOvershootInterpolator">
2799        <!-- This is the amount of tension. -->
2800        <attr name="tension" />
2801        <!-- This is the amount by which to multiply the tension. -->
2802        <attr name="extraTension" format="float" />
2803    </declare-styleable>
2804
2805    <!-- ========================== -->
2806    <!-- State attributes           -->
2807    <!-- ========================== -->
2808    <eat-comment />
2809
2810    <!-- Drawable states.
2811         The mapping of Drawable states to a particular drawables is specified
2812         in the "state" elements of a Widget's "selector" element.
2813         Possible values:
2814         <ul>
2815         <li>"state_focused"
2816         <li>"state_window_focused"
2817         <li>"state_enabled"
2818         <li>"state_checked"
2819         <li>"state_selected"
2820         <li>"state_active"
2821         <li>"state_single"
2822         <li>"state_first"
2823         <li>"state_mid"
2824         <li>"state_last"
2825         <li>"state_only"
2826         <li>"state_pressed"
2827         <li>"state_error"
2828         <li>"state_circle"
2829         <li>"state_rect"
2830         <li>"state_grow"
2831         <li>"state_move"
2832         </ul>  -->
2833    <declare-styleable name="DrawableStates">
2834        <!--  State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
2835        <attr name="state_focused" format="boolean" />
2836        <!--  State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
2837        <attr name="state_window_focused" format="boolean" />
2838        <!--  State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
2839        <attr name="state_enabled" format="boolean" />
2840        <!--  State identifier indicating that the object <var>may</var> display a check mark.
2841              See {@link R.attr#state_checked} for the identifier that indicates whether it is
2842              actually checked. -->
2843        <attr name="state_checkable" format="boolean"/>
2844        <!--  State identifier indicating that the object is currently checked.  See
2845              {@link R.attr#state_checkable} for an additional identifier that can indicate if
2846              any object may ever display a check, regardless of whether state_checked is
2847              currently set. -->
2848        <attr name="state_checked" format="boolean"/>
2849        <!--  State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
2850        <attr name="state_selected" format="boolean" />
2851        <!--  State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
2852        <attr name="state_active" format="boolean" />
2853        <!--  State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
2854        <attr name="state_single" format="boolean" />
2855        <!--  State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
2856        <attr name="state_first" format="boolean" />
2857        <!--  State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
2858        <attr name="state_middle" format="boolean" />
2859        <!--  State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
2860        <attr name="state_last" format="boolean" />
2861        <!--  State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.-->
2862        <attr name="state_pressed" format="boolean" />
2863    </declare-styleable>
2864    <declare-styleable name="ViewDrawableStates">
2865        <attr name="state_pressed" />
2866        <attr name="state_focused" />
2867        <attr name="state_selected" />
2868        <attr name="state_window_focused" />
2869        <attr name="state_enabled" />
2870    </declare-styleable>
2871    <!-- State array representing a menu item that is currently checked. -->
2872    <declare-styleable name="MenuItemCheckedState">
2873        <attr name="state_checkable" />
2874        <attr name="state_checked" />
2875    </declare-styleable>
2876    <!-- State array representing a menu item that is checkable but is not currently checked. -->
2877    <declare-styleable name="MenuItemUncheckedState">
2878        <attr name="state_checkable" />
2879    </declare-styleable>
2880    <!-- State array representing a menu item that is currently focused and checked. -->
2881    <declare-styleable name="MenuItemCheckedFocusedState">
2882        <attr name="state_checkable" />
2883        <attr name="state_checked" />
2884        <attr name="state_focused" />
2885    </declare-styleable>
2886    <!-- State array representing a menu item that is focused and checkable but is not currently checked. -->
2887    <declare-styleable name="MenuItemUncheckedFocusedState">
2888        <attr name="state_checkable" />
2889        <attr name="state_focused" />
2890    </declare-styleable>
2891    <!-- State array representing an expandable list child's indicator. -->
2892    <declare-styleable name="ExpandableListChildIndicatorState">
2893        <!-- State identifier indicating the child is the last child within its group. -->
2894        <attr name="state_last" />
2895    </declare-styleable>
2896    <!-- State array representing an expandable list group's indicator. -->
2897    <declare-styleable name="ExpandableListGroupIndicatorState">
2898        <!-- State identifier indicating the group is expanded. -->
2899        <attr name="state_expanded" format="boolean" />
2900        <!-- State identifier indicating the group is empty (has no children). -->
2901        <attr name="state_empty" format="boolean" />
2902    </declare-styleable>
2903    <declare-styleable name="PopupWindowBackgroundState">
2904        <!-- State identifier indicating the popup will be above the anchor. -->
2905        <attr name="state_above_anchor" format="boolean" />
2906    </declare-styleable>
2907
2908    <!-- ***************************************************************** -->
2909    <!-- Support for Searchable activities. -->
2910    <!-- ***************************************************************** -->
2911    <eat-comment />
2912
2913    <!-- Searchable activities and applications must provide search configuration information
2914        in an XML file, typically called searchable.xml.  This file is referenced in your manifest.
2915        For a more in-depth discussion of search configuration, please refer to
2916        {@link android.app.SearchManager}. -->
2917    <declare-styleable name="Searchable">
2918          <!--<strong>This is deprecated.</strong><br/>The default
2919              application icon is now always used, so this attribute is
2920              obsolete.-->
2921        <attr name="icon" />
2922        <!-- This is the user-displayed name of the searchable activity.  <i>Required
2923            attribute.</i> -->
2924        <attr name="label" />
2925        <!-- If supplied, this string will be displayed as a hint to the user.  <i>Optional
2926            attribute.</i> -->
2927        <attr name="hint" />
2928        <!-- If supplied, this string will be displayed as the text of the "Search" button.
2929          <i>Optional attribute.</i>
2930          {@deprecated This will create a non-standard UI appearance, because the search bar UI is
2931                       changing to use only icons for its buttons.}-->
2932        <attr name="searchButtonText" format="string" />
2933        <attr name="inputType" />
2934        <attr name="imeOptions" />
2935
2936        <!-- Additional features are controlled by mode bits in this field.  Omitting
2937            this field, or setting to zero, provides default behavior.  <i>Optional attribute.</i>
2938        -->
2939        <attr name="searchMode">
2940          <!-- If set, this flag enables the display of the search target (label) within the
2941               search bar.  If neither bad mode is selected, no badge will be shown. -->
2942          <flag name="showSearchLabelAsBadge" value="0x04" />
2943          <!--<strong>This is deprecated.</strong><br/>The default
2944              application icon is now always used, so this option is
2945              obsolete.-->
2946          <flag name="showSearchIconAsBadge" value="0x08" />
2947          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to
2948               be considered as the text for suggestion query rewriting.  This should only
2949               be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user
2950               inspection and editing - typically, HTTP/HTTPS Uri's. -->
2951          <flag name="queryRewriteFromData" value="0x10" />
2952          <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to
2953               be considered as the text for suggestion query rewriting.  This should be used
2954               for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA
2955               values are not suitable for user inspection and editing. -->
2956          <flag name="queryRewriteFromText" value="0x20" />
2957        </attr>
2958
2959        <!-- Voice search features are controlled by mode bits in this field.  Omitting
2960            this field, or setting to zero, provides default behavior.
2961            If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must
2962            also be set.  <i>Optional attribute.</i>
2963        -->
2964        <attr name="voiceSearchMode">
2965          <!-- If set, display a voice search button.  This only takes effect if voice search is
2966               available on the device. -->
2967          <flag name="showVoiceSearchButton" value="0x01" />
2968          <!-- If set, the voice search button will take the user directly to a built-in
2969               voice web search activity.  Most applications will not use this flag, as it
2970               will take the user away from the activity in which search was invoked. -->
2971          <flag name="launchWebSearch" value="0x02" />
2972          <!-- If set, the voice search button will take the user directly to a built-in
2973               voice recording activity.  This activity will prompt the user to speak,
2974               transcribe the spoken text, and forward the resulting query
2975               text to the searchable activity, just as if the user had typed it into
2976               the search UI and clicked the search button. -->
2977          <flag name="launchRecognizer" value="0x04" />
2978        </attr>
2979
2980        <!-- If provided, this specifies the language model that should be used by the
2981             voice recognition system.  See
2982             {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information.
2983             If not provided, the default value
2984             {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. -->
2985        <attr name="voiceLanguageModel" format="string" />
2986        <!-- If provided, this specifies a prompt that will be displayed during voice input. -->
2987        <attr name="voicePromptText" format="string" />
2988        <!-- If provided, this specifies the spoken language to be expected, and that it will be
2989             different than the one set in the {@link java.util.Locale#getDefault()}. -->
2990        <attr name="voiceLanguage" format="string" />
2991        <!-- If provided, enforces the maximum number of results to return, including the "best"
2992             result which will always be provided as the SEARCH intent's primary query.  Must be one
2993             or greater.  If not provided, the recognizer will choose how many results to return.
2994             -->
2995        <attr name="voiceMaxResults" format="integer" />
2996
2997        <!-- If provided, this is the trigger indicating that the searchable activity
2998            provides suggestions as well.  The value must be a fully-qualified content provider
2999            authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the
3000            "android:authorities" tag in your content provider's manifest entry.  <i>Optional
3001            attribute.</i> -->
3002        <attr name="searchSuggestAuthority" format="string" />
3003        <!-- If provided, this will be inserted in the suggestions query Uri, after the authority
3004            you have provide but before the standard suggestions path. <i>Optional attribute.</i>
3005            -->
3006        <attr name="searchSuggestPath" format="string" />
3007        <!-- If provided, suggestion queries will be passed into your query function
3008            as the <i>selection</i> parameter.  Typically this will be a WHERE clause for your
3009            database, and will contain a single question mark, which represents the actual query
3010            string that has been typed by the user.  If not provided, then the user query text
3011            will be appended to the query Uri (after an additional "/".)  <i>Optional
3012            attribute.</i> -->
3013        <attr name="searchSuggestSelection" format="string" />
3014
3015        <!-- If provided, and not overridden by an action in the selected suggestion, this
3016            string will be placed in the action field of the {@link android.content.Intent Intent}
3017            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
3018        <attr name="searchSuggestIntentAction" format="string" />
3019        <!-- If provided, and not overridden by an action in the selected suggestion, this
3020            string will be placed in the data field of the {@link android.content.Intent Intent}
3021            when the user clicks a suggestion.  <i>Optional attribute.</i> -->
3022        <attr name="searchSuggestIntentData" format="string" />
3023
3024        <!-- If provided, this is the minimum number of characters needed to trigger
3025             search suggestions. The default value is 0. <i>Optional attribute.</i> -->
3026        <attr name="searchSuggestThreshold" format="integer" />
3027
3028        <!-- If provided and <code>true</code>, this searchable activity will be
3029             included in any global lists of search targets.
3030             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
3031        <attr name="includeInGlobalSearch" format="boolean" />
3032
3033        <!-- If provided and <code>true</code>, this searchable activity will be invoked for all
3034             queries in a particular session. If set to <code>false</code> and the activity
3035             returned zero results for a query, it will not be invoked again in that session for
3036             supersets of that zero-results query. For example, if the activity returned zero
3037             results for "bo", it would not be queried again for "bob".
3038             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
3039        <attr name="queryAfterZeroResults" format="boolean" />
3040        <!-- If provided, this string will be used to describe the searchable item in the
3041             searchable items settings within system search settings. <i>Optional
3042             attribute.</i> -->
3043        <attr name="searchSettingsDescription" format="string" />
3044
3045        <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching
3046             within this activity would be detected and treated as URLs (show a 'go' button in the
3047             keyboard and invoke the browser directly when user launches the URL instead of passing
3048             the URL to the activity). If set to <code>false</code> any URLs entered are treated as
3049             normal query text.
3050             The default value is <code>false</code>. <i>Optional attribute.</i>. -->
3051        <attr name="autoUrlDetect" format="boolean" />
3052
3053    </declare-styleable>
3054
3055    <!-- In order to process special action keys during search, you must define them using
3056            one or more "ActionKey" elements in your Searchable metadata.  For a more in-depth
3057            discussion of action code handling, please refer to {@link android.app.SearchManager}.
3058    -->
3059    <declare-styleable name="SearchableActionKey">
3060        <!-- This attribute denotes the action key you wish to respond to.  Note that not
3061            all action keys are actually supported using this mechanism, as many of them are
3062            used for typing, navigation, or system functions.  This will be added to the
3063            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
3064            searchable activity.  To examine the key code, use
3065            {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}.
3066            <p>Note, in addition to the keycode, you must also provide one or more of the action
3067            specifier attributes.  <i>Required attribute.</i> -->
3068        <attr name="keycode" />
3069
3070        <!-- If you wish to handle an action key during normal search query entry, you
3071            must define an action string here.  This will be added to the
3072            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
3073            searchable activity.  To examine the string, use
3074            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
3075            <i>Optional attribute.</i> -->
3076        <attr name="queryActionMsg"  format="string" />
3077
3078        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
3079            selected</i>, there are two ways to handle this.  If <i>all</i> of your suggestions
3080            can handle the action key, you can simply define the action message using this
3081            attribute.  This will be added to the
3082            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your
3083            searchable activity.  To examine the string, use
3084            {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}.
3085            <i>Optional attribute.</i> -->
3086        <attr name="suggestActionMsg"  format="string" />
3087
3088        <!-- If you wish to handle an action key while a suggestion is being displayed <i>and
3089            selected</i>, but you do not wish to enable this action key for every suggestion,
3090            then you can use this attribute to control it on a suggestion-by-suggestion basis.
3091            First, you must define a column (and name it here) where your suggestions will include
3092            the action string.  Then, in your content provider, you must provide this column, and
3093            when desired, provide data in this column.
3094            The search manager will look at your suggestion cursor, using the string
3095            provided here in order to select a column, and will use that to select a string from
3096            the cursor.  That string will be added to the
3097            {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to
3098            your searchable activity.  To examine the string, use
3099            {@link android.content.Intent#getStringExtra
3100            getStringExtra(SearchManager.ACTION_MSG)}.  <i>If the data does not exist for the
3101            selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> -->
3102        <attr name="suggestActionMsgColumn" format="string" />
3103
3104    </declare-styleable>
3105
3106    <!-- ***************************************************************** -->
3107    <!-- Support for MapView. -->
3108    <!-- ***************************************************************** -->
3109    <eat-comment />
3110
3111    <!-- The set of attributes for a MapView. -->
3112    <declare-styleable name="MapView">
3113        <!-- Value is a string that specifies the Maps API Key to use. -->
3114        <attr name="apiKey" format="string" />
3115    </declare-styleable>
3116
3117    <!-- **************************************************************** -->
3118    <!-- Menu XML inflation. -->
3119    <!-- **************************************************************** -->
3120    <eat-comment />
3121
3122    <!-- Base attributes that are available to all Menu objects. -->
3123    <declare-styleable name="Menu">
3124    </declare-styleable>
3125
3126    <!-- Base attributes that are available to all groups. -->
3127    <declare-styleable name="MenuGroup">
3128
3129        <!-- The ID of the group. -->
3130        <attr name="id" />
3131
3132        <!-- The category applied to all items within this group.
3133             (This will be or'ed with the orderInCategory attribute.) -->
3134        <attr name="menuCategory">
3135            <!-- Items are part of a container. -->
3136            <enum name="container" value="0x00010000" />
3137            <!-- Items are provided by the system. -->
3138            <enum name="system" value="0x00020000" />
3139            <!-- Items are user-supplied secondary (infrequently used). -->
3140            <enum name="secondary" value="0x00030000" />
3141            <!-- Items are alternative actions. -->
3142            <enum name="alternative" value="0x00040000" />
3143        </attr>
3144
3145        <!-- The order within the category applied to all items within this group.
3146             (This will be or'ed with the category attribute.) -->
3147        <attr name="orderInCategory" format="integer" />
3148
3149        <!-- Whether the items are capable of displaying a check mark. -->
3150        <attr name="checkableBehavior">
3151            <!-- The items are not checkable. -->
3152            <enum name="none" value="0" />
3153            <!-- The items are all checkable. -->
3154            <enum name="all" value="1" />
3155            <!-- The items are checkable and there will only be a single checked item in
3156                 this group. -->
3157            <enum name="single" value="2" />
3158        </attr>
3159
3160        <!-- Whether the items are shown/visible. -->
3161        <attr name="visible" />
3162
3163        <!-- Whether the items are enabled. -->
3164        <attr name="enabled" />
3165
3166    </declare-styleable>
3167
3168    <!-- Base attributes that are available to all Item objects. -->
3169    <declare-styleable name="MenuItem">
3170
3171        <!-- The ID of the item. -->
3172        <attr name="id" />
3173
3174        <!-- The category applied to the item.
3175             (This will be or'ed with the orderInCategory attribute.) -->
3176        <attr name="menuCategory" />
3177
3178        <!-- The order within the category applied to the item.
3179             (This will be or'ed with the category attribute.) -->
3180        <attr name="orderInCategory" />
3181
3182        <!-- The title associated with the item. -->
3183        <attr name="title" format="string" />
3184
3185        <!-- The condensed title associated with the item.  This is used in situations where the
3186             normal title may be too long to be displayed. -->
3187        <attr name="titleCondensed" format="string" />
3188
3189        <!-- The icon associated with this item.  This icon will not always be shown, so
3190             the title should be sufficient in describing this item. -->
3191        <attr name="icon" />
3192
3193        <!-- The alphabetic shortcut key.  This is the shortcut when using a keyboard
3194             with alphabetic keys. -->
3195        <attr name="alphabeticShortcut" format="string" />
3196
3197        <!-- The numeric shortcut key.  This is the shortcut when using a numeric (e.g., 12-key)
3198             keyboard. -->
3199        <attr name="numericShortcut" format="string" />
3200
3201        <!-- Whether the item is capable of displaying a check mark. -->
3202        <attr name="checkable" format="boolean" />
3203
3204        <!-- Whether the item is checked.  Note that you must first have enabled checking with
3205             the checkable attribute or else the check mark will not appear. -->
3206        <attr name="checked" />
3207
3208        <!-- Whether the item is shown/visible. -->
3209        <attr name="visible" />
3210
3211        <!-- Whether the item is enabled. -->
3212        <attr name="enabled" />
3213
3214    </declare-styleable>
3215
3216    <!-- **************************************************************** -->
3217    <!-- Preferences framework. -->
3218    <!-- **************************************************************** -->
3219    <eat-comment />
3220
3221    <!-- Base attributes available to PreferenceGroup. -->
3222    <declare-styleable name="PreferenceGroup">
3223        <!-- Whether to order the Preference under this group as they appear in the XML file.
3224             If this is false, the ordering will follow the Preference order attribute and
3225             default to alphabetic for those without the order attribute. -->
3226        <attr name="orderingFromXml" format="boolean" />
3227    </declare-styleable>
3228
3229    <!-- WARNING:  If adding attributes to Preference, make sure it does not conflict
3230                   with a View's attributes.  Some subclasses (e.g., EditTextPreference)
3231                   proxy all attributes to its EditText widget. -->
3232    <eat-comment />
3233
3234    <!-- Base attributes available to Preference. -->
3235    <declare-styleable name="Preference">
3236        <!-- The key to store the Preference value. -->
3237        <attr name="key" format="string" />
3238        <!-- The title for the Preference in a PreferenceActivity screen. -->
3239        <attr name="title" />
3240        <!-- The summary for the Preference in a PreferenceActivity screen. -->
3241        <attr name="summary" format="string" />
3242        <!-- The order for the Preference (lower values are to be ordered first). If this is not
3243             specified, the default orderin will be alphabetic. -->
3244        <attr name="order" format="integer" />
3245        <!-- The layout for the Preference in a PreferenceActivity screen. This should
3246             rarely need to be changed, look at widgetLayout instead. -->
3247        <attr name="layout" />
3248        <!-- The layout for the controllable widget portion of a Preference. This is inflated
3249             into the layout for a Preference and should be used more frequently than
3250             the layout attribute. For example, a checkbox preference would specify
3251             a custom layout (consisting of just the CheckBox) here. -->
3252        <attr name="widgetLayout" format="reference" />
3253        <!-- Whether the Preference is enabled. -->
3254        <attr name="enabled" />
3255        <!-- Whether the Preference is selectable. -->
3256        <attr name="selectable" format="boolean" />
3257        <!-- The key of another Preference that this Preference will depend on.  If the other
3258             Preference is not set or is off, this Preference will be disabled. -->
3259        <attr name="dependency" format="string" />
3260        <!-- Whether the Preference stores its value to the shared preferences. -->
3261        <attr name="persistent" />
3262        <!-- The default value for the preference, which will be set either if persistence
3263             is off or persistence is on and the preference is not found in the persistent
3264             storage.  -->
3265        <attr name="defaultValue" format="string|boolean|integer|reference|float" />
3266        <!-- Whether the view of this Preference should be disabled when
3267             this Preference is disabled. -->
3268        <attr name="shouldDisableView" format="boolean" />
3269    </declare-styleable>
3270
3271    <!-- Base attributes available to CheckBoxPreference. -->
3272    <declare-styleable name="CheckBoxPreference">
3273        <!-- The summary for the Preference in a PreferenceActivity screen when the
3274             CheckBoxPreference is checked. If separate on/off summaries are not
3275             needed, the summary attribute can be used instead. -->
3276        <attr name="summaryOn" format="string" />
3277        <!-- The summary for the Preference in a PreferenceActivity screen when the
3278             CheckBoxPreference is unchecked. If separate on/off summaries are not
3279             needed, the summary attribute can be used instead. -->
3280        <attr name="summaryOff" format="string" />
3281        <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default,
3282             dependents will be disabled when this is unchecked, so the value of this preference is false. -->
3283        <attr name="disableDependentsState" format="boolean" />
3284    </declare-styleable>
3285
3286    <!-- Base attributes available to DialogPreference. -->
3287    <declare-styleable name="DialogPreference">
3288        <!-- The title in the dialog. -->
3289        <attr name="dialogTitle" format="string" />
3290        <!-- The message in the dialog. If a dialogLayout is provided and contains
3291             a TextView with ID android:id/message, this message will be placed in there. -->
3292        <attr name="dialogMessage" format="string" />
3293        <!-- The icon for the dialog. -->
3294        <attr name="dialogIcon" format="reference" />
3295        <!-- The positive button text for the dialog. Set to @null to hide the positive button. -->
3296        <attr name="positiveButtonText" format="string" />
3297        <!-- The negative button text for the dialog. Set to @null to hide the negative button. -->
3298        <attr name="negativeButtonText" format="string" />
3299        <!-- A layout to be used as the content View for the dialog. By default, this shouldn't
3300             be needed. If a custom DialogPreference is required, this should be set. For example,
3301             the EditTextPreference uses a layout with an EditText as this attribute. -->
3302        <attr name="dialogLayout" format="reference" />
3303    </declare-styleable>
3304
3305    <!-- Base attributes available to ListPreference. -->
3306    <declare-styleable name="ListPreference">
3307        <!-- The human-readable array to present as a list. Each entry must have a corresponding
3308             index in entryValues. -->
3309        <attr name="entries" />
3310        <!-- The array to find the value to save for a preference when an entry from
3311             entries is selected. If a user clicks on the second item in entries, the
3312             second item in this array will be saved to the preference. -->
3313        <attr name="entryValues" format="reference" />
3314    </declare-styleable>
3315
3316    <!-- Base attributes available to RingtonePreference. -->
3317    <declare-styleable name="RingtonePreference">
3318        <!-- Which ringtone type(s) to show in the picker. -->
3319        <attr name="ringtoneType">
3320            <!-- Ringtones. -->
3321            <flag name="ringtone" value="1" />
3322            <!-- Notification sounds. -->
3323            <flag name="notification" value="2" />
3324            <!-- Alarm sounds. -->
3325            <flag name="alarm" value="4" />
3326            <!-- All available ringtone sounds. -->
3327            <flag name="all" value="7" />
3328        </attr>
3329        <!-- Whether to show an item for a default sound. -->
3330        <attr name="showDefault" format="boolean" />
3331        <!-- Whether to show an item for 'Silent'. -->
3332        <attr name="showSilent" format="boolean" />
3333    </declare-styleable>
3334
3335    <!-- Base attributes available to VolumePreference. -->
3336    <declare-styleable name="VolumePreference">
3337        <!-- Different audio stream types. -->
3338        <attr name="streamType">
3339            <enum name="voice" value="0" />
3340            <enum name="system" value="1" />
3341            <enum name="ring" value="2" />
3342            <enum name="music" value="3" />
3343            <enum name="alarm" value="4" />
3344        </attr>
3345    </declare-styleable>
3346
3347    <declare-styleable name="InputMethodService">
3348        <!-- Background to use for entire input method when it is being
3349             shown in fullscreen mode with the extract view, to ensure
3350             that it completely covers the application.  This allows,
3351             for example, the candidate view to be hidden
3352             while in fullscreen mode without having the application show through
3353             behind it.-->
3354        <attr name="imeFullscreenBackground" format="reference|color" />
3355        <!-- Animation to use when showing the fullscreen extract UI after
3356             it had previously been hidden. -->
3357        <attr name="imeExtractEnterAnimation" format="reference" />
3358        <!-- Animation to use when hiding the fullscreen extract UI after
3359             it had previously been shown. -->
3360        <attr name="imeExtractExitAnimation" format="reference" />
3361    </declare-styleable>
3362
3363    <declare-styleable name="KeyboardView">
3364        <!-- Default KeyboardView style. -->
3365        <attr name="keyboardViewStyle" format="reference" />
3366
3367        <!-- Image for the key. This image needs to be a StateListDrawable, with the following
3368             possible states: normal, pressed, checkable, checkable+pressed, checkable+checked,
3369             checkable+checked+pressed. -->
3370        <attr name="keyBackground" format="reference" />
3371
3372        <!-- Size of the text for character keys. -->
3373        <attr name="keyTextSize" format="dimension" />
3374
3375        <!-- Size of the text for custom keys with some text and no icon. -->
3376        <attr name="labelTextSize" format="dimension" />
3377
3378        <!-- Color to use for the label in a key. -->
3379        <attr name="keyTextColor" format="color" />
3380
3381        <!-- Layout resource for key press feedback.-->
3382        <attr name="keyPreviewLayout" format="reference" />
3383
3384        <!-- Vertical offset of the key press feedback from the key. -->
3385        <attr name="keyPreviewOffset" format="dimension" />
3386
3387        <!-- Height of the key press feedback popup. -->
3388        <attr name="keyPreviewHeight" format="dimension" />
3389
3390        <!-- Amount to offset the touch Y coordinate by, for bias correction. -->
3391        <attr name="verticalCorrection" format="dimension" />
3392
3393        <!-- Layout resource for popup keyboards. -->
3394        <attr name="popupLayout" format="reference" />
3395
3396        <attr name="shadowColor" />
3397        <attr name="shadowRadius" />
3398    </declare-styleable>
3399
3400    <declare-styleable name="KeyboardViewPreviewState">
3401        <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView}
3402                key preview background. -->
3403        <attr name="state_long_pressable" format="boolean" />
3404    </declare-styleable>
3405
3406    <declare-styleable name="Keyboard">
3407        <!-- Default width of a key, in pixels or percentage of display width. -->
3408        <attr name="keyWidth" format="dimension|fraction" />
3409        <!-- Default height of a key, in pixels or percentage of display width. -->
3410        <attr name="keyHeight" format="dimension|fraction" />
3411        <!-- Default horizontal gap between keys. -->
3412        <attr name="horizontalGap" format="dimension|fraction" />
3413        <!-- Default vertical gap between rows of keys. -->
3414        <attr name="verticalGap" format="dimension|fraction" />
3415    </declare-styleable>
3416
3417    <declare-styleable name="Keyboard_Row">
3418        <!-- Row edge flags. -->
3419        <attr name="rowEdgeFlags">
3420            <!-- Row is anchored to the top of the keyboard. -->
3421            <flag name="top" value="4" />
3422            <!-- Row is anchored to the bottom of the keyboard. -->
3423            <flag name="bottom" value="8" />
3424        </attr>
3425        <!-- Mode of the keyboard. If the mode doesn't match the
3426             requested keyboard mode, the row will be skipped. -->
3427        <attr name="keyboardMode" format="reference" />
3428    </declare-styleable>
3429
3430    <declare-styleable name="Keyboard_Key">
3431        <!-- The unicode value or comma-separated values that this key outputs. -->
3432        <attr name="codes" format="integer|string" />
3433        <!-- The XML keyboard layout of any popup keyboard. -->
3434        <attr name="popupKeyboard" format="reference" />
3435        <!-- The characters to display in the popup keyboard. -->
3436        <attr name="popupCharacters" format="string" />
3437        <!-- Key edge flags. -->
3438        <attr name="keyEdgeFlags">
3439            <!-- Key is anchored to the left of the keyboard. -->
3440            <flag name="left" value="1" />
3441            <!-- Key is anchored to the right of the keyboard. -->
3442            <flag name="right" value="2" />
3443        </attr>
3444        <!-- Whether this is a modifier key such as Alt or Shift. -->
3445        <attr name="isModifier" format="boolean" />
3446        <!-- Whether this is a toggle key. -->
3447        <attr name="isSticky" format="boolean" />
3448        <!-- Whether long-pressing on this key will make it repeat. -->
3449        <attr name="isRepeatable" format="boolean" />
3450        <!-- The icon to show in the popup preview. -->
3451        <attr name="iconPreview" format="reference" />
3452        <!-- The string of characters to output when this key is pressed. -->
3453        <attr name="keyOutputText" format="string" />
3454        <!-- The label to display on the key. -->
3455        <attr name="keyLabel" format="string" />
3456        <!-- The icon to display on the key instead of the label. -->
3457        <attr name="keyIcon" format="reference" />
3458        <!-- Mode of the keyboard. If the mode doesn't match the
3459             requested keyboard mode, the key will be skipped. -->
3460        <attr name="keyboardMode" />
3461    </declare-styleable>
3462
3463    <!-- =============================== -->
3464    <!-- AppWidget package class attributes -->
3465    <!-- =============================== -->
3466    <eat-comment />
3467    
3468    <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that
3469         describes an AppWidget provider.  See {@link android.appwidget android.appwidget}
3470         package for more info.
3471     -->
3472    <declare-styleable name="AppWidgetProviderInfo">
3473        <!-- Minimum width of the AppWidget. -->
3474        <attr name="minWidth"/>
3475        <!-- Minimum height of the AppWidget. -->
3476        <attr name="minHeight"/>
3477        <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. -->
3478        <attr name="updatePeriodMillis" format="integer" />
3479        <!-- A resource id of a layout. -->
3480        <attr name="initialLayout" format="reference" />
3481        <!-- A class name in the AppWidget's package to be launched to configure.
3482             If not supplied, then no activity will be launched. -->
3483        <attr name="configure" format="string" />
3484    </declare-styleable>
3485
3486    <!-- =============================== -->
3487    <!-- App package class attributes -->
3488    <!-- =============================== -->
3489    <eat-comment />
3490    
3491    <!-- Use <code>wallpaper</code> as the root tag of the XML resource that
3492         describes an
3493         {@link android.service.wallpaper.WallpaperService}, which is
3494         referenced from its
3495         {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA}
3496         meta-data entry.  Described here are the attributes that can be
3497         included in that tag. -->
3498    <declare-styleable name="Wallpaper">
3499        <attr name="settingsActivity" />
3500
3501        <!-- Reference to a the wallpaper's thumbnail bitmap. -->
3502        <attr name="thumbnail" format="reference" />
3503
3504        <!-- Name of the author of this component, e.g. Google. -->
3505        <attr name="author" format="reference" />
3506
3507        <!-- Short description of the component's purpose or behavior. -->
3508        <attr name="description" />
3509    </declare-styleable>
3510
3511    <!-- =============================== -->
3512    <!-- Accounts package class attributes -->
3513    <!-- =============================== -->
3514    <eat-comment />
3515    
3516    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
3517         describes an account authenticator.
3518     -->
3519    <declare-styleable name="AccountAuthenticator">
3520        <!-- The account type this authenticator handles. -->
3521        <attr name="accountType" format="string"/>
3522        <!-- The user-visible name of the authenticator. -->
3523        <attr name="label"/>
3524        <!-- The icon of the authenticator. -->
3525        <attr name="icon"/>
3526        <!-- Smaller icon of the authenticator. -->
3527        <attr name="smallIcon" format="reference"/>
3528        <!-- A preferences.xml file for authenticator-specific settings. -->
3529        <attr name="accountPreferences" format="reference"/>
3530    </declare-styleable>
3531
3532    <!-- =============================== -->
3533    <!-- Accounts package class attributes -->
3534    <!-- =============================== -->
3535    <eat-comment />
3536    
3537    <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that
3538         describes an account authenticator.
3539     -->
3540    <declare-styleable name="SyncAdapter">
3541        <!-- the authority of a content provider. -->
3542        <attr name="contentAuthority" format="string"/>
3543        <attr name="accountType"/>
3544        <attr name="userVisible" format="boolean"/>
3545        <attr name="supportsUploading" format="boolean"/>
3546    </declare-styleable>
3547
3548    <!-- =============================== -->
3549    <!-- Contacts meta-data attributes -->
3550    <!-- =============================== -->
3551    <eat-comment />
3552    
3553    <!-- TODO: remove this deprecated styleable. -->
3554    <eat-comment />
3555    <declare-styleable name="Icon">
3556        <attr name="icon" />
3557        <attr name="mimeType" />
3558    </declare-styleable>
3559
3560    <!-- TODO: remove this deprecated styleable -->
3561    <eat-comment />
3562    <declare-styleable name="IconDefault">
3563        <attr name="icon" />
3564    </declare-styleable>
3565
3566    <!-- Maps a specific contact data MIME-type to styling information. -->
3567    <declare-styleable name="ContactsDataKind">
3568        <!-- Mime-type handled by this mapping. -->
3569        <attr name="mimeType" />
3570        <!-- Icon used to represent data of this kind. -->
3571        <attr name="icon" />
3572        <!-- Column in data table that summarizes this data. -->
3573        <attr name="summaryColumn" format="string" />
3574        <!-- Column in data table that contains details for this data. -->
3575        <attr name="detailColumn" format="string" />
3576        <!-- Flag indicating that detail should be built from SocialProvider. -->
3577        <attr name="detailSocialSummary" format="boolean" />
3578    </declare-styleable>
3579
3580    <!-- =============================== -->
3581    <!-- TabSelector class attributes -->
3582    <!-- =============================== -->
3583    <eat-comment />
3584
3585    <declare-styleable name="SlidingTab">
3586        <!-- Use "horizontal" for a row, "vertical" for a column.  The default is horizontal. -->
3587        <attr name="orientation" />
3588    </declare-styleable>
3589    
3590    <!-- Use <code>recognition-service</code> as the root tag of the XML resource that
3591         describes a {@link android.speech.RecognitionService}, which is reference from
3592         its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry.
3593         Described here are the attributes that can be included in that tag. -->
3594    <declare-styleable name="RecognitionService">
3595        <attr name="settingsActivity" />
3596    </declare-styleable>
3597
3598</resources>
3599