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