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