blob: 096104557e6615157c598d5d8aaa3d4f2b6e23dd [file] [log] [blame]
Ying Wang3fbe0d42014-07-14 17:26:42 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2012 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<resources>
18 <!-- Many app-specific attributes are declared in this file.
19 Unless otherwise specified, they are intended to be set within
20 the context of a theme declaration.
21
22 Each cluster of attributes below states whether it is meant to
23 be set by the app and read by the system, or set by the system and
24 read by the app. -->
25 <eat-comment/>
26
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -070027
28 <attr name="title" format="string"/>
29 <attr name="height" format="dimension"/>
30 <!-- Specifies whether the theme is light, otherwise it is dark. -->
31 <attr name="isLightTheme" format="boolean" />
32
33 <!-- These are the standard attributes that make up a complete theme. -->
34 <declare-styleable name="Theme">
35
36 <!-- ============= -->
37 <!-- Window styles -->
38 <!-- ============= -->
39 <eat-comment />
40
41 <!-- Flag indicating whether this window should have an Action Bar
42 in place of the usual title bar. -->
43 <attr name="windowActionBar" format="boolean" />
44
Chris Banes16fb73e2015-02-16 18:24:06 +000045 <!-- Flag indicating whether there should be no title on this window. -->
46 <attr name="windowNoTitle" format="boolean" />
47
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -070048 <!-- Flag indicating whether this window's Action Bar should overlay
49 application content. Does nothing if the window would not
50 have an Action Bar. -->
51 <attr name="windowActionBarOverlay" format="boolean" />
52
53 <!-- Flag indicating whether action modes should overlay window content
54 when there is not reserved space for their UI (such as an Action Bar). -->
55 <attr name="windowActionModeOverlay" format="boolean" />
Ying Wang3fbe0d42014-07-14 17:26:42 -070056
57 <!-- A fixed width for the window along the major axis of the screen,
58 that is, when in landscape. Can be either an absolute dimension
59 or a fraction of the screen size in that dimension. -->
60 <attr name="windowFixedWidthMajor" format="dimension|fraction" />
61 <!-- A fixed height for the window along the minor axis of the screen,
62 that is, when in landscape. Can be either an absolute dimension
63 or a fraction of the screen size in that dimension. -->
64 <attr name="windowFixedHeightMinor" format="dimension|fraction" />
65
66 <!-- A fixed width for the window along the minor axis of the screen,
67 that is, when in portrait. Can be either an absolute dimension
68 or a fraction of the screen size in that dimension. -->
69 <attr name="windowFixedWidthMinor" format="dimension|fraction" />
70 <!-- A fixed height for the window along the major axis of the screen,
71 that is, when in portrait. Can be either an absolute dimension
72 or a fraction of the screen size in that dimension. -->
73 <attr name="windowFixedHeightMajor" format="dimension|fraction" />
74
Chris Banes8ac0dd32015-03-02 09:04:03 +000075 <!-- The minimum width the window is allowed to be, along the major
76 axis of the screen. That is, when in landscape. Can be either
77 an absolute dimension or a fraction of the screen size in that
78 dimension. -->
79 <attr name="windowMinWidthMajor" format="dimension|fraction" />
80 <!-- The minimum width the window is allowed to be, along the minor
81 axis of the screen. That is, when in portrait. Can be either
82 an absolute dimension or a fraction of the screen size in that
83 dimension. -->
84 <attr name="windowMinWidthMinor" format="dimension|fraction" />
85
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -070086 <attr name="android:windowIsFloating" />
Chris Banes16fb73e2015-02-16 18:24:06 +000087 <attr name="android:windowAnimationStyle" />
Ying Wang3fbe0d42014-07-14 17:26:42 -070088
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -070089 <!-- =================== -->
90 <!-- Action bar styles -->
91 <!-- =================== -->
92 <eat-comment />
93 <!-- Default style for tabs within an action bar -->
94 <attr name="actionBarTabStyle" format="reference" />
95 <attr name="actionBarTabBarStyle" format="reference" />
96 <attr name="actionBarTabTextStyle" format="reference" />
97 <attr name="actionOverflowButtonStyle" format="reference" />
98 <attr name="actionOverflowMenuStyle" format="reference" />
99 <!-- Reference to a theme that should be used to inflate popups
100 shown by widgets in the action bar. -->
101 <attr name="actionBarPopupTheme" format="reference" />
102 <!-- Reference to a style for the Action Bar -->
103 <attr name="actionBarStyle" format="reference" />
104 <!-- Reference to a style for the split Action Bar. This style
105 controls the split component that holds the menu/action
106 buttons. actionBarStyle is still used for the primary
107 bar. -->
108 <attr name="actionBarSplitStyle" format="reference" />
109 <!-- Reference to a theme that should be used to inflate the
110 action bar. This will be inherited by any widget inflated
111 into the action bar. -->
112 <attr name="actionBarTheme" format="reference" />
113 <!-- Reference to a theme that should be used to inflate widgets
114 and layouts destined for the action bar. Most of the time
115 this will be a reference to the current theme, but when
116 the action bar has a significantly different contrast
117 profile than the rest of the activity the difference
118 can become important. If this is set to @null the current
119 theme will be used.-->
120 <attr name="actionBarWidgetTheme" format="reference" />
121 <!-- Size of the Action Bar, including the contextual
122 bar used to present Action Modes. -->
123 <attr name="actionBarSize" format="dimension" >
124 <enum name="wrap_content" value="0" />
125 </attr>
126 <!-- Custom divider drawable to use for elements in the action bar. -->
127 <attr name="actionBarDivider" format="reference" />
128 <!-- Custom item state list drawable background for action bar items. -->
129 <attr name="actionBarItemBackground" format="reference" />
130 <!-- TextAppearance style that will be applied to text that
131 appears within action menu items. -->
132 <attr name="actionMenuTextAppearance" format="reference" />
133 <!-- Color for text that appears within action menu items. -->
134 <!-- Color for text that appears within action menu items. -->
135 <attr name="actionMenuTextColor" format="color|reference"/>
Ying Wang3fbe0d42014-07-14 17:26:42 -0700136
Ying Wang3fbe0d42014-07-14 17:26:42 -0700137
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700138 <!-- =================== -->
139 <!-- Action mode styles -->
140 <!-- =================== -->
141 <eat-comment/>
142 <attr name="actionModeStyle" format="reference"/>
143 <attr name="actionModeCloseButtonStyle" format="reference"/>
144 <!-- Background drawable to use for action mode UI -->
145 <attr name="actionModeBackground" format="reference"/>
146 <!-- Background drawable to use for action mode UI in the lower split bar -->
147 <attr name="actionModeSplitBackground" format="reference"/>
148 <!-- Drawable to use for the close action mode button -->
149 <attr name="actionModeCloseDrawable" format="reference"/>
150 <!-- Drawable to use for the Cut action button in Contextual Action Bar -->
151 <attr name="actionModeCutDrawable" format="reference"/>
152 <!-- Drawable to use for the Copy action button in Contextual Action Bar -->
153 <attr name="actionModeCopyDrawable" format="reference"/>
154 <!-- Drawable to use for the Paste action button in Contextual Action Bar -->
155 <attr name="actionModePasteDrawable" format="reference"/>
156 <!-- Drawable to use for the Select all action button in Contextual Action Bar -->
157 <attr name="actionModeSelectAllDrawable" format="reference"/>
158 <!-- Drawable to use for the Share action button in WebView selection action modes -->
159 <attr name="actionModeShareDrawable" format="reference"/>
160 <!-- Drawable to use for the Find action button in WebView selection action modes -->
161 <attr name="actionModeFindDrawable" format="reference"/>
162 <!-- Drawable to use for the Web Search action button in WebView selection action modes -->
163 <attr name="actionModeWebSearchDrawable" format="reference"/>
Ying Wang3fbe0d42014-07-14 17:26:42 -0700164
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700165 <!-- PopupWindow style to use for action modes when showing as a window overlay. -->
166 <attr name="actionModePopupWindowStyle" format="reference"/>
Ying Wang3fbe0d42014-07-14 17:26:42 -0700167
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700168
169 <!-- =================== -->
170 <!-- Text styles -->
171 <!-- =================== -->
172 <eat-comment />
173 <!-- Text color, typeface, size, and style for the text inside of a popup menu. -->
174 <attr name="textAppearanceLargePopupMenu" format="reference"/>
175 <!-- Text color, typeface, size, and style for small text inside of a popup menu. -->
176 <attr name="textAppearanceSmallPopupMenu" format="reference"/>
177
178
179 <!-- =================== -->
Chris Banes16fb73e2015-02-16 18:24:06 +0000180 <!-- Dialog styles -->
181 <!-- =================== -->
182 <eat-comment />
183
184 <!-- Theme to use for dialogs spawned from this theme. -->
185 <attr name="dialogTheme" format="reference" />
186 <!-- Preferred padding for dialog content. -->
187 <attr name="dialogPreferredPadding" format="dimension" />
Chris Banes8ac0dd32015-03-02 09:04:03 +0000188 <!-- The list divider used in alert dialogs. -->
189 <attr name="listDividerAlertDialog" format="reference" />
Chris Banes16fb73e2015-02-16 18:24:06 +0000190
191 <!-- =================== -->
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700192 <!-- Other widget styles -->
193 <!-- =================== -->
194 <eat-comment />
195
196 <!-- Default ActionBar dropdown style. -->
197 <attr name="actionDropDownStyle" format="reference"/>
198 <!-- The preferred item height for dropdown lists. -->
199 <attr name="dropdownListPreferredItemHeight" format="dimension"/>
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700200 <!-- Default Spinner style. -->
201 <attr name="spinnerDropDownItemStyle" format="reference" />
202 <!-- Specifies a drawable to use for the 'home as up' indicator. -->
203 <attr name="homeAsUpIndicator" format="reference"/>
204
205 <!-- Default action button style. -->
206 <attr name="actionButtonStyle" format="reference"/>
207
Chris Banes16fb73e2015-02-16 18:24:06 +0000208 <!-- Style for button bars -->
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700209 <attr name="buttonBarStyle" format="reference"/>
Chris Banes16fb73e2015-02-16 18:24:06 +0000210 <!-- Style for buttons within button bars -->
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700211 <attr name="buttonBarButtonStyle" format="reference"/>
212 <!-- A style that may be applied to buttons or other selectable items
213 that should react to pressed and focus states, but that do not
214 have a clear visual border along the edges. -->
215 <attr name="selectableItemBackground" format="reference"/>
216 <!-- Background drawable for borderless standalone items that need focus/pressed states. -->
217 <attr name="selectableItemBackgroundBorderless" format="reference" />
Qiwen Zhao8b220422015-05-18 09:49:01 -0700218 <!-- Style for buttons without an explicit border, often used in groups. -->
219 <attr name="borderlessButtonStyle" format="reference" />
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700220 <!-- A drawable that may be used as a vertical divider between visual elements. -->
221 <attr name="dividerVertical" format="reference"/>
222 <!-- A drawable that may be used as a horizontal divider between visual elements. -->
223 <attr name="dividerHorizontal" format="reference"/>
224 <!-- Default ActivityChooserView style. -->
225 <attr name="activityChooserViewStyle" format="reference" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700226
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700227 <!-- Default Toolbar style. -->
228 <attr name="toolbarStyle" format="reference" />
229 <!-- Default Toolar NavigationButtonStyle -->
230 <attr name="toolbarNavigationButtonStyle" format="reference" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700231
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700232 <!-- Default PopupMenu style. -->
233 <attr name="popupMenuStyle" format="reference"/>
234 <!-- Default PopupWindow style. -->
235 <attr name="popupWindowStyle" format="reference" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700236
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700237 <!-- EditText text foreground color. -->
238 <attr name="editTextColor" format="reference|color" />
239 <!-- EditText background drawable. -->
240 <attr name="editTextBackground" format="reference" />
241
242 <!-- ============================ -->
243 <!-- SearchView styles and assets -->
244 <!-- ============================ -->
245 <eat-comment />
246 <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. -->
247 <attr name="textAppearanceSearchResultTitle" format="reference" />
248 <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. -->
249 <attr name="textAppearanceSearchResultSubtitle" format="reference" />
250 <!-- Text color for urls in search suggestions, used by things like global search -->
251 <attr name="textColorSearchUrl" format="reference|color" />
252 <!-- Style for the search query widget. -->
253 <attr name="searchViewStyle" format="reference" />
254
255 <!-- =========== -->
256 <!-- List styles -->
257 <!-- =========== -->
258 <eat-comment />
259
260 <!-- The preferred list item height. -->
261 <attr name="listPreferredItemHeight" format="dimension"/>
262 <!-- A smaller, sleeker list item height. -->
263 <attr name="listPreferredItemHeightSmall" format="dimension"/>
264 <!-- A larger, more robust list item height. -->
265 <attr name="listPreferredItemHeightLarge" format="dimension"/>
266
267 <!-- The preferred padding along the left edge of list items. -->
268 <attr name="listPreferredItemPaddingLeft" format="dimension"/>
269 <!-- The preferred padding along the right edge of list items. -->
270 <attr name="listPreferredItemPaddingRight" format="dimension"/>
271
272 <!-- ListPopupWindow compatibility -->
273 <attr name="dropDownListViewStyle" format="reference"/>
274 <attr name="listPopupWindowStyle" format="reference"/>
275
276 <!-- The preferred TextAppearance for the primary text of list items. -->
277 <attr name="textAppearanceListItem" format="reference"/>
278 <!-- The preferred TextAppearance for the primary text of small list items. -->
279 <attr name="textAppearanceListItemSmall" format="reference"/>
Ying Wang3fbe0d42014-07-14 17:26:42 -0700280
281
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700282 <!-- ============ -->
283 <!-- Panel styles -->
284 <!-- ============ -->
285 <eat-comment />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700286
Qiwen Zhao6b64ed42014-10-07 10:21:28 -0700287 <!-- The background of a panel when it is inset from the left and right edges of the screen. -->
288 <attr name="panelBackground" format="reference" />
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700289 <!-- Default Panel Menu width. -->
290 <attr name="panelMenuListWidth" format="dimension" />
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700291 <!-- Default Panel Menu style. -->
292 <attr name="panelMenuListTheme" format="reference" />
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700293 <!-- Drawable used as a background for selected list items. -->
294 <attr name="listChoiceBackgroundIndicator" format="reference" />
295
296 <!-- ============= -->
297 <!-- Color palette -->
298 <!-- ============= -->
299 <eat-comment />
300
301 <!-- The primary branding color for the app. By default, this is the color applied to the
302 action bar background. -->
303 <attr name="colorPrimary" format="color" />
304
305 <!-- Dark variant of the primary branding color. By default, this is the color applied to
306 the status bar (via statusBarColor) and navigation bar (via navigationBarColor). -->
307 <attr name="colorPrimaryDark" format="color" />
308
309 <!-- Bright complement to the primary branding color. By default, this is the color applied
310 to framework controls (via colorControlActivated). -->
311 <attr name="colorAccent" format="color" />
312
313 <!-- The color applied to framework controls in their normal state. -->
314 <attr name="colorControlNormal" format="color" />
315
316 <!-- The color applied to framework controls in their activated (ex. checked) state. -->
317 <attr name="colorControlActivated" format="color" />
318
319 <!-- The color applied to framework control highlights (ex. ripples, list selectors). -->
320 <attr name="colorControlHighlight" format="color" />
321
322 <!-- The color applied to framework buttons in their normal state. -->
323 <attr name="colorButtonNormal" format="color" />
324
Qiwen Zhao6b64ed42014-10-07 10:21:28 -0700325 <!-- The color applied to framework switch thumbs in their normal state. -->
326 <attr name="colorSwitchThumbNormal" format="color" />
327
Qiwen Zhao8b220422015-05-18 09:49:01 -0700328 <!-- The background used by framework controls. -->
329 <attr name="controlBackground" format="reference" />
330
Chris Banes8ac0dd32015-03-02 09:04:03 +0000331 <!-- ============ -->
332 <!-- Alert Dialog styles -->
333 <!-- ============ -->
334 <eat-comment />
335 <attr name="alertDialogStyle" format="reference" />
336 <attr name="alertDialogButtonGroupStyle" format="reference" />
337 <attr name="alertDialogCenterButtons" format="boolean" />
338 <!-- Theme to use for alert dialogs spawned from this theme. -->
339 <attr name="alertDialogTheme" format="reference" />
340
341 <!-- Color of list item text in alert dialogs. -->
342 <attr name="textColorAlertDialogListItem" format="reference|color" />
343
344 <!-- Style for the "positive" buttons within button bars -->
345 <attr name="buttonBarPositiveButtonStyle" format="reference" />
346
347 <!-- Style for the "negative" buttons within button bars -->
348 <attr name="buttonBarNegativeButtonStyle" format="reference" />
349
350 <!-- Style for the "neutral" buttons within button bars -->
351 <attr name="buttonBarNeutralButtonStyle" format="reference" />
352
353 <!-- ===================== -->
354 <!-- Default widget styles -->
355 <!-- ===================== -->
356 <eat-comment />
357
358 <!-- Default AutoCompleteTextView style. -->
359 <attr name="autoCompleteTextViewStyle" format="reference" />
360 <!-- Normal Button style. -->
361 <attr name="buttonStyle" format="reference" />
362 <!-- Small Button style. -->
363 <attr name="buttonStyleSmall" format="reference" />
364 <!-- Default Checkbox style. -->
365 <attr name="checkboxStyle" format="reference" />
366 <!-- Default CheckedTextView style. -->
367 <attr name="checkedTextViewStyle" format="reference" />
368 <!-- Default EditText style. -->
369 <attr name="editTextStyle" format="reference" />
370 <!-- Default RadioButton style. -->
371 <attr name="radioButtonStyle" format="reference" />
372 <!-- Default RatingBar style. -->
373 <attr name="ratingBarStyle" format="reference" />
374 <!-- Default Spinner style. -->
375 <attr name="spinnerStyle" format="reference" />
376 <!-- Default style for the Switch widget. -->
377 <attr name="switchStyle" format="reference" />
378
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700379 </declare-styleable>
Ying Wang3fbe0d42014-07-14 17:26:42 -0700380
381
382 <!-- ============================================ -->
383
384 <!-- Attributes used to style the Action Bar.
385 These should be set on your theme; the default actionBarStyle will
386 propagate them to the correct elements as needed.
387
388 Please Note: when overriding attributes for an ActionBar style
389 you must specify each attribute twice: once with the "android:"
390 namespace prefix and once without. -->
391 <declare-styleable name="ActionBar">
392 <!-- The type of navigation to use. -->
393 <attr name="navigationMode">
394 <!-- Normal static title text -->
395 <enum name="normal" value="0"/>
396 <!-- The action bar will use a selection list for navigation. -->
397 <enum name="listMode" value="1"/>
398 <!-- The action bar will use a series of horizontal tabs for navigation. -->
399 <enum name="tabMode" value="2"/>
400 </attr>
401 <!-- Options affecting how the action bar is displayed. -->
402 <attr name="displayOptions">
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700403 <flag name="none" value="0" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700404 <flag name="useLogo" value="0x1"/>
405 <flag name="showHome" value="0x2"/>
406 <flag name="homeAsUp" value="0x4"/>
407 <flag name="showTitle" value="0x8"/>
408 <flag name="showCustom" value="0x10"/>
409 <flag name="disableHome" value="0x20"/>
410 </attr>
411 <!-- Specifies title text used for navigationMode="normal" -->
412 <attr name="title"/>
413 <!-- Specifies subtitle text used for navigationMode="normal" -->
414 <attr name="subtitle" format="string"/>
415 <!-- Specifies a style to use for title text. -->
416 <attr name="titleTextStyle" format="reference"/>
417 <!-- Specifies a style to use for subtitle text. -->
418 <attr name="subtitleTextStyle" format="reference"/>
419 <!-- Specifies the drawable used for the application icon. -->
420 <attr name="icon" format="reference"/>
421 <!-- Specifies the drawable used for the application logo. -->
422 <attr name="logo" format="reference"/>
423 <!-- Specifies the drawable used for item dividers. -->
424 <attr name="divider" format="reference"/>
425 <!-- Specifies a background drawable for the action bar. -->
426 <attr name="background" format="reference"/>
427 <!-- Specifies a background drawable for a second stacked row of the action bar. -->
428 <attr name="backgroundStacked" format="reference|color"/>
429 <!-- Specifies a background drawable for the bottom component of a split action bar. -->
430 <attr name="backgroundSplit" format="reference|color"/>
431 <!-- Specifies a layout for custom navigation. Overrides navigationMode. -->
432 <attr name="customNavigationLayout" format="reference"/>
433 <!-- Specifies a fixed height. -->
434 <attr name="height"/>
435 <!-- Specifies a layout to use for the "home" section of the action bar. -->
436 <attr name="homeLayout" format="reference"/>
437 <!-- Specifies a style resource to use for an embedded progress bar. -->
438 <attr name="progressBarStyle" format="reference"/>
439 <!-- Specifies a style resource to use for an indeterminate progress spinner. -->
440 <attr name="indeterminateProgressStyle" format="reference"/>
441 <!-- Specifies the horizontal padding on either end for an embedded progress bar. -->
442 <attr name="progressBarPadding" format="dimension"/>
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700443 <!-- Up navigation glyph -->
444 <attr name="homeAsUpIndicator" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700445 <!-- Specifies padding that should be applied to the left and right sides of
446 system-provided items in the bar. -->
447 <attr name="itemPadding" format="dimension"/>
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700448 <!-- Set true to hide the action bar on a vertical nested scroll of content. -->
449 <attr name="hideOnContentScroll" format="boolean"/>
450 <!-- Minimum inset for content views within a bar. Navigation buttons and
451 menu views are excepted. Only valid for some themes and configurations. -->
452 <attr name="contentInsetStart" format="dimension"/>
453 <!-- Minimum inset for content views within a bar. Navigation buttons and
454 menu views are excepted. Only valid for some themes and configurations. -->
455 <attr name="contentInsetEnd" format="dimension"/>
456 <!-- Minimum inset for content views within a bar. Navigation buttons and
457 menu views are excepted. Only valid for some themes and configurations. -->
458 <attr name="contentInsetLeft" format="dimension"/>
459 <!-- Minimum inset for content views within a bar. Navigation buttons and
460 menu views are excepted. Only valid for some themes and configurations. -->
461 <attr name="contentInsetRight" format="dimension"/>
462 <!-- Elevation for the action bar itself -->
463 <attr name="elevation" format="dimension" />
464 <!-- Reference to a theme that should be used to inflate popups
465 shown by widgets in the action bar. -->
466 <attr name="popupTheme" format="reference" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700467 </declare-styleable>
468
469 <!-- Valid LayoutParams for views placed in the action bar as custom views. -->
470 <declare-styleable name="ActionBarLayout">
471 <attr name="android:layout_gravity"/>
472 </declare-styleable>
473
474 <declare-styleable name="ActionMenuItemView">
475 <attr name="android:minWidth"/>
476 </declare-styleable>
477
478 <declare-styleable name="ActionMode">
479 <!-- Specifies a style to use for title text. -->
480 <attr name="titleTextStyle"/>
481 <!-- Specifies a style to use for subtitle text. -->
482 <attr name="subtitleTextStyle"/>
483 <!-- Specifies a background for the action mode bar. -->
484 <attr name="background"/>
485 <!-- Specifies a background for the split action mode bar. -->
486 <attr name="backgroundSplit"/>
487 <!-- Specifies a fixed height for the action mode bar. -->
488 <attr name="height"/>
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700489 <!-- Specifies a layout to use for the "close" item at the starting edge. -->
490 <attr name="closeItemLayout" format="reference" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700491 </declare-styleable>
492
493 <declare-styleable name="View">
494 <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. -->
495 <attr name="paddingStart" format="dimension"/>
496 <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. -->
497 <attr name="paddingEnd" format="dimension"/>
Ying Wang3fbe0d42014-07-14 17:26:42 -0700498 <!-- Boolean that controls whether a view can take focus. By default the user can not
499 move focus to a view; by setting this attribute to true the view is
500 allowed to take focus. This value does not impact the behavior of
501 directly calling {@link android.view.View#requestFocus}, which will
502 always request focus regardless of this view. It only impacts where
503 focus navigation will try to move focus. -->
504 <attr name="android:focusable" />
Chris Banes16fb73e2015-02-16 18:24:06 +0000505 <!-- Deprecated. -->
506 <attr name="theme" format="reference" />
Chris Banes16fb73e2015-02-16 18:24:06 +0000507 <!-- Specifies a theme override for a view. When a theme override is set, the
508 view will be inflated using a {@link android.content.Context} themed with
509 the specified resource. -->
510 <attr name="android:theme" />
Qiwen Zhao8b220422015-05-18 09:49:01 -0700511 </declare-styleable>
Chris Banes16fb73e2015-02-16 18:24:06 +0000512
Qiwen Zhao8b220422015-05-18 09:49:01 -0700513 <declare-styleable name="ViewBackgroundHelper">
514 <attr name="android:background" />
Chris Banes16fb73e2015-02-16 18:24:06 +0000515 <!-- Tint to apply to the background. -->
516 <attr name="backgroundTint" format="color" />
517
518 <!-- Blending mode used to apply the background tint. -->
519 <attr name="backgroundTintMode">
520 <!-- The tint is drawn on top of the drawable.
521 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
522 <enum name="src_over" value="3" />
523 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
524 color channels are thrown out. [Sa * Da, Sc * Da] -->
525 <enum name="src_in" value="5" />
526 <!-- The tint is drawn above the drawable, but with the drawable’s alpha
527 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
528 <enum name="src_atop" value="9" />
529 <!-- Multiplies the color and alpha channels of the drawable with those of
530 the tint. [Sa * Da, Sc * Dc] -->
531 <enum name="multiply" value="14" />
532 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
533 <enum name="screen" value="15" />
534 </attr>
Ying Wang3fbe0d42014-07-14 17:26:42 -0700535 </declare-styleable>
536
Ying Wang3fbe0d42014-07-14 17:26:42 -0700537 <declare-styleable name="MenuView">
538 <!-- Default appearance of menu item text. -->
539 <attr name="android:itemTextAppearance"/>
540 <!-- Default horizontal divider between rows of menu items. -->
541 <attr name="android:horizontalDivider"/>
542 <!-- Default vertical divider between menu items. -->
543 <attr name="android:verticalDivider"/>
544 <!-- Default background for the menu header. -->
545 <attr name="android:headerBackground"/>
546 <!-- Default background for each menu item. -->
547 <attr name="android:itemBackground"/>
548 <!-- Default animations for the menu. -->
549 <attr name="android:windowAnimationStyle"/>
550 <!-- Default disabled icon alpha for each menu item that shows an icon. -->
551 <attr name="android:itemIconDisabledAlpha"/>
552 <!-- Whether space should be reserved in layout when an icon is missing. -->
Qiwen Zhao6b64ed42014-10-07 10:21:28 -0700553 <attr name="preserveIconSpacing" format="boolean" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700554 </declare-styleable>
555 <declare-styleable name="ActionMenuView">
556 <!-- Size of padding on either end of a divider. -->
557 </declare-styleable>
558
559 <!-- Base attributes that are available to all groups. -->
560 <declare-styleable name="MenuGroup">
561
562 <!-- The ID of the group. -->
563 <attr name="android:id" />
564
565 <!-- The category applied to all items within this group.
566 (This will be or'ed with the orderInCategory attribute.) -->
567 <attr name="android:menuCategory" />
568
569 <!-- The order within the category applied to all items within this group.
570 (This will be or'ed with the category attribute.) -->
571 <attr name="android:orderInCategory" />
572
573 <!-- Whether the items are capable of displaying a check mark. -->
574 <attr name="android:checkableBehavior" />
575
576 <!-- Whether the items are shown/visible. -->
577 <attr name="android:visible" />
578
579 <!-- Whether the items are enabled. -->
580 <attr name="android:enabled" />
581
582 </declare-styleable>
583
584 <!-- Base attributes that are available to all Item objects. -->
585 <declare-styleable name="MenuItem">
586
587 <!-- The ID of the item. -->
588 <attr name="android:id" />
589
590 <!-- The category applied to the item.
591 (This will be or'ed with the orderInCategory attribute.) -->
592 <attr name="android:menuCategory" />
593
594 <!-- The order within the category applied to the item.
595 (This will be or'ed with the category attribute.) -->
596 <attr name="android:orderInCategory" />
597
598 <!-- The title associated with the item. -->
599 <attr name="android:title" />
600
601 <!-- The condensed title associated with the item. This is used in situations where the
602 normal title may be too long to be displayed. -->
603 <attr name="android:titleCondensed" />
604
605 <!-- The icon associated with this item. This icon will not always be shown, so
606 the title should be sufficient in describing this item. -->
607 <attr name="android:icon" />
608
609 <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard
610 with alphabetic keys. -->
611 <attr name="android:alphabeticShortcut" />
612
613 <!-- The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key)
614 keyboard. -->
615 <attr name="android:numericShortcut" />
616
617 <!-- Whether the item is capable of displaying a check mark. -->
618 <attr name="android:checkable" />
619
620 <!-- Whether the item is checked. Note that you must first have enabled checking with
621 the checkable attribute or else the check mark will not appear. -->
622 <attr name="android:checked" />
623
624 <!-- Whether the item is shown/visible. -->
625 <attr name="android:visible" />
626
627 <!-- Whether the item is enabled. -->
628 <attr name="android:enabled" />
629
630 <!-- Name of a method on the Context used to inflate the menu that will be
631 called when the item is clicked. -->
632 <attr name="android:onClick" />
633
634 <!-- How this item should display in the Action Bar, if present. -->
635 <attr name="showAsAction">
636 <!-- Never show this item in an action bar, show it in the overflow menu instead.
637 Mutually exclusive with "ifRoom" and "always". -->
638 <flag name="never" value="0" />
639 <!-- Show this item in an action bar if there is room for it as determined
640 by the system. Favor this option over "always" where possible.
641 Mutually exclusive with "never" and "always". -->
642 <flag name="ifRoom" value="1" />
643 <!-- Always show this item in an actionbar, even if it would override
644 the system's limits of how much stuff to put there. This may make
645 your action bar look bad on some screens. In most cases you should
646 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". -->
647 <flag name="always" value="2" />
648 <!-- When this item is shown as an action in the action bar, show a text
649 label with it even if it has an icon representation. -->
650 <flag name="withText" value="4" />
651 <!-- This item's action view collapses to a normal menu
652 item. When expanded, the action view takes over a
653 larger segment of its container. -->
654 <flag name="collapseActionView" value="8" />
655 </attr>
656
657 <!-- An optional layout to be used as an action view.
658 See {@link android.view.MenuItem#setActionView(android.view.View)}
659 for more info. -->
660 <attr name="actionLayout" format="reference" />
661
662 <!-- The name of an optional View class to instantiate and use as an
663 action view. See {@link android.view.MenuItem#setActionView(android.view.View)}
664 for more info. -->
665 <attr name="actionViewClass" format="string" />
666
667 <!-- The name of an optional ActionProvider class to instantiate an action view
668 and perform operations such as default action for that menu item.
669 See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)}
670 for more info. -->
671 <attr name="actionProviderClass" format="string" />
672
673 </declare-styleable>
674
675 <declare-styleable name="Spinner">
676 <!-- The prompt to display when the spinner's dialog is shown. -->
677 <attr name="prompt" format="reference" />
678 <!-- Display mode for spinner options. -->
679 <attr name="spinnerMode" format="enum">
680 <!-- Spinner options will be presented to the user as a dialog window. -->
681 <enum name="dialog" value="0" />
682 <!-- Spinner options will be presented to the user as an inline dropdown
683 anchored to the spinner widget itself. -->
684 <enum name="dropdown" value="1" />
685 </attr>
686 <!-- List selector to use for spinnerMode="dropdown" display. -->
687 <attr name="android:dropDownSelector" />
688 <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". -->
689 <attr name="android:popupBackground" />
690 <!-- Vertical offset from the spinner widget for positioning the dropdown in
691 spinnerMode="dropdown". -->
692 <attr name="android:dropDownVerticalOffset" />
693 <!-- Horizontal offset from the spinner widget for positioning the dropdown
694 in spinnerMode="dropdown". -->
695 <attr name="android:dropDownHorizontalOffset" />
696 <!-- Width of the dropdown in spinnerMode="dropdown". -->
697 <attr name="android:dropDownWidth" />
698 <!-- Reference to a layout to use for displaying a prompt in the dropdown for
699 spinnerMode="dropdown". This layout must contain a TextView with the id
700 {@code @android:id/text1} to be populated with the prompt text. -->
701 <attr name="popupPromptView" format="reference" />
702 <!-- Gravity setting for positioning the currently selected item. -->
703 <attr name="android:gravity" />
704 <!-- Whether this spinner should mark child views as enabled/disabled when
705 the spinner itself is enabled/disabled. -->
706 <attr name="disableChildrenWhenDisabled" format="boolean" />
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700707 <attr name="android:background" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700708 </declare-styleable>
709
Ying Wang3fbe0d42014-07-14 17:26:42 -0700710 <declare-styleable name="SearchView">
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700711 <!-- The layout to use for the search view. -->
712 <attr name="layout" format="reference" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700713 <!-- The default state of the SearchView. If true, it will be iconified when not in
714 use and expanded when clicked. -->
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700715 <attr name="iconifiedByDefault" format="boolean" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700716 <!-- An optional maximum width of the SearchView. -->
717 <attr name="android:maxWidth" />
Qiwen Zhaoc0f7a2e2015-05-06 08:16:21 -0700718 <!-- An optional user-defined query hint string to be displayed in the empty query field. -->
Ying Wang3fbe0d42014-07-14 17:26:42 -0700719 <attr name="queryHint" format="string" />
Qiwen Zhaoc0f7a2e2015-05-06 08:16:21 -0700720 <!-- Default query hint used when {@code queryHint} is undefined and
721 the search view's {@code SearchableInfo} does not provide a hint. -->
722 <attr name="defaultQueryHint" format="string" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700723 <!-- The IME options to set on the query text field. -->
724 <attr name="android:imeOptions" />
725 <!-- The input type to set on the query text field. -->
726 <attr name="android:inputType" />
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700727 <!-- Close button icon -->
728 <attr name="closeIcon" format="reference" />
729 <!-- Go button icon -->
730 <attr name="goIcon" format="reference" />
731 <!-- Search icon -->
732 <attr name="searchIcon" format="reference" />
Chris Banes16fb73e2015-02-16 18:24:06 +0000733 <!-- Search icon displayed as a text field hint -->
734 <attr name="searchHintIcon" format="reference" />
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700735 <!-- Voice button icon -->
736 <attr name="voiceIcon" format="reference" />
737 <!-- Commit icon shown in the query suggestion row -->
738 <attr name="commitIcon" format="reference" />
739 <!-- Layout for query suggestion rows -->
740 <attr name="suggestionRowLayout" format="reference" />
741 <!-- Background for the section containing the search query -->
742 <attr name="queryBackground" format="reference" />
743 <!-- Background for the section containing the action (e.g. voice search) -->
744 <attr name="submitBackground" format="reference" />
745 <attr name="android:focusable" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700746 </declare-styleable>
747
Ying Wang3fbe0d42014-07-14 17:26:42 -0700748 <!-- Attrbitutes for a ActivityChooserView. -->
749 <declare-styleable name="ActivityChooserView">
750 <!-- The maximal number of items initially shown in the activity list. -->
751 <attr name="initialActivityCount" format="string" />
752 <!-- The drawable to show in the button for expanding the activities overflow popup.
753 <strong>Note:</strong> Clients would like to set this drawable
754 as a clue about the action the chosen activity will perform. For
755 example, if share activity is to be chosen the drawable should
756 give a clue that sharing is to be performed.
757 -->
758 <attr name="expandActivityOverflowButtonDrawable" format="reference" />
759 </declare-styleable>
760
Chris Banes8ac0dd32015-03-02 09:04:03 +0000761 <declare-styleable name="AppCompatTextView">
Ying Wang3fbe0d42014-07-14 17:26:42 -0700762 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. -->
763 <attr name="textAllCaps" format="reference|boolean" />
Chris Banes16fb73e2015-02-16 18:24:06 +0000764 <attr name="android:textAppearance" />
Ying Wang3fbe0d42014-07-14 17:26:42 -0700765 </declare-styleable>
766
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700767 <declare-styleable name="LinearLayoutCompat">
768 <!-- Should the layout be a column or a row? Use "horizontal"
769 for a row, "vertical" for a column. The default is
770 horizontal. -->
771 <attr name="android:orientation" />
772 <attr name="android:gravity" />
773 <!-- When set to false, prevents the layout from aligning its children's
774 baselines. This attribute is particularly useful when the children
775 use different values for gravity. The default value is true. -->
776 <attr name="android:baselineAligned" />
777 <!-- When a linear layout is part of another layout that is baseline
778 aligned, it can specify which of its children to baseline align to
779 (that is, which child TextView).-->
780 <attr name="android:baselineAlignedChildIndex" />
781 <!-- Defines the maximum weight sum. If unspecified, the sum is computed
782 by adding the layout_weight of all of the children. This can be
783 used for instance to give a single child 50% of the total available
784 space by giving it a layout_weight of 0.5 and setting the weightSum
785 to 1.0. -->
786 <attr name="android:weightSum" />
787 <!-- When set to true, all children with a weight will be considered having
788 the minimum size of the largest child. If false, all children are
789 measured normally. -->
790 <attr name="measureWithLargestChild" format="boolean" />
791 <!-- Drawable to use as a vertical divider between buttons. -->
792 <attr name="divider" />
793 <!-- Setting for which dividers to show. -->
794 <attr name="showDividers">
795 <flag name="none" value="0" />
796 <flag name="beginning" value="1" />
797 <flag name="middle" value="2" />
798 <flag name="end" value="4" />
799 </attr>
800 <!-- Size of padding on either end of a divider. -->
801 <attr name="dividerPadding" format="dimension" />
802 </declare-styleable>
803
804 <declare-styleable name="LinearLayoutCompat_Layout">
805 <attr name="android:layout_width" />
806 <attr name="android:layout_height" />
807 <attr name="android:layout_weight" />
808 <attr name="android:layout_gravity" />
809 </declare-styleable>
810
811 <declare-styleable name="Toolbar">
812 <attr name="titleTextAppearance" format="reference" />
813 <attr name="subtitleTextAppearance" format="reference" />
814 <attr name="title" />
815 <attr name="subtitle" />
816 <attr name="android:gravity" />
817 <attr name="titleMargins" format="dimension" />
818 <attr name="titleMarginStart" format="dimension" />
819 <attr name="titleMarginEnd" format="dimension" />
820 <attr name="titleMarginTop" format="dimension" />
821 <attr name="titleMarginBottom" format="dimension" />
822 <attr name="contentInsetStart" />
823 <attr name="contentInsetEnd" />
824 <attr name="contentInsetLeft" />
825 <attr name="contentInsetRight" />
826 <attr name="maxButtonHeight" format="dimension" />
827
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700828 <attr name="collapseIcon" format="reference" />
Chris Banes16fb73e2015-02-16 18:24:06 +0000829 <!-- Text to set as the content description for the collapse button. -->
830 <attr name="collapseContentDescription" format="string" />
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700831 <!-- Reference to a theme that should be used to inflate popups
832 shown by widgets in the toolbar. -->
833 <attr name="popupTheme" />
834 <!-- Icon drawable to use for the navigation button located at
835 the start of the toolbar. -->
836 <attr name="navigationIcon" format="reference" />
837 <!-- Text to set as the content description for the navigation button
838 located at the start of the toolbar. -->
839 <attr name="navigationContentDescription" format="string" />
Qiwen Zhao6b64ed42014-10-07 10:21:28 -0700840
841 <!-- Allows us to read in the minHeight attr pre-v16 -->
842 <attr name="android:minHeight" />
Sandeep Siddharthafbcf1022014-09-16 13:57:56 -0700843 </declare-styleable>
844
845 <declare-styleable name="PopupWindowBackgroundState">
846 <!-- State identifier indicating the popup will be above the anchor. -->
847 <attr name="state_above_anchor" format="boolean" />
848 </declare-styleable>
849
850 <declare-styleable name="ListPopupWindow">
851 <!-- Amount of pixels by which the drop down should be offset vertically. -->
852 <attr name="android:dropDownVerticalOffset" />
853 <!-- Amount of pixels by which the drop down should be offset horizontally. -->
854 <attr name="android:dropDownHorizontalOffset" />
855 </declare-styleable>
856
857 <declare-styleable name="PopupWindow">
858 <!-- Whether the popup window should overlap its anchor view. -->
859 <attr name="overlapAnchor" format="boolean" />
860 <attr name="android:popupBackground" />
861 </declare-styleable>
862
863 <declare-styleable name="DrawerArrowToggle">
864 <!-- The drawing color for the bars -->
865 <attr name="color" format="color"/>
866 <!-- Whether bars should rotate or not during transition -->
867 <attr name="spinBars" format="boolean"/>
868 <!-- The total size of the drawable -->
869 <attr name="drawableSize" format="dimension"/>
870 <!-- The max gap between the bars when they are parallel to each other -->
871 <attr name="gapBetweenBars" format="dimension"/>
872 <!-- The size of the top and bottom bars when they merge to the middle bar to form an arrow -->
873 <attr name="topBottomBarArrowSize" format="dimension"/>
874 <!-- The size of the middle bar when top and bottom bars merge into middle bar to form an arrow -->
875 <attr name="middleBarArrowSize" format="dimension"/>
876 <!-- The size of the bars when they are parallel to each other -->
877 <attr name="barSize" format="dimension"/>
878 <!-- The thickness (stroke size) for the bar paint -->
879 <attr name="thickness" format="dimension"/>
880 </declare-styleable>
881
882 <attr name="drawerArrowStyle" format="reference" />
883
Qiwen Zhao6b64ed42014-10-07 10:21:28 -0700884 <declare-styleable name="ViewStubCompat">
885 <!-- Supply an identifier for the layout resource to inflate when the ViewStub
886 becomes visible or when forced to do so. The layout resource must be a
887 valid reference to a layout. -->
888 <attr name="android:layout" />
889 <!-- Overrides the id of the inflated View with this value. -->
890 <attr name="android:inflatedId" />
891 <attr name="android:id" />
892 </declare-styleable>
893
Qiwen Zhao8b220422015-05-18 09:49:01 -0700894 <declare-styleable name="CompoundButton">
895 <attr name="android:button"/>
896 <!-- Tint to apply to the button drawable. -->
897 <attr name="buttonTint" format="color" />
898
899 <!-- Blending mode used to apply the button tint. -->
900 <attr name="buttonTintMode">
901 <!-- The tint is drawn on top of the drawable.
902 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] -->
903 <enum name="src_over" value="3" />
904 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s
905 color channels are thrown out. [Sa * Da, Sc * Da] -->
906 <enum name="src_in" value="5" />
907 <!-- The tint is drawn above the drawable, but with the drawable’s alpha
908 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] -->
909 <enum name="src_atop" value="9" />
910 <!-- Multiplies the color and alpha channels of the drawable with those of
911 the tint. [Sa * Da, Sc * Dc] -->
912 <enum name="multiply" value="14" />
913 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] -->
914 <enum name="screen" value="15" />
915 </attr>
916 </declare-styleable>
917
Qiwen Zhao6b64ed42014-10-07 10:21:28 -0700918 <declare-styleable name="SwitchCompat">
919 <!-- Drawable to use as the "thumb" that switches back and forth. -->
920 <attr name="android:thumb" />
921 <!-- Drawable to use as the "track" that the switch thumb slides within. -->
922 <attr name="track" format="reference" />
923 <!-- Text to use when the switch is in the checked/"on" state. -->
924 <attr name="android:textOn" />
925 <!-- Text to use when the switch is in the unchecked/"off" state. -->
926 <attr name="android:textOff" />
927 <!-- Amount of padding on either side of text within the switch thumb. -->
928 <attr name="thumbTextPadding" format="dimension" />
929 <!-- TextAppearance style for text displayed on the switch thumb. -->
930 <attr name="switchTextAppearance" format="reference" />
931 <!-- Minimum width for the switch component -->
932 <attr name="switchMinWidth" format="dimension" />
933 <!-- Minimum space between the switch and caption text -->
934 <attr name="switchPadding" format="dimension" />
935 <!-- Whether to split the track and leave a gap for the thumb drawable. -->
936 <attr name="splitTrack" format="boolean" />
937 <!-- Whether to draw on/off text. -->
938 <attr name="showText" format="boolean" />
939 </declare-styleable>
940
Chris Banes16fb73e2015-02-16 18:24:06 +0000941 <declare-styleable name="TextAppearance">
942 <attr name="android:textSize" />
943 <attr name="android:textColor" />
944 <attr name="android:textStyle" />
945 <attr name="android:typeface" />
946 <attr name="textAllCaps" />
947 </declare-styleable>
948
Chris Banes8ac0dd32015-03-02 09:04:03 +0000949 <!-- The set of attributes that describe a AlertDialog's theme. -->
950 <declare-styleable name="AlertDialog">
951 <attr name="android:layout" />
952 <attr name="buttonPanelSideLayout" format="reference" />
953 <attr name="listLayout" format="reference" />
954 <attr name="multiChoiceItemLayout" format="reference" />
955 <attr name="singleChoiceItemLayout" format="reference" />
956 <attr name="listItemLayout" format="reference" />
957 </declare-styleable>
958
Ying Wang3fbe0d42014-07-14 17:26:42 -0700959</resources>