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