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