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