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