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