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