attrs.xml revision 5f560d056243638a83a4e7770035fdb66004c9d7
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 <!-- Default color of background imagery, ex. full-screen windows. --> 35 <attr name="colorBackground" format="color" /> 36 <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. --> 37 <attr name="colorBackgroundFloating" format="color" /> 38 <!-- This is a hint for a solid color that can be used for caching 39 rendered views. This should be the color of the background when 40 there is a solid background color; it should be null when the 41 background is a texture or translucent. When a device is able 42 to use accelerated drawing (thus setting state_accelerated), the 43 cache hint is ignored and always assumed to be transparent. --> 44 <attr name="colorBackgroundCacheHint" format="color" /> 45 46 <!-- Default highlight color for items that are pressed. --> 47 <attr name="colorPressedHighlight" format="color" /> 48 <!-- Default highlight color for items that are long-pressed. --> 49 <attr name="colorLongPressedHighlight" format="color" /> 50 <!-- Default highlight color for items that are 51 focused. (Focused meaning cursor-based selection.) --> 52 <attr name="colorFocusedHighlight" format="color" /> 53 <!-- Default highlight color for items that are 54 activated. (Activated meaning persistent selection.) --> 55 <attr name="colorActivatedHighlight" format="color" /> 56 <!-- Default highlight color for items in multiple selection 57 mode. --> 58 <attr name="colorMultiSelectHighlight" format="color" /> 59 60 <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. --> 61 <attr name="disabledAlpha" format="float" /> 62 <!-- Default background dim amount when a menu, dialog, or something similar pops up. --> 63 <attr name="backgroundDimAmount" format="float" /> 64 <!-- Control whether dimming behind the window is enabled. The default 65 theme does not set this value, meaning it is based on whether the 66 window is floating. --> 67 <attr name="backgroundDimEnabled" format="boolean" /> 68 69 <!-- =========== --> 70 <!-- Text styles --> 71 <!-- =========== --> 72 <eat-comment /> 73 74 <!-- Default appearance of text: color, typeface, size, and style. --> 75 <attr name="textAppearance" format="reference" /> 76 <!-- Default appearance of text against an inverted background: 77 color, typeface, size, and style. --> 78 <attr name="textAppearanceInverse" format="reference" /> 79 80 <!-- The most prominent text color. --> 81 <attr name="textColorPrimary" format="reference|color" /> 82 <!-- Secondary text color. --> 83 <attr name="textColorSecondary" format="reference|color" /> 84 <!-- Tertiary text color. --> 85 <attr name="textColorTertiary" format="reference|color" /> 86 87 <!-- Primary inverse text color, useful for inverted backgrounds. --> 88 <attr name="textColorPrimaryInverse" format="reference|color" /> 89 <!-- Secondary inverse text color, useful for inverted backgrounds. --> 90 <attr name="textColorSecondaryInverse" format="reference|color" /> 91 <!-- Tertiary inverse text color, useful for inverted backgrounds. --> 92 <attr name="textColorTertiaryInverse" format="reference|color" /> 93 94 <!-- Inverse hint text color. --> 95 <attr name="textColorHintInverse" format="reference|color" /> 96 97 <!-- Bright text color. Only differentiates based on the disabled state. --> 98 <attr name="textColorPrimaryDisableOnly" format="reference|color" /> 99 100 <!-- Bright inverse text color. Only differentiates based on the disabled state. --> 101 <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" /> 102 103 <!-- Bright text color. This does not differentiate the disabled state. As an example, 104 buttons use this since they display the disabled state via the background and not the 105 foreground text color. --> 106 <attr name="textColorPrimaryNoDisable" format="reference|color" /> 107 <!-- Dim text color. This does not differentiate the disabled state. --> 108 <attr name="textColorSecondaryNoDisable" format="reference|color" /> 109 110 <!-- Bright inverse text color. This does not differentiate the disabled state. --> 111 <attr name="textColorPrimaryInverseNoDisable" format="reference|color" /> 112 <!-- Dim inverse text color. This does not differentiate the disabled state. --> 113 <attr name="textColorSecondaryInverseNoDisable" format="reference|color" /> 114 115 <!-- Bright text color for use over activated backgrounds. --> 116 <attr name="textColorPrimaryActivated" format="reference|color" /> 117 <!-- Dim text color for use over activated backgrounds. --> 118 <attr name="textColorSecondaryActivated" format="reference|color" /> 119 120 <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide --> 121 <attr name="textColorSearchUrl" format="reference|color" /> 122 123 <!-- Color of highlighted text, when used in a light theme. --> 124 <attr name="textColorHighlightInverse" format="reference|color" /> 125 <!-- Color of link text (URLs), when used in a light theme. --> 126 <attr name="textColorLinkInverse" format="reference|color" /> 127 128 <!-- Color of list item text in alert dialogs. --> 129 <attr name="textColorAlertDialogListItem" format="reference|color" /> 130 131 <!-- Search widget more corpus result item background. --> 132 <attr name="searchWidgetCorpusItemBackground" format="reference|color" /> 133 134 <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. --> 135 <attr name="textAppearanceLarge" format="reference" /> 136 <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. --> 137 <attr name="textAppearanceMedium" format="reference" /> 138 <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. --> 139 <attr name="textAppearanceSmall" format="reference" /> 140 141 <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. --> 142 <attr name="textAppearanceLargeInverse" format="reference" /> 143 <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. --> 144 <attr name="textAppearanceMediumInverse" format="reference" /> 145 <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. --> 146 <attr name="textAppearanceSmallInverse" format="reference" /> 147 148 <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. --> 149 <attr name="textAppearanceSearchResultTitle" format="reference" /> 150 <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. --> 151 <attr name="textAppearanceSearchResultSubtitle" format="reference" /> 152 153 <!-- Text color, typeface, size, and style for the text inside of a button. --> 154 <attr name="textAppearanceButton" format="reference" /> 155 156 <!-- Text color, typeface, size, and style for the text inside of a popup menu. --> 157 <attr name="textAppearanceLargePopupMenu" format="reference" /> 158 159 <!-- Text color, typeface, size, and style for small text inside of a popup menu. --> 160 <attr name="textAppearanceSmallPopupMenu" format="reference" /> 161 162 <!-- The underline color and thickness for easy correct suggestion --> 163 <attr name="textAppearanceEasyCorrectSuggestion" format="reference" /> 164 165 <!-- The underline color and thickness for misspelled suggestion --> 166 <attr name="textAppearanceMisspelledSuggestion" format="reference" /> 167 168 <!-- The underline color and thickness for auto correction suggestion --> 169 <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" /> 170 171 <!-- The underline color --> 172 <attr name="textUnderlineColor" format="reference|color" /> 173 <!-- The underline thickness --> 174 <attr name="textUnderlineThickness" format="reference|dimension" /> 175 176 <!-- EditText text foreground color. --> 177 <attr name="editTextColor" format="reference|color" /> 178 <!-- EditText background drawable. --> 179 <attr name="editTextBackground" format="reference" /> 180 181 <!-- Popup text displayed in TextView when setError is used. --> 182 <attr name="errorMessageBackground" format="reference" /> 183 <!-- Background used instead of errorMessageBackground when the popup has to be above. --> 184 <attr name="errorMessageAboveBackground" format="reference" /> 185 186 <!-- A styled string, specifying the style to be used for showing 187 inline candidate text when composing with an input method. The 188 text itself will be ignored, but the style spans will be applied 189 to the candidate text as it is edited. --> 190 <attr name="candidatesTextStyleSpans" format="reference|string" /> 191 192 <!-- Drawable to use for check marks. --> 193 <attr name="textCheckMark" format="reference" /> 194 <attr name="textCheckMarkInverse" format="reference" /> 195 196 <!-- Drawable to use for multiple choice indicators. --> 197 <attr name="listChoiceIndicatorMultiple" format="reference" /> 198 199 <!-- Drawable to use for single choice indicators. --> 200 <attr name="listChoiceIndicatorSingle" format="reference" /> 201 202 <!-- Drawable used as a background for selected list items. --> 203 <attr name="listChoiceBackgroundIndicator" format="reference" /> 204 205 <!-- Drawable used as a background for activated items. --> 206 <attr name="activatedBackgroundIndicator" format="reference" /> 207 208 <!-- ============= --> 209 <!-- Button styles --> 210 <!-- ============= --> 211 <eat-comment /> 212 213 <!-- Normal Button style. --> 214 <attr name="buttonStyle" format="reference" /> 215 216 <!-- Small Button style. --> 217 <attr name="buttonStyleSmall" format="reference" /> 218 219 <!-- Button style to inset into an EditText. --> 220 <attr name="buttonStyleInset" format="reference" /> 221 222 <!-- ToggleButton style. --> 223 <attr name="buttonStyleToggle" format="reference" /> 224 225 <!-- ============== --> 226 <!-- Gallery styles --> 227 <!-- ============== --> 228 <eat-comment /> 229 230 <!-- The preferred background for gallery items. This should be set 231 as the background of any Views you provide from the Adapter. --> 232 <attr name="galleryItemBackground" format="reference" /> 233 234 <!-- =========== --> 235 <!-- List styles --> 236 <!-- =========== --> 237 <eat-comment /> 238 239 <!-- The preferred list item height. --> 240 <attr name="listPreferredItemHeight" format="dimension" /> 241 <!-- A smaller, sleeker list item height. --> 242 <attr name="listPreferredItemHeightSmall" format="dimension" /> 243 <!-- A larger, more robust list item height. --> 244 <attr name="listPreferredItemHeightLarge" format="dimension" /> 245 <!-- The list item height for search results. @hide --> 246 <attr name="searchResultListItemHeight" format="dimension" /> 247 248 <!-- The preferred padding along the left edge of list items. --> 249 <attr name="listPreferredItemPaddingLeft" format="dimension" /> 250 <!-- The preferred padding along the right edge of list items. --> 251 <attr name="listPreferredItemPaddingRight" format="dimension" /> 252 253 <!-- The preferred TextAppearance for the primary text of list items. --> 254 <attr name="textAppearanceListItem" format="reference" /> 255 <!-- The preferred TextAppearance for the secondary text of list items. --> 256 <attr name="textAppearanceListItemSecondary" format="reference" /> 257 <!-- The preferred TextAppearance for the primary text of small list items. --> 258 <attr name="textAppearanceListItemSmall" format="reference" /> 259 260 <!-- The drawable for the list divider. --> 261 <attr name="listDivider" format="reference" /> 262 <!-- The list divider used in alert dialogs. --> 263 <attr name="listDividerAlertDialog" format="reference" /> 264 <!-- TextView style for list separators. --> 265 <attr name="listSeparatorTextViewStyle" format="reference" /> 266 <!-- The preferred left padding for an expandable list item (for child-specific layouts, 267 use expandableListPreferredChildPaddingLeft). This takes into account 268 the indicator that will be shown to next to the item. --> 269 <attr name="expandableListPreferredItemPaddingLeft" format="dimension" /> 270 <!-- The preferred left padding for an expandable list item that is a child. 271 If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. --> 272 <attr name="expandableListPreferredChildPaddingLeft" format="dimension" /> 273 <!-- The preferred left bound for an expandable list item's indicator. For a child-specific 274 indicator, use expandableListPreferredChildIndicatorLeft. --> 275 <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" /> 276 <!-- The preferred right bound for an expandable list item's indicator. For a child-specific 277 indicator, use expandableListPreferredChildIndicatorRight. --> 278 <attr name="expandableListPreferredItemIndicatorRight" format="dimension" /> 279 <!-- The preferred left bound for an expandable list child's indicator. --> 280 <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" /> 281 <!-- The preferred right bound for an expandable list child's indicator. --> 282 <attr name="expandableListPreferredChildIndicatorRight" format="dimension" /> 283 284 <!-- The preferred item height for dropdown lists. --> 285 <attr name="dropdownListPreferredItemHeight" format="dimension" /> 286 287 <!-- The preferred padding along the start edge of list items. --> 288 <attr name="listPreferredItemPaddingStart" format="dimension" /> 289 <!-- The preferred padding along the end edge of list items. --> 290 <attr name="listPreferredItemPaddingEnd" format="dimension" /> 291 292 <!-- ============= --> 293 <!-- Window styles --> 294 <!-- ============= --> 295 <eat-comment /> 296 297 <!-- Drawable to use as the overall window background. As of 298 {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may 299 be a selector that uses state_accelerated to pick a non-solid 300 color when running on devices that can draw such a bitmap 301 with complex compositing on top at 60fps. 302 303 <p>There are a few special considerations to use when setting this 304 drawable: 305 <ul> 306 <li> This information will be used to infer the pixel format 307 for your window's surface. If the drawable has any 308 non-opaque pixels, your window will be translucent 309 (32 bpp). 310 <li> If you want to draw the entire background 311 yourself, you should set this drawable to some solid 312 color that closely matches that background (so the 313 system's preview of your window will match), and 314 then in code manually set your window's background to 315 null so it will not be drawn. 316 </ul> --> 317 <attr name="windowBackground" format="reference" /> 318 <!-- Drawable to draw selectively within the inset areas when the windowBackground 319 has been set to null. This protects against seeing visual garbage in the 320 surface when the app has not drawn any content into this area. --> 321 <attr name="windowBackgroundFallback" format="reference" /> 322 <!-- Drawable to use as a frame around the window. --> 323 <attr name="windowFrame" format="reference" /> 324 <!-- Flag indicating whether there should be no title on this window. --> 325 <attr name="windowNoTitle" format="boolean" /> 326 <!-- Flag indicating whether this window should fill the entire screen. Corresponds 327 to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. --> 328 <attr name="windowFullscreen" format="boolean" /> 329 <!-- Flag indicating whether this window should extend into overscan region. Corresponds 330 to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. --> 331 <attr name="windowOverscan" format="boolean" /> 332 <!-- Flag indicating whether this is a floating window. --> 333 <attr name="windowIsFloating" format="boolean" /> 334 <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but 335 not if set to false), the window might still be considered translucent, if 336 windowSwipeToDismiss is set to true. --> 337 <attr name="windowIsTranslucent" format="boolean" /> 338 <!-- Flag indicating that this window's background should be the 339 user's current wallpaper. Corresponds 340 to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. --> 341 <attr name="windowShowWallpaper" format="boolean" /> 342 <!-- This Drawable is overlaid over the foreground of the Window's content area, usually 343 to place a shadow below the title. --> 344 <attr name="windowContentOverlay" format="reference" /> 345 <!-- The style resource to use for a window's title bar height. --> 346 <attr name="windowTitleSize" format="dimension" /> 347 <!-- The style resource to use for a window's title text. --> 348 <attr name="windowTitleStyle" format="reference" /> 349 <!-- The style resource to use for a window's title area. --> 350 <attr name="windowTitleBackgroundStyle" format="reference" /> 351 352 <!-- Reference to a style resource holding 353 the set of window animations to use, which can be 354 any of the attributes defined by 355 {@link android.R.styleable#WindowAnimation}. --> 356 <attr name="windowAnimationStyle" format="reference" /> 357 358 <!-- Flag indicating whether this window should have an Action Bar 359 in place of the usual title bar. --> 360 <attr name="windowActionBar" format="boolean" /> 361 362 <!-- Flag indicating whether this window's Action Bar should overlay 363 application content. Does nothing if the window would not 364 have an Action Bar. --> 365 <attr name="windowActionBarOverlay" format="boolean" /> 366 367 <!-- Flag indicating whether action modes should overlay window content 368 when there is not reserved space for their UI (such as an Action Bar). --> 369 <attr name="windowActionModeOverlay" format="boolean" /> 370 371 <!-- Defines the default soft input state that this window would 372 like when it is displayed. Corresponds 373 to {@link android.view.WindowManager.LayoutParams#softInputMode}. --> 374 <attr name="windowSoftInputMode"> 375 <!-- Not specified, use what the system thinks is best. This 376 is the default. --> 377 <flag name="stateUnspecified" value="0" /> 378 <!-- Leave the soft input window as-is, in whatever state it 379 last was. --> 380 <flag name="stateUnchanged" value="1" /> 381 <!-- Make the soft input area hidden when normally appropriate 382 (when the user is navigating forward to your window). --> 383 <flag name="stateHidden" value="2" /> 384 <!-- Always make the soft input area hidden when this window 385 has input focus. --> 386 <flag name="stateAlwaysHidden" value="3" /> 387 <!-- Make the soft input area visible when normally appropriate 388 (when the user is navigating forward to your window). --> 389 <flag name="stateVisible" value="4" /> 390 <!-- Always make the soft input area visible when this window 391 has input focus. --> 392 <flag name="stateAlwaysVisible" value="5" /> 393 394 <!-- The window resize/pan adjustment has not been specified, 395 the system will automatically select between resize and pan 396 modes, depending 397 on whether the content of the window has any layout views 398 that can scroll their contents. If there is such a view, 399 then the window will be resized, with the assumption being 400 that the resizeable area can be reduced to make room for 401 the input UI. --> 402 <flag name="adjustUnspecified" value="0x00" /> 403 <!-- Always resize the window: the content area of the window is 404 reduced to make room for the soft input area. --> 405 <flag name="adjustResize" value="0x10" /> 406 <!-- Don't resize the window to make room for the soft input area; 407 instead pan the contents of the window as focus moves inside 408 of it so that the user can see what they are typing. This is 409 generally less desireable than panning because the user may 410 need to close the input area to get at and interact with 411 parts of the window. --> 412 <flag name="adjustPan" value="0x20" /> 413 <!-- Don't resize <em>or</em> pan the window to make room for the 414 soft input area; the window is never adjusted for it. --> 415 <flag name="adjustNothing" value="0x30" /> 416 </attr> 417 418 <!-- Flag allowing you to disable the preview animation for a window. 419 The default value is false; if set to true, the system can never 420 use the window's theme to show a preview of it before your 421 actual instance is shown to the user. --> 422 <attr name="windowDisablePreview" format="boolean" /> 423 424 <!-- Flag indicating that this window should not be displayed at all. 425 The default value is false; if set to true, and this window is 426 the main window of an Activity, then it will never actually 427 be added to the window manager. This means that your activity 428 must immediately quit without waiting for user interaction, 429 because there will be no such interaction coming. --> 430 <attr name="windowNoDisplay" format="boolean" /> 431 432 <!-- Flag indicating that this window should allow touches to be split 433 across other windows that also support split touch. 434 The default value is true for applications with a targetSdkVersion 435 of Honeycomb or newer; false otherwise. 436 When this flag is false, the first pointer that goes down determines 437 the window to which all subsequent touches go until all pointers go up. 438 When this flag is true, each pointer (not necessarily the first) that 439 goes down determines the window to which all subsequent touches of that 440 pointer will go until that pointers go up thereby enabling touches 441 with multiple pointers to be split across multiple windows. --> 442 <attr name="windowEnableSplitTouch" format="boolean" /> 443 444 <!-- Control whether a container should automatically close itself if 445 the user touches outside of it. This only applies to activities 446 and dialogs. 447 448 <p>Note: this attribute will only be respected for applications 449 that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB} 450 or later. --> 451 <attr name="windowCloseOnTouchOutside" format="boolean" /> 452 453 <!-- Flag indicating whether this window requests a translucent status bar. Corresponds 454 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. --> 455 <attr name="windowTranslucentStatus" format="boolean" /> 456 457 <!-- Flag indicating whether this window requests a translucent navigation bar. Corresponds 458 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. --> 459 <attr name="windowTranslucentNavigation" format="boolean" /> 460 461 <!-- Flag to indicate that a window can be swiped away to be dismissed. 462 Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also 463 dynamically change translucency of the window, if the windowIsTranslucent is not set. 464 If windowIsTranslucent is set (to either true or false) it will obey that setting. --> 465 <attr name="windowSwipeToDismiss" format="boolean" /> 466 467 <!-- Flag indicating whether this window requests that content changes be performed 468 as scene changes with transitions. Corresponds to 469 {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. --> 470 <attr name="windowContentTransitions" format="boolean" /> 471 472 <!-- Reference to a TransitionManager XML resource defining the desired 473 transitions between different window content. --> 474 <attr name="windowContentTransitionManager" format="reference" /> 475 476 <!-- Flag indicating whether this window allows Activity Transitions. 477 Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. --> 478 <attr name="windowActivityTransitions" format="boolean" /> 479 480 <!-- Reference to a Transition XML resource defining the desired Transition 481 used to move Views into the initial Window's content Scene. Corresponds to 482 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 483 <attr name="windowEnterTransition" format="reference"/> 484 485 <!-- Reference to a Transition XML resource defining the desired Transition 486 used to move Views out of the scene when the Window is 487 preparing to close. Corresponds to 488 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 489 <attr name="windowReturnTransition" format="reference"/> 490 491 <!-- Reference to a Transition XML resource defining the desired Transition 492 used to move Views out of the Window's content Scene when launching a new Activity. 493 Corresponds to 494 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 495 <attr name="windowExitTransition" format="reference"/> 496 497 <!-- Reference to a Transition XML resource defining the desired Transition 498 used to move Views in to the scene when returning from a previously-started Activity. 499 Corresponds to 500 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 501 <attr name="windowReenterTransition" format="reference"/> 502 503 <!-- Reference to a Transition XML resource defining the desired Transition 504 used to move shared elements transferred into the Window's initial content Scene. 505 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 506 android.transition.Transition)}. --> 507 <attr name="windowSharedElementEnterTransition" format="reference"/> 508 509 <!-- Reference to a Transition XML resource defining the desired Transition 510 used to move shared elements transferred back to a calling Activity. 511 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 512 android.transition.Transition)}. --> 513 <attr name="windowSharedElementReturnTransition" format="reference"/> 514 515 <!-- Reference to a Transition XML resource defining the desired Transition 516 used when starting a new Activity to move shared elements prior to transferring 517 to the called Activity. 518 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 519 android.transition.Transition)}. --> 520 <attr name="windowSharedElementExitTransition" format="reference"/> 521 522 <!-- Reference to a Transition XML resource defining the desired Transition 523 used for shared elements transferred back to a calling Activity. 524 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 525 android.transition.Transition)}. --> 526 <attr name="windowSharedElementReenterTransition" format="reference"/> 527 528 <!-- Flag indicating whether this Window's transition should overlap with 529 the exiting transition of the calling Activity. Corresponds to 530 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> 531 <attr name="windowAllowEnterTransitionOverlap" format="boolean"/> 532 533 <!-- Flag indicating whether this Window's transition should overlap with 534 the exiting transition of the called Activity when the called Activity 535 finishes. Corresponds to 536 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. --> 537 <attr name="windowAllowReturnTransitionOverlap" format="boolean"/> 538 539 <!-- Indicates whether or not shared elements should use an overlay 540 during transitions. The default value is true. --> 541 <attr name="windowSharedElementsUseOverlay" format="boolean"/> 542 543 <!-- Internal layout used internally for window decor --> 544 <attr name="windowActionBarFullscreenDecorLayout" format="reference" /> 545 546 <!-- The duration, in milliseconds, of the window background fade duration 547 when transitioning into or away from an Activity when called with an 548 Activity Transition. Corresponds to 549 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 550 <attr name="windowTransitionBackgroundFadeDuration" format="integer"/> 551 552 <!-- ============ --> 553 <!-- Alert Dialog styles --> 554 <!-- ============ --> 555 <eat-comment /> 556 <attr name="alertDialogStyle" format="reference" /> 557 <attr name="alertDialogButtonGroupStyle" format="reference" /> 558 <attr name="alertDialogCenterButtons" format="boolean" /> 559 560 <!-- ============== --> 561 <!-- Image elements --> 562 <!-- ============== --> 563 <eat-comment /> 564 565 <!-- Background that can be used behind parts of a UI that provide 566 details on data the user is selecting. For example, this is 567 the background element of PreferenceActivity's embedded 568 preference fragment. --> 569 <attr name="detailsElementBackground" format="reference" /> 570 571 <!-- ============ --> 572 <!-- Panel styles --> 573 <!-- ============ --> 574 <eat-comment /> 575 576 <!-- The background of a panel when it is inset from the left and right edges of the screen. --> 577 <attr name="panelBackground" format="reference|color" /> 578 <!-- The background of a panel when it extends to the left and right edges of the screen. --> 579 <attr name="panelFullBackground" format="reference|color" /> 580 <!-- Default color of foreground panel imagery. --> 581 <attr name="panelColorForeground" format="reference|color" /> 582 <!-- Color that matches (as closely as possible) the panel background. --> 583 <attr name="panelColorBackground" format="reference|color" /> 584 <!-- Default appearance of panel text. --> 585 <attr name="panelTextAppearance" format="reference" /> 586 587 <attr name="panelMenuIsCompact" format="boolean" /> 588 <attr name="panelMenuListWidth" format="dimension" /> 589 <attr name="panelMenuListTheme" format="reference" /> 590 591 <!-- =================== --> 592 <!-- Other widget styles --> 593 <!-- =================== --> 594 <eat-comment /> 595 596 <!-- Default AbsListView style. --> 597 <attr name="absListViewStyle" format="reference" /> 598 <!-- Default AutoCompleteTextView style. --> 599 <attr name="autoCompleteTextViewStyle" format="reference" /> 600 <!-- Default Checkbox style. --> 601 <attr name="checkboxStyle" format="reference" /> 602 <!-- Default CheckedTextView style. --> 603 <attr name="checkedTextViewStyle" format="reference" /> 604 <!-- Default ListView style for drop downs. --> 605 <attr name="dropDownListViewStyle" format="reference" /> 606 <!-- Default EditText style. --> 607 <attr name="editTextStyle" format="reference" /> 608 <!-- Default ExpandableListView style. --> 609 <attr name="expandableListViewStyle" format="reference" /> 610 <!-- ExpandableListView with white background. --> 611 <attr name="expandableListViewWhiteStyle" format="reference" /> 612 <!-- Default Gallery style. --> 613 <attr name="galleryStyle" format="reference" /> 614 <!-- Default GestureOverlayView style. --> 615 <attr name="gestureOverlayViewStyle" format="reference" /> 616 <!-- Default GridView style. --> 617 <attr name="gridViewStyle" format="reference" /> 618 <!-- The style resource to use for an ImageButton. --> 619 <attr name="imageButtonStyle" format="reference" /> 620 <!-- The style resource to use for an ImageButton that is an image well. --> 621 <attr name="imageWellStyle" format="reference" /> 622 <!-- Default ListView style. --> 623 <attr name="listViewStyle" format="reference" /> 624 <!-- ListView with white background. --> 625 <attr name="listViewWhiteStyle" format="reference" /> 626 <!-- Default PopupWindow style. --> 627 <attr name="popupWindowStyle" format="reference" /> 628 <!-- Default ProgressBar style. This is a medium circular progress bar. --> 629 <attr name="progressBarStyle" format="reference" /> 630 <!-- Horizontal ProgressBar style. This is a horizontal progress bar. --> 631 <attr name="progressBarStyleHorizontal" format="reference" /> 632 <!-- Small ProgressBar style. This is a small circular progress bar. --> 633 <attr name="progressBarStyleSmall" format="reference" /> 634 <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. --> 635 <attr name="progressBarStyleSmallTitle" format="reference" /> 636 <!-- Large ProgressBar style. This is a large circular progress bar. --> 637 <attr name="progressBarStyleLarge" format="reference" /> 638 <!-- Inverse ProgressBar style. This is a medium circular progress bar. --> 639 <attr name="progressBarStyleInverse" format="reference" /> 640 <!-- Small inverse ProgressBar style. This is a small circular progress bar. --> 641 <attr name="progressBarStyleSmallInverse" format="reference" /> 642 <!-- Large inverse ProgressBar style. This is a large circular progress bar. --> 643 <attr name="progressBarStyleLargeInverse" format="reference" /> 644 <!-- Default SeekBar style. --> 645 <attr name="seekBarStyle" format="reference" /> 646 <!-- Default RatingBar style. --> 647 <attr name="ratingBarStyle" format="reference" /> 648 <!-- Indicator RatingBar style. --> 649 <attr name="ratingBarStyleIndicator" format="reference" /> 650 <!-- Small indicator RatingBar style. --> 651 <attr name="ratingBarStyleSmall" format="reference" /> 652 <!-- Default RadioButton style. --> 653 <attr name="radioButtonStyle" format="reference" /> 654 <!-- Default ScrollView style. --> 655 <attr name="scrollViewStyle" format="reference" /> 656 <!-- Default HorizontalScrollView style. --> 657 <attr name="horizontalScrollViewStyle" format="reference" /> 658 <!-- Default Spinner style. --> 659 <attr name="spinnerStyle" format="reference" /> 660 <!-- Default dropdown Spinner style. --> 661 <attr name="dropDownSpinnerStyle" format="reference" /> 662 <!-- Default ActionBar dropdown style. --> 663 <attr name="actionDropDownStyle" format="reference" /> 664 <!-- Default action button style. --> 665 <attr name="actionButtonStyle" format="reference" /> 666 <!-- Default Star style. --> 667 <attr name="starStyle" format="reference" /> 668 <!-- Default TabWidget style. --> 669 <attr name="tabWidgetStyle" format="reference" /> 670 <!-- Default TextView style. --> 671 <attr name="textViewStyle" format="reference" /> 672 <!-- Default WebTextView style. --> 673 <attr name="webTextViewStyle" format="reference" /> 674 <!-- Default WebView style. --> 675 <attr name="webViewStyle" format="reference" /> 676 <!-- Default style for drop down items. --> 677 <attr name="dropDownItemStyle" format="reference" /> 678 <!-- Default style for spinner drop down items. --> 679 <attr name="spinnerDropDownItemStyle" format="reference" /> 680 <!-- Default style for drop down hints. --> 681 <attr name="dropDownHintAppearance" format="reference" /> 682 <!-- Default spinner item style. --> 683 <attr name="spinnerItemStyle" format="reference" /> 684 <!-- Default MapView style. --> 685 <attr name="mapViewStyle" format="reference" /> 686 <!-- Drawable used as an overlay on top of quickcontact photos. --> 687 <attr name="quickContactBadgeOverlay" format="reference" /> 688 <!-- Default quickcontact badge style with small quickcontact window. --> 689 <attr name="quickContactBadgeStyleWindowSmall" format="reference" /> 690 <!-- Default quickcontact badge style with medium quickcontact window. --> 691 <attr name="quickContactBadgeStyleWindowMedium" format="reference" /> 692 <!-- Default quickcontact badge style with large quickcontact window. --> 693 <attr name="quickContactBadgeStyleWindowLarge" format="reference" /> 694 <!-- Default quickcontact badge style with small quickcontact window. --> 695 <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" /> 696 <!-- Default quickcontact badge style with medium quickcontact window. --> 697 <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" /> 698 <!-- Default quickcontact badge style with large quickcontact window. --> 699 <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" /> 700 <!-- Reference to a style that will be used for the window containing a text 701 selection anchor. --> 702 <attr name="textSelectHandleWindowStyle" format="reference" /> 703 <!-- Reference to a style that will be used for the window containing a list of possible 704 text suggestions in an EditText. --> 705 <attr name="textSuggestionsWindowStyle" format="reference" /> 706 <!-- Default ListPopupWindow style. --> 707 <attr name="listPopupWindowStyle" format="reference" /> 708 <!-- Default PopupMenu style. --> 709 <attr name="popupMenuStyle" format="reference" /> 710 <!-- Default StackView style. --> 711 <attr name="stackViewStyle" format="reference" /> 712 713 <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated 714 starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). --> 715 <attr name="fragmentBreadCrumbsStyle" format="reference" /> 716 717 <!-- NumberPicker style. --> 718 <attr name="numberPickerStyle" format="reference" /> 719 720 <!-- The CalendarView style. --> 721 <attr name="calendarViewStyle" format="reference" /> 722 723 <!-- The TimePicker style. --> 724 <attr name="timePickerStyle" format="reference" /> 725 726 <!-- The TimePicker dialog theme. --> 727 <attr name="timePickerDialogTheme" format="reference" /> 728 729 <!-- The DatePicker style. --> 730 <attr name="datePickerStyle" format="reference" /> 731 732 <!-- The DatePicker dialog theme. --> 733 <attr name="datePickerDialogTheme" format="reference" /> 734 735 <!-- Default ActivityChooserView style. --> 736 <attr name="activityChooserViewStyle" format="reference" /> 737 738 <!-- Default Toolbar style. --> 739 <attr name="toolbarStyle" format="reference" /> 740 741 <!-- Fast scroller styles --> 742 <eat-comment /> 743 744 <!-- Drawable to use as the fast scroll thumb. --> 745 <attr name="fastScrollThumbDrawable" format="reference" /> 746 <!-- Drawable to use as the fast scroll index preview window background 747 when shown on the right. --> 748 <attr name="fastScrollPreviewBackgroundRight" format="reference" /> 749 <!-- Drawable to use as the fast scroll index preview window background 750 when shown on the left. --> 751 <attr name="fastScrollPreviewBackgroundLeft" format="reference" /> 752 <!-- Drawable to use as the track for the fast scroll thumb. 753 This may be null. --> 754 <attr name="fastScrollTrackDrawable" format="reference" /> 755 <!-- Position of the fast scroll index overlay window. --> 756 <attr name="fastScrollOverlayPosition"> 757 <enum name="floating" value="0" /> 758 <enum name="atThumb" value="1" /> 759 <enum name="aboveThumb" value="2" /> 760 </attr> 761 <!-- Text color for the fast scroll index overlay. Make sure it 762 plays nicely with fastScrollPreviewBackground[Left|Right]. --> 763 <attr name="fastScrollTextColor" format="color" /> 764 765 <!-- =================== --> 766 <!-- Action bar styles --> 767 <!-- =================== --> 768 <eat-comment /> 769 <!-- Default style for tabs within an action bar --> 770 <attr name="actionBarTabStyle" format="reference" /> 771 <attr name="actionBarTabBarStyle" format="reference" /> 772 <attr name="actionBarTabTextStyle" format="reference" /> 773 <attr name="actionOverflowButtonStyle" format="reference" /> 774 <attr name="actionOverflowMenuStyle" format="reference" /> 775 <!-- Reference to a theme that should be used to inflate popups 776 shown by widgets in the action bar. --> 777 <attr name="actionBarPopupTheme" format="reference" /> 778 <!-- Reference to a style for the Action Bar --> 779 <attr name="actionBarStyle" format="reference" /> 780 <!-- Reference to a style for the split Action Bar. This style 781 controls the split component that holds the menu/action 782 buttons. actionBarStyle is still used for the primary 783 bar. --> 784 <attr name="actionBarSplitStyle" format="reference" /> 785 <!-- Reference to a theme that should be used to inflate the 786 action bar. This will be inherited by any widget inflated 787 into the action bar. --> 788 <attr name="actionBarTheme" format="reference" /> 789 <!-- Reference to a theme that should be used to inflate widgets 790 and layouts destined for the action bar. Most of the time 791 this will be a reference to the current theme, but when 792 the action bar has a significantly different contrast 793 profile than the rest of the activity the difference 794 can become important. If this is set to @null the current 795 theme will be used.--> 796 <attr name="actionBarWidgetTheme" format="reference" /> 797 <!-- Size of the Action Bar, including the contextual 798 bar used to present Action Modes. --> 799 <attr name="actionBarSize" format="dimension" > 800 <enum name="wrap_content" value="0" /> 801 </attr> 802 <!-- Custom divider drawable to use for elements in the action bar. --> 803 <attr name="actionBarDivider" format="reference" /> 804 <!-- Custom item state list drawable background for action bar items. --> 805 <attr name="actionBarItemBackground" format="reference" /> 806 <!-- TextAppearance style that will be applied to text that 807 appears within action menu items. --> 808 <attr name="actionMenuTextAppearance" format="reference" /> 809 <!-- Color for text that appears within action menu items. --> 810 <attr name="actionMenuTextColor" format="color|reference" /> 811 812 <!-- =================== --> 813 <!-- Action mode styles --> 814 <!-- =================== --> 815 <eat-comment /> 816 <attr name="actionModeStyle" format="reference" /> 817 <attr name="actionModeCloseButtonStyle" format="reference" /> 818 <!-- Background drawable to use for action mode UI --> 819 <attr name="actionModeBackground" format="reference" /> 820 <!-- Background drawable to use for action mode UI in the lower split bar --> 821 <attr name="actionModeSplitBackground" format="reference" /> 822 <!-- Drawable to use for the close action mode button --> 823 <attr name="actionModeCloseDrawable" format="reference" /> 824 825 <!-- Drawable to use for the Cut action button in Contextual Action Bar --> 826 <attr name="actionModeCutDrawable" format="reference" /> 827 <!-- Drawable to use for the Copy action button in Contextual Action Bar --> 828 <attr name="actionModeCopyDrawable" format="reference" /> 829 <!-- Drawable to use for the Paste action button in Contextual Action Bar --> 830 <attr name="actionModePasteDrawable" format="reference" /> 831 <!-- Drawable to use for the Select all action button in Contextual Action Bar --> 832 <attr name="actionModeSelectAllDrawable" format="reference" /> 833 <!-- Drawable to use for the Share action button in WebView selection action modes --> 834 <attr name="actionModeShareDrawable" format="reference" /> 835 <!-- Drawable to use for the Find action button in WebView selection action modes --> 836 <attr name="actionModeFindDrawable" format="reference" /> 837 <!-- Drawable to use for the Web Search action button in WebView selection action modes --> 838 <attr name="actionModeWebSearchDrawable" format="reference" /> 839 840 <!-- PopupWindow style to use for action modes when showing as a window overlay. --> 841 <attr name="actionModePopupWindowStyle" format="reference" /> 842 843 <!-- =================== --> 844 <!-- Preference styles --> 845 <!-- =================== --> 846 <eat-comment /> 847 848 <!-- Default style for PreferenceScreen. --> 849 <attr name="preferenceScreenStyle" format="reference" /> 850 <!-- Default style for the PreferenceActivity. --> 851 <attr name="preferenceActivityStyle" format="reference" /> 852 <!-- Default style for Headers pane in PreferenceActivity. --> 853 <attr name="preferenceFragmentStyle" format="reference" /> 854 <!-- Default style for PreferenceCategory. --> 855 <attr name="preferenceCategoryStyle" format="reference" /> 856 <!-- Default style for Preference. --> 857 <attr name="preferenceStyle" format="reference" /> 858 <!-- Default style for informational Preference. --> 859 <attr name="preferenceInformationStyle" format="reference" /> 860 <!-- Default style for CheckBoxPreference. --> 861 <attr name="checkBoxPreferenceStyle" format="reference" /> 862 <!-- Default style for YesNoPreference. --> 863 <attr name="yesNoPreferenceStyle" format="reference" /> 864 <!-- Default style for DialogPreference. --> 865 <attr name="dialogPreferenceStyle" format="reference" /> 866 <!-- Default style for EditTextPreference. --> 867 <attr name="editTextPreferenceStyle" format="reference" /> 868 <!-- Default style for RingtonePreference. --> 869 <attr name="ringtonePreferenceStyle" format="reference" /> 870 <!-- The preference layout that has the child/tabbed effect. --> 871 <attr name="preferenceLayoutChild" format="reference" /> 872 <!-- Preference panel style --> 873 <attr name="preferencePanelStyle" format="reference" /> 874 <!-- Preference headers panel style --> 875 <attr name="preferenceHeaderPanelStyle" format="reference" /> 876 <!-- Preference list style --> 877 <attr name="preferenceListStyle" format="reference" /> 878 <!-- Preference fragment list style --> 879 <attr name="preferenceFragmentListStyle" format="reference" /> 880 <!-- Preference fragment padding side --> 881 <attr name="preferenceFragmentPaddingSide" format="dimension" /> 882 <!-- Default style for switch preferences. --> 883 <attr name="switchPreferenceStyle" format="reference" /> 884 <!-- Default style for seekbar preferences. --> 885 <attr name="seekBarPreferenceStyle" format="reference" /> 886 887 <!-- ============================ --> 888 <!-- Text selection handle styles --> 889 <!-- ============================ --> 890 <eat-comment /> 891 892 <!-- Reference to a drawable that will be used to display a text selection 893 anchor on the left side of a selection region. --> 894 <attr name="textSelectHandleLeft" format="reference" /> 895 <!-- Reference to a drawable that will be used to display a text selection 896 anchor on the right side of a selection region. --> 897 <attr name="textSelectHandleRight" format="reference" /> 898 <!-- Reference to a drawable that will be used to display a text selection 899 anchor for positioning the cursor within text. --> 900 <attr name="textSelectHandle" format="reference" /> 901 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 902 TextEdit field. --> 903 <attr name="textEditPasteWindowLayout" format="reference" /> 904 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 905 <attr name="textEditNoPasteWindowLayout" format="reference" /> 906 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 907 insertion cursor because it would be clipped if it were positioned on top. --> 908 <attr name="textEditSidePasteWindowLayout" format="reference" /> 909 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 910 <attr name="textEditSideNoPasteWindowLayout" format="reference" /> 911 912 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 913 <attr name="textEditSuggestionItemLayout" format="reference" /> 914 915 <!-- Theme to use for dialogs spawned from this theme. --> 916 <attr name="dialogTheme" format="reference" /> 917 <!-- Window decor layout to use in dialog mode with icons. --> 918 <attr name="dialogTitleIconsDecorLayout" format="reference" /> 919 <!-- Window decor layout to use in dialog mode with custom titles. --> 920 <attr name="dialogCustomTitleDecorLayout" format="reference" /> 921 <!-- Window decor layout to use in dialog mode with title only. --> 922 <attr name="dialogTitleDecorLayout" format="reference" /> 923 <!-- Preferred padding for dialog content. --> 924 <attr name="dialogPreferredPadding" format="dimension" /> 925 926 <!-- Theme to use for alert dialogs spawned from this theme. --> 927 <attr name="alertDialogTheme" format="reference" /> 928 <!-- Icon drawable to use for alerts --> 929 <attr name="alertDialogIcon" format="reference" /> 930 931 <!-- Theme to use for presentations spawned from this theme. --> 932 <attr name="presentationTheme" format="reference" /> 933 934 <!-- Drawable to use for generic vertical dividers. --> 935 <attr name="dividerVertical" format="reference" /> 936 937 <!-- Drawable to use for generic horizontal dividers. --> 938 <attr name="dividerHorizontal" format="reference" /> 939 940 <!-- Style for button bars --> 941 <attr name="buttonBarStyle" format="reference" /> 942 943 <!-- Style for buttons within button bars --> 944 <attr name="buttonBarButtonStyle" format="reference" /> 945 946 <!-- Style for the "positive" buttons within button bars --> 947 <attr name="buttonBarPositiveButtonStyle" format="reference" /> 948 949 <!-- Style for the "negative" buttons within button bars --> 950 <attr name="buttonBarNegativeButtonStyle" format="reference" /> 951 952 <!-- Style for the "neutral" buttons within button bars --> 953 <attr name="buttonBarNeutralButtonStyle" format="reference" /> 954 955 <!-- Style for the search query widget. --> 956 <attr name="searchViewStyle" format="reference" /> 957 958 <!-- Style for segmented buttons - a container that houses several buttons 959 with the appearance of a singel button broken into segments. --> 960 <attr name="segmentedButtonStyle" format="reference" /> 961 962 <!-- Background drawable for bordered standalone items that need focus/pressed states. --> 963 <attr name="selectableItemBackground" format="reference" /> 964 965 <!-- Background drawable for borderless standalone items that need focus/pressed states. --> 966 <attr name="selectableItemBackgroundBorderless" format="reference" /> 967 968 <!-- Style for buttons without an explicit border, often used in groups. --> 969 <attr name="borderlessButtonStyle" format="reference" /> 970 971 <!-- Background to use for toasts --> 972 <attr name="toastFrameBackground" format="reference" /> 973 974 <!-- Theme to use for Search Dialogs --> 975 <attr name="searchDialogTheme" format="reference" /> 976 977 <!-- Specifies a drawable to use for the 'home as up' indicator. --> 978 <attr name="homeAsUpIndicator" format="reference" /> 979 980 <!-- Preference frame layout styles. --> 981 <attr name="preferenceFrameLayoutStyle" format="reference" /> 982 983 <!-- Default style for the Switch widget. --> 984 <attr name="switchStyle" format="reference" /> 985 986 <!-- Default style for the MediaRouteButton widget. --> 987 <attr name="mediaRouteButtonStyle" format="reference" /> 988 989 <!-- ============== --> 990 <!-- Pointer styles --> 991 <!-- ============== --> 992 <eat-comment /> 993 994 <!-- Reference to the Pointer style --> 995 <attr name="pointerStyle" format="reference" /> 996 997 <!-- The drawable for accessibility focused views. --> 998 <attr name="accessibilityFocusedDrawable" format="reference" /> 999 1000 <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide --> 1001 <attr name="findOnPageNextDrawable" format="reference" /> 1002 1003 <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide --> 1004 <attr name="findOnPagePreviousDrawable" format="reference" /> 1005 1006 <!-- ============= --> 1007 <!-- Color palette --> 1008 <!-- ============= --> 1009 <eat-comment /> 1010 1011 <!-- The primary branding color for the app. By default, this is the color applied to the 1012 action bar background. --> 1013 <attr name="colorPrimary" format="color" /> 1014 1015 <!-- Dark variant of the primary branding color. By default, this is the color applied to 1016 the status bar (via statusBarColor) and navigation bar (via navigationBarColor). --> 1017 <attr name="colorPrimaryDark" format="color" /> 1018 1019 <!-- Bright complement to the primary branding color. By default, this is the color applied 1020 to framework controls (via colorControlActivated). --> 1021 <attr name="colorAccent" format="color" /> 1022 1023 <!-- The color applied to framework controls in their normal state. --> 1024 <attr name="colorControlNormal" format="color" /> 1025 1026 <!-- The color applied to framework controls in their activated (ex. checked) state. --> 1027 <attr name="colorControlActivated" format="color" /> 1028 1029 <!-- The color applied to framework control highlights (ex. ripples, list selectors). --> 1030 <attr name="colorControlHighlight" format="color" /> 1031 1032 <!-- The color applied to framework buttons in their normal state. --> 1033 <attr name="colorButtonNormal" format="color" /> 1034 1035 <!-- The color applied to framework switch thumbs in their normal state. --> 1036 <attr name="colorSwitchThumbNormal" format="color" /> 1037 1038 <!-- @hide The background used by framework controls. --> 1039 <attr name="controlBackground" format="reference" /> 1040 1041 <!-- The color applied to the edge effect on scrolling containers. --> 1042 <attr name="colorEdgeEffect" format="color" /> 1043 1044 <!-- =================== --> 1045 <!-- Lighting properties --> 1046 <!-- =================== --> 1047 <eat-comment /> 1048 1049 <!-- @hide The default Y position of the light used to project view shadows. --> 1050 <attr name="lightY" format="dimension" /> 1051 1052 <!-- @hide The default Z position of the light used to project view shadows. --> 1053 <attr name="lightZ" format="dimension" /> 1054 1055 <!-- @hide The default radius of the light used to project view shadows. --> 1056 <attr name="lightRadius" format="dimension" /> 1057 1058 <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. --> 1059 <attr name="ambientShadowAlpha" format="float" /> 1060 1061 <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. --> 1062 <attr name="spotShadowAlpha" format="float" /> 1063 </declare-styleable> 1064 1065 <!-- **************************************************************** --> 1066 <!-- Other non-theme attributes. --> 1067 <!-- **************************************************************** --> 1068 <eat-comment /> 1069 1070 <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). 1071 Supported values include the following:<p/> 1072 <ul> 1073 <li><b>px</b> Pixels</li> 1074 <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li> 1075 <li><b>pt</b> Points</li> 1076 <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li> 1077 </ul> 1078 --> 1079 <attr name="textSize" format="dimension" /> 1080 1081 <!-- Default font family. --> 1082 <attr name="fontFamily" format="string" /> 1083 1084 <!-- Default text typeface. --> 1085 <attr name="typeface"> 1086 <enum name="normal" value="0" /> 1087 <enum name="sans" value="1" /> 1088 <enum name="serif" value="2" /> 1089 <enum name="monospace" value="3" /> 1090 </attr> 1091 1092 <!-- Default text typeface style. --> 1093 <attr name="textStyle"> 1094 <flag name="normal" value="0" /> 1095 <flag name="bold" value="1" /> 1096 <flag name="italic" value="2" /> 1097 </attr> 1098 1099 <!-- Color of text (usually same as colorForeground). --> 1100 <attr name="textColor" format="reference|color" /> 1101 1102 <!-- Color of highlighted text. --> 1103 <attr name="textColorHighlight" format="reference|color" /> 1104 1105 <!-- Color of hint text (displayed when the field is empty). --> 1106 <attr name="textColorHint" format="reference|color" /> 1107 1108 <!-- Color of link text (URLs). --> 1109 <attr name="textColorLink" format="reference|color" /> 1110 1111 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 1112 <attr name="textCursorDrawable" format="reference" /> 1113 1114 <!-- Indicates that the content of a non-editable TextView can be selected. 1115 Default value is false. EditText content is always selectable. --> 1116 <attr name="textIsSelectable" format="boolean" /> 1117 1118 <!-- Where to ellipsize text. --> 1119 <attr name="ellipsize"> 1120 <enum name="none" value="0" /> 1121 <enum name="start" value="1" /> 1122 <enum name="middle" value="2" /> 1123 <enum name="end" value="3" /> 1124 <enum name="marquee" value="4" /> 1125 </attr> 1126 1127 <!-- The type of data being placed in a text field, used to help an 1128 input method decide how to let the user enter text. The constants 1129 here correspond to those defined by 1130 {@link android.text.InputType}. Generally you can select 1131 a single value, though some can be combined together as 1132 indicated. Setting this attribute to anything besides 1133 <var>none</var> also implies that the text is editable. --> 1134 <attr name="inputType"> 1135 <!-- There is no content type. The text is not editable. --> 1136 <flag name="none" value="0x00000000" /> 1137 <!-- Just plain old text. Corresponds to 1138 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1139 {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. --> 1140 <flag name="text" value="0x00000001" /> 1141 <!-- Can be combined with <var>text</var> and its variations to 1142 request capitalization of all characters. Corresponds to 1143 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. --> 1144 <flag name="textCapCharacters" value="0x00001001" /> 1145 <!-- Can be combined with <var>text</var> and its variations to 1146 request capitalization of the first character of every word. Corresponds to 1147 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. --> 1148 <flag name="textCapWords" value="0x00002001" /> 1149 <!-- Can be combined with <var>text</var> and its variations to 1150 request capitalization of the first character of every sentence. Corresponds to 1151 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. --> 1152 <flag name="textCapSentences" value="0x00004001" /> 1153 <!-- Can be combined with <var>text</var> and its variations to 1154 request auto-correction of text being input. Corresponds to 1155 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. --> 1156 <flag name="textAutoCorrect" value="0x00008001" /> 1157 <!-- Can be combined with <var>text</var> and its variations to 1158 specify that this field will be doing its own auto-completion and 1159 talking with the input method appropriately. Corresponds to 1160 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. --> 1161 <flag name="textAutoComplete" value="0x00010001" /> 1162 <!-- Can be combined with <var>text</var> and its variations to 1163 allow multiple lines of text in the field. If this flag is not set, 1164 the text field will be constrained to a single line. Corresponds to 1165 {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. --> 1166 <flag name="textMultiLine" value="0x00020001" /> 1167 <!-- Can be combined with <var>text</var> and its variations to 1168 indicate that though the regular text view should not be multiple 1169 lines, the IME should provide multiple lines if it can. Corresponds to 1170 {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. --> 1171 <flag name="textImeMultiLine" value="0x00040001" /> 1172 <!-- Can be combined with <var>text</var> and its variations to 1173 indicate that the IME should not show any 1174 dictionary-based word suggestions. Corresponds to 1175 {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. --> 1176 <flag name="textNoSuggestions" value="0x00080001" /> 1177 <!-- Text that will be used as a URI. Corresponds to 1178 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1179 {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. --> 1180 <flag name="textUri" value="0x00000011" /> 1181 <!-- Text that will be used as an e-mail address. Corresponds to 1182 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1183 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. --> 1184 <flag name="textEmailAddress" value="0x00000021" /> 1185 <!-- Text that is being supplied as the subject of an e-mail. Corresponds to 1186 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1187 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. --> 1188 <flag name="textEmailSubject" value="0x00000031" /> 1189 <!-- Text that is the content of a short message. Corresponds to 1190 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1191 {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. --> 1192 <flag name="textShortMessage" value="0x00000041" /> 1193 <!-- Text that is the content of a long message. Corresponds to 1194 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1195 {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. --> 1196 <flag name="textLongMessage" value="0x00000051" /> 1197 <!-- Text that is the name of a person. Corresponds to 1198 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1199 {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. --> 1200 <flag name="textPersonName" value="0x00000061" /> 1201 <!-- Text that is being supplied as a postal mailing address. Corresponds to 1202 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1203 {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. --> 1204 <flag name="textPostalAddress" value="0x00000071" /> 1205 <!-- Text that is a password. Corresponds to 1206 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1207 {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. --> 1208 <flag name="textPassword" value="0x00000081" /> 1209 <!-- Text that is a password that should be visible. Corresponds to 1210 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1211 {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. --> 1212 <flag name="textVisiblePassword" value="0x00000091" /> 1213 <!-- Text that is being supplied as text in a web form. Corresponds to 1214 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1215 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. --> 1216 <flag name="textWebEditText" value="0x000000a1" /> 1217 <!-- Text that is filtering some other data. Corresponds to 1218 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1219 {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. --> 1220 <flag name="textFilter" value="0x000000b1" /> 1221 <!-- Text that is for phonetic pronunciation, such as a phonetic name 1222 field in a contact entry. Corresponds to 1223 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1224 {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. --> 1225 <flag name="textPhonetic" value="0x000000c1" /> 1226 <!-- Text that will be used as an e-mail address on a web form. Corresponds to 1227 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1228 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. --> 1229 <flag name="textWebEmailAddress" value="0x000000d1" /> 1230 <!-- Text that will be used as a password on a web form. Corresponds to 1231 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1232 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. --> 1233 <flag name="textWebPassword" value="0x000000e1" /> 1234 <!-- A numeric only field. Corresponds to 1235 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1236 {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. --> 1237 <flag name="number" value="0x00000002" /> 1238 <!-- Can be combined with <var>number</var> and its other options to 1239 allow a signed number. Corresponds to 1240 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1241 {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. --> 1242 <flag name="numberSigned" value="0x00001002" /> 1243 <!-- Can be combined with <var>number</var> and its other options to 1244 allow a decimal (fractional) number. Corresponds to 1245 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1246 {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. --> 1247 <flag name="numberDecimal" value="0x00002002" /> 1248 <!-- A numeric password field. Corresponds to 1249 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1250 {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. --> 1251 <flag name="numberPassword" value="0x00000012" /> 1252 <!-- For entering a phone number. Corresponds to 1253 {@link android.text.InputType#TYPE_CLASS_PHONE}. --> 1254 <flag name="phone" value="0x00000003" /> 1255 <!-- For entering a date and time. Corresponds to 1256 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1257 {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. --> 1258 <flag name="datetime" value="0x00000004" /> 1259 <!-- For entering a date. Corresponds to 1260 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1261 {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. --> 1262 <flag name="date" value="0x00000014" /> 1263 <!-- For entering a time. Corresponds to 1264 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1265 {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. --> 1266 <flag name="time" value="0x00000024" /> 1267 </attr> 1268 1269 <!-- Additional features you can enable in an IME associated with an editor 1270 to improve the integration with your application. The constants 1271 here correspond to those defined by 1272 {@link android.view.inputmethod.EditorInfo#imeOptions}. --> 1273 <attr name="imeOptions"> 1274 <!-- There are no special semantics associated with this editor. --> 1275 <flag name="normal" value="0x00000000" /> 1276 <!-- There is no specific action associated with this editor, let the 1277 editor come up with its own if it can. 1278 Corresponds to 1279 {@link android.view.inputmethod.EditorInfo#IME_NULL}. --> 1280 <flag name="actionUnspecified" value="0x00000000" /> 1281 <!-- This editor has no action associated with it. 1282 Corresponds to 1283 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. --> 1284 <flag name="actionNone" value="0x00000001" /> 1285 <!-- The action key performs a "go" 1286 operation to take the user to the target of the text they typed. 1287 Typically used, for example, when entering a URL. 1288 Corresponds to 1289 {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. --> 1290 <flag name="actionGo" value="0x00000002" /> 1291 <!-- The action key performs a "search" 1292 operation, taking the user to the results of searching for the text 1293 the have typed (in whatever context is appropriate). 1294 Corresponds to 1295 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. --> 1296 <flag name="actionSearch" value="0x00000003" /> 1297 <!-- The action key performs a "send" 1298 operation, delivering the text to its target. This is typically used 1299 when composing a message. 1300 Corresponds to 1301 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. --> 1302 <flag name="actionSend" value="0x00000004" /> 1303 <!-- The action key performs a "next" 1304 operation, taking the user to the next field that will accept text. 1305 Corresponds to 1306 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. --> 1307 <flag name="actionNext" value="0x00000005" /> 1308 <!-- The action key performs a "done" 1309 operation, closing the soft input method. 1310 Corresponds to 1311 {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. --> 1312 <flag name="actionDone" value="0x00000006" /> 1313 <!-- The action key performs a "previous" 1314 operation, taking the user to the previous field that will accept text. 1315 Corresponds to 1316 {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. --> 1317 <flag name="actionPrevious" value="0x00000007" /> 1318 <!-- Used to request that the IME never go 1319 into fullscreen mode. Applications need to be aware that the flag is not 1320 a guarantee, and not all IMEs will respect it. 1321 <p>Corresponds to 1322 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1323 <flag name="flagNoFullscreen" value="0x2000000" /> 1324 <!-- Like flagNavigateNext, but 1325 specifies there is something interesting that a backward navigation 1326 can focus on. If the user selects the IME's facility to backward 1327 navigate, this will show up in the application as an actionPrevious 1328 at {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1329 InputConnection.performEditorAction(int)}. 1330 <p>Corresponds to 1331 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1332 <flag name="flagNavigatePrevious" value="0x4000000" /> 1333 <!-- Used to specify that there is something 1334 interesting that a forward navigation can focus on. This is like using 1335 actionNext, except allows the IME to be multiline (with 1336 an enter key) as well as provide forward navigation. Note that some 1337 IMEs may not be able to do this, especially when running on a small 1338 screen where there is little space. In that case it does not need to 1339 present a UI for this option. Like actionNext, if the 1340 user selects the IME's facility to forward navigate, this will show up 1341 in the application at 1342 {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1343 InputConnection.performEditorAction(int)}. 1344 <p>Corresponds to 1345 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. --> 1346 <flag name="flagNavigateNext" value="0x8000000" /> 1347 <!-- Used to specify that the IME does not need 1348 to show its extracted text UI. For input methods that may be fullscreen, 1349 often when in landscape mode, this allows them to be smaller and let part 1350 of the application be shown behind. Though there will likely be limited 1351 access to the application available from the user, it can make the 1352 experience of a (mostly) fullscreen IME less jarring. Note that when 1353 this flag is specified the IME may <em>not</em> be set up to be able 1354 to display text, so it should only be used in situations where this is 1355 not needed. 1356 <p>Corresponds to 1357 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. --> 1358 <flag name="flagNoExtractUi" value="0x10000000" /> 1359 <!-- Used in conjunction with a custom action, this indicates that the 1360 action should not be available as an accessory button when the 1361 input method is full-screen. 1362 Note that by setting this flag, there can be cases where the action 1363 is simply never available to the user. Setting this generally means 1364 that you think showing text being edited is more important than the 1365 action you have supplied. 1366 <p>Corresponds to 1367 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. --> 1368 <flag name="flagNoAccessoryAction" value="0x20000000" /> 1369 <!-- Used in conjunction with a custom action, 1370 this indicates that the action should not be available in-line as 1371 a replacement for the "enter" key. Typically this is 1372 because the action has such a significant impact or is not recoverable 1373 enough that accidentally hitting it should be avoided, such as sending 1374 a message. Note that {@link android.widget.TextView} will 1375 automatically set this flag for you on multi-line text views. 1376 <p>Corresponds to 1377 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. --> 1378 <flag name="flagNoEnterAction" value="0x40000000" /> 1379 <!-- Used to request that the IME should be capable of inputting ASCII 1380 characters. The intention of this flag is to ensure that the user 1381 can type Roman alphabet characters in a {@link android.widget.TextView} 1382 used for, typically, account ID or password input. It is expected that IMEs 1383 normally are able to input ASCII even without being told so (such IMEs 1384 already respect this flag in a sense), but there could be some cases they 1385 aren't when, for instance, only non-ASCII input languagaes like Arabic, 1386 Greek, Hebrew, Russian are enabled in the IME. Applications need to be 1387 aware that the flag is not a guarantee, and not all IMEs will respect it. 1388 However, it is strongly recommended for IME authors to respect this flag 1389 especially when their IME could end up with a state that has only non-ASCII 1390 input languages enabled. 1391 <p>Corresponds to 1392 {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. --> 1393 <flag name="flagForceAscii" value="0x80000000" /> 1394 </attr> 1395 1396 <!-- A coordinate in the X dimension. --> 1397 <attr name="x" format="dimension" /> 1398 <!-- A coordinate in the Y dimension. --> 1399 <attr name="y" format="dimension" /> 1400 1401 <!-- Specifies how an object should position its content, on both the X and Y axes, 1402 within its own bounds. --> 1403 <attr name="gravity"> 1404 <!-- Push object to the top of its container, not changing its size. --> 1405 <flag name="top" value="0x30" /> 1406 <!-- Push object to the bottom of its container, not changing its size. --> 1407 <flag name="bottom" value="0x50" /> 1408 <!-- Push object to the left of its container, not changing its size. --> 1409 <flag name="left" value="0x03" /> 1410 <!-- Push object to the right of its container, not changing its size. --> 1411 <flag name="right" value="0x05" /> 1412 <!-- Place object in the vertical center of its container, not changing its size. --> 1413 <flag name="center_vertical" value="0x10" /> 1414 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1415 <flag name="fill_vertical" value="0x70" /> 1416 <!-- Place object in the horizontal center of its container, not changing its size. --> 1417 <flag name="center_horizontal" value="0x01" /> 1418 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1419 <flag name="fill_horizontal" value="0x07" /> 1420 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1421 <flag name="center" value="0x11" /> 1422 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1423 <flag name="fill" value="0x77" /> 1424 <!-- Additional option that can be set to have the top and/or bottom edges of 1425 the child clipped to its container's bounds. 1426 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1427 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1428 <flag name="clip_vertical" value="0x80" /> 1429 <!-- Additional option that can be set to have the left and/or right edges of 1430 the child clipped to its container's bounds. 1431 The clip will be based on the horizontal gravity: a left gravity will clip the right 1432 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1433 <flag name="clip_horizontal" value="0x08" /> 1434 <!-- Push object to the beginning of its container, not changing its size. --> 1435 <flag name="start" value="0x00800003" /> 1436 <!-- Push object to the end of its container, not changing its size. --> 1437 <flag name="end" value="0x00800005" /> 1438 </attr> 1439 1440 <!-- Controls whether links such as urls and email addresses are 1441 automatically found and converted to clickable links. The default 1442 value is "none", disabling this feature. --> 1443 <attr name="autoLink"> 1444 <!-- Match no patterns (default). --> 1445 <flag name="none" value="0x00" /> 1446 <!-- Match Web URLs. --> 1447 <flag name="web" value="0x01" /> 1448 <!-- Match email addresses. --> 1449 <flag name="email" value="0x02" /> 1450 <!-- Match phone numbers. --> 1451 <flag name="phone" value="0x04" /> 1452 <!-- Match map addresses. --> 1453 <flag name="map" value="0x08" /> 1454 <!-- Match all patterns (equivalent to web|email|phone|map). --> 1455 <flag name="all" value="0x0f" /> 1456 </attr> 1457 1458 <!-- Reference to an array resource that will populate a list/adapter. --> 1459 <attr name="entries" format="reference" /> 1460 1461 <!-- Standard gravity constant that a child supplies to its parent. 1462 Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. --> 1463 <attr name="layout_gravity"> 1464 <!-- Push object to the top of its container, not changing its size. --> 1465 <flag name="top" value="0x30" /> 1466 <!-- Push object to the bottom of its container, not changing its size. --> 1467 <flag name="bottom" value="0x50" /> 1468 <!-- Push object to the left of its container, not changing its size. --> 1469 <flag name="left" value="0x03" /> 1470 <!-- Push object to the right of its container, not changing its size. --> 1471 <flag name="right" value="0x05" /> 1472 <!-- Place object in the vertical center of its container, not changing its size. --> 1473 <flag name="center_vertical" value="0x10" /> 1474 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1475 <flag name="fill_vertical" value="0x70" /> 1476 <!-- Place object in the horizontal center of its container, not changing its size. --> 1477 <flag name="center_horizontal" value="0x01" /> 1478 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1479 <flag name="fill_horizontal" value="0x07" /> 1480 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1481 <flag name="center" value="0x11" /> 1482 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1483 <flag name="fill" value="0x77" /> 1484 <!-- Additional option that can be set to have the top and/or bottom edges of 1485 the child clipped to its container's bounds. 1486 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1487 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1488 <flag name="clip_vertical" value="0x80" /> 1489 <!-- Additional option that can be set to have the left and/or right edges of 1490 the child clipped to its container's bounds. 1491 The clip will be based on the horizontal gravity: a left gravity will clip the right 1492 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1493 <flag name="clip_horizontal" value="0x08" /> 1494 <!-- Push object to the beginning of its container, not changing its size. --> 1495 <flag name="start" value="0x00800003" /> 1496 <!-- Push object to the end of its container, not changing its size. --> 1497 <flag name="end" value="0x00800005" /> 1498 </attr> 1499 1500 <!-- Standard orientation constant. --> 1501 <attr name="orientation"> 1502 <!-- Defines an horizontal widget. --> 1503 <enum name="horizontal" value="0" /> 1504 <!-- Defines a vertical widget. --> 1505 <enum name="vertical" value="1" /> 1506 </attr> 1507 1508 <!-- Alignment constants. --> 1509 <attr name="alignmentMode"> 1510 <!-- Align the bounds of the children. 1511 See {@link android.widget.GridLayout#ALIGN_BOUNDS}. --> 1512 <enum name="alignBounds" value="0" /> 1513 <!-- Align the margins of the children. 1514 See {@link android.widget.GridLayout#ALIGN_MARGINS}. --> 1515 <enum name="alignMargins" value="1" /> 1516 </attr> 1517 1518 <!-- ========================== --> 1519 <!-- Key Codes --> 1520 <!-- ========================== --> 1521 <eat-comment /> 1522 1523 <!-- This enum provides the same keycode values as can be found in 1524 {@link android.view.KeyEvent}. --> 1525 <attr name="keycode"> 1526 <enum name="KEYCODE_UNKNOWN" value="0" /> 1527 <enum name="KEYCODE_SOFT_LEFT" value="1" /> 1528 <enum name="KEYCODE_SOFT_RIGHT" value="2" /> 1529 <enum name="KEYCODE_HOME" value="3" /> 1530 <enum name="KEYCODE_BACK" value="4" /> 1531 <enum name="KEYCODE_CALL" value="5" /> 1532 <enum name="KEYCODE_ENDCALL" value="6" /> 1533 <enum name="KEYCODE_0" value="7" /> 1534 <enum name="KEYCODE_1" value="8" /> 1535 <enum name="KEYCODE_2" value="9" /> 1536 <enum name="KEYCODE_3" value="10" /> 1537 <enum name="KEYCODE_4" value="11" /> 1538 <enum name="KEYCODE_5" value="12" /> 1539 <enum name="KEYCODE_6" value="13" /> 1540 <enum name="KEYCODE_7" value="14" /> 1541 <enum name="KEYCODE_8" value="15" /> 1542 <enum name="KEYCODE_9" value="16" /> 1543 <enum name="KEYCODE_STAR" value="17" /> 1544 <enum name="KEYCODE_POUND" value="18" /> 1545 <enum name="KEYCODE_DPAD_UP" value="19" /> 1546 <enum name="KEYCODE_DPAD_DOWN" value="20" /> 1547 <enum name="KEYCODE_DPAD_LEFT" value="21" /> 1548 <enum name="KEYCODE_DPAD_RIGHT" value="22" /> 1549 <enum name="KEYCODE_DPAD_CENTER" value="23" /> 1550 <enum name="KEYCODE_VOLUME_UP" value="24" /> 1551 <enum name="KEYCODE_VOLUME_DOWN" value="25" /> 1552 <enum name="KEYCODE_POWER" value="26" /> 1553 <enum name="KEYCODE_CAMERA" value="27" /> 1554 <enum name="KEYCODE_CLEAR" value="28" /> 1555 <enum name="KEYCODE_A" value="29" /> 1556 <enum name="KEYCODE_B" value="30" /> 1557 <enum name="KEYCODE_C" value="31" /> 1558 <enum name="KEYCODE_D" value="32" /> 1559 <enum name="KEYCODE_E" value="33" /> 1560 <enum name="KEYCODE_F" value="34" /> 1561 <enum name="KEYCODE_G" value="35" /> 1562 <enum name="KEYCODE_H" value="36" /> 1563 <enum name="KEYCODE_I" value="37" /> 1564 <enum name="KEYCODE_J" value="38" /> 1565 <enum name="KEYCODE_K" value="39" /> 1566 <enum name="KEYCODE_L" value="40" /> 1567 <enum name="KEYCODE_M" value="41" /> 1568 <enum name="KEYCODE_N" value="42" /> 1569 <enum name="KEYCODE_O" value="43" /> 1570 <enum name="KEYCODE_P" value="44" /> 1571 <enum name="KEYCODE_Q" value="45" /> 1572 <enum name="KEYCODE_R" value="46" /> 1573 <enum name="KEYCODE_S" value="47" /> 1574 <enum name="KEYCODE_T" value="48" /> 1575 <enum name="KEYCODE_U" value="49" /> 1576 <enum name="KEYCODE_V" value="50" /> 1577 <enum name="KEYCODE_W" value="51" /> 1578 <enum name="KEYCODE_X" value="52" /> 1579 <enum name="KEYCODE_Y" value="53" /> 1580 <enum name="KEYCODE_Z" value="54" /> 1581 <enum name="KEYCODE_COMMA" value="55" /> 1582 <enum name="KEYCODE_PERIOD" value="56" /> 1583 <enum name="KEYCODE_ALT_LEFT" value="57" /> 1584 <enum name="KEYCODE_ALT_RIGHT" value="58" /> 1585 <enum name="KEYCODE_SHIFT_LEFT" value="59" /> 1586 <enum name="KEYCODE_SHIFT_RIGHT" value="60" /> 1587 <enum name="KEYCODE_TAB" value="61" /> 1588 <enum name="KEYCODE_SPACE" value="62" /> 1589 <enum name="KEYCODE_SYM" value="63" /> 1590 <enum name="KEYCODE_EXPLORER" value="64" /> 1591 <enum name="KEYCODE_ENVELOPE" value="65" /> 1592 <enum name="KEYCODE_ENTER" value="66" /> 1593 <enum name="KEYCODE_DEL" value="67" /> 1594 <enum name="KEYCODE_GRAVE" value="68" /> 1595 <enum name="KEYCODE_MINUS" value="69" /> 1596 <enum name="KEYCODE_EQUALS" value="70" /> 1597 <enum name="KEYCODE_LEFT_BRACKET" value="71" /> 1598 <enum name="KEYCODE_RIGHT_BRACKET" value="72" /> 1599 <enum name="KEYCODE_BACKSLASH" value="73" /> 1600 <enum name="KEYCODE_SEMICOLON" value="74" /> 1601 <enum name="KEYCODE_APOSTROPHE" value="75" /> 1602 <enum name="KEYCODE_SLASH" value="76" /> 1603 <enum name="KEYCODE_AT" value="77" /> 1604 <enum name="KEYCODE_NUM" value="78" /> 1605 <enum name="KEYCODE_HEADSETHOOK" value="79" /> 1606 <enum name="KEYCODE_FOCUS" value="80" /> 1607 <enum name="KEYCODE_PLUS" value="81" /> 1608 <enum name="KEYCODE_MENU" value="82" /> 1609 <enum name="KEYCODE_NOTIFICATION" value="83" /> 1610 <enum name="KEYCODE_SEARCH" value="84" /> 1611 <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" /> 1612 <enum name="KEYCODE_MEDIA_STOP" value="86" /> 1613 <enum name="KEYCODE_MEDIA_NEXT" value="87" /> 1614 <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" /> 1615 <enum name="KEYCODE_MEDIA_REWIND" value="89" /> 1616 <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" /> 1617 <enum name="KEYCODE_MUTE" value="91" /> 1618 <enum name="KEYCODE_PAGE_UP" value="92" /> 1619 <enum name="KEYCODE_PAGE_DOWN" value="93" /> 1620 <enum name="KEYCODE_PICTSYMBOLS" value="94" /> 1621 <enum name="KEYCODE_SWITCH_CHARSET" value="95" /> 1622 <enum name="KEYCODE_BUTTON_A" value="96" /> 1623 <enum name="KEYCODE_BUTTON_B" value="97" /> 1624 <enum name="KEYCODE_BUTTON_C" value="98" /> 1625 <enum name="KEYCODE_BUTTON_X" value="99" /> 1626 <enum name="KEYCODE_BUTTON_Y" value="100" /> 1627 <enum name="KEYCODE_BUTTON_Z" value="101" /> 1628 <enum name="KEYCODE_BUTTON_L1" value="102" /> 1629 <enum name="KEYCODE_BUTTON_R1" value="103" /> 1630 <enum name="KEYCODE_BUTTON_L2" value="104" /> 1631 <enum name="KEYCODE_BUTTON_R2" value="105" /> 1632 <enum name="KEYCODE_BUTTON_THUMBL" value="106" /> 1633 <enum name="KEYCODE_BUTTON_THUMBR" value="107" /> 1634 <enum name="KEYCODE_BUTTON_START" value="108" /> 1635 <enum name="KEYCODE_BUTTON_SELECT" value="109" /> 1636 <enum name="KEYCODE_BUTTON_MODE" value="110" /> 1637 <enum name="KEYCODE_ESCAPE" value="111" /> 1638 <enum name="KEYCODE_FORWARD_DEL" value="112" /> 1639 <enum name="KEYCODE_CTRL_LEFT" value="113" /> 1640 <enum name="KEYCODE_CTRL_RIGHT" value="114" /> 1641 <enum name="KEYCODE_CAPS_LOCK" value="115" /> 1642 <enum name="KEYCODE_SCROLL_LOCK" value="116" /> 1643 <enum name="KEYCODE_META_LEFT" value="117" /> 1644 <enum name="KEYCODE_META_RIGHT" value="118" /> 1645 <enum name="KEYCODE_FUNCTION" value="119" /> 1646 <enum name="KEYCODE_SYSRQ" value="120" /> 1647 <enum name="KEYCODE_BREAK" value="121" /> 1648 <enum name="KEYCODE_MOVE_HOME" value="122" /> 1649 <enum name="KEYCODE_MOVE_END" value="123" /> 1650 <enum name="KEYCODE_INSERT" value="124" /> 1651 <enum name="KEYCODE_FORWARD" value="125" /> 1652 <enum name="KEYCODE_MEDIA_PLAY" value="126" /> 1653 <enum name="KEYCODE_MEDIA_PAUSE" value="127" /> 1654 <enum name="KEYCODE_MEDIA_CLOSE" value="128" /> 1655 <enum name="KEYCODE_MEDIA_EJECT" value="129" /> 1656 <enum name="KEYCODE_MEDIA_RECORD" value="130" /> 1657 <enum name="KEYCODE_F1" value="131" /> 1658 <enum name="KEYCODE_F2" value="132" /> 1659 <enum name="KEYCODE_F3" value="133" /> 1660 <enum name="KEYCODE_F4" value="134" /> 1661 <enum name="KEYCODE_F5" value="135" /> 1662 <enum name="KEYCODE_F6" value="136" /> 1663 <enum name="KEYCODE_F7" value="137" /> 1664 <enum name="KEYCODE_F8" value="138" /> 1665 <enum name="KEYCODE_F9" value="139" /> 1666 <enum name="KEYCODE_F10" value="140" /> 1667 <enum name="KEYCODE_F11" value="141" /> 1668 <enum name="KEYCODE_F12" value="142" /> 1669 <enum name="KEYCODE_NUM_LOCK" value="143" /> 1670 <enum name="KEYCODE_NUMPAD_0" value="144" /> 1671 <enum name="KEYCODE_NUMPAD_1" value="145" /> 1672 <enum name="KEYCODE_NUMPAD_2" value="146" /> 1673 <enum name="KEYCODE_NUMPAD_3" value="147" /> 1674 <enum name="KEYCODE_NUMPAD_4" value="148" /> 1675 <enum name="KEYCODE_NUMPAD_5" value="149" /> 1676 <enum name="KEYCODE_NUMPAD_6" value="150" /> 1677 <enum name="KEYCODE_NUMPAD_7" value="151" /> 1678 <enum name="KEYCODE_NUMPAD_8" value="152" /> 1679 <enum name="KEYCODE_NUMPAD_9" value="153" /> 1680 <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" /> 1681 <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" /> 1682 <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" /> 1683 <enum name="KEYCODE_NUMPAD_ADD" value="157" /> 1684 <enum name="KEYCODE_NUMPAD_DOT" value="158" /> 1685 <enum name="KEYCODE_NUMPAD_COMMA" value="159" /> 1686 <enum name="KEYCODE_NUMPAD_ENTER" value="160" /> 1687 <enum name="KEYCODE_NUMPAD_EQUALS" value="161" /> 1688 <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" /> 1689 <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" /> 1690 <enum name="KEYCODE_VOLUME_MUTE" value="164" /> 1691 <enum name="KEYCODE_INFO" value="165" /> 1692 <enum name="KEYCODE_CHANNEL_UP" value="166" /> 1693 <enum name="KEYCODE_CHANNEL_DOWN" value="167" /> 1694 <enum name="KEYCODE_ZOOM_IN" value="168" /> 1695 <enum name="KEYCODE_ZOOM_OUT" value="169" /> 1696 <enum name="KEYCODE_TV" value="170" /> 1697 <enum name="KEYCODE_WINDOW" value="171" /> 1698 <enum name="KEYCODE_GUIDE" value="172" /> 1699 <enum name="KEYCODE_DVR" value="173" /> 1700 <enum name="KEYCODE_BOOKMARK" value="174" /> 1701 <enum name="KEYCODE_CAPTIONS" value="175" /> 1702 <enum name="KEYCODE_SETTINGS" value="176" /> 1703 <enum name="KEYCODE_TV_POWER" value="177" /> 1704 <enum name="KEYCODE_TV_INPUT" value="178" /> 1705 <enum name="KEYCODE_STB_POWER" value="179" /> 1706 <enum name="KEYCODE_STB_INPUT" value="180" /> 1707 <enum name="KEYCODE_AVR_POWER" value="181" /> 1708 <enum name="KEYCODE_AVR_INPUT" value="182" /> 1709 <enum name="KEYCODE_PROG_GRED" value="183" /> 1710 <enum name="KEYCODE_PROG_GREEN" value="184" /> 1711 <enum name="KEYCODE_PROG_YELLOW" value="185" /> 1712 <enum name="KEYCODE_PROG_BLUE" value="186" /> 1713 <enum name="KEYCODE_APP_SWITCH" value="187" /> 1714 <enum name="KEYCODE_BUTTON_1" value="188" /> 1715 <enum name="KEYCODE_BUTTON_2" value="189" /> 1716 <enum name="KEYCODE_BUTTON_3" value="190" /> 1717 <enum name="KEYCODE_BUTTON_4" value="191" /> 1718 <enum name="KEYCODE_BUTTON_5" value="192" /> 1719 <enum name="KEYCODE_BUTTON_6" value="193" /> 1720 <enum name="KEYCODE_BUTTON_7" value="194" /> 1721 <enum name="KEYCODE_BUTTON_8" value="195" /> 1722 <enum name="KEYCODE_BUTTON_9" value="196" /> 1723 <enum name="KEYCODE_BUTTON_10" value="197" /> 1724 <enum name="KEYCODE_BUTTON_11" value="198" /> 1725 <enum name="KEYCODE_BUTTON_12" value="199" /> 1726 <enum name="KEYCODE_BUTTON_13" value="200" /> 1727 <enum name="KEYCODE_BUTTON_14" value="201" /> 1728 <enum name="KEYCODE_BUTTON_15" value="202" /> 1729 <enum name="KEYCODE_BUTTON_16" value="203" /> 1730 <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" /> 1731 <enum name="KEYCODE_MANNER_MODE" value="205" /> 1732 <enum name="KEYCODE_3D_MODE" value="206" /> 1733 <enum name="KEYCODE_CONTACTS" value="207" /> 1734 <enum name="KEYCODE_CALENDAR" value="208" /> 1735 <enum name="KEYCODE_MUSIC" value="209" /> 1736 <enum name="KEYCODE_CALCULATOR" value="210" /> 1737 <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" /> 1738 <enum name="KEYCODE_EISU" value="212" /> 1739 <enum name="KEYCODE_MUHENKAN" value="213" /> 1740 <enum name="KEYCODE_HENKAN" value="214" /> 1741 <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" /> 1742 <enum name="KEYCODE_YEN" value="216" /> 1743 <enum name="KEYCODE_RO" value="217" /> 1744 <enum name="KEYCODE_KANA" value="218" /> 1745 <enum name="KEYCODE_ASSIST" value="219" /> 1746 <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" /> 1747 <enum name="KEYCODE_BRIGHTNESS_UP" value="221" /> 1748 <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" /> 1749 <enum name="KEYCODE_MEDIA_SLEEP" value="223" /> 1750 <enum name="KEYCODE_MEDIA_WAKEUP" value="224" /> 1751 <enum name="KEYCODE_PAIRING" value="225" /> 1752 <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" /> 1753 <enum name="KEYCODE_11" value="227" /> 1754 <enum name="KEYCODE_12" value="228" /> 1755 <enum name="KEYCODE_LAST_CHANNEL" value="229" /> 1756 <enum name="KEYCODE_TV_DATA_SERVICE" value="230" /> 1757 <enum name="KEYCODE_VOICE_ASSIST" value="231" /> 1758 <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" /> 1759 <enum name="KEYCODE_TV_TELETEXT" value="233" /> 1760 <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" /> 1761 <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" /> 1762 <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" /> 1763 <enum name="KEYCODE_TV_SATELLITE" value="237" /> 1764 <enum name="KEYCODE_TV_SATELLITE_BS" value="238" /> 1765 <enum name="KEYCODE_TV_SATELLITE_CS" value="239" /> 1766 <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" /> 1767 <enum name="KEYCODE_TV_NETWORK" value="241" /> 1768 <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" /> 1769 <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" /> 1770 <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" /> 1771 <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" /> 1772 <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" /> 1773 <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" /> 1774 <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" /> 1775 <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" /> 1776 <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" /> 1777 <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" /> 1778 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" /> 1779 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" /> 1780 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" /> 1781 <enum name="KEYCODE_TV_ZOOM_MODE" value="255" /> 1782 <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" /> 1783 <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" /> 1784 <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" /> 1785 <enum name="KEYCODE_HELP" value="259" /> 1786 <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" /> 1787 <enum name="KEYCODE_NAVIGATE_NEXT" value="261" /> 1788 <enum name="KEYCODE_NAVIGATE_IN" value="262" /> 1789 <enum name="KEYCODE_NAVIGATE_OUT" value="263" /> 1790 </attr> 1791 1792 <!-- ***************************************************************** --> 1793 <!-- These define collections of attributes that can are with classes. --> 1794 <!-- ***************************************************************** --> 1795 1796 <!-- ========================== --> 1797 <!-- Special attribute classes. --> 1798 <!-- ========================== --> 1799 <eat-comment /> 1800 1801 <!-- The set of attributes that describe a Windows's theme. --> 1802 <declare-styleable name="Window"> 1803 <attr name="windowBackground" /> 1804 <attr name="windowBackgroundFallback" /> 1805 <attr name="windowContentOverlay" /> 1806 <attr name="windowFrame" /> 1807 <attr name="windowNoTitle" /> 1808 <attr name="windowFullscreen" /> 1809 <attr name="windowOverscan" /> 1810 <attr name="windowIsFloating" /> 1811 <attr name="windowIsTranslucent" /> 1812 <attr name="windowShowWallpaper" /> 1813 <attr name="windowAnimationStyle" /> 1814 <attr name="windowSoftInputMode" /> 1815 <attr name="windowDisablePreview" /> 1816 <attr name="windowNoDisplay" /> 1817 <attr name="textColor" /> 1818 <attr name="backgroundDimEnabled" /> 1819 <attr name="backgroundDimAmount" /> 1820 <attr name="windowActionBar" /> 1821 <attr name="windowActionModeOverlay" /> 1822 <attr name="windowActionBarOverlay" /> 1823 <attr name="windowEnableSplitTouch" /> 1824 <attr name="windowCloseOnTouchOutside" /> 1825 <attr name="windowTranslucentStatus" /> 1826 <attr name="windowTranslucentNavigation" /> 1827 <attr name="windowSwipeToDismiss" /> 1828 <attr name="windowContentTransitions" /> 1829 <attr name="windowActivityTransitions" /> 1830 <attr name="windowContentTransitionManager" /> 1831 <attr name="windowActionBarFullscreenDecorLayout" /> 1832 1833 <!-- The minimum width the window is allowed to be, along the major 1834 axis of the screen. That is, when in landscape. Can be either 1835 an absolute dimension or a fraction of the screen size in that 1836 dimension. --> 1837 <attr name="windowMinWidthMajor" format="dimension|fraction" /> 1838 <!-- The minimum width the window is allowed to be, along the minor 1839 axis of the screen. That is, when in portrait. Can be either 1840 an absolute dimension or a fraction of the screen size in that 1841 dimension. --> 1842 <attr name="windowMinWidthMinor" format="dimension|fraction" /> 1843 1844 <!-- A fixed width for the window along the major axis of the screen, 1845 that is, when in landscape. Can be either an absolute dimension 1846 or a fraction of the screen size in that dimension. --> 1847 <attr name="windowFixedWidthMajor" format="dimension|fraction" /> 1848 <!-- A fixed height for the window along the minor axis of the screen, 1849 that is, when in landscape. Can be either an absolute dimension 1850 or a fraction of the screen size in that dimension. --> 1851 <attr name="windowFixedHeightMinor" format="dimension|fraction" /> 1852 1853 <!-- A fixed width for the window along the minor axis of the screen, 1854 that is, when in portrait. Can be either an absolute dimension 1855 or a fraction of the screen size in that dimension. --> 1856 <attr name="windowFixedWidthMinor" format="dimension|fraction" /> 1857 <!-- A fixed height for the window along the major axis of the screen, 1858 that is, when in portrait. Can be either an absolute dimension 1859 or a fraction of the screen size in that dimension. --> 1860 <attr name="windowFixedHeightMajor" format="dimension|fraction" /> 1861 <attr name="windowOutsetBottom" format="dimension" /> 1862 <!-- Reference to a Transition XML resource defining the desired Transition 1863 used to move Views into the initial Window's content Scene. Corresponds to 1864 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 1865 <attr name="windowEnterTransition"/> 1866 1867 <!-- Reference to a Transition XML resource defining the desired Transition 1868 used to move Views out of the scene when the Window is 1869 preparing to close. Corresponds to 1870 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 1871 <attr name="windowReturnTransition"/> 1872 1873 <!-- Reference to a Transition XML resource defining the desired Transition 1874 used to move Views out of the Window's content Scene when launching a new Activity. 1875 Corresponds to 1876 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 1877 <attr name="windowExitTransition"/> 1878 1879 <!-- Reference to a Transition XML resource defining the desired Transition 1880 used to move Views in to the scene when returning from a previously-started Activity. 1881 Corresponds to 1882 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 1883 <attr name="windowReenterTransition"/> 1884 1885 <!-- Reference to a Transition XML resource defining the desired Transition 1886 used to move shared elements transferred into the Window's initial content Scene. 1887 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 1888 android.transition.Transition)}. --> 1889 <attr name="windowSharedElementEnterTransition"/> 1890 1891 <!-- Reference to a Transition XML resource defining the desired Transition 1892 used to move shared elements transferred back to a calling Activity. 1893 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 1894 android.transition.Transition)}. --> 1895 <attr name="windowSharedElementReturnTransition"/> 1896 1897 <!-- Reference to a Transition XML resource defining the desired Transition 1898 used when starting a new Activity to move shared elements prior to transferring 1899 to the called Activity. 1900 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 1901 android.transition.Transition)}. --> 1902 <attr name="windowSharedElementExitTransition"/> 1903 1904 <!-- Reference to a Transition XML resource defining the desired Transition 1905 used for shared elements transferred back to a calling Activity. 1906 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 1907 android.transition.Transition)}. --> 1908 <attr name="windowSharedElementReenterTransition"/> 1909 1910 1911 <!-- Flag indicating whether this Window's transition should overlap with 1912 the exiting transition of the calling Activity. Corresponds to 1913 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> 1914 <attr name="windowAllowEnterTransitionOverlap"/> 1915 1916 <!-- Flag indicating whether this Window's transition should overlap with 1917 the exiting transition of the called Activity when the called Activity 1918 finishes. Corresponds to 1919 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. --> 1920 <attr name="windowAllowReturnTransitionOverlap"/> 1921 1922 <!-- Indicates whether or not shared elements should use an overlay 1923 during transitions. The default value is true. --> 1924 <attr name="windowSharedElementsUseOverlay"/> 1925 1926 <!-- Flag indicating whether this Window is responsible for drawing the background for the 1927 system bars. If true and the window is not floating, the system bars are drawn with a 1928 transparent background and the corresponding areas in this window are filled with the 1929 colors specified in {@link android.R.attr#statusBarColor} and 1930 {@link android.R.attr#navigationBarColor}. Corresponds to 1931 {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. --> 1932 <attr name="windowDrawsSystemBarBackgrounds" format="boolean" /> 1933 1934 <!-- The color for the status bar. If the color is not opaque, consider setting 1935 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 1936 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}. 1937 For this to take effect, the window must be drawing the system bar backgrounds with 1938 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 1939 have been requested to be translucent with 1940 {@link android.R.attr#windowTranslucentStatus}. 1941 Corresponds to {@link android.view.Window#setStatusBarColor(int)}. --> 1942 <attr name="statusBarColor" format="color" /> 1943 1944 <!-- The color for the navigation bar. If the color is not opaque, consider setting 1945 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 1946 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}. 1947 For this to take effect, the window must be drawing the system bar backgrounds with 1948 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 1949 have been requested to be translucent with 1950 {@link android.R.attr#windowTranslucentNavigation}. 1951 Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. --> 1952 <attr name="navigationBarColor" format="color" /> 1953 1954 <!-- The duration, in milliseconds, of the window background fade duration 1955 when transitioning into or away from an Activity when called with an 1956 Activity Transition. Corresponds to 1957 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 1958 <attr name="windowTransitionBackgroundFadeDuration" /> 1959 1960 <!-- Elevation to use for the window. --> 1961 <attr name="windowElevation" format="dimension" /> 1962 1963 <!-- Whether to clip window content to the outline of the window background. --> 1964 <attr name="windowClipToOutline" format="boolean" /> 1965 1966 <!-- If set, the status bar will be drawn such that it is compatible with a light 1967 status bar background. 1968 <p>For this to take effect, the window must be drawing the system bar backgrounds with 1969 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 1970 have been requested to be translucent with 1971 {@link android.R.attr#windowTranslucentStatus}. 1972 Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on 1973 the decor view. --> 1974 <attr name="windowLightStatusBar" format="boolean" /> 1975 </declare-styleable> 1976 1977 <!-- The set of attributes that describe a AlertDialog's theme. --> 1978 <declare-styleable name="AlertDialog"> 1979 <attr name="fullDark" format="reference|color" /> 1980 <attr name="topDark" format="reference|color" /> 1981 <attr name="centerDark" format="reference|color" /> 1982 <attr name="bottomDark" format="reference|color" /> 1983 <attr name="fullBright" format="reference|color" /> 1984 <attr name="topBright" format="reference|color" /> 1985 <attr name="centerBright" format="reference|color" /> 1986 <attr name="bottomBright" format="reference|color" /> 1987 <attr name="bottomMedium" format="reference|color" /> 1988 <attr name="centerMedium" format="reference|color" /> 1989 <attr name="layout" /> 1990 <attr name="buttonPanelSideLayout" format="reference" /> 1991 <attr name="listLayout" format="reference" /> 1992 <attr name="multiChoiceItemLayout" format="reference" /> 1993 <attr name="singleChoiceItemLayout" format="reference" /> 1994 <attr name="listItemLayout" format="reference" /> 1995 <attr name="progressLayout" format="reference" /> 1996 <attr name="horizontalProgressLayout" format="reference" /> 1997 <!-- @hide Whether fullDark, etc. should use default values if null. --> 1998 <attr name="needsDefaultBackgrounds" format="boolean" /> 1999 </declare-styleable> 2000 2001 <!-- Fragment animation class attributes. --> 2002 <declare-styleable name="FragmentAnimation"> 2003 <attr name="fragmentOpenEnterAnimation" format="reference" /> 2004 <attr name="fragmentOpenExitAnimation" format="reference" /> 2005 <attr name="fragmentCloseEnterAnimation" format="reference" /> 2006 <attr name="fragmentCloseExitAnimation" format="reference" /> 2007 <attr name="fragmentFadeEnterAnimation" format="reference" /> 2008 <attr name="fragmentFadeExitAnimation" format="reference" /> 2009 </declare-styleable> 2010 2011 <!-- Window animation class attributes. --> 2012 <declare-styleable name="WindowAnimation"> 2013 <!-- The animation used when a window is being added. --> 2014 <attr name="windowEnterAnimation" format="reference" /> 2015 <!-- The animation used when a window is being removed. --> 2016 <attr name="windowExitAnimation" format="reference" /> 2017 <!-- The animation used when a window is going from INVISIBLE to VISIBLE. --> 2018 <attr name="windowShowAnimation" format="reference" /> 2019 <!-- The animation used when a window is going from VISIBLE to INVISIBLE. --> 2020 <attr name="windowHideAnimation" format="reference" /> 2021 2022 <!-- When opening a new activity, this is the animation that is 2023 run on the next activity (which is entering the screen). --> 2024 <attr name="activityOpenEnterAnimation" format="reference" /> 2025 <!-- When opening a new activity, this is the animation that is 2026 run on the previous activity (which is exiting the screen). --> 2027 <attr name="activityOpenExitAnimation" format="reference" /> 2028 <!-- When closing the current activity, this is the animation that is 2029 run on the next activity (which is entering the screen). --> 2030 <attr name="activityCloseEnterAnimation" format="reference" /> 2031 <!-- When closing the current activity, this is the animation that is 2032 run on the current activity (which is exiting the screen). --> 2033 <attr name="activityCloseExitAnimation" format="reference" /> 2034 <!-- When opening an activity in a new task, this is the animation that is 2035 run on the activity of the new task (which is entering the screen). --> 2036 <attr name="taskOpenEnterAnimation" format="reference" /> 2037 <!-- When opening an activity in a new task, this is the animation that is 2038 run on the activity of the old task (which is exiting the screen). --> 2039 <attr name="taskOpenExitAnimation" format="reference" /> 2040 <!-- When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, 2041 this is the animation that is run on the activity of the new task (which is 2042 entering the screen and then leaving). --> 2043 <attr name="launchTaskBehindTargetAnimation" format="reference" /> 2044 <!-- When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, 2045 this is the animation that is run on the activity of the old task (which is 2046 already on the screen and then stays on). --> 2047 <attr name="launchTaskBehindSourceAnimation" format="reference" /> 2048 <!-- When closing the last activity of a task, this is the animation that is 2049 run on the activity of the next task (which is entering the screen). --> 2050 <attr name="taskCloseEnterAnimation" format="reference" /> 2051 <!-- When opening an activity in a new task, this is the animation that is 2052 run on the activity of the old task (which is exiting the screen). --> 2053 <attr name="taskCloseExitAnimation" format="reference" /> 2054 <!-- When bringing an existing task to the foreground, this is the 2055 animation that is run on the top activity of the task being brought 2056 to the foreground (which is entering the screen). --> 2057 <attr name="taskToFrontEnterAnimation" format="reference" /> 2058 <!-- When bringing an existing task to the foreground, this is the 2059 animation that is run on the current foreground activity 2060 (which is exiting the screen). --> 2061 <attr name="taskToFrontExitAnimation" format="reference" /> 2062 <!-- When sending the current task to the background, this is the 2063 animation that is run on the top activity of the task behind 2064 it (which is entering the screen). --> 2065 <attr name="taskToBackEnterAnimation" format="reference" /> 2066 <!-- When sending the current task to the background, this is the 2067 animation that is run on the top activity of the current task 2068 (which is exiting the screen). --> 2069 <attr name="taskToBackExitAnimation" format="reference" /> 2070 2071 <!-- When opening a new activity that shows the wallpaper, while 2072 currently not showing the wallpaper, this is the animation that 2073 is run on the new wallpaper activity (which is entering the screen). --> 2074 <attr name="wallpaperOpenEnterAnimation" format="reference" /> 2075 <!-- When opening a new activity that shows the wallpaper, while 2076 currently not showing the wallpaper, this is the animation that 2077 is run on the current activity (which is exiting the screen). --> 2078 <attr name="wallpaperOpenExitAnimation" format="reference" /> 2079 <!-- When opening a new activity that hides the wallpaper, while 2080 currently showing the wallpaper, this is the animation that 2081 is run on the new activity (which is entering the screen). --> 2082 <attr name="wallpaperCloseEnterAnimation" format="reference" /> 2083 <!-- When opening a new activity that hides the wallpaper, while 2084 currently showing the wallpaper, this is the animation that 2085 is run on the old wallpaper activity (which is exiting the screen). --> 2086 <attr name="wallpaperCloseExitAnimation" format="reference" /> 2087 2088 <!-- When opening a new activity that is on top of the wallpaper 2089 when the current activity is also on top of the wallpaper, 2090 this is the animation that is run on the new activity 2091 (which is entering the screen). The wallpaper remains 2092 static behind the animation. --> 2093 <attr name="wallpaperIntraOpenEnterAnimation" format="reference" /> 2094 <!-- When opening a new activity that is on top of the wallpaper 2095 when the current activity is also on top of the wallpaper, 2096 this is the animation that is run on the current activity 2097 (which is exiting the screen). The wallpaper remains 2098 static behind the animation. --> 2099 <attr name="wallpaperIntraOpenExitAnimation" format="reference" /> 2100 <!-- When closing a foreround activity that is on top of the wallpaper 2101 when the previous activity is also on top of the wallpaper, 2102 this is the animation that is run on the previous activity 2103 (which is entering the screen). The wallpaper remains 2104 static behind the animation. --> 2105 <attr name="wallpaperIntraCloseEnterAnimation" format="reference" /> 2106 <!-- When closing a foreround activity that is on top of the wallpaper 2107 when the previous activity is also on top of the wallpaper, 2108 this is the animation that is run on the current activity 2109 (which is exiting the screen). The wallpaper remains 2110 static behind the animation. --> 2111 <attr name="wallpaperIntraCloseExitAnimation" format="reference" /> 2112 </declare-styleable> 2113 2114 <!-- ============================= --> 2115 <!-- View package class attributes --> 2116 <!-- ============================= --> 2117 <eat-comment /> 2118 2119 <!-- Attributes that can be used with {@link android.view.View} or 2120 any of its subclasses. Also see {@link #ViewGroup_Layout} for 2121 attributes that are processed by the view's parent. --> 2122 <declare-styleable name="View"> 2123 <!-- Supply an identifier name for this view, to later retrieve it 2124 with {@link android.view.View#findViewById View.findViewById()} or 2125 {@link android.app.Activity#findViewById Activity.findViewById()}. 2126 This must be a 2127 resource reference; typically you set this using the 2128 <code>@+</code> syntax to create a new ID resources. 2129 For example: <code>android:id="@+id/my_id"</code> which 2130 allows you to later retrieve the view 2131 with <code>findViewById(R.id.my_id)</code>. --> 2132 <attr name="id" format="reference" /> 2133 2134 <!-- Supply a tag for this view containing a String, to be retrieved 2135 later with {@link android.view.View#getTag View.getTag()} or 2136 searched for with {@link android.view.View#findViewWithTag 2137 View.findViewWithTag()}. It is generally preferable to use 2138 IDs (through the android:id attribute) instead of tags because 2139 they are faster and allow for compile-time type checking. --> 2140 <attr name="tag" format="string" /> 2141 2142 <!-- The initial horizontal scroll offset, in pixels.--> 2143 <attr name="scrollX" format="dimension" /> 2144 2145 <!-- The initial vertical scroll offset, in pixels. --> 2146 <attr name="scrollY" format="dimension" /> 2147 2148 <!-- A drawable to use as the background. This can be either a reference 2149 to a full drawable resource (such as a PNG image, 9-patch, 2150 XML state list description, etc), or a solid color such as "#ff000000" 2151 (black). --> 2152 <attr name="background" format="reference|color" /> 2153 2154 <!-- Sets the padding, in pixels, of all four edges. Padding is defined as 2155 space between the edges of the view and the view's content. A views size 2156 will include it's padding. If a {@link android.R.attr#background} 2157 is provided, the padding will initially be set to that (0 if the 2158 drawable does not have padding). Explicitly setting a padding value 2159 will override the corresponding padding found in the background. --> 2160 <attr name="padding" format="dimension" /> 2161 <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. --> 2162 <attr name="paddingLeft" format="dimension" /> 2163 <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. --> 2164 <attr name="paddingTop" format="dimension" /> 2165 <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. --> 2166 <attr name="paddingRight" format="dimension" /> 2167 <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. --> 2168 <attr name="paddingBottom" format="dimension" /> 2169 <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. --> 2170 <attr name="paddingStart" format="dimension" /> 2171 <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. --> 2172 <attr name="paddingEnd" format="dimension" /> 2173 2174 <!-- Boolean that controls whether a view can take focus. By default the user can not 2175 move focus to a view; by setting this attribute to true the view is 2176 allowed to take focus. This value does not impact the behavior of 2177 directly calling {@link android.view.View#requestFocus}, which will 2178 always request focus regardless of this view. It only impacts where 2179 focus navigation will try to move focus. --> 2180 <attr name="focusable" format="boolean" /> 2181 2182 <!-- Boolean that controls whether a view can take focus while in touch mode. 2183 If this is true for a view, that view can gain focus when clicked on, and can keep 2184 focus if another view is clicked on that doesn't have this attribute set to true. --> 2185 <attr name="focusableInTouchMode" format="boolean" /> 2186 2187 <!-- Controls the initial visibility of the view. --> 2188 <attr name="visibility"> 2189 <!-- Visible on screen; the default value. --> 2190 <enum name="visible" value="0" /> 2191 <!-- Not displayed, but taken into account during layout (space is left for it). --> 2192 <enum name="invisible" value="1" /> 2193 <!-- Completely hidden, as if the view had not been added. --> 2194 <enum name="gone" value="2" /> 2195 </attr> 2196 2197 <!-- Boolean internal attribute to adjust view layout based on 2198 system windows such as the status bar. 2199 If true, adjusts the padding of this view to leave space for the system windows. 2200 Will only take effect if this view is in a non-embedded activity. --> 2201 <attr name="fitsSystemWindows" format="boolean" /> 2202 2203 <!-- Defines which scrollbars should be displayed on scrolling or not. --> 2204 <attr name="scrollbars"> 2205 <!-- No scrollbar is displayed. --> 2206 <flag name="none" value="0x00000000" /> 2207 <!-- Displays horizontal scrollbar only. --> 2208 <flag name="horizontal" value="0x00000100" /> 2209 <!-- Displays vertical scrollbar only. --> 2210 <flag name="vertical" value="0x00000200" /> 2211 </attr> 2212 2213 <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or 2214 inset. When inset, they add to the padding of the view. And the 2215 scrollbars can be drawn inside the padding area or on the edge of 2216 the view. For example, if a view has a background drawable and you 2217 want to draw the scrollbars inside the padding specified by the 2218 drawable, you can use insideOverlay or insideInset. If you want them 2219 to appear at the edge of the view, ignoring the padding, then you can 2220 use outsideOverlay or outsideInset.--> 2221 <attr name="scrollbarStyle"> 2222 <!-- Inside the padding and overlaid --> 2223 <enum name="insideOverlay" value="0x0" /> 2224 <!-- Inside the padding and inset --> 2225 <enum name="insideInset" value="0x01000000" /> 2226 <!-- Edge of the view and overlaid --> 2227 <enum name="outsideOverlay" value="0x02000000" /> 2228 <!-- Edge of the view and inset --> 2229 <enum name="outsideInset" value="0x03000000" /> 2230 </attr> 2231 2232 <!-- Set this if the view will serve as a scrolling container, meaning 2233 that it can be resized to shrink its overall window so that there 2234 will be space for an input method. If not set, the default 2235 value will be true if "scrollbars" has the vertical scrollbar 2236 set, else it will be false. --> 2237 <attr name="isScrollContainer" format="boolean" /> 2238 2239 <!-- Defines whether to fade out scrollbars when they are not in use. --> 2240 <attr name="fadeScrollbars" format="boolean" /> 2241 <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. --> 2242 <attr name="scrollbarFadeDuration" format="integer" /> 2243 <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. --> 2244 <attr name="scrollbarDefaultDelayBeforeFade" format="integer" /> 2245 <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. --> 2246 <attr name="scrollbarSize" format="dimension" /> 2247 <!-- Defines the horizontal scrollbar thumb drawable. --> 2248 <attr name="scrollbarThumbHorizontal" format="reference" /> 2249 <!-- Defines the vertical scrollbar thumb drawable. --> 2250 <attr name="scrollbarThumbVertical" format="reference" /> 2251 <!-- Defines the horizontal scrollbar track drawable. --> 2252 <attr name="scrollbarTrackHorizontal" format="reference" /> 2253 <!-- Defines the vertical scrollbar track drawable. --> 2254 <attr name="scrollbarTrackVertical" format="reference" /> 2255 <!-- Defines whether the horizontal scrollbar track should always be drawn. --> 2256 <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" /> 2257 <!-- Defines whether the vertical scrollbar track should always be drawn. --> 2258 <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" /> 2259 2260 <!-- This attribute is deprecated and will be ignored as of 2261 API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}). 2262 Using fading edges may introduce noticeable performance 2263 degradations and should be used only when required by the application's 2264 visual design. To request fading edges with API level 14 and above, 2265 use the <code>android:requiresFadingEdge</code> attribute instead. --> 2266 <attr name="fadingEdge"> 2267 <!-- No edge is faded. --> 2268 <flag name="none" value="0x00000000" /> 2269 <!-- Fades horizontal edges only. --> 2270 <flag name="horizontal" value="0x00001000" /> 2271 <!-- Fades vertical edges only. --> 2272 <flag name="vertical" value="0x00002000" /> 2273 </attr> 2274 <!-- Defines which edges should be faded on scrolling. --> 2275 <attr name="requiresFadingEdge"> 2276 <!-- No edge is faded. --> 2277 <flag name="none" value="0x00000000" /> 2278 <!-- Fades horizontal edges only. --> 2279 <flag name="horizontal" value="0x00001000" /> 2280 <!-- Fades vertical edges only. --> 2281 <flag name="vertical" value="0x00002000" /> 2282 </attr> 2283 <!-- Defines the length of the fading edges. --> 2284 <attr name="fadingEdgeLength" format="dimension" /> 2285 2286 <!-- Defines the next view to give focus to when the next focus is 2287 {@link android.view.View#FOCUS_LEFT}. 2288 2289 If the reference refers to a view that does not exist or is part 2290 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2291 will result when the reference is accessed.--> 2292 <attr name="nextFocusLeft" format="reference"/> 2293 2294 <!-- Defines the next view to give focus to when the next focus is 2295 {@link android.view.View#FOCUS_RIGHT} 2296 2297 If the reference refers to a view that does not exist or is part 2298 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2299 will result when the reference is accessed.--> 2300 <attr name="nextFocusRight" format="reference"/> 2301 2302 <!-- Defines the next view to give focus to when the next focus is 2303 {@link android.view.View#FOCUS_UP} 2304 2305 If the reference refers to a view that does not exist or is part 2306 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2307 will result when the reference is accessed.--> 2308 <attr name="nextFocusUp" format="reference"/> 2309 2310 <!-- Defines the next view to give focus to when the next focus is 2311 {@link android.view.View#FOCUS_DOWN} 2312 2313 If the reference refers to a view that does not exist or is part 2314 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2315 will result when the reference is accessed.--> 2316 <attr name="nextFocusDown" format="reference"/> 2317 2318 <!-- Defines the next view to give focus to when the next focus is 2319 {@link android.view.View#FOCUS_FORWARD} 2320 2321 If the reference refers to a view that does not exist or is part 2322 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2323 will result when the reference is accessed.--> 2324 <attr name="nextFocusForward" format="reference"/> 2325 2326 <!-- Defines whether this view reacts to click events. --> 2327 <attr name="clickable" format="boolean" /> 2328 2329 <!-- Defines whether this view reacts to long click events. --> 2330 <attr name="longClickable" format="boolean" /> 2331 2332 <!-- Defines whether this view reacts to stylus button press events. --> 2333 <attr name="stylusButtonPressable" format="boolean" /> 2334 2335 <!-- If false, no state will be saved for this view when it is being 2336 frozen. The default is true, allowing the view to be saved 2337 (however it also must have an ID assigned to it for its 2338 state to be saved). Setting this to false only disables the 2339 state for this view, not for its children which may still 2340 be saved. --> 2341 <attr name="saveEnabled" format="boolean" /> 2342 2343 <!-- If true, no {@link android.view.ViewAssistStructure} data will be collected from 2344 this view or any of its children. The default is false, allowing assist structure 2345 to be reported by it. --> 2346 <attr name="assistBlocked" format="boolean" /> 2347 2348 <!-- Specifies whether to filter touches when the view's window is obscured by 2349 another visible window. When set to true, the view will not receive touches 2350 whenever a toast, dialog or other window appears above the view's window. 2351 Refer to the {@link android.view.View} security documentation for more details. --> 2352 <attr name="filterTouchesWhenObscured" format="boolean" /> 2353 2354 <!-- Defines the quality of translucent drawing caches. This property is used 2355 only when the drawing cache is enabled and translucent. The default value is auto. --> 2356 <attr name="drawingCacheQuality"> 2357 <!-- Lets the framework decide what quality level should be used 2358 for the drawing cache. --> 2359 <enum name="auto" value="0" /> 2360 <!-- Low quality. When set to low quality, the drawing cache uses a lower color 2361 depth, thus losing precision in rendering gradients, but uses less memory. --> 2362 <enum name="low" value="1" /> 2363 <!-- High quality. When set to high quality, the drawing cache uses a higher 2364 color depth but uses more memory. --> 2365 <enum name="high" value="2" /> 2366 </attr> 2367 2368 <!-- Controls whether the view's window should keep the screen on 2369 while visible. --> 2370 <attr name="keepScreenOn" format="boolean" /> 2371 2372 <!-- When this attribute is set to true, the view gets its drawable state 2373 (focused, pressed, etc.) from its direct parent rather than from itself. --> 2374 <attr name="duplicateParentState" format="boolean" /> 2375 2376 <!-- Defines the minimum height of the view. It is not guaranteed 2377 the view will be able to achieve this minimum height (for example, 2378 if its parent layout constrains it with less available height). --> 2379 <attr name="minHeight" /> 2380 2381 <!-- Defines the minimum width of the view. It is not guaranteed 2382 the view will be able to achieve this minimum width (for example, 2383 if its parent layout constrains it with less available width). --> 2384 <attr name="minWidth" /> 2385 2386 <!-- Boolean that controls whether a view should have sound effects 2387 enabled for events such as clicking and touching. --> 2388 <attr name="soundEffectsEnabled" format="boolean" /> 2389 2390 <!-- Boolean that controls whether a view should have haptic feedback 2391 enabled for events such as long presses. --> 2392 <attr name="hapticFeedbackEnabled" format="boolean" /> 2393 2394 <!-- Defines text that briefly describes content of the view. This property is used 2395 primarily for accessibility. Since some views do not have textual 2396 representation this attribute can be used for providing such. --> 2397 <attr name="contentDescription" format="string" localization="suggested" /> 2398 2399 <!-- Sets the id of a view before which this one is visited in accessibility traversal. 2400 A screen-reader must visit the content of this view before the content of the one 2401 it precedes. 2402 @see android.view.View#setAccessibilityTraversalBefore(int)} --> 2403 <attr name="accessibilityTraversalBefore" format="integer" /> 2404 2405 <!-- Sets the id of a view after which this one is visited in accessibility traversal. 2406 A screen-reader must visit the content of the other view before the content of 2407 this one. 2408 @see android.view.View#setAccessibilityTraversalAfter(int)} --> 2409 <attr name="accessibilityTraversalAfter" format="integer" /> 2410 2411 <!-- Name of the method in this View's context to invoke when the view is 2412 clicked. This name must correspond to a public method that takes 2413 exactly one parameter of type View. For instance, if you specify 2414 <code>android:onClick="sayHello"</code>, you must declare a 2415 <code>public void sayHello(View v)</code> method of your context 2416 (typically, your Activity). --> 2417 <attr name="onClick" format="string" /> 2418 2419 <!-- Defines over-scrolling behavior. This property is used only if the 2420 View is scrollable. Over-scrolling is the ability for the user to 2421 receive feedback when attempting to scroll beyond meaningful content. --> 2422 <attr name="overScrollMode"> 2423 <!-- Always show over-scroll effects, even if the content fits entirely 2424 within the available space. --> 2425 <enum name="always" value="0" /> 2426 <!-- Only show over-scroll effects if the content is large 2427 enough to meaningfully scroll. --> 2428 <enum name="ifContentScrolls" value="1" /> 2429 <!-- Never show over-scroll effects. --> 2430 <enum name="never" value="2" /> 2431 </attr> 2432 2433 <!-- alpha property of the view, as a value between 0 (completely transparent) and 1 2434 (completely opaque). --> 2435 <attr name="alpha" format="float" /> 2436 2437 <!-- base z depth of the view --> 2438 <attr name="elevation" format="dimension" /> 2439 2440 <!-- translation in x of the view. This value is added post-layout to the left 2441 property of the view, which is set by its layout. --> 2442 <attr name="translationX" format="dimension" /> 2443 2444 <!-- translation in y of the view. This value is added post-layout to the top 2445 property of the view, which is set by its layout. --> 2446 <attr name="translationY" format="dimension" /> 2447 2448 <!-- translation in z of the view. This value is added to its elevation. --> 2449 <attr name="translationZ" format="dimension" /> 2450 2451 <!-- x location of the pivot point around which the view will rotate and scale. 2452 This xml attribute sets the pivotX property of the View. --> 2453 <attr name="transformPivotX" format="dimension" /> 2454 2455 <!-- y location of the pivot point around which the view will rotate and scale. 2456 This xml attribute sets the pivotY property of the View. --> 2457 <attr name="transformPivotY" format="dimension" /> 2458 2459 <!-- rotation of the view, in degrees. --> 2460 <attr name="rotation" format="float" /> 2461 2462 <!-- rotation of the view around the x axis, in degrees. --> 2463 <attr name="rotationX" format="float" /> 2464 2465 <!-- rotation of the view around the y axis, in degrees. --> 2466 <attr name="rotationY" format="float" /> 2467 2468 <!-- scale of the view in the x direction. --> 2469 <attr name="scaleX" format="float" /> 2470 2471 <!-- scale of the view in the y direction. --> 2472 <attr name="scaleY" format="float" /> 2473 2474 <!-- Determines which side the vertical scroll bar should be placed on. --> 2475 <attr name="verticalScrollbarPosition"> 2476 <!-- Place the scroll bar wherever the system default determines. --> 2477 <enum name="defaultPosition" value="0" /> 2478 <!-- Place the scroll bar on the left. --> 2479 <enum name="left" value="1" /> 2480 <!-- Place the scroll bar on the right. --> 2481 <enum name="right" value="2" /> 2482 </attr> 2483 2484 <!-- Specifies the type of layer backing this view. The default value is none. 2485 Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)} 2486 for more information.--> 2487 <attr name="layerType"> 2488 <!-- Don't use a layer. --> 2489 <enum name="none" value="0" /> 2490 <!-- Use a software layer. Refer to 2491 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2492 more information. --> 2493 <enum name="software" value="1" /> 2494 <!-- Use a hardware layer. Refer to 2495 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2496 more information. --> 2497 <enum name="hardware" value="2" /> 2498 </attr> 2499 2500 <!-- Defines the direction of layout drawing. This typically is associated with writing 2501 direction of the language script used. The possible values are "ltr" for Left-to-Right, 2502 "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing 2503 to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction 2504 used in "en-US". The default for this attribute is "inherit". --> 2505 <attr name="layoutDirection"> 2506 <!-- Left-to-Right --> 2507 <enum name="ltr" value="0" /> 2508 <!-- Right-to-Left --> 2509 <enum name="rtl" value="1" /> 2510 <!-- Inherit from parent --> 2511 <enum name="inherit" value="2" /> 2512 <!-- Locale --> 2513 <enum name="locale" value="3" /> 2514 </attr> 2515 2516 <!-- Defines the direction of the text. A heuristic is used to determine the resolved text 2517 direction of paragraphs. --> 2518 <attr name="textDirection" format="integer"> 2519 <!-- Default --> 2520 <enum name="inherit" value="0" /> 2521 <!-- Default for the root view. The first strong directional character determines the 2522 paragraph direction. If there is no strong directional character, the paragraph 2523 direction is the view’s resolved layout direction. --> 2524 <enum name="firstStrong" value="1" /> 2525 <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise 2526 it is LTR if it contains any strong LTR characters. If there are neither, the 2527 paragraph direction is the view’s resolved layout direction. --> 2528 <enum name="anyRtl" value="2" /> 2529 <!-- The paragraph direction is left to right. --> 2530 <enum name="ltr" value="3" /> 2531 <!-- The paragraph direction is right to left. --> 2532 <enum name="rtl" value="4" /> 2533 <!-- The paragraph direction is coming from the system Locale. --> 2534 <enum name="locale" value="5" /> 2535 <!-- The first strong directional character determines the paragraph direction. If 2536 there is no strong directional character, the paragraph direction is LTR. --> 2537 <enum name="firstStrongLtr" value="6" /> 2538 <!-- The first strong directional character determines the paragraph direction. If 2539 there is no strong directional character, the paragraph direction is RTL. --> 2540 <enum name="firstStrongRtl" value="7" /> 2541 </attr> 2542 2543 <!-- Defines the alignment of the text. A heuristic is used to determine the resolved 2544 text alignment. --> 2545 <attr name="textAlignment" format="integer"> 2546 <!-- Default --> 2547 <enum name="inherit" value="0" /> 2548 <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, 2549 ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s 2550 text direction --> 2551 <enum name="gravity" value="1" /> 2552 <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. --> 2553 <enum name="textStart" value="2" /> 2554 <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. --> 2555 <enum name="textEnd" value="3" /> 2556 <!-- Center the paragraph, e.g. ALIGN_CENTER. --> 2557 <enum name="center" value="4" /> 2558 <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved 2559 layoutDirection is LTR, and ALIGN_RIGHT otherwise. --> 2560 <enum name="viewStart" value="5" /> 2561 <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved 2562 layoutDirection is LTR, and ALIGN_LEFT otherwise --> 2563 <enum name="viewEnd" value="6" /> 2564 </attr> 2565 2566 <!-- Controls how this View is important for accessibility which is if it fires 2567 accessibility events and if it is reported to accessibility services that 2568 query the screen. Note: While not recommended, an accessibility service may 2569 decide to ignore this attribute and operate on all views in the view tree. --> 2570 <attr name="importantForAccessibility" format="integer"> 2571 <!-- The system determines whether the view is important for accessibility - default 2572 (recommended). --> 2573 <enum name="auto" value="0" /> 2574 <!-- The view is important for accessibility. --> 2575 <enum name="yes" value="1" /> 2576 <!-- The view is not important for accessibility. --> 2577 <enum name="no" value="2" /> 2578 <!-- The view is not important for accessibility, nor are any of its descendant 2579 views. --> 2580 <enum name="noHideDescendants" value="4" /> 2581 </attr> 2582 2583 <!-- Indicates to accessibility services whether the user should be notified when 2584 this view changes. --> 2585 <attr name="accessibilityLiveRegion" format="integer"> 2586 <!-- Accessibility services should not announce changes to this view. --> 2587 <enum name="none" value="0" /> 2588 <!-- Accessibility services should announce changes to this view. --> 2589 <enum name="polite" value="1" /> 2590 <!-- Accessibility services should interrupt ongoing speech to immediately 2591 announce changes to this view. --> 2592 <enum name="assertive" value="2" /> 2593 </attr> 2594 2595 <!-- Specifies the id of a view for which this view serves as a label for 2596 accessibility purposes. For example, a TextView before an EditText in 2597 the UI usually specifies what infomation is contained in the EditText. 2598 Hence, the TextView is a label for the EditText. --> 2599 <attr name="labelFor" format="reference" /> 2600 2601 <!-- Specifies a theme override for a view. When a theme override is set, the 2602 view will be inflated using a {@link android.content.Context} themed with 2603 the specified resource. During XML inflation, any child views under the 2604 view with a theme override will inherit the themed context. --> 2605 <attr name="theme" /> 2606 2607 <!-- Names a View such that it can be identified for Transitions. Names should be 2608 unique in the View hierarchy. --> 2609 <attr name="transitionName" format="string" /> 2610 2611 <!-- Specifies that this view should permit nested scrolling within a compatible 2612 ancestor view. --> 2613 <attr name="nestedScrollingEnabled" format="boolean" /> 2614 2615 <!-- Sets the state-based animator for the View. --> 2616 <attr name="stateListAnimator" format="reference"/> 2617 2618 <!-- Tint to apply to the background. --> 2619 <attr name="backgroundTint" format="color" /> 2620 2621 <!-- Blending mode used to apply the background tint. --> 2622 <attr name="backgroundTintMode"> 2623 <!-- The tint is drawn on top of the drawable. 2624 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2625 <enum name="src_over" value="3" /> 2626 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2627 color channels are thrown out. [Sa * Da, Sc * Da] --> 2628 <enum name="src_in" value="5" /> 2629 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2630 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2631 <enum name="src_atop" value="9" /> 2632 <!-- Multiplies the color and alpha channels of the drawable with those of 2633 the tint. [Sa * Da, Sc * Dc] --> 2634 <enum name="multiply" value="14" /> 2635 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2636 <enum name="screen" value="15" /> 2637 <!-- Combines the tint and drawable color and alpha channels, clamping the 2638 result to valid color values. Saturate(S + D) --> 2639 <enum name="add" value="16" /> 2640 </attr> 2641 2642 <!-- ViewOutlineProvider used to determine the View's Outline. --> 2643 <attr name="outlineProvider"> 2644 <!-- Default, background drawable-driven outline. --> 2645 <enum name="background" value="0" /> 2646 <!-- No outline provider. --> 2647 <enum name="none" value="1" /> 2648 <!-- Generates an opaque outline for the bounds of the view. --> 2649 <enum name="bounds" value="2" /> 2650 <!-- Generates an opaque outline for the padded bounds of the view. --> 2651 <enum name="paddedBounds" value="3" /> 2652 </attr> 2653 2654 <!-- Defines the drawable to draw over the content. This can be used as an overlay. 2655 The foreground drawable participates in the padding of the content if the gravity 2656 is set to fill. --> 2657 <attr name="foreground" format="reference|color" /> 2658 <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults 2659 to fill. --> 2660 <attr name="foregroundGravity"> 2661 <!-- Push object to the top of its container, not changing its size. --> 2662 <flag name="top" value="0x30" /> 2663 <!-- Push object to the bottom of its container, not changing its size. --> 2664 <flag name="bottom" value="0x50" /> 2665 <!-- Push object to the left of its container, not changing its size. --> 2666 <flag name="left" value="0x03" /> 2667 <!-- Push object to the right of its container, not changing its size. --> 2668 <flag name="right" value="0x05" /> 2669 <!-- Place object in the vertical center of its container, not changing its size. --> 2670 <flag name="center_vertical" value="0x10" /> 2671 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 2672 <flag name="fill_vertical" value="0x70" /> 2673 <!-- Place object in the horizontal center of its container, not changing its size. --> 2674 <flag name="center_horizontal" value="0x01" /> 2675 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 2676 <flag name="fill_horizontal" value="0x07" /> 2677 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 2678 <flag name="center" value="0x11" /> 2679 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 2680 <flag name="fill" value="0x77" /> 2681 <!-- Additional option that can be set to have the top and/or bottom edges of 2682 the child clipped to its container's bounds. 2683 The clip will be based on the vertical gravity: a top gravity will clip the bottom 2684 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 2685 <flag name="clip_vertical" value="0x80" /> 2686 <!-- Additional option that can be set to have the left and/or right edges of 2687 the child clipped to its container's bounds. 2688 The clip will be based on the horizontal gravity: a left gravity will clip the right 2689 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 2690 <flag name="clip_horizontal" value="0x08" /> 2691 </attr> 2692 <!-- Defines whether the foreground drawable should be drawn inside the padding. 2693 This property is turned on by default. --> 2694 <attr name="foregroundInsidePadding" format="boolean" /> 2695 <!-- Tint to apply to the foreground. --> 2696 <attr name="foregroundTint" format="color" /> 2697 <!-- Blending mode used to apply the foreground tint. --> 2698 <attr name="foregroundTintMode"> 2699 <!-- The tint is drawn on top of the drawable. 2700 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2701 <enum name="src_over" value="3" /> 2702 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2703 color channels are thrown out. [Sa * Da, Sc * Da] --> 2704 <enum name="src_in" value="5" /> 2705 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2706 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2707 <enum name="src_atop" value="9" /> 2708 <!-- Multiplies the color and alpha channels of the drawable with those of 2709 the tint. [Sa * Da, Sc * Dc] --> 2710 <enum name="multiply" value="14" /> 2711 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2712 <enum name="screen" value="15" /> 2713 <!-- Combines the tint and drawable color and alpha channels, clamping the 2714 result to valid color values. Saturate(S + D) --> 2715 <enum name="add" value="16" /> 2716 </attr> 2717 2718 </declare-styleable> 2719 2720 <!-- Attributes that can be assigned to a tag for a particular View. --> 2721 <declare-styleable name="ViewTag"> 2722 <!-- Specifies the key identifying a tag. This must be a resource reference. --> 2723 <attr name="id" /> 2724 <!-- Specifies the value with which to tag the view. --> 2725 <attr name="value" /> 2726 </declare-styleable> 2727 2728 <!-- Attributes that can be assigned to an <include> tag. --> 2729 <declare-styleable name="Include"> 2730 <attr name="id" /> 2731 <attr name="visibility" /> 2732 <attr name="layout_width" /> 2733 <attr name="layout_height" /> 2734 </declare-styleable> 2735 2736 <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any 2737 of its subclasses. Also see {@link #ViewGroup_Layout} for 2738 attributes that this class processes in its children. --> 2739 <declare-styleable name="ViewGroup"> 2740 <!-- Defines whether changes in layout (caused by adding and removing items) should 2741 cause a LayoutTransition to run. When this flag is set to true, a default 2742 LayoutTransition object will be set on the ViewGroup container and default 2743 animations will run when these layout changes occur.--> 2744 <attr name="animateLayoutChanges" format="boolean" /> 2745 <!-- Defines whether a child is limited to draw inside of its bounds or not. 2746 This is useful with animations that scale the size of the children to more 2747 than 100% for instance. In such a case, this property should be set to false 2748 to allow the children to draw outside of their bounds. The default value of 2749 this property is true. --> 2750 <attr name="clipChildren" format="boolean" /> 2751 <!-- Defines whether the ViewGroup will clip its children to its padding, if 2752 padding is not zero. This property is set to true by default. --> 2753 <attr name="clipToPadding" format="boolean" /> 2754 <!-- Defines the layout animation to use the first time the ViewGroup is laid out. 2755 Layout animations can also be started manually after the first layout. --> 2756 <attr name="layoutAnimation" format="reference" /> 2757 <!-- Defines whether layout animations should create a drawing cache for their 2758 children. Enabling the animation cache consumes more memory and requires 2759 a longer initialization but provides better performance. The animation 2760 cache is enabled by default. --> 2761 <attr name="animationCache" format="boolean" /> 2762 <!-- Defines the persistence of the drawing cache. The drawing cache might be 2763 enabled by a ViewGroup for all its children in specific situations (for 2764 instance during a scrolling.) This property lets you persist the cache 2765 in memory after its initial usage. Persisting the cache consumes more 2766 memory but may prevent frequent garbage collection is the cache is created 2767 over and over again. By default the persistence is set to scrolling. --> 2768 <attr name="persistentDrawingCache"> 2769 <!-- The drawing cache is not persisted after use. --> 2770 <flag name="none" value="0x0" /> 2771 <!-- The drawing cache is persisted after a layout animation. --> 2772 <flag name="animation" value="0x1" /> 2773 <!-- The drawing cache is persisted after a scroll. --> 2774 <flag name="scrolling" value="0x2" /> 2775 <!-- The drawing cache is always persisted. --> 2776 <flag name="all" value="0x3" /> 2777 </attr> 2778 <!-- Defines whether the ViewGroup should always draw its children using their 2779 drawing cache or not. The default value is true. --> 2780 <attr name="alwaysDrawnWithCache" format="boolean" /> 2781 <!-- Sets whether this ViewGroup's drawable states also include 2782 its children's drawable states. This is used, for example, to 2783 make a group appear to be focused when its child EditText or button 2784 is focused. --> 2785 <attr name="addStatesFromChildren" format="boolean" /> 2786 2787 <!-- Defines the relationship between the ViewGroup and its descendants 2788 when looking for a View to take focus. --> 2789 <attr name="descendantFocusability"> 2790 <!-- The ViewGroup will get focus before any of its descendants. --> 2791 <enum name="beforeDescendants" value="0" /> 2792 <!-- The ViewGroup will get focus only if none of its descendants want it. --> 2793 <enum name="afterDescendants" value="1" /> 2794 <!-- The ViewGroup will block its descendants from receiving focus. --> 2795 <enum name="blocksDescendants" value="2" /> 2796 </attr> 2797 2798 <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. --> 2799 <attr name="touchscreenBlocksFocus" format="boolean" /> 2800 2801 <!-- Sets whether this ViewGroup should split MotionEvents 2802 to separate child views during touch event dispatch. 2803 If false (default), touch events will be dispatched to 2804 the child view where the first pointer went down until 2805 the last pointer goes up. 2806 If true, touch events may be dispatched to multiple children. 2807 MotionEvents for each pointer will be dispatched to the child 2808 view where the initial ACTION_DOWN event happened. 2809 See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)} 2810 for more information. --> 2811 <attr name="splitMotionEvents" format="boolean" /> 2812 2813 <!-- Defines the layout mode of this ViewGroup. --> 2814 <attr name="layoutMode"> 2815 <!-- Use the children's clip bounds when laying out this container. --> 2816 <enum name="clipBounds" value="0" /> 2817 <!-- Use the children's optical bounds when laying out this container. --> 2818 <enum name="opticalBounds" value="1" /> 2819 </attr> 2820 2821 <!-- Sets whether or not this ViewGroup should be treated as a single entity 2822 when doing an Activity transition. Typically, the elements inside a 2823 ViewGroup are each transitioned from the scene individually. The default 2824 for a ViewGroup is false unless it has a background. See 2825 {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity, 2826 android.view.View, String)} for more information. Corresponds to 2827 {@link android.view.ViewGroup#setTransitionGroup(boolean)}.--> 2828 <attr name="transitionGroup" format="boolean" /> 2829 </declare-styleable> 2830 2831 <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts 2832 inside your application at runtime. --> 2833 <declare-styleable name="ViewStub"> 2834 <!-- Supply an identifier name for this view. --> 2835 <attr name="id" /> 2836 <!-- Supply an identifier for the layout resource to inflate when the ViewStub 2837 becomes visible or when forced to do so. The layout resource must be a 2838 valid reference to a layout. --> 2839 <attr name="layout" format="reference" /> 2840 <!-- Overrides the id of the inflated View with this value. --> 2841 <attr name="inflatedId" format="reference" /> 2842 </declare-styleable> 2843 2844 <!-- ===================================== --> 2845 <!-- View package parent layout attributes --> 2846 <!-- ===================================== --> 2847 <eat-comment /> 2848 2849 <!-- This is the basic set of layout attributes that are common to all 2850 layout managers. These attributes are specified with the rest of 2851 a view's normal attributes (such as {@link android.R.attr#background}, 2852 but will be parsed by the view's parent and ignored by the child. 2853 <p>The values defined here correspond to the base layout attribute 2854 class {@link android.view.ViewGroup.LayoutParams}. --> 2855 <declare-styleable name="ViewGroup_Layout"> 2856 <!-- Specifies the basic width of the view. This is a required attribute 2857 for any view inside of a containing layout manager. Its value may 2858 be a dimension (such as "12dip") for a constant width or one of 2859 the special constants. --> 2860 <attr name="layout_width" format="dimension"> 2861 <!-- The view should be as big as its parent (minus padding). 2862 This constant is deprecated starting from API Level 8 and 2863 is replaced by {@code match_parent}. --> 2864 <enum name="fill_parent" value="-1" /> 2865 <!-- The view should be as big as its parent (minus padding). 2866 Introduced in API Level 8. --> 2867 <enum name="match_parent" value="-1" /> 2868 <!-- The view should be only big enough to enclose its content (plus padding). --> 2869 <enum name="wrap_content" value="-2" /> 2870 </attr> 2871 2872 <!-- Specifies the basic height of the view. This is a required attribute 2873 for any view inside of a containing layout manager. Its value may 2874 be a dimension (such as "12dip") for a constant height or one of 2875 the special constants. --> 2876 <attr name="layout_height" format="dimension"> 2877 <!-- The view should be as big as its parent (minus padding). 2878 This constant is deprecated starting from API Level 8 and 2879 is replaced by {@code match_parent}. --> 2880 <enum name="fill_parent" value="-1" /> 2881 <!-- The view should be as big as its parent (minus padding). 2882 Introduced in API Level 8. --> 2883 <enum name="match_parent" value="-1" /> 2884 <!-- The view should be only big enough to enclose its content (plus padding). --> 2885 <enum name="wrap_content" value="-2" /> 2886 </attr> 2887 </declare-styleable> 2888 2889 <!-- This is the basic set of layout attributes for layout managers that 2890 wish to place margins around their child views. 2891 These attributes are specified with the rest of 2892 a view's normal attributes (such as {@link android.R.attr#background}, 2893 but will be parsed by the view's parent and ignored by the child. 2894 <p>The values defined here correspond to the base layout attribute 2895 class {@link android.view.ViewGroup.MarginLayoutParams}. --> 2896 <declare-styleable name="ViewGroup_MarginLayout"> 2897 <attr name="layout_width" /> 2898 <attr name="layout_height" /> 2899 <!-- Specifies extra space on the left, top, right and bottom 2900 sides of this view. This space is outside this view's bounds. 2901 Margin values should be positive. --> 2902 <attr name="layout_margin" format="dimension" /> 2903 <!-- Specifies extra space on the left side of this view. 2904 This space is outside this view's bounds. 2905 Margin values should be positive. --> 2906 <attr name="layout_marginLeft" format="dimension" /> 2907 <!-- Specifies extra space on the top side of this view. 2908 This space is outside this view's bounds. 2909 Margin values should be positive.--> 2910 <attr name="layout_marginTop" format="dimension" /> 2911 <!-- Specifies extra space on the right side of this view. 2912 This space is outside this view's bounds. 2913 Margin values should be positive.--> 2914 <attr name="layout_marginRight" format="dimension" /> 2915 <!-- Specifies extra space on the bottom side of this view. 2916 This space is outside this view's bounds. 2917 Margin values should be positive.--> 2918 <attr name="layout_marginBottom" format="dimension" /> 2919 <!-- Specifies extra space on the start side of this view. 2920 This space is outside this view's bounds. 2921 Margin values should be positive.--> 2922 <attr name="layout_marginStart" format="dimension" /> 2923 <!-- Specifies extra space on the end side of this view. 2924 This space is outside this view's bounds. 2925 Margin values should be positive.--> 2926 <attr name="layout_marginEnd" format="dimension" /> 2927 </declare-styleable> 2928 2929 <!-- Use <code>input-method</code> as the root tag of the XML resource that 2930 describes an 2931 {@link android.view.inputmethod.InputMethod} service, which is 2932 referenced from its 2933 {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA} 2934 meta-data entry. Described here are the attributes that can be 2935 included in that tag. --> 2936 <declare-styleable name="InputMethod"> 2937 <!-- Component name of an activity that allows the user to modify 2938 the settings for this service. --> 2939 <attr name="settingsActivity" format="string" /> 2940 <!-- Set to true in all of the configurations for which this input 2941 method should be considered an option as the default. --> 2942 <attr name="isDefault" format="boolean" /> 2943 <!-- Set to true if this input method supports ways to switch to 2944 a next input method (e.g. a globe key.). When this is true and 2945 InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true, 2946 the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod() 2947 accordingly. 2948 <p> Note that the system determines the most appropriate next input method 2949 and subtype in order to provide the consistent user experience in switching 2950 between IMEs and subtypes. --> 2951 <attr name="supportsSwitchingToNextInputMethod" format="boolean" /> 2952 </declare-styleable> 2953 2954 <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...) 2955 and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows 2956 the system to call the specified subtype of the IME directly. --> 2957 <declare-styleable name="InputMethod_Subtype"> 2958 <!-- The name of the subtype. --> 2959 <attr name="label" /> 2960 <!-- The icon of the subtype. --> 2961 <attr name="icon" /> 2962 <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) 2963 and will be passed to the IME when the framework calls the IME 2964 with the subtype. This is also used by the framework to know the supported locales 2965 of the IME. --> 2966 <attr name="imeSubtypeLocale" format="string" /> 2967 <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this 2968 string will be passed to the IME when the framework calls the IME with the 2969 subtype. --> 2970 <attr name="imeSubtypeMode" format="string" /> 2971 <!-- Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the 2972 input method selection list in the settings app. 2973 InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it 2974 chooses a target subtype. --> 2975 <attr name="isAuxiliary" format="boolean" /> 2976 <!-- Set true when this subtype should be selected by default if no other subtypes are 2977 selected explicitly. Note that a subtype with this parameter being true will 2978 not be shown in the subtypes list. --> 2979 <attr name="overridesImplicitlyEnabledSubtype" format="boolean" /> 2980 <!-- The extra value of the subtype. This string can be any string and will be passed to 2981 the IME when the framework calls the IME with the subtype. --> 2982 <attr name="imeSubtypeExtraValue" format="string" /> 2983 <!-- The unique id for the subtype. The input method framework keeps track of enabled 2984 subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even 2985 if other attributes are different. If the ID is unspecified (by calling the other 2986 constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue, 2987 isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. --> 2988 <attr name="subtypeId" format="integer"/> 2989 <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII 2990 capable, it should guarantee that the user can input ASCII characters with 2991 this subtype. This is important because many password fields only allow 2992 ASCII-characters. --> 2993 <attr name="isAsciiCapable" format="boolean" /> 2994 </declare-styleable> 2995 2996 <!-- Use <code>spell-checker</code> as the root tag of the XML resource that 2997 describes an 2998 {@link android.service.textservice.SpellCheckerService} service, which is 2999 referenced from its 3000 {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA} 3001 meta-data entry. Described here are the attributes that can be 3002 included in that tag. --> 3003 <declare-styleable name="SpellChecker"> 3004 <!-- The name of the spell checker. --> 3005 <attr name="label" /> 3006 <!-- Component name of an activity that allows the user to modify 3007 the settings for this service. --> 3008 <attr name="settingsActivity"/> 3009 </declare-styleable> 3010 3011 <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) --> 3012 <declare-styleable name="SpellChecker_Subtype"> 3013 <!-- The name of the subtype. --> 3014 <attr name="label" /> 3015 <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) 3016 This is also used by the framework to know the supported locales 3017 of the spell checker. --> 3018 <attr name="subtypeLocale" format="string" /> 3019 <!-- The extra value of the subtype. This string can be any string and will be passed to 3020 the SpellChecker. --> 3021 <attr name="subtypeExtraValue" format="string" /> 3022 </declare-styleable> 3023 3024 <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that 3025 describes an {@link android.accessibilityservice.AccessibilityService} service, 3026 which is referenced from its 3027 {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA} 3028 meta-data entry. --> 3029 <declare-styleable name="AccessibilityService"> 3030 <!-- The event types this serivce would like to receive as specified in 3031 {@link android.view.accessibility.AccessibilityEvent}. This setting 3032 can be changed at runtime by calling 3033 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3034 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3035 <attr name="accessibilityEventTypes"> 3036 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.--> 3037 <flag name="typeViewClicked" value="0x00000001" /> 3038 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. --> 3039 <flag name="typeViewLongClicked" value="0x00000002" /> 3040 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. --> 3041 <flag name="typeViewSelected" value="0x00000004" /> 3042 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. --> 3043 <flag name="typeViewFocused" value="0x00000008" /> 3044 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. --> 3045 <flag name="typeViewTextChanged" value="0x00000010" /> 3046 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. --> 3047 <flag name="typeWindowStateChanged" value="0x00000020" /> 3048 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. --> 3049 <flag name="typeNotificationStateChanged" value="0x00000040" /> 3050 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. --> 3051 <flag name="typeViewHoverEnter" value="0x00000080" /> 3052 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. --> 3053 <flag name="typeViewHoverExit" value="0x00000100" /> 3054 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. --> 3055 <flag name="typeTouchExplorationGestureStart" value="0x00000200" /> 3056 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. --> 3057 <flag name="typeTouchExplorationGestureEnd" value="0x00000400" /> 3058 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. --> 3059 <flag name="typeWindowContentChanged" value="0x00000800" /> 3060 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. --> 3061 <flag name="typeViewScrolled" value="0x000001000" /> 3062 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. --> 3063 <flag name="typeViewTextSelectionChanged" value="0x000002000" /> 3064 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. --> 3065 <flag name="typeAnnouncement" value="0x00004000" /> 3066 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. --> 3067 <flag name="typeViewAccessibilityFocused" value="0x00008000" /> 3068 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. --> 3069 <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" /> 3070 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. --> 3071 <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" /> 3072 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. --> 3073 <flag name="typeGestureDetectionStart" value="0x00040000" /> 3074 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. --> 3075 <flag name="typeGestureDetectionEnd" value="0x00080000" /> 3076 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. --> 3077 <flag name="typeTouchInteractionStart" value="0x00100000" /> 3078 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. --> 3079 <flag name="typeTouchInteractionEnd" value="0x00200000" /> 3080 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. --> 3081 <flag name="typeWindowsChanged" value="0x00400000" /> 3082 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_STYLUS_BUTTON_PRESSED} events. --> 3083 <flag name="typeStylusButtonPressed" value="0x00800000" /> 3084 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. --> 3085 <flag name="typeAllMask" value="0xffffffff" /> 3086 </attr> 3087 <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages). 3088 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3089 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3090 <attr name="packageNames" format="string" /> 3091 <!-- The feedback types this serivce provides as specified in 3092 {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting 3093 can be changed at runtime by calling 3094 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3095 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3096 <attr name="accessibilityFeedbackType"> 3097 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. --> 3098 <flag name="feedbackSpoken" value="0x00000001" /> 3099 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. --> 3100 <flag name="feedbackHaptic" value="0x00000002" /> 3101 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. --> 3102 <flag name="feedbackAudible" value="0x00000004" /> 3103 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. --> 3104 <flag name="feedbackVisual" value="0x00000008" /> 3105 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. --> 3106 <flag name="feedbackGeneric" value="0x00000010" /> 3107 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. --> 3108 <flag name="feedbackAllMask" value="0xffffffff" /> 3109 </attr> 3110 <!-- The minimal period in milliseconds between two accessibility events of the same type 3111 are sent to this serivce. This setting can be changed at runtime by calling 3112 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3113 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3114 <attr name="notificationTimeout" format="integer" /> 3115 <!-- Additional flags as specified in 3116 {@link android.accessibilityservice.AccessibilityServiceInfo}. 3117 This setting can be changed at runtime by calling 3118 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3119 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3120 <attr name="accessibilityFlags"> 3121 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} --> 3122 <flag name="flagDefault" value="0x00000001" /> 3123 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} --> 3124 <flag name="flagIncludeNotImportantViews" value="0x00000002" /> 3125 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} --> 3126 <flag name="flagRequestTouchExplorationMode" value="0x00000004" /> 3127 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} --> 3128 <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" /> 3129 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} --> 3130 <flag name="flagReportViewIds" value="0x00000010" /> 3131 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} --> 3132 <flag name="flagRequestFilterKeyEvents" value="0x00000020" /> 3133 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} --> 3134 <flag name="flagRetrieveInteractiveWindows" value="0x00000040" /> 3135 </attr> 3136 <!-- Component name of an activity that allows the user to modify 3137 the settings for this service. This setting cannot be changed at runtime. --> 3138 <attr name="settingsActivity" /> 3139 <!-- Attribute whether the accessibility service wants to be able to retrieve the 3140 active window content. This setting cannot be changed at runtime. --> 3141 <attr name="canRetrieveWindowContent" format="boolean" /> 3142 <!-- Attribute whether the accessibility service wants to be able to request touch 3143 exploration mode in which touched items are spoken aloud and the UI can be 3144 explored via gestures. 3145 <p> 3146 Required to allow setting the {@link android.accessibilityservice 3147 #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag. 3148 </p> 3149 --> 3150 <attr name="canRequestTouchExplorationMode" format="boolean" /> 3151 <!-- Attribute whether the accessibility service wants to be able to request enhanced 3152 web accessibility enhancements. For example, installing scripts to make app 3153 content more accessible. 3154 <p> 3155 Required to allow setting the {@link android.accessibilityservice 3156 #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag. 3157 </p> 3158 --> 3159 <attr name="canRequestEnhancedWebAccessibility" format="boolean" /> 3160 <!-- Attribute whether the accessibility service wants to be able to request to 3161 filter key events. 3162 <p> 3163 Required to allow setting the {@link android.accessibilityservice 3164 #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag. 3165 </p> 3166 --> 3167 <attr name="canRequestFilterKeyEvents" format="boolean" /> 3168 <!-- Short description of the accessibility serivce purpose or behavior.--> 3169 <attr name="description" /> 3170 </declare-styleable> 3171 3172 <!-- Use <code>print-service</code> as the root tag of the XML resource that 3173 describes an {@link android.printservice.PrintService} service, which is 3174 referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA} 3175 meta-data entry. --> 3176 <declare-styleable name="PrintService"> 3177 <!-- Fully qualified class name of an activity that allows the user to modify 3178 the settings for this service. --> 3179 <attr name="settingsActivity" /> 3180 <!-- Fully qualified class name of an activity that allows the user to manually 3181 add printers to this print service. --> 3182 <attr name="addPrintersActivity" format="string"/> 3183 <!-- Fully qualified class name of an activity with advanced print options 3184 specific to this print service. --> 3185 <attr name="advancedPrintOptionsActivity" format="string"/> 3186 <!-- The vendor name if this print service is vendor specific. --> 3187 <attr name="vendor" format="string"/> 3188 </declare-styleable> 3189 3190 <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that 3191 describes an {@link android.nfc.cardemulation.HostApduService} service, which 3192 is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA} 3193 entry. --> 3194 <declare-styleable name="HostApduService"> 3195 <!-- Short description of the functionality the service implements. This attribute 3196 is mandatory.--> 3197 <attr name="description" /> 3198 <!-- Whether the device must be unlocked before routing data to this service. 3199 The default is false.--> 3200 <attr name="requireDeviceUnlock" format="boolean"/> 3201 <!-- A drawable that can be rendered in Android's system UI for representing 3202 the service. --> 3203 <attr name="apduServiceBanner" format="reference"/> 3204 <!-- Allows the app to update the description and service banner at run-time --> 3205 <attr name="dynamicResources" format="boolean"/> 3206 <!-- Component name of an activity that allows the user to modify 3207 the settings for this service. --> 3208 <attr name="settingsActivity"/> 3209 </declare-styleable> 3210 3211 <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that 3212 describes an {@link android.nfc.cardemulation.OffHostApduService} 3213 service, which is referenced from its 3214 {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. --> 3215 <declare-styleable name="OffHostApduService"> 3216 <!-- Short description of the functionality the service implements. This attribute 3217 is mandatory.--> 3218 <attr name="description" /> 3219 <!-- A drawable that can be rendered in Android's system UI for representing 3220 the service. --> 3221 <attr name="apduServiceBanner"/> 3222 <!-- Allows the app to update the description and service banner at run-time --> 3223 <attr name="dynamicResources"/> 3224 <!-- Component name of an activity that allows the user to modify 3225 the settings for this service. --> 3226 <attr name="settingsActivity"/> 3227 </declare-styleable> 3228 3229 <!-- Specify one or more <code>aid-group</code> elements inside a 3230 <code>host-apdu-service</code> or <code>offhost-apdu-service</code> 3231 element to define a group of ISO7816 Application ID (AIDs) that 3232 your service can handle.--> 3233 <declare-styleable name="AidGroup"> 3234 <!-- Short description of what the AID group implements. This attribute is mandatory.--> 3235 <attr name="description" /> 3236 <!-- The category attribute will be used by the Android platform to present 3237 multiple applications that register ISO 7816 Application IDs (AIDs) in the 3238 same category uniformly. 3239 Additionally, when a category is specified, Android will ensure that either 3240 all AIDs in this group are routed to this application, or none at all. 3241 This attribute is optional.--> 3242 <attr name="category" format="string" /> 3243 </declare-styleable> 3244 3245 <!-- Specify one or more <code>aid-filter</code> elements inside a 3246 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3247 your service can handle. --> 3248 <declare-styleable name="AidFilter"> 3249 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3250 <attr name="name" /> 3251 </declare-styleable> 3252 3253 <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a 3254 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3255 prefix your service can handle. --> 3256 <declare-styleable name="AidPrefixFilter"> 3257 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3258 <attr name="name" /> 3259 </declare-styleable> 3260 3261 <declare-styleable name="ActionMenuItemView"> 3262 <attr name="minWidth" /> 3263 </declare-styleable> 3264 3265 <!-- =============================== --> 3266 <!-- Widget package class attributes --> 3267 <!-- =============================== --> 3268 <eat-comment /> 3269 3270 <declare-styleable name="AbsListView"> 3271 <!-- Drawable used to indicate the currently selected item in the list. --> 3272 <attr name="listSelector" format="color|reference" /> 3273 <!-- When set to true, the selector will be drawn over the selected item. 3274 Otherwise the selector is drawn behind the selected item. The default 3275 value is false. --> 3276 <attr name="drawSelectorOnTop" format="boolean" /> 3277 <!-- Used by ListView and GridView to stack their content from the bottom. --> 3278 <attr name="stackFromBottom" format="boolean" /> 3279 <!-- When set to true, the list uses a drawing cache during scrolling. 3280 This makes the rendering faster but uses more memory. The default 3281 value is true. --> 3282 <attr name="scrollingCache" format="boolean" /> 3283 <!-- When set to true, the list will filter results as the user types. The 3284 List's adapter must support the Filterable interface for this to work. --> 3285 <attr name="textFilterEnabled" format="boolean" /> 3286 <!-- Sets the transcript mode for the list. In transcript mode, the list 3287 scrolls to the bottom to make new items visible when they are added. --> 3288 <attr name="transcriptMode"> 3289 <!-- Disables transcript mode. This is the default value. --> 3290 <enum name="disabled" value="0"/> 3291 <!-- The list will automatically scroll to the bottom when 3292 a data set change notification is received and only if the last item is 3293 already visible on screen. --> 3294 <enum name="normal" value="1" /> 3295 <!-- The list will automatically scroll to the bottom, no matter what items 3296 are currently visible. --> 3297 <enum name="alwaysScroll" value="2" /> 3298 </attr> 3299 <!-- Indicates that this list will always be drawn on top of solid, single-color 3300 opaque background. This allows the list to optimize drawing. --> 3301 <attr name="cacheColorHint" format="color" /> 3302 <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through 3303 the list. --> 3304 <attr name="fastScrollEnabled" format="boolean" /> 3305 <!-- Specifies the style of the fast scroll decorations. --> 3306 <attr name="fastScrollStyle" format="reference" /> 3307 <!-- When set to true, the list will use a more refined calculation 3308 method based on the pixels height of the items visible on screen. This 3309 property is set to true by default but should be set to false if your adapter 3310 will display items of varying heights. When this property is set to true and 3311 your adapter displays items of varying heights, the scrollbar thumb will 3312 change size as the user scrolls through the list. When set to fale, the list 3313 will use only the number of items in the adapter and the number of items visible 3314 on screen to determine the scrollbar's properties. --> 3315 <attr name="smoothScrollbar" format="boolean" /> 3316 <!-- Defines the choice behavior for the view. By default, lists do not have 3317 any choice behavior. By setting the choiceMode to singleChoice, the list 3318 allows up to one item to be in a chosen state. By setting the choiceMode to 3319 multipleChoice, the list allows any number of items to be chosen. 3320 Finally, by setting the choiceMode to multipleChoiceModal the list allows 3321 any number of items to be chosen in a special selection mode. 3322 The application will supply a 3323 {@link android.widget.AbsListView.MultiChoiceModeListener} using 3324 {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the 3325 selection mode. This uses the {@link android.view.ActionMode} API. --> 3326 <attr name="choiceMode"> 3327 <!-- Normal list that does not indicate choices. --> 3328 <enum name="none" value="0" /> 3329 <!-- The list allows up to one choice. --> 3330 <enum name="singleChoice" value="1" /> 3331 <!-- The list allows multiple choices. --> 3332 <enum name="multipleChoice" value="2" /> 3333 <!-- The list allows multiple choices in a custom selection mode. --> 3334 <enum name="multipleChoiceModal" value="3" /> 3335 </attr> 3336 3337 <!-- When set to true, the list will always show the fast scroll interface. 3338 This setting implies fastScrollEnabled. --> 3339 <attr name="fastScrollAlwaysVisible" format="boolean" /> 3340 </declare-styleable> 3341 <declare-styleable name="AbsSpinner"> 3342 <!-- Reference to an array resource that will populate the Spinner. For static content, 3343 this is simpler than populating the Spinner programmatically. --> 3344 <attr name="entries" /> 3345 </declare-styleable> 3346 <declare-styleable name="AnalogClock"> 3347 <attr name="dial" format="reference"/> 3348 <attr name="hand_hour" format="reference"/> 3349 <attr name="hand_minute" format="reference"/> 3350 </declare-styleable> 3351 <declare-styleable name="Button"> 3352 </declare-styleable> 3353 <declare-styleable name="Chronometer"> 3354 <!-- Format string: if specified, the Chronometer will display this 3355 string, with the first "%s" replaced by the current timer value 3356 in "MM:SS" or "H:MM:SS" form. 3357 If no format string is specified, the Chronometer will simply display 3358 "MM:SS" or "H:MM:SS". --> 3359 <attr name="format" format="string" localization="suggested" /> 3360 </declare-styleable> 3361 <declare-styleable name="CompoundButton"> 3362 <!-- Indicates the initial checked state of this button. --> 3363 <attr name="checked" format="boolean" /> 3364 <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). --> 3365 <attr name="button" format="reference" /> 3366 <!-- Tint to apply to the button graphic. --> 3367 <attr name="buttonTint" format="color" /> 3368 <!-- Blending mode used to apply the button graphic tint. --> 3369 <attr name="buttonTintMode"> 3370 <!-- The tint is drawn on top of the drawable. 3371 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3372 <enum name="src_over" value="3" /> 3373 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3374 color channels are thrown out. [Sa * Da, Sc * Da] --> 3375 <enum name="src_in" value="5" /> 3376 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3377 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3378 <enum name="src_atop" value="9" /> 3379 <!-- Multiplies the color and alpha channels of the drawable with those of 3380 the tint. [Sa * Da, Sc * Dc] --> 3381 <enum name="multiply" value="14" /> 3382 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3383 <enum name="screen" value="15" /> 3384 <!-- Combines the tint and drawable color and alpha channels, clamping the 3385 result to valid color values. Saturate(S + D) --> 3386 <enum name="add" value="16" /> 3387 </attr> 3388 </declare-styleable> 3389 <declare-styleable name="CheckedTextView"> 3390 <!-- Indicates the initial checked state of this text. --> 3391 <attr name="checked" /> 3392 <!-- Drawable used for the check mark graphic. --> 3393 <attr name="checkMark" format="reference"/> 3394 <!-- Tint to apply to the check mark. --> 3395 <attr name="checkMarkTint" format="color" /> 3396 <!-- Blending mode used to apply the check mark tint. --> 3397 <attr name="checkMarkTintMode"> 3398 <!-- The tint is drawn on top of the drawable. 3399 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3400 <enum name="src_over" value="3" /> 3401 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3402 color channels are thrown out. [Sa * Da, Sc * Da] --> 3403 <enum name="src_in" value="5" /> 3404 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3405 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3406 <enum name="src_atop" value="9" /> 3407 <!-- Multiplies the color and alpha channels of the drawable with those of 3408 the tint. [Sa * Da, Sc * Dc] --> 3409 <enum name="multiply" value="14" /> 3410 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3411 <enum name="screen" value="15" /> 3412 <!-- Combines the tint and drawable color and alpha channels, clamping the 3413 result to valid color values. Saturate(S + D) --> 3414 <enum name="add" value="16" /> 3415 </attr> 3416 <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. --> 3417 <attr name="checkMarkGravity"> 3418 <!-- Push object to the left of its container, not changing its size. --> 3419 <flag name="left" value="0x03" /> 3420 <!-- Push object to the right of its container, not changing its size. --> 3421 <flag name="right" value="0x05" /> 3422 <!-- Push object to the beginning of its container, not changing its size. --> 3423 <flag name="start" value="0x00800003" /> 3424 <!-- Push object to the end of its container, not changing its size. --> 3425 <flag name="end" value="0x00800005" /> 3426 </attr> 3427 </declare-styleable> 3428 <declare-styleable name="EditText"> 3429 </declare-styleable> 3430 <declare-styleable name="FastScroll"> 3431 <!-- Drawable used for the scroll bar thumb. --> 3432 <attr name="thumbDrawable" format="reference" /> 3433 <!-- Minimum width of the thumb. --> 3434 <attr name="thumbMinWidth" format="dimension" /> 3435 <!-- Minimum height of the thumb. --> 3436 <attr name="thumbMinHeight" format="dimension" /> 3437 <!-- Drawable used for the scroll bar track. --> 3438 <attr name="trackDrawable" format="reference" /> 3439 <!-- Drawable used for the section header preview when right-aligned. --> 3440 <attr name="backgroundRight" format="reference" /> 3441 <!-- Drawable used for the section header preview when left-aligned. --> 3442 <attr name="backgroundLeft" format="reference" /> 3443 <!-- Position of section header preview. --> 3444 <attr name="position"> 3445 <!-- Floating at the top of the content. --> 3446 <enum name="floating" value="0" /> 3447 <!-- Pinned to the thumb, vertically centered with the middle of the thumb. --> 3448 <enum name="atThumb" value="1" /> 3449 <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. --> 3450 <enum name="aboveThumb" value="2" /> 3451 </attr> 3452 <attr name="textAppearance" /> 3453 <attr name="textColor" /> 3454 <attr name="textSize" /> 3455 <!-- Minimum width of the section header preview. --> 3456 <attr name="minWidth" /> 3457 <!-- Minimum height of the section header preview. --> 3458 <attr name="minHeight" /> 3459 <!-- Padding for the section header preview. --> 3460 <attr name="padding" /> 3461 <!-- Position of thumb in relation to the track. --> 3462 <attr name="thumbPosition"> 3463 <!-- The thumb's midpoint is anchored to the track. At its 3464 extremes, the thumb will extend half-way outside the 3465 track. --> 3466 <enum name="midpoint" value="0" /> 3467 <!-- The thumb is entirely inside the track. At its extremes, 3468 the thumb will be contained entirely within the track. --> 3469 <enum name="inside" value="1" /> 3470 </attr> 3471 </declare-styleable> 3472 <declare-styleable name="FrameLayout"> 3473 <!-- Determines whether to measure all children or just those in 3474 the VISIBLE or INVISIBLE state when measuring. Defaults to false. --> 3475 <attr name="measureAllChildren" format="boolean" /> 3476 </declare-styleable> 3477 <declare-styleable name="ExpandableListView"> 3478 <!-- Indicator shown beside the group View. This can be a stateful Drawable. --> 3479 <attr name="groupIndicator" format="reference" /> 3480 <!-- Indicator shown beside the child View. This can be a stateful Drawable. --> 3481 <attr name="childIndicator" format="reference" /> 3482 <!-- The left bound for an item's indicator. To specify a left bound specific to children, 3483 use childIndicatorLeft. --> 3484 <attr name="indicatorLeft" format="dimension" /> 3485 <!-- The right bound for an item's indicator. To specify a right bound specific to children, 3486 use childIndicatorRight. --> 3487 <attr name="indicatorRight" format="dimension" /> 3488 <!-- The left bound for a child's indicator. --> 3489 <attr name="childIndicatorLeft" format="dimension" /> 3490 <!-- The right bound for a child's indicator. --> 3491 <attr name="childIndicatorRight" format="dimension" /> 3492 <!-- Drawable or color that is used as a divider for children. (It will drawn 3493 below and above child items.) The height of this will be the same as 3494 the height of the normal list item divider. --> 3495 <attr name="childDivider" format="reference|color" /> 3496 <!-- The start bound for an item's indicator. To specify a start bound specific to children, 3497 use childIndicatorStart. --> 3498 <attr name="indicatorStart" format="dimension" /> 3499 <!-- The end bound for an item's indicator. To specify a right bound specific to children, 3500 use childIndicatorEnd. --> 3501 <attr name="indicatorEnd" format="dimension" /> 3502 <!-- The start bound for a child's indicator. --> 3503 <attr name="childIndicatorStart" format="dimension" /> 3504 <!-- The end bound for a child's indicator. --> 3505 <attr name="childIndicatorEnd" format="dimension" /> 3506 </declare-styleable> 3507 <declare-styleable name="Gallery"> 3508 <attr name="gravity" /> 3509 <!-- Sets how long a transition animation should run (in milliseconds) 3510 when layout has changed. Only relevant if animation is turned on. --> 3511 <attr name="animationDuration" format="integer" min="0" /> 3512 <attr name="spacing" format="dimension" /> 3513 <!-- Sets the alpha on the items that are not selected. --> 3514 <attr name="unselectedAlpha" format="float" /> 3515 </declare-styleable> 3516 <declare-styleable name="GridView"> 3517 <!-- Defines the default horizontal spacing between columns. --> 3518 <attr name="horizontalSpacing" format="dimension" /> 3519 <!-- Defines the default vertical spacing between rows. --> 3520 <attr name="verticalSpacing" format="dimension" /> 3521 <!-- Defines how columns should stretch to fill the available empty space, if any. --> 3522 <attr name="stretchMode"> 3523 <!-- Stretching is disabled. --> 3524 <enum name="none" value="0"/> 3525 <!-- The spacing between each column is stretched. --> 3526 <enum name="spacingWidth" value="1" /> 3527 <!-- Each column is stretched equally. --> 3528 <enum name="columnWidth" value="2" /> 3529 <!-- The spacing between each column is uniformly stretched.. --> 3530 <enum name="spacingWidthUniform" value="3" /> 3531 </attr> 3532 <!-- Specifies the fixed width for each column. --> 3533 <attr name="columnWidth" format="dimension" /> 3534 <!-- Defines how many columns to show. --> 3535 <attr name="numColumns" format="integer" min="0"> 3536 <!-- Display as many columns as possible to fill the available space. --> 3537 <enum name="auto_fit" value="-1" /> 3538 </attr> 3539 <!-- Specifies the gravity within each cell. --> 3540 <attr name="gravity" /> 3541 </declare-styleable> 3542 <declare-styleable name="ImageSwitcher"> 3543 </declare-styleable> 3544 <declare-styleable name="ImageView"> 3545 <!-- Sets a drawable as the content of this ImageView. --> 3546 <attr name="src" format="reference|color" /> 3547 <!-- Controls how the image should be resized or moved to match the size 3548 of this ImageView. See {@link android.widget.ImageView.ScaleType} --> 3549 <attr name="scaleType"> 3550 <!-- Scale using the image matrix when drawing. See 3551 {@link android.widget.ImageView#setImageMatrix(Matrix)}. --> 3552 <enum name="matrix" value="0" /> 3553 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. --> 3554 <enum name="fitXY" value="1" /> 3555 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. --> 3556 <enum name="fitStart" value="2" /> 3557 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. --> 3558 <enum name="fitCenter" value="3" /> 3559 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. --> 3560 <enum name="fitEnd" value="4" /> 3561 <!-- Center the image in the view, but perform no scaling. --> 3562 <enum name="center" value="5" /> 3563 <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions 3564 (width and height) of the image will be equal to or larger than the corresponding 3565 dimension of the view (minus padding). The image is then centered in the view. --> 3566 <enum name="centerCrop" value="6" /> 3567 <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both 3568 dimensions (width and height) of the image will be equal to or less than the 3569 corresponding dimension of the view (minus padding). The image is then centered in 3570 the view. --> 3571 <enum name="centerInside" value="7" /> 3572 </attr> 3573 <!-- Set this to true if you want the ImageView to adjust its bounds 3574 to preserve the aspect ratio of its drawable. --> 3575 <attr name="adjustViewBounds" format="boolean" /> 3576 <!-- An optional argument to supply a maximum width for this view. 3577 See {see android.widget.ImageView#setMaxWidth} for details. --> 3578 <attr name="maxWidth" format="dimension" /> 3579 <!-- An optional argument to supply a maximum height for this view. 3580 See {see android.widget.ImageView#setMaxHeight} for details. --> 3581 <attr name="maxHeight" format="dimension" /> 3582 <!-- Set a tinting color for the image. By default, the tint will blend using SRC_ATOP mode. --> 3583 <attr name="tint" format="color" /> 3584 <!-- If true, the image view will be baseline aligned with based on its 3585 bottom edge. --> 3586 <attr name="baselineAlignBottom" format="boolean" /> 3587 <!-- If true, the image will be cropped to fit within its padding. --> 3588 <attr name="cropToPadding" format="boolean" /> 3589 <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline} 3590 for details --> 3591 <attr name="baseline" format="dimension" /> 3592 <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent 3593 to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). --> 3594 <attr name="drawableAlpha" format="integer" /> 3595 <!-- Blending mode used to apply the image tint. --> 3596 <attr name="tintMode" /> 3597 </declare-styleable> 3598 <declare-styleable name="ToggleButton"> 3599 <!-- The text for the button when it is checked. --> 3600 <attr name="textOn" format="string" /> 3601 <!-- The text for the button when it is not checked. --> 3602 <attr name="textOff" format="string" /> 3603 <!-- The alpha to apply to the indicator when disabled. --> 3604 <attr name="disabledAlpha" /> 3605 </declare-styleable> 3606 <declare-styleable name="RelativeLayout"> 3607 <attr name="gravity" /> 3608 <!-- Indicates what view should not be affected by gravity. --> 3609 <attr name="ignoreGravity" format="reference" /> 3610 </declare-styleable> 3611 <declare-styleable name="LinearLayout"> 3612 <!-- Should the layout be a column or a row? Use "horizontal" 3613 for a row, "vertical" for a column. The default is 3614 horizontal. --> 3615 <attr name="orientation" /> 3616 <attr name="gravity" /> 3617 <!-- When set to false, prevents the layout from aligning its children's 3618 baselines. This attribute is particularly useful when the children 3619 use different values for gravity. The default value is true. --> 3620 <attr name="baselineAligned" format="boolean" /> 3621 <!-- When a linear layout is part of another layout that is baseline 3622 aligned, it can specify which of its children to baseline align to 3623 (that is, which child TextView).--> 3624 <attr name="baselineAlignedChildIndex" format="integer" min="0"/> 3625 <!-- Defines the maximum weight sum. If unspecified, the sum is computed 3626 by adding the layout_weight of all of the children. This can be 3627 used for instance to give a single child 50% of the total available 3628 space by giving it a layout_weight of 0.5 and setting the weightSum 3629 to 1.0. --> 3630 <attr name="weightSum" format="float" /> 3631 <!-- When set to true, all children with a weight will be considered having 3632 the minimum size of the largest child. If false, all children are 3633 measured normally. --> 3634 <attr name="measureWithLargestChild" format="boolean" /> 3635 <!-- Drawable to use as a vertical divider between buttons. --> 3636 <attr name="divider" /> 3637 <!-- Setting for which dividers to show. --> 3638 <attr name="showDividers"> 3639 <flag name="none" value="0" /> 3640 <flag name="beginning" value="1" /> 3641 <flag name="middle" value="2" /> 3642 <flag name="end" value="4" /> 3643 </attr> 3644 <!-- Size of padding on either end of a divider. --> 3645 <attr name="dividerPadding" format="dimension" /> 3646 </declare-styleable> 3647 <declare-styleable name="GridLayout"> 3648 <!-- The orientation property is not used during layout. It is only used to 3649 allocate row and column parameters when they are not specified by its children's 3650 layout paramters. GridLayout works like LinearLayout in this case; 3651 putting all the components either in a single row or in a single column - 3652 depending on the value of this flag. In the horizontal case, a columnCount 3653 property may be additionally supplied to force new rows to be created when a 3654 row is full. The rowCount attribute may be used similarly in the vertical case. 3655 The default is horizontal. --> 3656 <attr name="orientation" /> 3657 <!-- The maxmimum number of rows to create when automatically positioning children. --> 3658 <attr name="rowCount" format="integer" /> 3659 <!-- The maxmimum number of columns to create when automatically positioning children. --> 3660 <attr name="columnCount" format="integer" /> 3661 <!-- When set to true, tells GridLayout to use default margins when none are specified 3662 in a view's layout parameters. 3663 The default value is false. 3664 See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.--> 3665 <attr name="useDefaultMargins" format="boolean" /> 3666 <!-- When set to alignMargins, causes alignment to take place between the outer 3667 boundary of a view, as defined by its margins. When set to alignBounds, 3668 causes alignment to take place between the edges of the view. 3669 The default is alignMargins. 3670 See {@link android.widget.GridLayout#setAlignmentMode(int)}.--> 3671 <attr name="alignmentMode" /> 3672 <!-- When set to true, forces row boundaries to appear in the same order 3673 as row indices. 3674 The default is true. 3675 See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.--> 3676 <attr name="rowOrderPreserved" format="boolean" /> 3677 <!-- When set to true, forces column boundaries to appear in the same order 3678 as column indices. 3679 The default is true. 3680 See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.--> 3681 <attr name="columnOrderPreserved" format="boolean" /> 3682 </declare-styleable> 3683 <declare-styleable name="ListView"> 3684 <!-- Reference to an array resource that will populate the ListView. For static content, 3685 this is simpler than populating the ListView programmatically. --> 3686 <attr name="entries" /> 3687 <!-- Drawable or color to draw between list items. --> 3688 <attr name="divider" format="reference|color" /> 3689 <!-- Height of the divider. Will use the intrinsic height of the divider if this 3690 is not specified. --> 3691 <attr name="dividerHeight" format="dimension" /> 3692 <!-- When set to false, the ListView will not draw the divider after each header view. 3693 The default value is true. --> 3694 <attr name="headerDividersEnabled" format="boolean" /> 3695 <!-- When set to false, the ListView will not draw the divider before each footer view. 3696 The default value is true. --> 3697 <attr name="footerDividersEnabled" format="boolean" /> 3698 <!-- Drawable to draw above list content. --> 3699 <attr name="overScrollHeader" format="reference|color" /> 3700 <!-- Drawable to draw below list content. --> 3701 <attr name="overScrollFooter" format="reference|color" /> 3702 </declare-styleable> 3703 <declare-styleable name="PreferenceFrameLayout"> 3704 <!-- Padding to use at the top of the prefs content. --> 3705 <attr name="borderTop" format="dimension" /> 3706 <!-- Padding to use at the bottom of the prefs content. --> 3707 <attr name="borderBottom" format="dimension" /> 3708 <!-- Padding to use at the left of the prefs content. --> 3709 <attr name="borderLeft" format="dimension" /> 3710 <!-- Padding to use at the right of the prefs content. --> 3711 <attr name="borderRight" format="dimension" /> 3712 </declare-styleable> 3713 <declare-styleable name="PreferenceFrameLayout_Layout"> 3714 <!-- Padding to use at the top of the prefs content. --> 3715 <attr name="layout_removeBorders" format="boolean" /> 3716 </declare-styleable> 3717 <declare-styleable name="MenuView"> 3718 <!-- Default appearance of menu item text. --> 3719 <attr name="itemTextAppearance" format="reference" /> 3720 <!-- Default horizontal divider between rows of menu items. --> 3721 <attr name="horizontalDivider" format="reference" /> 3722 <!-- Default vertical divider between menu items. --> 3723 <attr name="verticalDivider" format="reference" /> 3724 <!-- Default background for the menu header. --> 3725 <attr name="headerBackground" format="color|reference" /> 3726 <!-- Default background for each menu item. --> 3727 <attr name="itemBackground" format="color|reference" /> 3728 <!-- Default animations for the menu. --> 3729 <attr name="windowAnimationStyle" /> 3730 <!-- Default disabled icon alpha for each menu item that shows an icon. --> 3731 <attr name="itemIconDisabledAlpha" format="float" /> 3732 <!-- Whether space should be reserved in layout when an icon is missing. --> 3733 <attr name="preserveIconSpacing" format="boolean" /> 3734 </declare-styleable> 3735 <declare-styleable name="IconMenuView"> 3736 <!-- Defines the height of each row. --> 3737 <attr name="rowHeight" format="dimension" /> 3738 <!-- Defines the maximum number of rows displayed. --> 3739 <attr name="maxRows" format="integer" /> 3740 <!-- Defines the maximum number of items per row. --> 3741 <attr name="maxItemsPerRow" format="integer" /> 3742 <!-- Defines the maximum number of items to show. --> 3743 <attr name="maxItems" format="integer" /> 3744 <!-- 'More' icon. --> 3745 <attr name="moreIcon" format="reference" /> 3746 </declare-styleable> 3747 3748 <declare-styleable name="ProgressBar"> 3749 <!-- Defines the maximum value the progress can take. --> 3750 <attr name="max" format="integer" /> 3751 <!-- Defines the default progress value, between 0 and max. --> 3752 <attr name="progress" format="integer" /> 3753 <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between 3754 the primary progress and the background. It can be ideal for media scenarios such as 3755 showing the buffering progress while the default progress shows the play progress. --> 3756 <attr name="secondaryProgress" format="integer" /> 3757 <!-- Allows to enable the indeterminate mode. In this mode the progress 3758 bar plays an infinite looping animation. --> 3759 <attr name="indeterminate" format="boolean" /> 3760 <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). --> 3761 <attr name="indeterminateOnly" format="boolean" /> 3762 <!-- Drawable used for the indeterminate mode. --> 3763 <attr name="indeterminateDrawable" format="reference" /> 3764 <!-- Drawable used for the progress mode. --> 3765 <attr name="progressDrawable" format="reference" /> 3766 <!-- Duration of the indeterminate animation. --> 3767 <attr name="indeterminateDuration" format="integer" min="1" /> 3768 <!-- Defines how the indeterminate mode should behave when the progress 3769 reaches max. --> 3770 <attr name="indeterminateBehavior"> 3771 <!-- Progress starts over from 0. --> 3772 <enum name="repeat" value="1" /> 3773 <!-- Progress keeps the current value and goes back to 0. --> 3774 <enum name="cycle" value="2" /> 3775 </attr> 3776 <attr name="minWidth" format="dimension" /> 3777 <attr name="maxWidth" /> 3778 <attr name="minHeight" format="dimension" /> 3779 <attr name="maxHeight" /> 3780 <attr name="interpolator" format="reference" /> 3781 <!-- Timeout between frames of animation in milliseconds 3782 {@deprecated Not used by the framework.} --> 3783 <attr name="animationResolution" format="integer" /> 3784 <!-- Defines if the associated drawables need to be mirrored when in RTL mode. 3785 Default is false --> 3786 <attr name="mirrorForRtl" format="boolean" /> 3787 <!-- Tint to apply to the progress indicator. --> 3788 <attr name="progressTint" format="color" /> 3789 <!-- Blending mode used to apply the progress indicator tint. --> 3790 <attr name="progressTintMode"> 3791 <!-- The tint is drawn on top of the drawable. 3792 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3793 <enum name="src_over" value="3" /> 3794 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3795 color channels are thrown out. [Sa * Da, Sc * Da] --> 3796 <enum name="src_in" value="5" /> 3797 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3798 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3799 <enum name="src_atop" value="9" /> 3800 <!-- Multiplies the color and alpha channels of the drawable with those of 3801 the tint. [Sa * Da, Sc * Dc] --> 3802 <enum name="multiply" value="14" /> 3803 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3804 <enum name="screen" value="15" /> 3805 <!-- Combines the tint and drawable color and alpha channels, clamping the 3806 result to valid color values. Saturate(S + D) --> 3807 <enum name="add" value="16" /> 3808 </attr> 3809 <!-- Tint to apply to the progress indicator background. --> 3810 <attr name="progressBackgroundTint" format="color" /> 3811 <!-- Blending mode used to apply the progress indicator background tint. --> 3812 <attr name="progressBackgroundTintMode"> 3813 <!-- The tint is drawn on top of the drawable. 3814 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3815 <enum name="src_over" value="3" /> 3816 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3817 color channels are thrown out. [Sa * Da, Sc * Da] --> 3818 <enum name="src_in" value="5" /> 3819 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3820 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3821 <enum name="src_atop" value="9" /> 3822 <!-- Multiplies the color and alpha channels of the drawable with those of 3823 the tint. [Sa * Da, Sc * Dc] --> 3824 <enum name="multiply" value="14" /> 3825 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3826 <enum name="screen" value="15" /> 3827 <!-- Combines the tint and drawable color and alpha channels, clamping the 3828 result to valid color values. Saturate(S + D) --> 3829 <enum name="add" value="16" /> 3830 </attr> 3831 <!-- Tint to apply to the secondary progress indicator. --> 3832 <attr name="secondaryProgressTint" format="color" /> 3833 <!-- Blending mode used to apply the secondary progress indicator tint. --> 3834 <attr name="secondaryProgressTintMode"> 3835 <!-- The tint is drawn on top of the drawable. 3836 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3837 <enum name="src_over" value="3" /> 3838 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3839 color channels are thrown out. [Sa * Da, Sc * Da] --> 3840 <enum name="src_in" value="5" /> 3841 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3842 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3843 <enum name="src_atop" value="9" /> 3844 <!-- Multiplies the color and alpha channels of the drawable with those of 3845 the tint. [Sa * Da, Sc * Dc] --> 3846 <enum name="multiply" value="14" /> 3847 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3848 <enum name="screen" value="15" /> 3849 <!-- Combines the tint and drawable color and alpha channels, clamping the 3850 result to valid color values. Saturate(S + D) --> 3851 <enum name="add" value="16" /> 3852 </attr> 3853 <!-- Tint to apply to the indeterminate progress indicator. --> 3854 <attr name="indeterminateTint" format="color" /> 3855 <!-- Blending mode used to apply the indeterminate progress indicator tint. --> 3856 <attr name="indeterminateTintMode"> 3857 <!-- The tint is drawn on top of the drawable. 3858 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3859 <enum name="src_over" value="3" /> 3860 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3861 color channels are thrown out. [Sa * Da, Sc * Da] --> 3862 <enum name="src_in" value="5" /> 3863 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3864 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3865 <enum name="src_atop" value="9" /> 3866 <!-- Multiplies the color and alpha channels of the drawable with those of 3867 the tint. [Sa * Da, Sc * Dc] --> 3868 <enum name="multiply" value="14" /> 3869 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3870 <enum name="screen" value="15" /> 3871 <!-- Combines the tint and drawable color and alpha channels, clamping the 3872 result to valid color values. Saturate(S + D) --> 3873 <enum name="add" value="16" /> 3874 </attr> 3875 <!-- Tint to apply to the background. --> 3876 <attr name="backgroundTint" /> 3877 <!-- Blending mode used to apply the background tint. --> 3878 <attr name="backgroundTintMode" /> 3879 </declare-styleable> 3880 3881 <declare-styleable name="SeekBar"> 3882 <!-- Draws the thumb on a seekbar. --> 3883 <attr name="thumb" format="reference" /> 3884 <!-- An offset for the thumb that allows it to extend out of the range of the track. --> 3885 <attr name="thumbOffset" format="dimension" /> 3886 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 3887 <attr name="splitTrack" format="boolean" /> 3888 <!-- Tint to apply to the button graphic. --> 3889 <attr name="thumbTint" format="color" /> 3890 <!-- Blending mode used to apply the button graphic tint. --> 3891 <attr name="thumbTintMode"> 3892 <!-- The tint is drawn on top of the drawable. 3893 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3894 <enum name="src_over" value="3" /> 3895 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3896 color channels are thrown out. [Sa * Da, Sc * Da] --> 3897 <enum name="src_in" value="5" /> 3898 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3899 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3900 <enum name="src_atop" value="9" /> 3901 <!-- Multiplies the color and alpha channels of the drawable with those of 3902 the tint. [Sa * Da, Sc * Dc] --> 3903 <enum name="multiply" value="14" /> 3904 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3905 <enum name="screen" value="15" /> 3906 <!-- Combines the tint and drawable color and alpha channels, clamping the 3907 result to valid color values. Saturate(S + D) --> 3908 <enum name="add" value="16" /> 3909 </attr> 3910 </declare-styleable> 3911 3912 <declare-styleable name="StackView"> 3913 <!-- Color of the res-out outline. --> 3914 <attr name="resOutColor" format="color" /> 3915 <!-- Color of the outline of click feedback. --> 3916 <attr name="clickColor" format="color" /> 3917 </declare-styleable> 3918 3919 <declare-styleable name="RatingBar"> 3920 <!-- The number of stars (or rating items) to show. --> 3921 <attr name="numStars" format="integer" /> 3922 <!-- The rating to set by default. --> 3923 <attr name="rating" format="float" /> 3924 <!-- The step size of the rating. --> 3925 <attr name="stepSize" format="float" /> 3926 <!-- Whether this rating bar is an indicator (and non-changeable by the user). --> 3927 <attr name="isIndicator" format="boolean" /> 3928 </declare-styleable> 3929 3930 <declare-styleable name="RadioGroup"> 3931 <!-- The id of the child radio button that should be checked by default 3932 within this radio group. --> 3933 <attr name="checkedButton" format="integer" /> 3934 <!-- Should the radio group be a column or a row? Use "horizontal" 3935 for a row, "vertical" for a column. The default is 3936 vertical. --> 3937 <attr name="orientation" /> 3938 </declare-styleable> 3939 <declare-styleable name="TableLayout"> 3940 <!-- The zero-based index of the columns to stretch. The column indices 3941 must be separated by a comma: 1, 2, 5. Illegal and duplicate 3942 indices are ignored. You can stretch all columns by using the 3943 value "*" instead. Note that a column can be marked stretchable 3944 and shrinkable at the same time. --> 3945 <attr name="stretchColumns" format="string" /> 3946 <!-- The zero-based index of the columns to shrink. The column indices 3947 must be separated by a comma: 1, 2, 5. Illegal and duplicate 3948 indices are ignored. You can shrink all columns by using the 3949 value "*" instead. Note that a column can be marked stretchable 3950 and shrinkable at the same time. --> 3951 <attr name="shrinkColumns" format="string" /> 3952 <!-- The zero-based index of the columns to collapse. The column indices 3953 must be separated by a comma: 1, 2, 5. Illegal and duplicate 3954 indices are ignored. --> 3955 <attr name="collapseColumns" format="string" /> 3956 </declare-styleable> 3957 <declare-styleable name="TableRow"> 3958 3959 </declare-styleable> 3960 <declare-styleable name="TableRow_Cell"> 3961 <!-- The index of the column in which this child should be. --> 3962 <attr name="layout_column" format="integer" /> 3963 <!-- Defines how many columns this child should span. Must be >= 1.--> 3964 <attr name="layout_span" format="integer" /> 3965 </declare-styleable> 3966 <declare-styleable name="TabWidget"> 3967 <!-- Drawable used to draw the divider between tabs. --> 3968 <attr name="divider" /> 3969 <!-- Determines whether the strip under the tab indicators is drawn or not. --> 3970 <attr name="tabStripEnabled" format="boolean" /> 3971 <!-- Drawable used to draw the left part of the strip underneath the tabs. --> 3972 <attr name="tabStripLeft" format="reference" /> 3973 <!-- Drawable used to draw the right part of the strip underneath the tabs. --> 3974 <attr name="tabStripRight" format="reference" /> 3975 <!-- Layout used to organize each tab's content. --> 3976 <attr name="tabLayout" format="reference" /> 3977 </declare-styleable> 3978 <declare-styleable name="TextAppearance"> 3979 <!-- Text color. --> 3980 <attr name="textColor" /> 3981 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 3982 <attr name="textSize" /> 3983 <!-- Style (bold, italic, bolditalic) for the text. --> 3984 <attr name="textStyle" /> 3985 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 3986 <attr name="typeface" /> 3987 <!-- Font family (named by string) for the text. --> 3988 <attr name="fontFamily" /> 3989 <!-- Color of the text selection highlight. --> 3990 <attr name="textColorHighlight" /> 3991 <!-- Color of the hint text. --> 3992 <attr name="textColorHint" /> 3993 <!-- Color of the links. --> 3994 <attr name="textColorLink" /> 3995 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 3996 <attr name="textAllCaps" format="boolean" /> 3997 <!-- Place a blurred shadow of text underneath the text, drawn with the 3998 specified color. The text shadow produced does not interact with 3999 properties on View that are responsible for real time shadows, 4000 {@link android.R.styleable#View_elevation elevation} and 4001 {@link android.R.styleable#View_translationZ translationZ}. --> 4002 <attr name="shadowColor" format="color" /> 4003 <!-- Horizontal offset of the text shadow. --> 4004 <attr name="shadowDx" format="float" /> 4005 <!-- Vertical offset of the text shadow. --> 4006 <attr name="shadowDy" format="float" /> 4007 <!-- Blur radius of the text shadow. --> 4008 <attr name="shadowRadius" format="float" /> 4009 <!-- Elegant text height, especially for less compacted complex script text. --> 4010 <attr name="elegantTextHeight" format="boolean" /> 4011 <!-- Text letter-spacing. --> 4012 <attr name="letterSpacing" format="float" /> 4013 <!-- Font feature settings. --> 4014 <attr name="fontFeatureSettings" format="string" /> 4015 </declare-styleable> 4016 <declare-styleable name="TextClock"> 4017 <!-- Specifies the formatting pattern used to show the time and/or date 4018 in 12-hour mode. Please refer to {@link android.text.format.DateFormat} 4019 for a complete description of accepted formatting patterns. 4020 The default pattern is a locale-appropriate equivalent of "h:mm a". --> 4021 <attr name="format12Hour" format="string"/> 4022 <!-- Specifies the formatting pattern used to show the time and/or date 4023 in 24-hour mode. Please refer to {@link android.text.format.DateFormat} 4024 for a complete description of accepted formatting patterns. 4025 The default pattern is a locale-appropriate equivalent of "H:mm". --> 4026 <attr name="format24Hour" format="string"/> 4027 <!-- Specifies the time zone to use. When this attribute is specified, the 4028 TextClock will ignore the time zone of the system. To use the user's 4029 time zone, do not specify this attribute. The default value is the 4030 user's time zone. Please refer to {@link java.util.TimeZone} for more 4031 information about time zone ids. --> 4032 <attr name="timeZone" format="string"/> 4033 </declare-styleable> 4034 <declare-styleable name="TextSwitcher"> 4035 </declare-styleable> 4036 <declare-styleable name="TextView"> 4037 <!-- Determines the minimum type that getText() will return. 4038 The default is "normal". 4039 Note that EditText and LogTextBox always return Editable, 4040 even if you specify something less powerful here. --> 4041 <attr name="bufferType"> 4042 <!-- Can return any CharSequence, possibly a 4043 Spanned one if the source text was Spanned. --> 4044 <enum name="normal" value="0" /> 4045 <!-- Can only return Spannable. --> 4046 <enum name="spannable" value="1" /> 4047 <!-- Can only return Spannable and Editable. --> 4048 <enum name="editable" value="2" /> 4049 </attr> 4050 <!-- Text to display. --> 4051 <attr name="text" format="string" localization="suggested" /> 4052 <!-- Hint text to display when the text is empty. --> 4053 <attr name="hint" format="string" /> 4054 <!-- Text color. --> 4055 <attr name="textColor" /> 4056 <!-- Color of the text selection highlight. --> 4057 <attr name="textColorHighlight" /> 4058 <!-- Color of the hint text. --> 4059 <attr name="textColorHint" /> 4060 <!-- Base text color, typeface, size, and style. --> 4061 <attr name="textAppearance" /> 4062 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4063 <attr name="textSize" /> 4064 <!-- Sets the horizontal scaling factor for the text. --> 4065 <attr name="textScaleX" format="float" /> 4066 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4067 <attr name="typeface" /> 4068 <!-- Style (bold, italic, bolditalic) for the text. --> 4069 <attr name="textStyle" /> 4070 <!-- Font family (named by string) for the text. --> 4071 <attr name="fontFamily" /> 4072 <!-- Text color for links. --> 4073 <attr name="textColorLink" /> 4074 <!-- Makes the cursor visible (the default) or invisible. --> 4075 <attr name="cursorVisible" format="boolean" /> 4076 <!-- Makes the TextView be at most this many lines tall. 4077 4078 When used on an editable text, the <code>inputType</code> attribute's value must be 4079 combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. --> 4080 <attr name="maxLines" format="integer" min="0" /> 4081 <!-- Makes the TextView be at most this many pixels tall. --> 4082 <attr name="maxHeight" /> 4083 <!-- Makes the TextView be exactly this many lines tall. --> 4084 <attr name="lines" format="integer" min="0" /> 4085 <!-- Makes the TextView be exactly this many pixels tall. 4086 You could get the same effect by specifying this number in the 4087 layout parameters. --> 4088 <attr name="height" format="dimension" /> 4089 <!-- Makes the TextView be at least this many lines tall. 4090 4091 When used on an editable text, the <code>inputType</code> attribute's value must be 4092 combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. --> 4093 <attr name="minLines" format="integer" min="0" /> 4094 <!-- Makes the TextView be at least this many pixels tall. --> 4095 <attr name="minHeight" /> 4096 <!-- Makes the TextView be at most this many ems wide. --> 4097 <attr name="maxEms" format="integer" min="0" /> 4098 <!-- Makes the TextView be at most this many pixels wide. --> 4099 <attr name="maxWidth" /> 4100 <!-- Makes the TextView be exactly this many ems wide. --> 4101 <attr name="ems" format="integer" min="0" /> 4102 <!-- Makes the TextView be exactly this many pixels wide. 4103 You could get the same effect by specifying this number in the 4104 layout parameters. --> 4105 <attr name="width" format="dimension" /> 4106 <!-- Makes the TextView be at least this many ems wide. --> 4107 <attr name="minEms" format="integer" min="0" /> 4108 <!-- Makes the TextView be at least this many pixels wide. --> 4109 <attr name="minWidth" /> 4110 <!-- Specifies how to align the text by the view's x- and/or y-axis 4111 when the text is smaller than the view. --> 4112 <attr name="gravity" /> 4113 <!-- Whether the text is allowed to be wider than the view (and 4114 therefore can be scrolled horizontally). --> 4115 <attr name="scrollHorizontally" format="boolean" /> 4116 <!-- Whether the characters of the field are displayed as 4117 password dots instead of themselves. 4118 {@deprecated Use inputType instead.} --> 4119 <attr name="password" format="boolean" /> 4120 <!-- Constrains the text to a single horizontally scrolling line 4121 instead of letting it wrap onto multiple lines, and advances 4122 focus instead of inserting a newline when you press the 4123 enter key. 4124 4125 The default value is false (multi-line wrapped text mode) for non-editable text, but if 4126 you specify any value for inputType, the default is true (single-line input field mode). 4127 4128 {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change 4129 the layout of a static text, and use the <code>textMultiLine</code> flag in the 4130 inputType attribute instead for editable text views (if both singleLine and inputType 4131 are supplied, the inputType flags will override the value of singleLine). } --> 4132 <attr name="singleLine" format="boolean" /> 4133 <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. 4134 For example, a non-enabled EditText prevents the user from editing the contained text, and 4135 a non-enabled Button prevents the user from tapping the button. 4136 The appearance of enabled and non-enabled widgets may differ, if the drawables referenced 4137 from evaluating state_enabled differ. --> 4138 <attr name="enabled" format="boolean" /> 4139 <!-- If the text is selectable, select it all when the view takes 4140 focus. --> 4141 <attr name="selectAllOnFocus" format="boolean" /> 4142 <!-- Leave enough room for ascenders and descenders instead of 4143 using the font ascent and descent strictly. (Normally true). --> 4144 <attr name="includeFontPadding" format="boolean" /> 4145 <!-- Set an input filter to constrain the text length to the 4146 specified number. --> 4147 <attr name="maxLength" format="integer" min="0" /> 4148 <!-- Place a blurred shadow of text underneath the text, drawn with the 4149 specified color. The text shadow produced does not interact with 4150 properties on View that are responsible for real time shadows, 4151 {@link android.R.styleable#View_elevation elevation} and 4152 {@link android.R.styleable#View_translationZ translationZ}. --> 4153 <attr name="shadowColor" /> 4154 <!-- Horizontal offset of the text shadow. --> 4155 <attr name="shadowDx" /> 4156 <!-- Vertical offset of the text shadow. --> 4157 <attr name="shadowDy" /> 4158 <!-- Blur radius of the text shadow. --> 4159 <attr name="shadowRadius" /> 4160 <attr name="autoLink" /> 4161 <!-- If set to false, keeps the movement method from being set 4162 to the link movement method even if autoLink causes links 4163 to be found. --> 4164 <attr name="linksClickable" format="boolean" /> 4165 <!-- If set, specifies that this TextView has a numeric input method. 4166 The default is false. 4167 {@deprecated Use inputType instead.} --> 4168 <attr name="numeric"> 4169 <!-- Input is numeric. --> 4170 <flag name="integer" value="0x01" /> 4171 <!-- Input is numeric, with sign allowed. --> 4172 <flag name="signed" value="0x03" /> 4173 <!-- Input is numeric, with decimals allowed. --> 4174 <flag name="decimal" value="0x05" /> 4175 </attr> 4176 <!-- If set, specifies that this TextView has a numeric input method 4177 and that these specific characters are the ones that it will 4178 accept. 4179 If this is set, numeric is implied to be true. 4180 The default is false. --> 4181 <attr name="digits" format="string" /> 4182 <!-- If set, specifies that this TextView has a phone number input 4183 method. The default is false. 4184 {@deprecated Use inputType instead.} --> 4185 <attr name="phoneNumber" format="boolean" /> 4186 <!-- If set, specifies that this TextView should use the specified 4187 input method (specified by fully-qualified class name). 4188 {@deprecated Use inputType instead.} --> 4189 <attr name="inputMethod" format="string" /> 4190 <!-- If set, specifies that this TextView has a textual input method 4191 and should automatically capitalize what the user types. 4192 The default is "none". 4193 {@deprecated Use inputType instead.} --> 4194 <attr name="capitalize"> 4195 <!-- Don't automatically capitalize anything. --> 4196 <enum name="none" value="0" /> 4197 <!-- Capitalize the first word of each sentence. --> 4198 <enum name="sentences" value="1" /> 4199 <!-- Capitalize the first letter of every word. --> 4200 <enum name="words" value="2" /> 4201 <!-- Capitalize every character. --> 4202 <enum name="characters" value="3" /> 4203 </attr> 4204 <!-- If set, specifies that this TextView has a textual input method 4205 and automatically corrects some common spelling errors. 4206 The default is "false". 4207 {@deprecated Use inputType instead.} --> 4208 <attr name="autoText" format="boolean" /> 4209 <!-- If set, specifies that this TextView has an input method. 4210 It will be a textual one unless it has otherwise been specified. 4211 For TextView, this is false by default. For EditText, it is 4212 true by default. 4213 {@deprecated Use inputType instead.} --> 4214 <attr name="editable" format="boolean" /> 4215 <!-- If set, the text view will include its current complete text 4216 inside of its frozen icicle in addition to meta-data such as 4217 the current cursor position. By default this is disabled; 4218 it can be useful when the contents of a text view is not stored 4219 in a persistent place such as a content provider. --> 4220 <attr name="freezesText" format="boolean" /> 4221 <!-- If set, causes words that are longer than the view is wide 4222 to be ellipsized instead of broken in the middle. 4223 You will often also want to set scrollHorizontally or singleLine 4224 as well so that the text as a whole is also constrained to 4225 a single line instead of still allowed to be broken onto 4226 multiple lines. --> 4227 <attr name="ellipsize" /> 4228 <!-- The drawable to be drawn above the text. --> 4229 <attr name="drawableTop" format="reference|color" /> 4230 <!-- The drawable to be drawn below the text. --> 4231 <attr name="drawableBottom" format="reference|color" /> 4232 <!-- The drawable to be drawn to the left of the text. --> 4233 <attr name="drawableLeft" format="reference|color" /> 4234 <!-- The drawable to be drawn to the right of the text. --> 4235 <attr name="drawableRight" format="reference|color" /> 4236 <!-- The drawable to be drawn to the start of the text. --> 4237 <attr name="drawableStart" format="reference|color" /> 4238 <!-- The drawable to be drawn to the end of the text. --> 4239 <attr name="drawableEnd" format="reference|color" /> 4240 <!-- The padding between the drawables and the text. --> 4241 <attr name="drawablePadding" format="dimension" /> 4242 <!-- Tint to apply to the compound (left, top, etc.) drawables. --> 4243 <attr name="drawableTint" format="color" /> 4244 <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. --> 4245 <attr name="drawableTintMode"> 4246 <!-- The tint is drawn on top of the drawable. 4247 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4248 <enum name="src_over" value="3" /> 4249 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4250 color channels are thrown out. [Sa * Da, Sc * Da] --> 4251 <enum name="src_in" value="5" /> 4252 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4253 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4254 <enum name="src_atop" value="9" /> 4255 <!-- Multiplies the color and alpha channels of the drawable with those of 4256 the tint. [Sa * Da, Sc * Dc] --> 4257 <enum name="multiply" value="14" /> 4258 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4259 <enum name="screen" value="15" /> 4260 <!-- Combines the tint and drawable color and alpha channels, clamping the 4261 result to valid color values. Saturate(S + D) --> 4262 <enum name="add" value="16" /> 4263 </attr> 4264 <!-- Extra spacing between lines of text. --> 4265 <attr name="lineSpacingExtra" format="dimension" /> 4266 <!-- Extra spacing between lines of text, as a multiplier. --> 4267 <attr name="lineSpacingMultiplier" format="float" /> 4268 <!-- The number of times to repeat the marquee animation. Only applied if the 4269 TextView has marquee enabled. --> 4270 <attr name="marqueeRepeatLimit" format="integer"> 4271 <!-- Indicates that marquee should repeat indefinitely. --> 4272 <enum name="marquee_forever" value="-1" /> 4273 </attr> 4274 <attr name="inputType" /> 4275 <!-- Whether undo should be allowed for editable text. Defaults to true. --> 4276 <attr name="allowUndo" format="boolean" /> 4277 <attr name="imeOptions" /> 4278 <!-- An addition content type description to supply to the input 4279 method attached to the text view, which is private to the 4280 implementation of the input method. This simply fills in 4281 the {@link android.view.inputmethod.EditorInfo#privateImeOptions 4282 EditorInfo.privateImeOptions} field when the input 4283 method is connected. --> 4284 <attr name="privateImeOptions" format="string" /> 4285 <!-- Supply a value for 4286 {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel} 4287 used when an input method is connected to the text view. --> 4288 <attr name="imeActionLabel" format="string" /> 4289 <!-- Supply a value for 4290 {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId} 4291 used when an input method is connected to the text view. --> 4292 <attr name="imeActionId" format="integer" /> 4293 <!-- Reference to an 4294 {@link android.R.styleable#InputExtras <input-extras>} 4295 XML resource containing additional data to 4296 supply to an input method, which is private to the implementation 4297 of the input method. This simply fills in 4298 the {@link android.view.inputmethod.EditorInfo#extras 4299 EditorInfo.extras} field when the input 4300 method is connected. --> 4301 <attr name="editorExtras" format="reference" /> 4302 4303 <!-- Reference to a drawable that will be used to display a text selection 4304 anchor on the left side of a selection region. --> 4305 <attr name="textSelectHandleLeft" /> 4306 <!-- Reference to a drawable that will be used to display a text selection 4307 anchor on the right side of a selection region. --> 4308 <attr name="textSelectHandleRight" /> 4309 <!-- Reference to a drawable that will be used to display a text selection 4310 anchor for positioning the cursor within text. --> 4311 <attr name="textSelectHandle" /> 4312 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 4313 TextEdit field. --> 4314 <attr name="textEditPasteWindowLayout" /> 4315 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 4316 <attr name="textEditNoPasteWindowLayout" /> 4317 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 4318 insertion cursor because it would be clipped if it were positioned on top. --> 4319 <attr name="textEditSidePasteWindowLayout" /> 4320 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 4321 <attr name="textEditSideNoPasteWindowLayout" /> 4322 4323 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 4324 <attr name="textEditSuggestionItemLayout" /> 4325 4326 4327 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 4328 <attr name="textCursorDrawable" /> 4329 4330 <!-- Indicates that the content of a non-editable text can be selected. --> 4331 <attr name="textIsSelectable" /> 4332 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4333 <attr name="textAllCaps" /> 4334 <!-- Elegant text height, especially for less compacted complex script text. --> 4335 <attr name="elegantTextHeight" /> 4336 <!-- Text letter-spacing. --> 4337 <attr name="letterSpacing" /> 4338 <!-- Font feature settings. --> 4339 <attr name="fontFeatureSettings" /> 4340 <!-- Break strategy (control over paragraph layout). --> 4341 <attr name="breakStrategy"> 4342 <!-- Line breaking uses simple strategy. --> 4343 <enum name="simple" value="0" /> 4344 <!-- Line breaking uses high-quality strategy, including hyphenation. --> 4345 <enum name="high_quality" value="1" /> 4346 <!-- Line breaking stratgegy balances line lengths. --> 4347 <enum name="balanced" value="2" /> 4348 </attr> 4349 <!-- Array of indents, one dimension value per line, left side. --> 4350 <attr name="leftIndents" format="reference" /> 4351 <!-- Array of indents, one dimension value per line, right side. --> 4352 <attr name="rightIndents" format="reference" /> 4353 </declare-styleable> 4354 <declare-styleable name="TextViewAppearance"> 4355 <!-- Base text color, typeface, size, and style. --> 4356 <attr name="textAppearance" /> 4357 </declare-styleable> 4358 <declare-styleable name="SelectionModeDrawables"> 4359 <attr name="actionModeSelectAllDrawable" /> 4360 <attr name="actionModeCutDrawable" /> 4361 <attr name="actionModeCopyDrawable" /> 4362 <attr name="actionModePasteDrawable" /> 4363 </declare-styleable> 4364 <declare-styleable name="SuggestionSpan"> 4365 <attr name="textUnderlineColor" /> 4366 <attr name="textUnderlineThickness" /> 4367 </declare-styleable> 4368 <!-- An <code>input-extras</code> is a container for extra data to supply to 4369 an input method. Contains 4370 one more more {@link #Extra <extra>} tags. --> 4371 <declare-styleable name="InputExtras"> 4372 </declare-styleable> 4373 <declare-styleable name="AutoCompleteTextView"> 4374 <!-- Defines the hint displayed in the drop down menu. --> 4375 <attr name="completionHint" format="string" /> 4376 <!-- Defines the hint view displayed in the drop down menu. --> 4377 <attr name="completionHintView" format="reference" /> 4378 <!-- Defines the number of characters that the user must type before 4379 completion suggestions are displayed in a drop down menu. --> 4380 <attr name="completionThreshold" format="integer" min="1" /> 4381 <!-- Selector in a drop down list. --> 4382 <attr name="dropDownSelector" format="reference|color" /> 4383 <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself 4384 is used. --> 4385 <attr name="dropDownAnchor" format="reference" /> 4386 <!-- Specifies the basic width of the dropdown. Its value may 4387 be a dimension (such as "12dip") for a constant width, 4388 fill_parent or match_parent to match the width of the 4389 screen, or wrap_content to match the width of 4390 the anchored view. --> 4391 <attr name="dropDownWidth" format="dimension"> 4392 <!-- The dropdown should fill the width of the screen. 4393 This constant is deprecated starting from API Level 8 and 4394 is replaced by {@code match_parent}. --> 4395 <enum name="fill_parent" value="-1" /> 4396 <!-- The dropdown should fit the width of the screen. 4397 Introduced in API Level 8. --> 4398 <enum name="match_parent" value="-1" /> 4399 <!-- The dropdown should fit the width of its anchor. --> 4400 <enum name="wrap_content" value="-2" /> 4401 </attr> 4402 <!-- Specifies the basic height of the dropdown. Its value may 4403 be a dimension (such as "12dip") for a constant height, 4404 fill_parent or match_parent to fill the height of the 4405 screen, or wrap_content to match the height of 4406 the content of the drop down. --> 4407 <attr name="dropDownHeight" format="dimension"> 4408 <!-- The dropdown should fit the height of the screen. 4409 This constant is deprecated starting from API Level 8 and 4410 is replaced by {@code match_parent}. --> 4411 <enum name="fill_parent" value="-1" /> 4412 <!-- The dropdown should fit the height of the screen. 4413 Introduced in API Level 8. --> 4414 <enum name="match_parent" value="-1" /> 4415 <!-- The dropdown should fit the height of the content. --> 4416 <enum name="wrap_content" value="-2" /> 4417 </attr> 4418 <attr name="inputType" /> 4419 </declare-styleable> 4420 <declare-styleable name="PopupWindow"> 4421 <!-- The background to use for the popup window. --> 4422 <attr name="popupBackground" format="reference|color" /> 4423 <!-- Window elevation to use for the popup window. --> 4424 <attr name="popupElevation" format="dimension" /> 4425 <!-- The animation style to use for the popup window. --> 4426 <attr name="popupAnimationStyle" format="reference" /> 4427 <!-- Whether the popup window should overlap its anchor view. --> 4428 <attr name="overlapAnchor" format="boolean" /> 4429 <!-- Transition used to move views into the popup window. --> 4430 <attr name="popupEnterTransition" format="reference" /> 4431 <!-- Transition used to move views out of the popup window. --> 4432 <attr name="popupExitTransition" format="reference" /> 4433 </declare-styleable> 4434 <declare-styleable name="ListPopupWindow"> 4435 <!-- Amount of pixels by which the drop down should be offset vertically. --> 4436 <attr name="dropDownVerticalOffset" format="dimension" /> 4437 <!-- Amount of pixels by which the drop down should be offset horizontally. --> 4438 <attr name="dropDownHorizontalOffset" format="dimension" /> 4439 </declare-styleable> 4440 <declare-styleable name="ViewAnimator"> 4441 <!-- Identifier for the animation to use when a view is shown. --> 4442 <attr name="inAnimation" format="reference" /> 4443 <!-- Identifier for the animation to use when a view is hidden. --> 4444 <attr name="outAnimation" format="reference" /> 4445 <!-- Defines whether to animate the current View when the ViewAnimation 4446 is first displayed. --> 4447 <attr name="animateFirstView" format="boolean" /> 4448 </declare-styleable> 4449 <declare-styleable name="ViewFlipper"> 4450 <attr name="flipInterval" format="integer" min="0" /> 4451 <!-- When true, automatically start animating --> 4452 <attr name="autoStart" format="boolean" /> 4453 </declare-styleable> 4454 <declare-styleable name="AdapterViewAnimator"> 4455 <!-- Identifier for the animation to use when a view is shown. --> 4456 <attr name="inAnimation" /> 4457 <!-- Identifier for the animation to use when a view is hidden. --> 4458 <attr name="outAnimation" /> 4459 <!--Defines whether the animator loops to the first view once it 4460 has reached the end of the list. --> 4461 <attr name="loopViews" format="boolean" /> 4462 <!-- Defines whether to animate the current View when the ViewAnimation 4463 is first displayed. --> 4464 <attr name="animateFirstView" /> 4465 </declare-styleable> 4466 <declare-styleable name="AdapterViewFlipper"> 4467 <attr name="flipInterval" /> 4468 <!-- When true, automatically start animating --> 4469 <attr name="autoStart" /> 4470 </declare-styleable> 4471 <declare-styleable name="ViewSwitcher"> 4472 </declare-styleable> 4473 <declare-styleable name="ScrollView"> 4474 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4475 <attr name="fillViewport" format="boolean" /> 4476 </declare-styleable> 4477 <declare-styleable name="HorizontalScrollView"> 4478 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4479 <attr name="fillViewport" /> 4480 </declare-styleable> 4481 <declare-styleable name="Spinner"> 4482 <!-- The prompt to display when the spinner's dialog is shown. --> 4483 <attr name="prompt" format="reference" /> 4484 <!-- Display mode for spinner options. --> 4485 <attr name="spinnerMode" format="enum"> 4486 <!-- Spinner options will be presented to the user as a dialog window. --> 4487 <enum name="dialog" value="0" /> 4488 <!-- Spinner options will be presented to the user as an inline dropdown 4489 anchored to the spinner widget itself. --> 4490 <enum name="dropdown" value="1" /> 4491 </attr> 4492 <!-- List selector to use for spinnerMode="dropdown" display. --> 4493 <attr name="dropDownSelector" /> 4494 <!-- Theme to use for the drop-down or dialog popup window. --> 4495 <attr name="popupTheme" /> 4496 <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". --> 4497 <attr name="popupBackground" /> 4498 <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". --> 4499 <attr name="popupElevation" /> 4500 <!-- Width of the dropdown in spinnerMode="dropdown". --> 4501 <attr name="dropDownWidth" /> 4502 <!-- Reference to a layout to use for displaying a prompt in the dropdown for 4503 spinnerMode="dropdown". This layout must contain a TextView with the id 4504 {@code @android:id/text1} to be populated with the prompt text. --> 4505 <attr name="popupPromptView" format="reference" /> 4506 <!-- Gravity setting for positioning the currently selected item. --> 4507 <attr name="gravity" /> 4508 <!-- Whether this spinner should mark child views as enabled/disabled when 4509 the spinner itself is enabled/disabled. --> 4510 <attr name="disableChildrenWhenDisabled" format="boolean" /> 4511 </declare-styleable> 4512 4513 <declare-styleable name="DatePicker"> 4514 <!-- The first day of week according to {@link java.util.Calendar}. --> 4515 <attr name="firstDayOfWeek" /> 4516 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4517 <attr name="minDate" format="string" /> 4518 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 4519 <attr name="maxDate" format="string" /> 4520 4521 <!-- Whether the spinners are shown. Only valid for "spinner" mode. --> 4522 <attr name="spinnersShown" format="boolean" /> 4523 <!-- Whether the calendar view is shown. Only valid for "spinner" mode. --> 4524 <attr name="calendarViewShown" format="boolean" /> 4525 4526 <!-- @hide The layout of the date picker. --> 4527 <attr name="internalLayout" format="reference" /> 4528 <!-- @hide The layout of the legacy DatePicker. --> 4529 <attr name="legacyLayout" /> 4530 4531 <!-- The text color for the selected date header text, ex. "2014" or 4532 "Tue, Mar 18". This should be a color state list where the 4533 activated state will be used when the year picker or day picker is 4534 active.--> 4535 <attr name="headerTextColor" format="color" /> 4536 <!-- The background for the selected date header. --> 4537 <attr name="headerBackground" /> 4538 4539 <!-- The list year's text appearance in the list. 4540 {@deprecated Use yearListTextColor. }--> 4541 <attr name="yearListItemTextAppearance" format="reference" /> 4542 <!-- @hide The list year's text appearance in the list when activated. --> 4543 <attr name="yearListItemActivatedTextAppearance" format="reference" /> 4544 <!-- The text color list of the calendar. --> 4545 <attr name="calendarTextColor" format="color" /> 4546 4547 <!-- Defines the look of the widget. Prior to the L release, the only choice was 4548 spinner. As of L, with the Material theme selected, the default layout is calendar, 4549 but this attribute can be used to force spinner to be used instead. --> 4550 <attr name="datePickerMode"> 4551 <!-- Date picker with spinner controls to select the date. --> 4552 <enum name="spinner" value="1" /> 4553 <!-- Date picker with calendar to select the date. --> 4554 <enum name="calendar" value="2" /> 4555 </attr> 4556 4557 <!-- The first year (inclusive), for example "1940". 4558 {@deprecated Use minDate instead.} --> 4559 <attr name="startYear" format="integer" /> 4560 <!-- The last year (inclusive), for example "2010". 4561 {@deprecated Use maxDate instead.} --> 4562 <attr name="endYear" format="integer" /> 4563 <!-- The text appearance for the month (ex. May) in the selected date header. 4564 {@deprecated Use headerTextColor instead.} --> 4565 <attr name="headerMonthTextAppearance" format="reference" /> 4566 <!-- The text appearance for the day of month (ex. 28) in the selected date header. 4567 {@deprecated Use headerTextColor instead.} --> 4568 <attr name="headerDayOfMonthTextAppearance" format="reference" /> 4569 <!-- The text appearance for the year (ex. 2014) in the selected date header. 4570 {@deprecated Use headerTextColor instead.} --> 4571 <attr name="headerYearTextAppearance" format="reference" /> 4572 <!-- The background color for the header's day of week. 4573 {@deprecated No longer displayed.} --> 4574 <attr name="dayOfWeekBackground" format="color" /> 4575 <!-- The text color for the header's day of week. 4576 {@deprecated No longer displayed.} --> 4577 <attr name="dayOfWeekTextAppearance" format="reference" /> 4578 <!-- The list year's selected circle color in the list. 4579 {@deprecated No longer displayed.} --> 4580 <attr name="yearListSelectorColor" format="color" /> 4581 </declare-styleable> 4582 4583 <declare-styleable name="TwoLineListItem"> 4584 <attr name="mode"> 4585 <!-- Always show only the first line. --> 4586 <enum name="oneLine" value="1" /> 4587 <!-- When selected show both lines, otherwise show only the first line. 4588 This is the default mode. --> 4589 <enum name="collapsing" value="2" /> 4590 <!-- Always show both lines. --> 4591 <enum name="twoLine" value="3" /> 4592 </attr> 4593 </declare-styleable> 4594 4595 <!-- SlidingDrawer specific attributes. These attributes are used to configure 4596 a SlidingDrawer from XML. --> 4597 <declare-styleable name="SlidingDrawer"> 4598 <!-- Identifier for the child that represents the drawer's handle. --> 4599 <attr name="handle" format="reference" /> 4600 <!-- Identifier for the child that represents the drawer's content. --> 4601 <attr name="content" format="reference" /> 4602 <!-- Orientation of the SlidingDrawer. --> 4603 <attr name="orientation" /> 4604 <!-- Extra offset for the handle at the bottom of the SlidingDrawer. --> 4605 <attr name="bottomOffset" format="dimension" /> 4606 <!-- Extra offset for the handle at the top of the SlidingDrawer. --> 4607 <attr name="topOffset" format="dimension" /> 4608 <!-- Indicates whether the drawer can be opened/closed by a single tap 4609 on the handle. (If false, the user must drag or fling, or click 4610 using the trackball, to open/close the drawer.) Default is true. --> 4611 <attr name="allowSingleTap" format="boolean" /> 4612 <!-- Indicates whether the drawer should be opened/closed with an animation 4613 when the user clicks the handle. Default is true. --> 4614 <attr name="animateOnClick" format="boolean" /> 4615 </declare-styleable> 4616 4617 <!-- GestureOverlayView specific attributes. These attributes are used to configure 4618 a GestureOverlayView from XML. --> 4619 <declare-styleable name="GestureOverlayView"> 4620 <!-- Width of the stroke used to draw the gesture. --> 4621 <attr name="gestureStrokeWidth" format="float" /> 4622 <!-- Color used to draw a gesture. --> 4623 <attr name="gestureColor" format="color" /> 4624 <!-- Color used to draw the user's strokes until we are sure it's a gesture. --> 4625 <attr name="uncertainGestureColor" format="color" /> 4626 <!-- Time, in milliseconds, to wait before the gesture fades out after the user 4627 is done drawing it. --> 4628 <attr name="fadeOffset" format="integer" /> 4629 <!-- Duration, in milliseconds, of the fade out effect after the user is done 4630 drawing a gesture. --> 4631 <attr name="fadeDuration" format="integer" /> 4632 <!-- Defines the type of strokes that define a gesture. --> 4633 <attr name="gestureStrokeType"> 4634 <!-- A gesture is made of only one stroke. --> 4635 <enum name="single" value="0" /> 4636 <!-- A gesture is made of multiple strokes. --> 4637 <enum name="multiple" value="1" /> 4638 </attr> 4639 <!-- Minimum length of a stroke before it is recognized as a gesture. --> 4640 <attr name="gestureStrokeLengthThreshold" format="float" /> 4641 <!-- Squareness threshold of a stroke before it is recognized as a gesture. --> 4642 <attr name="gestureStrokeSquarenessThreshold" format="float" /> 4643 <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. --> 4644 <attr name="gestureStrokeAngleThreshold" format="float" /> 4645 <!-- Defines whether the overlay should intercept the motion events when a gesture 4646 is recognized. --> 4647 <attr name="eventsInterceptionEnabled" format="boolean" /> 4648 <!-- Defines whether the gesture will automatically fade out after being recognized. --> 4649 <attr name="fadeEnabled" format="boolean" /> 4650 <!-- Indicates whether horizontal (when the orientation is vertical) or vertical 4651 (when orientation is horizontal) strokes automatically define a gesture. --> 4652 <attr name="orientation" /> 4653 </declare-styleable> 4654 4655 <declare-styleable name="QuickContactBadge"> 4656 <attr name="quickContactWindowSize"> 4657 <enum name="modeSmall" value="1" /> 4658 <enum name="modeMedium" value="2" /> 4659 <enum name="modeLarge" value="3" /> 4660 </attr> 4661 </declare-styleable> 4662 4663 <!-- ======================================= --> 4664 <!-- Widget package parent layout attributes --> 4665 <!-- ======================================= --> 4666 <eat-comment /> 4667 4668 <declare-styleable name="AbsoluteLayout_Layout"> 4669 <attr name="layout_x" format="dimension" /> 4670 <attr name="layout_y" format="dimension" /> 4671 </declare-styleable> 4672 <declare-styleable name="LinearLayout_Layout"> 4673 <attr name="layout_width" /> 4674 <attr name="layout_height" /> 4675 <attr name="layout_weight" format="float" /> 4676 <attr name="layout_gravity" /> 4677 </declare-styleable> 4678 <declare-styleable name="GridLayout_Layout"> 4679 <!-- The row boundary delimiting the top of the group of cells 4680 occupied by this view. --> 4681 <attr name="layout_row" format="integer" /> 4682 <!-- The row span: the difference between the top and bottom 4683 boundaries delimiting the group of cells occupied by this view. 4684 The default is one. 4685 See {@link android.widget.GridLayout.Spec}. --> 4686 <attr name="layout_rowSpan" format="integer" min="1" /> 4687 <!-- The relative proportion of vertical space that should be allocated to this view 4688 during excess space distribution. --> 4689 <attr name="layout_rowWeight" format="float" /> 4690 <!-- The column boundary delimiting the left of the group of cells 4691 occupied by this view. --> 4692 <attr name="layout_column" /> 4693 <!-- The column span: the difference between the right and left 4694 boundaries delimiting the group of cells occupied by this view. 4695 The default is one. 4696 See {@link android.widget.GridLayout.Spec}. --> 4697 <attr name="layout_columnSpan" format="integer" min="1" /> 4698 <!-- The relative proportion of horizontal space that should be allocated to this view 4699 during excess space distribution. --> 4700 <attr name="layout_columnWeight" format="float" /> 4701 <!-- Gravity specifies how a component should be placed in its group of cells. 4702 The default is LEFT | BASELINE. 4703 See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. --> 4704 <attr name="layout_gravity" /> 4705 </declare-styleable> 4706 <declare-styleable name="FrameLayout_Layout"> 4707 <attr name="layout_gravity" /> 4708 </declare-styleable> 4709 <declare-styleable name="RelativeLayout_Layout"> 4710 <!-- Positions the right edge of this view to the left of the given anchor view ID. 4711 Accommodates right margin of this view and left margin of anchor view. --> 4712 <attr name="layout_toLeftOf" format="reference" /> 4713 <!-- Positions the left edge of this view to the right of the given anchor view ID. 4714 Accommodates left margin of this view and right margin of anchor view. --> 4715 <attr name="layout_toRightOf" format="reference" /> 4716 <!-- Positions the bottom edge of this view above the given anchor view ID. 4717 Accommodates bottom margin of this view and top margin of anchor view. --> 4718 <attr name="layout_above" format="reference" /> 4719 <!-- Positions the top edge of this view below the given anchor view ID. 4720 Accommodates top margin of this view and bottom margin of anchor view. --> 4721 <attr name="layout_below" format="reference" /> 4722 <!-- Positions the baseline of this view on the baseline of the given anchor view ID. --> 4723 <attr name="layout_alignBaseline" format="reference" /> 4724 <!-- Makes the left edge of this view match the left edge of the given anchor view ID. 4725 Accommodates left margin. --> 4726 <attr name="layout_alignLeft" format="reference" /> 4727 <!-- Makes the top edge of this view match the top edge of the given anchor view ID. 4728 Accommodates top margin. --> 4729 <attr name="layout_alignTop" format="reference" /> 4730 <!-- Makes the right edge of this view match the right edge of the given anchor view ID. 4731 Accommodates right margin. --> 4732 <attr name="layout_alignRight" format="reference" /> 4733 <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID. 4734 Accommodates bottom margin. --> 4735 <attr name="layout_alignBottom" format="reference" /> 4736 <!-- If true, makes the left edge of this view match the left edge of the parent. 4737 Accommodates left margin. --> 4738 <attr name="layout_alignParentLeft" format="boolean" /> 4739 <!-- If true, makes the top edge of this view match the top edge of the parent. 4740 Accommodates top margin. --> 4741 <attr name="layout_alignParentTop" format="boolean" /> 4742 <!-- If true, makes the right edge of this view match the right edge of the parent. 4743 Accommodates right margin. --> 4744 <attr name="layout_alignParentRight" format="boolean" /> 4745 <!-- If true, makes the bottom edge of this view match the bottom edge of the parent. 4746 Accommodates bottom margin. --> 4747 <attr name="layout_alignParentBottom" format="boolean" /> 4748 <!-- If true, centers this child horizontally and vertically within its parent. --> 4749 <attr name="layout_centerInParent" format="boolean" /> 4750 <!-- If true, centers this child horizontally within its parent. --> 4751 <attr name="layout_centerHorizontal" format="boolean" /> 4752 <!-- If true, centers this child vertically within its parent. --> 4753 <attr name="layout_centerVertical" format="boolean" /> 4754 <!-- If set to true, the parent will be used as the anchor when the anchor cannot be 4755 be found for layout_toLeftOf, layout_toRightOf, etc. --> 4756 <attr name="layout_alignWithParentIfMissing" format="boolean" /> 4757 <!-- Positions the end edge of this view to the start of the given anchor view ID. 4758 Accommodates end margin of this view and start margin of anchor view. --> 4759 <attr name="layout_toStartOf" format="reference" /> 4760 <!-- Positions the start edge of this view to the end of the given anchor view ID. 4761 Accommodates start margin of this view and end margin of anchor view. --> 4762 <attr name="layout_toEndOf" format="reference" /> 4763 <!-- Makes the start edge of this view match the start edge of the given anchor view ID. 4764 Accommodates start margin. --> 4765 <attr name="layout_alignStart" format="reference" /> 4766 <!-- Makes the end edge of this view match the end edge of the given anchor view ID. 4767 Accommodates end margin. --> 4768 <attr name="layout_alignEnd" format="reference" /> 4769 <!-- If true, makes the start edge of this view match the start edge of the parent. 4770 Accommodates start margin. --> 4771 <attr name="layout_alignParentStart" format="boolean" /> 4772 <!-- If true, makes the end edge of this view match the end edge of the parent. 4773 Accommodates end margin. --> 4774 <attr name="layout_alignParentEnd" format="boolean" /> 4775 </declare-styleable> 4776 <declare-styleable name="VerticalSlider_Layout"> 4777 <attr name="layout_scale" format="float" /> 4778 </declare-styleable> 4779 4780 <!-- attributes for internal rotary widget used in lock screen and phone app 4781 @hide --> 4782 <declare-styleable name="RotarySelector"> 4783 <!-- Use "horizontal" or "vertical". The default is horizontal. --> 4784 <attr name="orientation" /> 4785 </declare-styleable> 4786 4787 <!-- @hide --> 4788 <declare-styleable name="WeightedLinearLayout"> 4789 <attr name="majorWeightMin" format="float" /> 4790 <attr name="minorWeightMin" format="float" /> 4791 <attr name="majorWeightMax" format="float" /> 4792 <attr name="minorWeightMax" format="float" /> 4793 </declare-styleable> 4794 4795 <declare-styleable name="CalendarView"> 4796 <!-- The first day of week according to {@link java.util.Calendar}. --> 4797 <attr name="firstDayOfWeek" format="integer" /> 4798 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4799 <attr name="minDate" /> 4800 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4801 <attr name="maxDate" /> 4802 <!-- The text appearance for the month and year in the calendar header. --> 4803 <attr name="monthTextAppearance" format="reference" /> 4804 <!-- The text appearance for the week day abbreviation in the calendar header. --> 4805 <attr name="weekDayTextAppearance" format="reference" /> 4806 <!-- The text appearance for the day numbers in the calendar grid. --> 4807 <attr name="dateTextAppearance" format="reference" /> 4808 <!-- @hide The background color used for the day selection indicator. --> 4809 <attr name="daySelectorColor" format="color" /> 4810 <!-- @hide The background color used for the day highlight indicator. --> 4811 <attr name="dayHighlightColor" format="color" /> 4812 <!-- @hide Which style of calendar delegate to use. --> 4813 <attr name="calendarViewMode"> 4814 <enum name="holo" value="0" /> 4815 <enum name="material" value="1" /> 4816 </attr> 4817 4818 <!-- @deprecated Whether do show week numbers. --> 4819 <attr name="showWeekNumber" format="boolean" /> 4820 <!-- @deprecated The number of weeks to be shown. --> 4821 <attr name="shownWeekCount" format="integer"/> 4822 <!-- @deprecated The background color for the selected week. --> 4823 <attr name="selectedWeekBackgroundColor" format="color|reference" /> 4824 <!-- @deprecated The color for the dates of the focused month. --> 4825 <attr name="focusedMonthDateColor" format="color|reference" /> 4826 <!-- @deprecated The color for the dates of an unfocused month. --> 4827 <attr name="unfocusedMonthDateColor" format="color|reference" /> 4828 <!-- @deprecated The color for the week numbers. --> 4829 <attr name="weekNumberColor" format="color|reference" /> 4830 <!-- @deprecated The color for the separator line between weeks. --> 4831 <attr name="weekSeparatorLineColor" format="color|reference" /> 4832 <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. --> 4833 <attr name="selectedDateVerticalBar" format="reference" /> 4834 </declare-styleable> 4835 4836 <declare-styleable name="NumberPicker"> 4837 <!-- @hide Color for the solid color background if such for optimized rendering. --> 4838 <attr name="solidColor" format="color|reference" /> 4839 <!-- @hide The divider for making the selection area. --> 4840 <attr name="selectionDivider" format="reference" /> 4841 <!-- @hide The height of the selection divider. --> 4842 <attr name="selectionDividerHeight" format="dimension" /> 4843 <!-- @hide The distance between the two selection dividers. --> 4844 <attr name="selectionDividersDistance" format="dimension" /> 4845 <!-- @hide The min height of the NumberPicker. --> 4846 <attr name="internalMinHeight" format="dimension" /> 4847 <!-- @hide The max height of the NumberPicker. --> 4848 <attr name="internalMaxHeight" format="dimension" /> 4849 <!-- @hide The min width of the NumberPicker. --> 4850 <attr name="internalMinWidth" format="dimension" /> 4851 <!-- @hide The max width of the NumberPicker. --> 4852 <attr name="internalMaxWidth" format="dimension" /> 4853 <!-- @hide The layout of the number picker. --> 4854 <attr name="internalLayout" /> 4855 <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. --> 4856 <attr name="virtualButtonPressedDrawable" format="reference"/> 4857 <!-- @hide If true then the selector wheel is hidden until the picker has focus. --> 4858 <attr name="hideWheelUntilFocused" format="boolean"/> 4859 </declare-styleable> 4860 4861 <declare-styleable name="TimePicker"> 4862 <!-- @hide The layout of the legacy time picker. --> 4863 <attr name="legacyLayout" format="reference" /> 4864 <!-- @hide The layout of the time picker. --> 4865 <attr name="internalLayout" /> 4866 4867 <!-- The text color for the selected time header text, ex. "12" or 4868 "PM". This should be a color state list where the activated state 4869 will be used when the minute picker or hour picker is active.--> 4870 <attr name="headerTextColor" /> 4871 <!-- The background for the header containing the currently selected time. --> 4872 <attr name="headerBackground" /> 4873 4874 <!-- The color for the hours/minutes numbers. This should be a color 4875 state list where the activated state will be used when the number 4876 is active.--> 4877 <attr name="numbersTextColor" format="color" /> 4878 <!-- The color for the inner hours numbers used in 24-hour mode. This 4879 should be a color state list where the activated state will be 4880 used when the number is active.--> 4881 <attr name="numbersInnerTextColor" format="color" /> 4882 <!-- The background color for the hours/minutes numbers. --> 4883 <attr name="numbersBackgroundColor" format="color" /> 4884 <!-- The color for the hours/minutes selector. --> 4885 <attr name="numbersSelectorColor" format="color" /> 4886 4887 <!-- Defines the look of the widget. Prior to the L release, the only choice was 4888 spinner. As of L, with the Material theme selected, the default layout is clock, 4889 but this attribute can be used to force spinner to be used instead. --> 4890 <attr name="timePickerMode"> 4891 <!-- Time picker with spinner controls to select the time. --> 4892 <enum name="spinner" value="1" /> 4893 <!-- Time picker with clock face to select the time. --> 4894 <enum name="clock" value="2" /> 4895 </attr> 4896 4897 <!-- The text appearance for the AM/PM header. 4898 @deprecated Use headerTextColor instead. --> 4899 <attr name="headerAmPmTextAppearance" format="reference" /> 4900 <!-- The text appearance for the time header. 4901 @deprecated Use headerTextColor instead. --> 4902 <attr name="headerTimeTextAppearance" format="reference" /> 4903 <!-- The color for the AM/PM selectors. 4904 {@deprecated Use headerTextColor instead.}--> 4905 <attr name="amPmTextColor" format="color" /> 4906 <!-- The background color state list for the AM/PM selectors. 4907 {@deprecated Use headerBackground instead.}--> 4908 <attr name="amPmBackgroundColor" format="color" /> 4909 </declare-styleable> 4910 4911 <!-- ========================= --> 4912 <!-- Drawable class attributes --> 4913 <!-- ========================= --> 4914 <eat-comment /> 4915 4916 <!-- Base attributes that are available to all Drawable objects. --> 4917 <declare-styleable name="Drawable"> 4918 <!-- Provides initial visibility state of the drawable; the default 4919 value is false. See 4920 {@link android.graphics.drawable.Drawable#setVisible}. --> 4921 <attr name="visible" format="boolean" /> 4922 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 4923 RTL (right-to-left). See 4924 {@link android.graphics.drawable.Drawable#setAutoMirrored}. --> 4925 <attr name="autoMirrored" format="boolean" /> 4926 </declare-styleable> 4927 4928 <!-- Drawable used to render several states. Each state is represented by 4929 a child drawable. --> 4930 <declare-styleable name="StateListDrawable"> 4931 <!-- Indicates whether the drawable should be initially visible. --> 4932 <attr name="visible" /> 4933 <!-- If true, allows the drawable's padding to change based on the 4934 current state that is selected. If false, the padding will 4935 stay the same (based on the maximum padding of all the states). 4936 Enabling this feature requires that the owner of the drawable 4937 deal with performing layout when the state changes, which is 4938 often not supported. --> 4939 <attr name="variablePadding" format="boolean" /> 4940 <!-- If true, the drawable's reported internal size will remain 4941 constant as the state changes; the size is the maximum of all 4942 of the states. If false, the size will vary based on the 4943 current state. --> 4944 <attr name="constantSize" format="boolean" /> 4945 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 4946 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 4947 an RGB 565 screen). --> 4948 <attr name="dither" format="boolean" /> 4949 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 4950 <attr name="enterFadeDuration" format="integer" /> 4951 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 4952 <attr name="exitFadeDuration" format="integer" /> 4953 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 4954 RTL (right-to-left). --> 4955 <attr name="autoMirrored"/> 4956 </declare-styleable> 4957 4958 <!-- Drawable used to render several states with animated transitions. Each state 4959 is represented by a child drawable with an optional keyframe ID. --> 4960 <declare-styleable name="AnimatedStateListDrawable"> 4961 <!-- Indicates whether the drawable should be initially visible. --> 4962 <attr name="visible" /> 4963 <!-- If true, allows the drawable's padding to change based on the 4964 current state that is selected. If false, the padding will 4965 stay the same (based on the maximum padding of all the states). 4966 Enabling this feature requires that the owner of the drawable 4967 deal with performing layout when the state changes, which is 4968 often not supported. --> 4969 <attr name="variablePadding" /> 4970 <!-- If true, the drawable's reported internal size will remain 4971 constant as the state changes; the size is the maximum of all 4972 of the states. If false, the size will vary based on the 4973 current state. --> 4974 <attr name="constantSize" /> 4975 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 4976 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 4977 an RGB 565 screen). --> 4978 <attr name="dither" /> 4979 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 4980 <attr name="enterFadeDuration" /> 4981 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 4982 <attr name="exitFadeDuration" /> 4983 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 4984 RTL (right-to-left). --> 4985 <attr name="autoMirrored"/> 4986 </declare-styleable> 4987 4988 <!-- Represents a single state inside a StateListDrawable. --> 4989 <declare-styleable name="StateListDrawableItem"> 4990 <!-- Reference to a drawable resource to use for the state. If not 4991 given, the drawable must be defined by the first child tag. --> 4992 <attr name="drawable" /> 4993 </declare-styleable> 4994 4995 <!-- Transition used to animate between states with keyframe IDs. --> 4996 <declare-styleable name="AnimatedStateListDrawableItem"> 4997 <!-- Reference to a drawable resource to use for the frame. If not 4998 given, the drawable must be defined by the first child tag. --> 4999 <attr name="drawable" /> 5000 <!-- Keyframe identifier for use in specifying transitions. --> 5001 <attr name="id" /> 5002 </declare-styleable> 5003 5004 <!-- Transition used to animate between states with keyframe IDs. --> 5005 <declare-styleable name="AnimatedStateListDrawableTransition"> 5006 <!-- Keyframe identifier for the starting state. --> 5007 <attr name="fromId" format="reference" /> 5008 <!-- Keyframe identifier for the ending state. --> 5009 <attr name="toId" format="reference" /> 5010 <!-- Reference to a animation drawable resource to use for the frame. If not 5011 given, the animation drawable must be defined by the first child tag. --> 5012 <attr name="drawable" /> 5013 <!-- Whether this transition is reversible. --> 5014 <attr name="reversible" format="boolean" /> 5015 </declare-styleable> 5016 5017 <!-- Drawable used to render several animated frames. --> 5018 <declare-styleable name="AnimationDrawable"> 5019 <attr name="visible" /> 5020 <attr name="variablePadding" /> 5021 <!-- If true, the animation will only run a single time and then 5022 stop. If false (the default), it will continually run, 5023 restarting at the first frame after the last has finished. --> 5024 <attr name="oneshot" format="boolean" /> 5025 </declare-styleable> 5026 5027 <!-- Represents a single frame inside an AnimationDrawable. --> 5028 <declare-styleable name="AnimationDrawableItem"> 5029 <!-- Amount of time (in milliseconds) to display this frame. --> 5030 <attr name="duration" format="integer" /> 5031 <!-- Reference to a drawable resource to use for the frame. If not 5032 given, the drawable must be defined by the first child tag. --> 5033 <attr name="drawable" format="reference" /> 5034 </declare-styleable> 5035 5036 <!-- Attributes that can be assigned to a StateListAnimator item. --> 5037 <declare-styleable name="StateListAnimatorItem"> 5038 <attr name="animation"/> 5039 </declare-styleable> 5040 5041 <!-- Attributes that can be assigned to a ColorStateList item. --> 5042 <declare-styleable name="ColorStateListItem"> 5043 <!-- Base color for this state. --> 5044 <attr name="color" /> 5045 <!-- Alpha multiplier applied to the base color. --> 5046 <attr name="alpha" /> 5047 </declare-styleable> 5048 5049 <!-- Drawable used to render a geometric shape, with a gradient or a solid color. --> 5050 <declare-styleable name="GradientDrawable"> 5051 <!-- Indicates whether the drawable should intially be visible. --> 5052 <attr name="visible" /> 5053 <!-- Enables or disables dithering. --> 5054 <attr name="dither" /> 5055 <!-- Indicates what shape to fill with a gradient. --> 5056 <attr name="shape"> 5057 <!-- Rectangle shape, with optional rounder corners. --> 5058 <enum name="rectangle" value="0" /> 5059 <!-- Oval shape. --> 5060 <enum name="oval" value="1" /> 5061 <!-- Line shape. --> 5062 <enum name="line" value="2" /> 5063 <!-- Ring shape. --> 5064 <enum name="ring" value="3" /> 5065 </attr> 5066 <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance, 5067 if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. 5068 This value is ignored if innerRadius is defined. Default value is 9. --> 5069 <attr name="innerRadiusRatio" format="float" /> 5070 <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance, 5071 if thicknessRatio=3, then the thickness equals the ring's width divided by 3. 5072 This value is ignored if innerRadius is defined. Default value is 3. --> 5073 <attr name="thicknessRatio" format="float" /> 5074 <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. --> 5075 <attr name="innerRadius" format="dimension" /> 5076 <!-- Thickness of the ring. When defined, thicknessRatio is ignored. --> 5077 <attr name="thickness" format="dimension" /> 5078 <!-- Indicates whether the drawable's level affects the way the gradient is drawn. --> 5079 <attr name="useLevel" /> 5080 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5081 no tint is applied. May be a color state list. --> 5082 <attr name="tint" /> 5083 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5084 default value is src_in, which treats the drawable as an alpha mask. --> 5085 <attr name="tintMode" /> 5086 </declare-styleable> 5087 5088 <!-- Used to specify the size of the shape for GradientDrawable. --> 5089 <declare-styleable name="GradientDrawableSize"> 5090 <!-- Width of the gradient shape. --> 5091 <attr name="width" /> 5092 <!-- Height of the gradient shape. --> 5093 <attr name="height" /> 5094 </declare-styleable> 5095 5096 <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. --> 5097 <declare-styleable name="GradientDrawableGradient"> 5098 <!-- Start color of the gradient. --> 5099 <attr name="startColor" format="color" /> 5100 <!-- Optional center color. For linear gradients, use centerX or centerY 5101 to place the center color. --> 5102 <attr name="centerColor" format="color" /> 5103 <!-- End color of the gradient. --> 5104 <attr name="endColor" format="color" /> 5105 <attr name="useLevel" format="boolean" /> 5106 <!-- Angle of the gradient. --> 5107 <attr name="angle" format="float" /> 5108 <!-- Type of gradient. The default type is linear. --> 5109 <attr name="type"> 5110 <!-- Linear gradient. --> 5111 <enum name="linear" value="0" /> 5112 <!-- Radial, or circular, gradient. --> 5113 <enum name="radial" value="1" /> 5114 <!-- Sweep, or angled or diamond, gradient. --> 5115 <enum name="sweep" value="2" /> 5116 </attr> 5117 <!-- X coordinate of the origin of the gradient within the shape. --> 5118 <attr name="centerX" format="float|fraction" /> 5119 <!-- Y coordinate of the origin of the gradient within the shape. --> 5120 <attr name="centerY" format="float|fraction" /> 5121 <!-- Radius of the gradient, used only with radial gradient. --> 5122 <attr name="gradientRadius" format="float|fraction|dimension" /> 5123 </declare-styleable> 5124 5125 <!-- Used to fill the shape of GradientDrawable with a solid color. --> 5126 <declare-styleable name="GradientDrawableSolid"> 5127 <!-- Solid color for the gradient shape. --> 5128 <attr name="color" format="color" /> 5129 </declare-styleable> 5130 5131 <!-- Used to describe the optional stroke of a GradientDrawable. --> 5132 <declare-styleable name="GradientDrawableStroke"> 5133 <!-- Width of the gradient shape's stroke. --> 5134 <attr name="width" /> 5135 <!-- Color of the gradient shape's stroke. --> 5136 <attr name="color" /> 5137 <!-- Length of a dash in the stroke. --> 5138 <attr name="dashWidth" format="dimension" /> 5139 <!-- Gap between dashes in the stroke. --> 5140 <attr name="dashGap" format="dimension" /> 5141 </declare-styleable> 5142 5143 <!-- Describes the corners for the rectangle shape of a GradientDrawable. 5144 This can be used to render rounded corners. --> 5145 <declare-styleable name="DrawableCorners"> 5146 <!-- Defines the radius of the four corners. --> 5147 <attr name="radius" format="dimension" /> 5148 <!-- Radius of the top left corner. --> 5149 <attr name="topLeftRadius" format="dimension" /> 5150 <!-- Radius of the top right corner. --> 5151 <attr name="topRightRadius" format="dimension" /> 5152 <!-- Radius of the bottom left corner. --> 5153 <attr name="bottomLeftRadius" format="dimension" /> 5154 <!-- Radius of the bottom right corner. --> 5155 <attr name="bottomRightRadius" format="dimension" /> 5156 </declare-styleable> 5157 5158 <!-- Used to specify the optional padding of a GradientDrawable. --> 5159 <declare-styleable name="GradientDrawablePadding"> 5160 <!-- Amount of left padding inside the gradient shape. --> 5161 <attr name="left" format="dimension" /> 5162 <!-- Amount of top padding inside the gradient shape. --> 5163 <attr name="top" format="dimension" /> 5164 <!-- Amount of right padding inside the gradient shape. --> 5165 <attr name="right" format="dimension" /> 5166 <!-- Amount of bottom padding inside the gradient shape. --> 5167 <attr name="bottom" format="dimension" /> 5168 </declare-styleable> 5169 5170 <!-- Drawable used to render several drawables stacked on top of each other. 5171 Each child drawable can be controlled individually. --> 5172 <declare-styleable name="LayerDrawable"> 5173 <!-- Indicates the opacity of the layer. This can be useful to allow the 5174 system to enable drawing optimizations. The default value is 5175 translucent. --> 5176 <attr name="opacity"> 5177 <!-- Indicates that the layer is opaque and contains no transparent 5178 nor translucent pixels. --> 5179 <enum name="opaque" value="-1" /> 5180 <!-- The layer is completely transparent (no pixel will be drawn.) --> 5181 <enum name="transparent" value="-2" /> 5182 <!-- The layer has translucent pixels. --> 5183 <enum name="translucent" value="-3" /> 5184 </attr> 5185 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5186 RTL (right-to-left). --> 5187 <attr name="autoMirrored" /> 5188 <!-- Indicates how layer padding should affect the bounds of subsequent layers. 5189 The default padding mode value is nest. --> 5190 <attr name="paddingMode"> 5191 <!-- Nest each layer inside the padding of the previous layer. --> 5192 <enum name="nest" value="0" /> 5193 <!-- Stack each layer directly atop the previous layer. --> 5194 <enum name="stack" value="1" /> 5195 </attr> 5196 <!-- Explicit top padding. Overrides child padding. --> 5197 <attr name="paddingTop" /> 5198 <!-- Explicit bottom padding. Overrides child padding. --> 5199 <attr name="paddingBottom" /> 5200 <!-- Explicit left padding. Overrides child padding. --> 5201 <attr name="paddingLeft" /> 5202 <!-- Explicit right padding. Overrides child padding. --> 5203 <attr name="paddingRight" /> 5204 <!-- Explicit start padding. Overrides child padding. Takes precedence 5205 over absolute padding (e.g. left when layout direction is LTR). --> 5206 <attr name="paddingStart" /> 5207 <!-- Explicit end padding. Overrides child padding. Takes precedence 5208 over absolute padding (e.g. right when layout direction is LTR). --> 5209 <attr name="paddingEnd" /> 5210 </declare-styleable> 5211 5212 <!-- Describes an item (or child) of a LayerDrawable. --> 5213 <declare-styleable name="LayerDrawableItem"> 5214 <!-- Left inset to apply to the layer. --> 5215 <attr name="left" /> 5216 <!-- Top inset to apply to the layer. --> 5217 <attr name="top" /> 5218 <!-- Right inset to apply to the layer. --> 5219 <attr name="right" /> 5220 <!-- Bottom inset to apply to the layer. --> 5221 <attr name="bottom" /> 5222 <!-- Start inset to apply to the layer. Overrides {@code left} or 5223 {@code right} depending on layout direction. --> 5224 <attr name="start" format="dimension" /> 5225 <!-- End inset to apply to the layer. Overrides {@code left} or 5226 {@code right} depending on layout direction. --> 5227 <attr name="end" format="dimension" /> 5228 <!-- Width of the layer. Defaults to the layer's intrinsic width. --> 5229 <attr name="width" /> 5230 <!-- Height of the layer. Defaults to the layer's intrinsic height --> 5231 <attr name="height" /> 5232 <!-- Gravity used to align the layer within its container. If no value 5233 is specified, the default behavior depends on whether an explicit 5234 width or height has been set, If no dimension is set, gravity in 5235 that direction defaults to {@code fill_horizontal} or 5236 {@code fill_vertical}; otherwise, it defaults to {@code left} or 5237 {@code top}. --> 5238 <attr name="gravity" /> 5239 <!-- Drawable used to render the layer. --> 5240 <attr name="drawable" /> 5241 <!-- Identifier of the layer. This can be used to retrieve the layer 5242 from a drawable container. --> 5243 <attr name="id" /> 5244 </declare-styleable> 5245 5246 <declare-styleable name="LevelListDrawableItem"> 5247 <!-- The minimum level allowed for this item. --> 5248 <attr name="minLevel" format="integer" /> 5249 <!-- The maximum level allowed for this item. --> 5250 <attr name="maxLevel" format="integer" /> 5251 <attr name="drawable" /> 5252 </declare-styleable> 5253 5254 <!-- Drawable used to rotate another drawable. --> 5255 <declare-styleable name="RotateDrawable"> 5256 <attr name="visible" /> 5257 <attr name="fromDegrees" format="float" /> 5258 <attr name="toDegrees" format="float" /> 5259 <attr name="pivotX" format="float|fraction" /> 5260 <attr name="pivotY" format="float|fraction" /> 5261 <attr name="drawable" /> 5262 </declare-styleable> 5263 5264 <declare-styleable name="AnimatedRotateDrawable"> 5265 <attr name="visible" /> 5266 <attr name="frameDuration" format="integer" /> 5267 <attr name="framesCount" format="integer" /> 5268 <attr name="pivotX" /> 5269 <attr name="pivotY" /> 5270 <attr name="drawable" /> 5271 </declare-styleable> 5272 5273 <!-- Drawable used to render the Material progress indicator. --> 5274 <declare-styleable name="MaterialProgressDrawable"> 5275 <attr name="visible" /> 5276 <attr name="thickness" /> 5277 <attr name="innerRadius" /> 5278 <attr name="width" /> 5279 <attr name="height" /> 5280 <attr name="color" /> 5281 </declare-styleable> 5282 5283 <declare-styleable name="InsetDrawable"> 5284 <attr name="visible" /> 5285 <attr name="drawable" /> 5286 <attr name="inset" format="dimension"/> 5287 <attr name="insetLeft" format="dimension" /> 5288 <attr name="insetRight" format="dimension" /> 5289 <attr name="insetTop" format="dimension" /> 5290 <attr name="insetBottom" format="dimension" /> 5291 </declare-styleable> 5292 5293 <!-- Drawable used to draw bitmaps. --> 5294 <declare-styleable name="BitmapDrawable"> 5295 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5296 <attr name="src" /> 5297 <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the 5298 edges of a bitmap when rotated. Default value is false. --> 5299 <attr name="antialias" format="boolean" /> 5300 <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is 5301 shrunk or stretched to smooth its apperance. Default value is true. --> 5302 <attr name="filter" format="boolean" /> 5303 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5304 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5305 an RGB 565 screen). Default value is true. --> 5306 <attr name="dither" /> 5307 <!-- Defines the gravity for the bitmap. The gravity indicates where to position 5308 the drawable in its container if the bitmap is smaller than the container. --> 5309 <attr name="gravity" /> 5310 <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. 5311 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5312 <attr name="tileMode"> 5313 <!-- Do not tile the bitmap. This is the default value. --> 5314 <enum name="disabled" value="-1" /> 5315 <!-- Replicates the edge color. --> 5316 <enum name="clamp" value="0" /> 5317 <!-- Repeats the bitmap in both direction. --> 5318 <enum name="repeat" value="1" /> 5319 <!-- Repeats the shader's image horizontally and vertically, alternating 5320 mirror images so that adjacent images always seam. --> 5321 <enum name="mirror" value="2" /> 5322 </attr> 5323 <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated. 5324 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5325 <attr name="tileModeX"> 5326 <!-- Do not tile the bitmap. This is the default value. --> 5327 <enum name="disabled" value="-1" /> 5328 <!-- Replicates the edge color. --> 5329 <enum name="clamp" value="0" /> 5330 <!-- Repeats the bitmap horizontally. --> 5331 <enum name="repeat" value="1" /> 5332 <!-- Repeats the shader's image horizontally, alternating 5333 mirror images so that adjacent images always seam. --> 5334 <enum name="mirror" value="2" /> 5335 </attr> 5336 <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated. 5337 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5338 <attr name="tileModeY"> 5339 <!-- Do not tile the bitmap. This is the default value. --> 5340 <enum name="disabled" value="-1" /> 5341 <!-- Replicates the edge color. --> 5342 <enum name="clamp" value="0" /> 5343 <!-- Repeats the bitmap vertically. --> 5344 <enum name="repeat" value="1" /> 5345 <!-- Repeats the shader's image vertically, alternating 5346 mirror images so that adjacent images always seam. --> 5347 <enum name="mirror" value="2" /> 5348 </attr> 5349 <!-- Enables or disables the mipmap hint. See 5350 {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information. 5351 Default value is false. --> 5352 <attr name="mipMap" format="boolean" /> 5353 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5354 RTL (right-to-left). --> 5355 <attr name="autoMirrored" /> 5356 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5357 no tint is applied. May be a color state list. --> 5358 <attr name="tint" /> 5359 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5360 default value is src_in, which treats the drawable as an alpha mask. --> 5361 <attr name="tintMode"> 5362 <!-- The tint is drawn on top of the drawable. 5363 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 5364 <enum name="src_over" value="3" /> 5365 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 5366 color channels are thrown out. [Sa * Da, Sc * Da] --> 5367 <enum name="src_in" value="5" /> 5368 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 5369 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 5370 <enum name="src_atop" value="9" /> 5371 <!-- Multiplies the color and alpha channels of the drawable with those of 5372 the tint. [Sa * Da, Sc * Dc] --> 5373 <enum name="multiply" value="14" /> 5374 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 5375 <enum name="screen" value="15" /> 5376 <!-- Combines the tint and drawable color and alpha channels, clamping the 5377 result to valid color values. Saturate(S + D) --> 5378 <enum name="add" value="16" /> 5379 </attr> 5380 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5381 <attr name="alpha" /> 5382 </declare-styleable> 5383 5384 <!-- Drawable used to draw 9-patches. --> 5385 <declare-styleable name="NinePatchDrawable"> 5386 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5387 <attr name="src" /> 5388 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5389 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5390 an RGB 565 screen). --> 5391 <attr name="dither" /> 5392 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5393 RTL (right-to-left). --> 5394 <attr name="autoMirrored" /> 5395 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5396 no tint is applied. May be a color state list. --> 5397 <attr name="tint" /> 5398 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5399 default value is src_in, which treats the drawable as an alpha mask. --> 5400 <attr name="tintMode" /> 5401 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5402 <attr name="alpha" /> 5403 </declare-styleable> 5404 5405 <!-- Drawable used to draw a single color. --> 5406 <declare-styleable name="ColorDrawable"> 5407 <!-- The color to use. --> 5408 <attr name="color" /> 5409 </declare-styleable> 5410 5411 <!-- Drawable used to show animated touch feedback. --> 5412 <declare-styleable name="RippleDrawable"> 5413 <!-- The color to use for ripple effects. This attribute is required. --> 5414 <attr name="color" /> 5415 <!-- The radius of the ripple when fully expanded. By default, the 5416 radius is computed based on the size of the ripple's container. --> 5417 <attr name="radius" /> 5418 </declare-styleable> 5419 5420 <declare-styleable name="ScaleDrawable"> 5421 <!-- Scale width, expressed as a percentage of the drawable's bound. The value's 5422 format is XX%. For instance: 100%, 12.5%, etc.--> 5423 <attr name="scaleWidth" format="string" /> 5424 <!-- Scale height, expressed as a percentage of the drawable's bound. The value's 5425 format is XX%. For instance: 100%, 12.5%, etc.--> 5426 <attr name="scaleHeight" format="string" /> 5427 <!-- Specifies where the drawable is positioned after scaling. The default value is 5428 left. --> 5429 <attr name="scaleGravity"> 5430 <!-- Push object to the top of its container, not changing its size. --> 5431 <flag name="top" value="0x30" /> 5432 <!-- Push object to the bottom of its container, not changing its size. --> 5433 <flag name="bottom" value="0x50" /> 5434 <!-- Push object to the left of its container, not changing its size. --> 5435 <flag name="left" value="0x03" /> 5436 <!-- Push object to the right of its container, not changing its size. --> 5437 <flag name="right" value="0x05" /> 5438 <!-- Place object in the vertical center of its container, not changing its size. --> 5439 <flag name="center_vertical" value="0x10" /> 5440 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 5441 <flag name="fill_vertical" value="0x70" /> 5442 <!-- Place object in the horizontal center of its container, not changing its size. --> 5443 <flag name="center_horizontal" value="0x01" /> 5444 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 5445 <flag name="fill_horizontal" value="0x07" /> 5446 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 5447 <flag name="center" value="0x11" /> 5448 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 5449 <flag name="fill" value="0x77" /> 5450 <!-- Additional option that can be set to have the top and/or bottom edges of 5451 the child clipped to its container's bounds. 5452 The clip will be based on the vertical gravity: a top gravity will clip the bottom 5453 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 5454 <flag name="clip_vertical" value="0x80" /> 5455 <!-- Additional option that can be set to have the left and/or right edges of 5456 the child clipped to its container's bounds. 5457 The clip will be based on the horizontal gravity: a left gravity will clip the right 5458 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 5459 <flag name="clip_horizontal" value="0x08" /> 5460 <!-- Push object to the beginning of its container, not changing its size. --> 5461 <flag name="start" value="0x00800003" /> 5462 <!-- Push object to the end of its container, not changing its size. --> 5463 <flag name="end" value="0x00800005" /> 5464 </attr> 5465 <!-- Reference to a drawable resource to draw with the specified scale. --> 5466 <attr name="drawable" /> 5467 <!-- Use the drawable's intrinsic width and height as minimum size values. 5468 Useful if the target drawable is a 9-patch or otherwise should not be scaled 5469 down beyond a minimum size. --> 5470 <attr name="useIntrinsicSizeAsMinimum" format="boolean" /> 5471 </declare-styleable> 5472 5473 <declare-styleable name="ClipDrawable"> 5474 <!-- The orientation for the clip. --> 5475 <attr name="clipOrientation"> 5476 <!-- Clip the drawable horizontally. --> 5477 <flag name="horizontal" value="1" /> 5478 <!-- Clip the drawable vertically. --> 5479 <flag name="vertical" value="2" /> 5480 </attr> 5481 <!-- Specifies where to clip within the drawable. The default value is 5482 left. --> 5483 <attr name="gravity" /> 5484 <!-- Reference to a drawable resource to draw with the specified scale. --> 5485 <attr name="drawable" /> 5486 </declare-styleable> 5487 5488 <!-- Defines the padding of a ShapeDrawable. --> 5489 <declare-styleable name="ShapeDrawablePadding"> 5490 <!-- Left padding. --> 5491 <attr name="left" /> 5492 <!-- Top padding. --> 5493 <attr name="top" /> 5494 <!-- Right padding. --> 5495 <attr name="right" /> 5496 <!-- Bottom padding. --> 5497 <attr name="bottom" /> 5498 </declare-styleable> 5499 5500 <!-- Drawable used to draw shapes. --> 5501 <declare-styleable name="ShapeDrawable"> 5502 <!-- Defines the color of the shape. --> 5503 <attr name="color" /> 5504 <!-- Defines the width of the shape. --> 5505 <attr name="width" /> 5506 <!-- Defines the height of the shape. --> 5507 <attr name="height" /> 5508 <!-- Enables or disables dithering. --> 5509 <attr name="dither" /> 5510 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5511 no tint is applied. May be a color state list. --> 5512 <attr name="tint" /> 5513 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5514 default value is src_in, which treats the drawable as an alpha mask. --> 5515 <attr name="tintMode" /> 5516 </declare-styleable> 5517 5518 <!-- ========================== --> 5519 <!-- VectorDrawable class --> 5520 <!-- ========================== --> 5521 <eat-comment /> 5522 5523 <!-- Drawable used to draw vector paths. --> 5524 <declare-styleable name="VectorDrawable"> 5525 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5526 no tint is applied. May be a color state list. --> 5527 <attr name="tint" /> 5528 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5529 default value is src_in, which treats the drawable as an alpha mask. --> 5530 <attr name="tintMode" /> 5531 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5532 RTL (right-to-left). --> 5533 <attr name="autoMirrored" /> 5534 <!-- The intrinsic width of the Vector Drawable. --> 5535 <attr name="width" /> 5536 <!-- The intrinsic height of the Vector Drawable. --> 5537 <attr name="height" /> 5538 <!-- The width of the canvas the drawing is on. --> 5539 <attr name="viewportWidth" format="float"/> 5540 <!-- The height of the canvas the drawing is on. --> 5541 <attr name="viewportHeight" format="float"/> 5542 <!-- The name of this vector drawable --> 5543 <attr name="name" /> 5544 <!-- The opacity of the whole vector drawable, as a value between 0 5545 (completely transparent) and 1 (completely opaque). --> 5546 <attr name="alpha" /> 5547 </declare-styleable> 5548 5549 <!-- Defines the group used in VectorDrawables. --> 5550 <declare-styleable name="VectorDrawableGroup"> 5551 <!-- The name of this group --> 5552 <attr name="name" /> 5553 <!-- The amount to rotate the group --> 5554 <attr name="rotation" /> 5555 <!-- The X coordinate of the center of rotation of a group --> 5556 <attr name="pivotX" /> 5557 <!-- The Y coordinate of the center of rotation of a group --> 5558 <attr name="pivotY" /> 5559 <!-- The amount to translate the group on X coordinate --> 5560 <attr name="translateX" format="float"/> 5561 <!-- The amount to translate the group on Y coordinate --> 5562 <attr name="translateY" format="float"/> 5563 <!-- The amount to scale the group on X coordinate --> 5564 <attr name="scaleX" /> 5565 <!-- The amount to scale the group on X coordinate --> 5566 <attr name="scaleY" /> 5567 </declare-styleable> 5568 5569 <!-- Defines the path used in VectorDrawables. --> 5570 <declare-styleable name="VectorDrawablePath"> 5571 <!-- The name of this path --> 5572 <attr name="name" /> 5573 <!-- The width a path stroke --> 5574 <attr name="strokeWidth" format="float" /> 5575 <!-- The color to stroke the path if not defined implies no stroke--> 5576 <attr name="strokeColor" format="color" /> 5577 <!-- The opacity of a path stroke, as a value between 0 (completely transparent) 5578 and 1 (completely opaque) --> 5579 <attr name="strokeAlpha" format="float" /> 5580 <!-- The color to fill the path if not defined implies no fill--> 5581 <attr name="fillColor" format="color" /> 5582 <!-- The alpha of the path fill, as a value between 0 (completely transparent) 5583 and 1 (completely opaque)--> 5584 <attr name="fillAlpha" format="float" /> 5585 <!-- The specification of the operations that define the path --> 5586 <attr name="pathData" format="string" /> 5587 <!-- The fraction of the path to trim from the start from 0 to 1 --> 5588 <attr name="trimPathStart" format="float" /> 5589 <!-- The fraction of the path to trim from the end from 0 to 1 --> 5590 <attr name="trimPathEnd" format="float" /> 5591 <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1 --> 5592 <attr name="trimPathOffset" format="float" /> 5593 <!-- sets the linecap for a stroked path --> 5594 <attr name="strokeLineCap" format="enum"> 5595 <enum name="butt" value="0"/> 5596 <enum name="round" value="1"/> 5597 <enum name="square" value="2"/> 5598 </attr> 5599 <!-- sets the lineJoin for a stroked path --> 5600 <attr name="strokeLineJoin" format="enum"> 5601 <enum name="miter" value="0"/> 5602 <enum name="round" value="1"/> 5603 <enum name="bevel" value="2"/> 5604 </attr> 5605 <!-- sets the Miter limit for a stroked path --> 5606 <attr name="strokeMiterLimit" format="float"/> 5607 </declare-styleable> 5608 5609 <!-- Defines the clip path used in VectorDrawables. --> 5610 <declare-styleable name="VectorDrawableClipPath"> 5611 <!-- The Name of this path --> 5612 <attr name="name" /> 5613 <!-- The specification of the operations that define the path --> 5614 <attr name="pathData"/> 5615 </declare-styleable> 5616 5617 <!-- ========================== --> 5618 <!-- AnimatedVectorDrawable class --> 5619 <!-- ========================== --> 5620 <eat-comment /> 5621 5622 <!-- Define the AnimatedVectorDrawable. --> 5623 <declare-styleable name="AnimatedVectorDrawable"> 5624 <!-- The static vector drawable. --> 5625 <attr name="drawable" /> 5626 </declare-styleable> 5627 5628 <!-- Defines the target used in the AnimatedVectorDrawable. --> 5629 <declare-styleable name="AnimatedVectorDrawableTarget"> 5630 <!-- The name of the target path, group or vector drawable --> 5631 <attr name="name" /> 5632 <!-- The animation for the target path, group or vector drawable --> 5633 <attr name="animation" /> 5634 </declare-styleable> 5635 5636 <!-- ========================== --> 5637 <!-- Animation class attributes --> 5638 <!-- ========================== --> 5639 <eat-comment /> 5640 5641 <declare-styleable name="Animation"> 5642 <!-- Defines the interpolator used to smooth the animation movement in time. --> 5643 <attr name="interpolator" /> 5644 <!-- When set to true, the value of fillBefore is taken into account. --> 5645 <attr name="fillEnabled" format="boolean" /> 5646 <!-- When set to true or when fillEnabled is not set to true, the animation transformation 5647 is applied before the animation has started. The default value is true. --> 5648 <attr name="fillBefore" format="boolean" /> 5649 <!-- When set to true, the animation transformation is applied after the animation is 5650 over. The default value is false. If fillEnabled is not set to true and the 5651 animation is not set on a View, fillAfter is assumed to be true.--> 5652 <attr name="fillAfter" format="boolean" /> 5653 <!-- Amount of time (in milliseconds) for the animation to run. --> 5654 <attr name="duration" /> 5655 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 5656 <attr name="startOffset" format="integer" /> 5657 <!-- Defines how many times the animation should repeat. The default value is 0. --> 5658 <attr name="repeatCount" format="integer"> 5659 <enum name="infinite" value="-1" /> 5660 </attr> 5661 <!-- Defines the animation behavior when it reaches the end and the repeat count is 5662 greater than 0 or infinite. The default value is restart. --> 5663 <attr name="repeatMode"> 5664 <!-- The animation starts again from the beginning. --> 5665 <enum name="restart" value="1" /> 5666 <!-- The animation plays backward. --> 5667 <enum name="reverse" value="2" /> 5668 </attr> 5669 <!-- Allows for an adjustment of the Z ordering of the content being 5670 animated for the duration of the animation. The default value is normal. --> 5671 <attr name="zAdjustment"> 5672 <!-- The content being animated be kept in its current Z order. --> 5673 <enum name="normal" value="0" /> 5674 <!-- The content being animated is forced on top of all other 5675 content for the duration of the animation. --> 5676 <enum name="top" value="1" /> 5677 <!-- The content being animated is forced under all other 5678 content for the duration of the animation. --> 5679 <enum name="bottom" value="-1" /> 5680 </attr> 5681 <!-- Special background behind animation. Only for use with window 5682 animations. Can only be a color, and only black. If 0, the 5683 default, there is no background. --> 5684 <attr name="background" /> 5685 <!-- Special option for window animations: if this window is on top 5686 of a wallpaper, don't animate the wallpaper with it. --> 5687 <attr name="detachWallpaper" format="boolean" /> 5688 </declare-styleable> 5689 5690 <declare-styleable name="AnimationSet"> 5691 <attr name="shareInterpolator" format="boolean" /> 5692 <attr name="fillBefore" /> 5693 <attr name="fillAfter" /> 5694 <attr name="duration" /> 5695 <attr name="startOffset" /> 5696 <attr name="repeatMode" /> 5697 </declare-styleable> 5698 5699 <declare-styleable name="RotateAnimation"> 5700 <attr name="fromDegrees" /> 5701 <attr name="toDegrees" /> 5702 <attr name="pivotX" /> 5703 <attr name="pivotY" /> 5704 </declare-styleable> 5705 5706 <declare-styleable name="ScaleAnimation"> 5707 <attr name="fromXScale" format="float|fraction|dimension" /> 5708 <attr name="toXScale" format="float|fraction|dimension" /> 5709 <attr name="fromYScale" format="float|fraction|dimension" /> 5710 <attr name="toYScale" format="float|fraction|dimension" /> 5711 <attr name="pivotX" /> 5712 <attr name="pivotY" /> 5713 </declare-styleable> 5714 5715 <declare-styleable name="TranslateAnimation"> 5716 <attr name="fromXDelta" format="float|fraction" /> 5717 <attr name="toXDelta" format="float|fraction" /> 5718 <attr name="fromYDelta" format="float|fraction" /> 5719 <attr name="toYDelta" format="float|fraction" /> 5720 </declare-styleable> 5721 5722 <declare-styleable name="AlphaAnimation"> 5723 <attr name="fromAlpha" format="float" /> 5724 <attr name="toAlpha" format="float" /> 5725 </declare-styleable> 5726 5727 <declare-styleable name="LayoutAnimation"> 5728 <!-- Fraction of the animation duration used to delay the beginning of 5729 the animation of each child. --> 5730 <attr name="delay" format="float|fraction" /> 5731 <!-- Animation to use on each child. --> 5732 <attr name="animation" format="reference" /> 5733 <!-- The order in which the animations will be started. --> 5734 <attr name="animationOrder"> 5735 <!-- Animations are started in the natural order. --> 5736 <enum name="normal" value="0" /> 5737 <!-- Animations are started in the reverse order. --> 5738 <enum name="reverse" value="1" /> 5739 <!-- Animations are started randomly. --> 5740 <enum name="random" value="2" /> 5741 </attr> 5742 <!-- Interpolator used to interpolate the delay between the start of 5743 each animation. --> 5744 <attr name="interpolator" /> 5745 </declare-styleable> 5746 5747 <declare-styleable name="GridLayoutAnimation"> 5748 <!-- Fraction of the animation duration used to delay the beginning of 5749 the animation of each column. --> 5750 <attr name="columnDelay" format="float|fraction" /> 5751 <!-- Fraction of the animation duration used to delay the beginning of 5752 the animation of each row. --> 5753 <attr name="rowDelay" format="float|fraction" /> 5754 <!-- Direction of the animation in the grid. --> 5755 <attr name="direction"> 5756 <!-- Animates columns from left to right. --> 5757 <flag name="left_to_right" value="0x0" /> 5758 <!-- Animates columns from right to left. --> 5759 <flag name="right_to_left" value="0x1" /> 5760 <!-- Animates rows from top to bottom. --> 5761 <flag name="top_to_bottom" value="0x0" /> 5762 <!-- Animates rows from bottom to top. --> 5763 <flag name="bottom_to_top" value="0x2" /> 5764 </attr> 5765 <!-- Priority of the rows and columns. When the priority is none, 5766 both rows and columns have the same priority. When the priority is 5767 column, the animations will be applied on the columns first. The same 5768 goes for rows. --> 5769 <attr name="directionPriority"> 5770 <!-- Rows and columns are animated at the same time. --> 5771 <enum name="none" value="0" /> 5772 <!-- Columns are animated first. --> 5773 <enum name="column" value="1" /> 5774 <!-- Rows are animated first. --> 5775 <enum name="row" value="2" /> 5776 </attr> 5777 </declare-styleable> 5778 5779 <declare-styleable name="AccelerateInterpolator"> 5780 <!-- This is the amount of deceleration to add when easing in. --> 5781 <attr name="factor" format="float" /> 5782 </declare-styleable> 5783 5784 <declare-styleable name="DecelerateInterpolator"> 5785 <!-- This is the amount of acceleration to add when easing out. --> 5786 <attr name="factor" /> 5787 </declare-styleable> 5788 5789 <declare-styleable name="CycleInterpolator"> 5790 <attr name="cycles" format="float" /> 5791 </declare-styleable> 5792 5793 <declare-styleable name="AnticipateInterpolator"> 5794 <!-- This is the amount of tension. --> 5795 <attr name="tension" format="float" /> 5796 </declare-styleable> 5797 5798 <declare-styleable name="OvershootInterpolator"> 5799 <!-- This is the amount of tension. --> 5800 <attr name="tension" /> 5801 </declare-styleable> 5802 5803 <declare-styleable name="AnticipateOvershootInterpolator"> 5804 <!-- This is the amount of tension. --> 5805 <attr name="tension" /> 5806 <!-- This is the amount by which to multiply the tension. --> 5807 <attr name="extraTension" format="float" /> 5808 </declare-styleable> 5809 5810 <declare-styleable name="PathInterpolator"> 5811 <!-- The x coordinate of the first control point of the cubic Bezier --> 5812 <attr name="controlX1" format="float" /> 5813 <!-- The y coordinate of the first control point of the cubic Bezier --> 5814 <attr name="controlY1" format="float" /> 5815 <!-- The x coordinate of the second control point of the cubic Bezier --> 5816 <attr name="controlX2" format="float" /> 5817 <!-- The y coordinate of the second control point of the cubic Bezier --> 5818 <attr name="controlY2" format="float" /> 5819 <!-- The control points defined as a path. 5820 When pathData is defined, then both of the control points of the 5821 cubic Bezier will be ignored. --> 5822 <attr name="pathData"/> 5823 </declare-styleable> 5824 5825 <!-- ========================== --> 5826 <!-- Transition attributes --> 5827 <!-- ========================== --> 5828 <eat-comment /> 5829 5830 <!-- Use specific transition subclass names as the root tag of the XML resource that 5831 describes a {@link android.transition.Transition Transition}, 5832 such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. --> 5833 <declare-styleable name="Transition"> 5834 <!-- Amount of time (in milliseconds) that the transition should run. --> 5835 <attr name="duration" /> 5836 <!-- Delay in milliseconds before the transition starts. --> 5837 <attr name="startDelay" format="integer" /> 5838 <!-- Interpolator to be used in the animations spawned by this transition. --> 5839 <attr name="interpolator" /> 5840 <!-- The match order to use for the transition. This is a comma-separated 5841 list of values, containing one or more of the following: 5842 id, itemId, name, instance. These correspond to 5843 {@link android.transition.Transition#MATCH_ID}, 5844 {@link android.transition.Transition#MATCH_ITEM_ID}, 5845 {@link android.transition.Transition#MATCH_NAME}, and 5846 {@link android.transition.Transition#MATCH_INSTANCE}, respectively. 5847 This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. --> 5848 <attr name="matchOrder" format="string" /> 5849 </declare-styleable> 5850 5851 <!-- @hide For internal use only. Use only as directed. --> 5852 <declare-styleable name="EpicenterClipReveal"> 5853 <attr name="centerClipBounds" format="boolean" /> 5854 <attr name="interpolatorX" format="reference" /> 5855 <attr name="interpolatorY" format="reference" /> 5856 </declare-styleable> 5857 5858 <!-- @hide For internal use only. Use only as directed. --> 5859 <declare-styleable name="EpicenterTranslate"> 5860 <attr name="interpolatorX" /> 5861 <attr name="interpolatorY" /> 5862 <attr name="interpolatorZ" format="reference" /> 5863 </declare-styleable> 5864 5865 <!-- Use <code>fade</code>as the root tag of the XML resource that 5866 describes a {@link android.transition.Fade Fade} transition. 5867 The attributes of the {@link android.R.styleable#Transition Transition} 5868 resource are available in addition to the specific attributes of Fade 5869 described here. --> 5870 <declare-styleable name="Fade"> 5871 <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only 5872 with the Fade transition. --> 5873 <attr name="fadingMode"> 5874 <!-- Fade will only fade appearing items in. --> 5875 <enum name="fade_in" value="1" /> 5876 <!-- Fade will only fade disappearing items out. --> 5877 <enum name="fade_out" value="2" /> 5878 <!-- Fade will fade appearing items in and disappearing items out. --> 5879 <enum name="fade_in_out" value="3" /> 5880 </attr> 5881 </declare-styleable> 5882 5883 <!-- Use <code>slide</code>as the root tag of the XML resource that 5884 describes a {@link android.transition.Slide Slide} transition. 5885 The attributes of the {@link android.R.styleable#Transition Transition} 5886 resource are available in addition to the specific attributes of Slide 5887 described here. --> 5888 <declare-styleable name="Slide"> 5889 <attr name="slideEdge"> 5890 <!-- Slide to and from the left edge of the Scene. --> 5891 <enum name="left" value="0x03" /> 5892 <!-- Slide to and from the top edge of the Scene. --> 5893 <enum name="top" value="0x30" /> 5894 <!-- Slide to and from the right edge of the Scene. --> 5895 <enum name="right" value="0x05" /> 5896 <!-- Slide to and from the bottom edge of the Scene. --> 5897 <enum name="bottom" value="0x50" /> 5898 <!-- Slide to and from the x-axis position at the start of the Scene root. --> 5899 <enum name="start" value="0x00800003"/> 5900 <!-- Slide to and from the x-axis position at the end of the Scene root. --> 5901 <enum name="end" value="0x00800005"/> 5902 </attr> 5903 </declare-styleable> 5904 5905 <!-- Use with {@link android.transition.Visibility} transitions, such as 5906 <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which 5907 views are supported. --> 5908 <declare-styleable name="VisibilityTransition"> 5909 <!-- Changes whether the transition supports appearing and/or disappearing Views. 5910 Corresponds to {@link android.transition.Visibility#setMode(int)}. --> 5911 <attr name="transitionVisibilityMode"> 5912 <!-- Only appearing Views will be supported. --> 5913 <flag name="mode_in" value="1" /> 5914 <!-- Only disappearing Views will be supported. --> 5915 <flag name="mode_out" value="2" /> 5916 </attr> 5917 </declare-styleable> 5918 <!-- Use <code>target</code> as the root tag of the XML resource that 5919 describes a {@link android.transition.Transition#addTarget(int) 5920 targetId} of a transition. There can be one or more targets inside 5921 a <code>targets</code> tag, which is itself inside an appropriate 5922 {@link android.R.styleable#Transition Transition} tag. 5923 --> 5924 <declare-styleable name="TransitionTarget"> 5925 <!-- The id of a target on which this transition will animate changes. --> 5926 <attr name="targetId" format="reference" /> 5927 <!-- The id of a target to exclude from this transition. --> 5928 <attr name="excludeId" format="reference" /> 5929 <!-- The fully-qualified name of the Class to include in this transition. --> 5930 <attr name="targetClass" /> 5931 <!-- The fully-qualified name of the Class to exclude from this transition. --> 5932 <attr name="excludeClass" format="string" /> 5933 <!-- The transitionName of the target on which this transition will animation changes. --> 5934 <attr name="targetName" format="string" /> 5935 <!-- The transitionName of the target to exclude from this transition. --> 5936 <attr name="excludeName" format="string" /> 5937 </declare-styleable> 5938 5939 <!-- Use <code>set</code> as the root tag of the XML resource that 5940 describes a {@link android.transition.TransitionSet 5941 TransitionSet} transition. --> 5942 <declare-styleable name="TransitionSet"> 5943 <attr name="transitionOrdering"> 5944 <!-- child transitions should be played together. --> 5945 <enum name="together" value="0" /> 5946 <!-- child transitions should be played sequentially, in the same order 5947 as the xml. --> 5948 <enum name="sequential" value="1" /> 5949 </attr> 5950 </declare-styleable> 5951 5952 <!-- Use <code>changeTransform</code> as the root tag of the XML resource that 5953 describes a {@link android.transition.ChangeTransform} transition. --> 5954 <declare-styleable name="ChangeTransform"> 5955 <!-- A parent change should use an overlay or affect the transform of the 5956 transitionining View. Default is true. Corresponds to 5957 {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. --> 5958 <attr name="reparentWithOverlay" format="boolean"/> 5959 5960 <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to 5961 {@link android.transition.ChangeTransform#setReparent(boolean)}. --> 5962 <attr name="reparent" format="boolean"/> 5963 </declare-styleable> 5964 5965 <!-- Use <code>changeBounds</code>as the root tag of the XML resource that 5966 describes a {@link android.transition.ChangeBounds} transition. 5967 The attributes of the {@link android.R.styleable#Transition Transition} 5968 resource are available in addition to the specific attributes of ChangeBounds 5969 described here. --> 5970 <declare-styleable name="ChangeBounds"> 5971 <!-- Resize the view by adjusting the clipBounds rather than changing the 5972 dimensions of the view itself. The default value is false. --> 5973 <attr name="resizeClip" format="boolean"/> 5974 </declare-styleable> 5975 5976 <!-- Use <code>transitionManager</code> as the root tag of the XML resource that 5977 describes a {@link android.transition.TransitionManager 5978 TransitionManager}. --> 5979 <declare-styleable name="TransitionManager"> 5980 <!-- The id of a transition to be used in a particular scene change. --> 5981 <attr name="transition" format="reference" /> 5982 <!-- The originating scene in this scene change. --> 5983 <attr name="fromScene" format="reference" /> 5984 <!-- The destination scene in this scene change. --> 5985 <attr name="toScene" format="reference" /> 5986 </declare-styleable> 5987 5988 <!-- Use <code>arcMotion</code> as the root tag of the XML resource that 5989 describes a {@link android.transition.ArcMotion}. This must be used 5990 within a transition with which the PathMotion should be associated. --> 5991 <declare-styleable name="ArcMotion"> 5992 <!-- The minimum arc angle in degrees between the start and end points when 5993 they are close to horizontal. --> 5994 <attr name="minimumHorizontalAngle" format="float" /> 5995 <!-- The minimum arc angle in degrees between the start and end points when 5996 they are close to vertical. --> 5997 <attr name="minimumVerticalAngle" format="float" /> 5998 <!-- The maximum arc angle in degrees between the start and end points. --> 5999 <attr name="maximumAngle" format="float" /> 6000 </declare-styleable> 6001 6002 <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that 6003 describes a {@link android.transition.PatternPathMotion}. This must be used 6004 within a transition with which the PathMotion should be associated. --> 6005 <declare-styleable name="PatternPathMotion"> 6006 <!-- The path string describing the pattern to use for the PathPathMotion. --> 6007 <attr name="patternPathData" format="string" /> 6008 </declare-styleable> 6009 6010 <!-- ========================== --> 6011 <!-- ValueAnimator class attributes --> 6012 <!-- ========================== --> 6013 <eat-comment /> 6014 6015 <declare-styleable name="Animator"> 6016 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6017 <attr name="interpolator" /> 6018 <!-- Amount of time (in milliseconds) for the animation to run. --> 6019 <attr name="duration" /> 6020 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6021 <attr name="startOffset"/> 6022 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6023 <attr name="repeatCount"/> 6024 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6025 greater than 0 or infinite. The default value is restart. --> 6026 <attr name="repeatMode"/> 6027 <!-- Value the animation starts from. --> 6028 <attr name="valueFrom" format="float|integer|color|dimension|string"/> 6029 <!-- Value the animation animates to. --> 6030 <attr name="valueTo" format="float|integer|color|dimension|string"/> 6031 <!-- The type of valueFrom and valueTo. --> 6032 <attr name="valueType"> 6033 <!-- The given values are floats. This is the default value if valueType is 6034 unspecified. Note that if any value attribute has a color value 6035 (beginning with "#"), then this attribute is ignored and the color values are 6036 interpreted as integers. --> 6037 <enum name="floatType" value="0" /> 6038 <!-- values are integers. --> 6039 <enum name="intType" value="1" /> 6040 <!-- values are paths defined as strings. 6041 This type is used for path morphing in AnimatedVectorDrawable. --> 6042 <enum name="pathType" value="2" /> 6043 <!-- values are colors, which are integers starting with "#". --> 6044 <enum name="colorType" value="3" /> 6045 </attr> 6046 <!-- Placeholder for a deleted attribute. This should be removed before M release. --> 6047 <attr name="removeBeforeMRelease" format="integer" /> 6048 </declare-styleable> 6049 6050 <declare-styleable name="PropertyValuesHolder"> 6051 <attr name="valueType" /> 6052 <attr name="propertyName" /> 6053 <attr name="valueFrom" /> 6054 <attr name="valueTo" /> 6055 </declare-styleable> 6056 6057 <declare-styleable name="Keyframe"> 6058 <attr name="valueType" /> 6059 <attr name="value" /> 6060 <attr name="fraction" format="float" /> 6061 <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used 6062 to interpolate between this keyframe and the previous keyframe.--> 6063 <attr name="interpolator" /> 6064 </declare-styleable> 6065 6066 <!-- ========================== --> 6067 <!-- ObjectAnimator class attributes --> 6068 <!-- ========================== --> 6069 <eat-comment /> 6070 6071 <declare-styleable name="PropertyAnimator"> 6072 <!-- Name of the property being animated. --> 6073 <attr name="propertyName" format="string"/> 6074 <!-- Name of the property being animated as the X coordinate of the pathData. --> 6075 <attr name="propertyXName" format="string"/> 6076 <!-- Name of the property being animated as the Y coordinate of the pathData. --> 6077 <attr name="propertyYName" format="string"/> 6078 <!-- The path used to animate the properties in the ObjectAnimator --> 6079 <attr name="pathData"/> 6080 </declare-styleable> 6081 6082 6083 <!-- ========================== --> 6084 <!-- AnimatorSet class attributes --> 6085 <!-- ========================== --> 6086 <eat-comment /> 6087 6088 <declare-styleable name="AnimatorSet"> 6089 <!-- Name of the property being animated. --> 6090 <attr name="ordering"> 6091 <!-- child animations should be played together. --> 6092 <enum name="together" value="0" /> 6093 <!-- child animations should be played sequentially, in the same order as the xml. --> 6094 <enum name="sequentially" value="1" /> 6095 </attr> 6096 </declare-styleable> 6097 6098 <!-- ========================== --> 6099 <!-- State attributes --> 6100 <!-- ========================== --> 6101 <eat-comment /> 6102 6103 <!-- Drawable states. 6104 The mapping of Drawable states to a particular drawables is specified 6105 in the "state" elements of a Widget's "selector" element. 6106 Possible values: 6107 <ul> 6108 <li>"state_focused" 6109 <li>"state_window_focused" 6110 <li>"state_enabled" 6111 <li>"state_checked" 6112 <li>"state_selected" 6113 <li>"state_active" 6114 <li>"state_single" 6115 <li>"state_first" 6116 <li>"state_mid" 6117 <li>"state_last" 6118 <li>"state_only" 6119 <li>"state_pressed" 6120 <li>"state_activated" 6121 <li>"state_error" 6122 <li>"state_circle" 6123 <li>"state_rect" 6124 <li>"state_grow" 6125 <li>"state_move" 6126 <li>"state_hovered" 6127 <li>"state_drag_can_accept" 6128 <li>"state_drag_hovered" 6129 <li>"state_accessibility_focused" 6130 </ul> --> 6131 <declare-styleable name="DrawableStates"> 6132 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6133 set when a view has input focus. --> 6134 <attr name="state_focused" format="boolean" /> 6135 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6136 set when a view's window has input focus. --> 6137 <attr name="state_window_focused" format="boolean" /> 6138 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6139 set when a view is enabled. --> 6140 <attr name="state_enabled" format="boolean" /> 6141 <!-- State identifier indicating that the object <var>may</var> display a check mark. 6142 See {@link android.R.attr#state_checked} for the identifier that indicates whether it is 6143 actually checked. --> 6144 <attr name="state_checkable" format="boolean"/> 6145 <!-- State identifier indicating that the object is currently checked. See 6146 {@link android.R.attr#state_checkable} for an additional identifier that can indicate if 6147 any object may ever display a check, regardless of whether state_checked is 6148 currently set. --> 6149 <attr name="state_checked" format="boolean"/> 6150 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6151 set when a view (or one of its parents) is currently selected. --> 6152 <attr name="state_selected" format="boolean" /> 6153 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6154 set when the user is pressing down in a view. --> 6155 <attr name="state_pressed" format="boolean" /> 6156 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6157 set when a view or its parent has been "activated" meaning the user has currently 6158 marked it as being of interest. This is an alternative representation of 6159 state_checked for when the state should be propagated down the view hierarchy. --> 6160 <attr name="state_activated" format="boolean" /> 6161 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6162 <attr name="state_active" format="boolean" /> 6163 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6164 <attr name="state_single" format="boolean" /> 6165 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6166 <attr name="state_first" format="boolean" /> 6167 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6168 <attr name="state_middle" format="boolean" /> 6169 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6170 <attr name="state_last" format="boolean" /> 6171 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6172 indicating that the Drawable is in a view that is hardware accelerated. 6173 This means that the device can at least render a full-screen scaled 6174 bitmap with one layer of text and bitmaps composited on top of it 6175 at 60fps. When this is set, the colorBackgroundCacheHint will be 6176 ignored even if it specifies a solid color, since that optimization 6177 is not needed. --> 6178 <attr name="state_accelerated" format="boolean" /> 6179 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6180 set when a pointer is hovering over the view. --> 6181 <attr name="state_hovered" format="boolean" /> 6182 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6183 indicating that the Drawable is in a view that is capable of accepting a drop of 6184 the content currently being manipulated in a drag-and-drop operation. --> 6185 <attr name="state_drag_can_accept" format="boolean" /> 6186 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6187 indicating that a drag operation (for which the Drawable's view is a valid recipient) 6188 is currently positioned over the Drawable. --> 6189 <attr name="state_drag_hovered" format="boolean" /> 6190 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6191 indicating that a View has accessibility focus. --> 6192 <attr name="state_accessibility_focused" format="boolean" /> 6193 </declare-styleable> 6194 <declare-styleable name="ViewDrawableStates"> 6195 <attr name="state_pressed" /> 6196 <attr name="state_focused" /> 6197 <attr name="state_selected" /> 6198 <attr name="state_window_focused" /> 6199 <attr name="state_enabled" /> 6200 <attr name="state_activated" /> 6201 <attr name="state_accelerated" /> 6202 <attr name="state_hovered" /> 6203 <attr name="state_drag_can_accept" /> 6204 <attr name="state_drag_hovered" /> 6205 </declare-styleable> 6206 <!-- State array representing a menu item that is currently checked. --> 6207 <declare-styleable name="MenuItemCheckedState"> 6208 <attr name="state_checkable" /> 6209 <attr name="state_checked" /> 6210 </declare-styleable> 6211 <!-- State array representing a menu item that is checkable but is not currently checked. --> 6212 <declare-styleable name="MenuItemUncheckedState"> 6213 <attr name="state_checkable" /> 6214 </declare-styleable> 6215 <!-- State array representing a menu item that is currently focused and checked. --> 6216 <declare-styleable name="MenuItemCheckedFocusedState"> 6217 <attr name="state_checkable" /> 6218 <attr name="state_checked" /> 6219 <attr name="state_focused" /> 6220 </declare-styleable> 6221 <!-- State array representing a menu item that is focused and checkable but is not currently checked. --> 6222 <declare-styleable name="MenuItemUncheckedFocusedState"> 6223 <attr name="state_checkable" /> 6224 <attr name="state_focused" /> 6225 </declare-styleable> 6226 <!-- State array representing an expandable list child's indicator. --> 6227 <declare-styleable name="ExpandableListChildIndicatorState"> 6228 <!-- State identifier indicating the child is the last child within its group. --> 6229 <attr name="state_last" /> 6230 </declare-styleable> 6231 <!-- State array representing an expandable list group's indicator. --> 6232 <declare-styleable name="ExpandableListGroupIndicatorState"> 6233 <!-- State identifier indicating the group is expanded. --> 6234 <attr name="state_expanded" format="boolean" /> 6235 <!-- State identifier indicating the group is empty (has no children). --> 6236 <attr name="state_empty" format="boolean" /> 6237 </declare-styleable> 6238 <declare-styleable name="PopupWindowBackgroundState"> 6239 <!-- State identifier indicating the popup will be above the anchor. --> 6240 <attr name="state_above_anchor" format="boolean" /> 6241 </declare-styleable> 6242 <declare-styleable name="TextViewMultiLineBackgroundState"> 6243 <!-- State identifier indicating a TextView has a multi-line layout. --> 6244 <attr name="state_multiline" format="boolean" /> 6245 </declare-styleable> 6246 6247 <!-- ***************************************************************** --> 6248 <!-- Support for Searchable activities. --> 6249 <!-- ***************************************************************** --> 6250 <eat-comment /> 6251 6252 <!-- Searchable activities and applications must provide search configuration information 6253 in an XML file, typically called searchable.xml. This file is referenced in your manifest. 6254 For a more in-depth discussion of search configuration, please refer to 6255 {@link android.app.SearchManager}. --> 6256 <declare-styleable name="Searchable"> 6257 <!--<strong>This is deprecated.</strong><br/>The default 6258 application icon is now always used, so this attribute is 6259 obsolete.--> 6260 <attr name="icon" /> 6261 <!-- This is the user-displayed name of the searchable activity. <i>Required 6262 attribute.</i> --> 6263 <attr name="label" /> 6264 <!-- If supplied, this string will be displayed as a hint to the user. <i>Optional 6265 attribute.</i> --> 6266 <attr name="hint" /> 6267 <!-- If supplied, this string will be displayed as the text of the "Search" button. 6268 <i>Optional attribute.</i> 6269 {@deprecated This will create a non-standard UI appearance, because the search bar UI is 6270 changing to use only icons for its buttons.}--> 6271 <attr name="searchButtonText" format="string" /> 6272 <attr name="inputType" /> 6273 <attr name="imeOptions" /> 6274 6275 <!-- Additional features are controlled by mode bits in this field. Omitting 6276 this field, or setting to zero, provides default behavior. <i>Optional attribute.</i> 6277 --> 6278 <attr name="searchMode"> 6279 <!-- If set, this flag enables the display of the search target (label) within the 6280 search bar. If neither bad mode is selected, no badge will be shown. --> 6281 <flag name="showSearchLabelAsBadge" value="0x04" /> 6282 <!--<strong>This is deprecated.</strong><br/>The default 6283 application icon is now always used, so this option is 6284 obsolete.--> 6285 <flag name="showSearchIconAsBadge" value="0x08" /> 6286 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to 6287 be considered as the text for suggestion query rewriting. This should only 6288 be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user 6289 inspection and editing - typically, HTTP/HTTPS Uri's. --> 6290 <flag name="queryRewriteFromData" value="0x10" /> 6291 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to 6292 be considered as the text for suggestion query rewriting. This should be used 6293 for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA 6294 values are not suitable for user inspection and editing. --> 6295 <flag name="queryRewriteFromText" value="0x20" /> 6296 </attr> 6297 6298 <!-- Voice search features are controlled by mode bits in this field. Omitting 6299 this field, or setting to zero, provides default behavior. 6300 If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must 6301 also be set. <i>Optional attribute.</i> 6302 --> 6303 <attr name="voiceSearchMode"> 6304 <!-- If set, display a voice search button. This only takes effect if voice search is 6305 available on the device. --> 6306 <flag name="showVoiceSearchButton" value="0x01" /> 6307 <!-- If set, the voice search button will take the user directly to a built-in 6308 voice web search activity. Most applications will not use this flag, as it 6309 will take the user away from the activity in which search was invoked. --> 6310 <flag name="launchWebSearch" value="0x02" /> 6311 <!-- If set, the voice search button will take the user directly to a built-in 6312 voice recording activity. This activity will prompt the user to speak, 6313 transcribe the spoken text, and forward the resulting query 6314 text to the searchable activity, just as if the user had typed it into 6315 the search UI and clicked the search button. --> 6316 <flag name="launchRecognizer" value="0x04" /> 6317 </attr> 6318 6319 <!-- If provided, this specifies the language model that should be used by the 6320 voice recognition system. See 6321 {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information. 6322 If not provided, the default value 6323 {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. --> 6324 <attr name="voiceLanguageModel" format="string" /> 6325 <!-- If provided, this specifies a prompt that will be displayed during voice input. --> 6326 <attr name="voicePromptText" format="string" /> 6327 <!-- If provided, this specifies the spoken language to be expected, and that it will be 6328 different than the one set in the {@link java.util.Locale#getDefault()}. --> 6329 <attr name="voiceLanguage" format="string" /> 6330 <!-- If provided, enforces the maximum number of results to return, including the "best" 6331 result which will always be provided as the SEARCH intent's primary query. Must be one 6332 or greater. If not provided, the recognizer will choose how many results to return. 6333 --> 6334 <attr name="voiceMaxResults" format="integer" /> 6335 6336 <!-- If provided, this is the trigger indicating that the searchable activity 6337 provides suggestions as well. The value must be a fully-qualified content provider 6338 authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the 6339 "android:authorities" tag in your content provider's manifest entry. <i>Optional 6340 attribute.</i> --> 6341 <attr name="searchSuggestAuthority" format="string" /> 6342 <!-- If provided, this will be inserted in the suggestions query Uri, after the authority 6343 you have provide but before the standard suggestions path. <i>Optional attribute.</i> 6344 --> 6345 <attr name="searchSuggestPath" format="string" /> 6346 <!-- If provided, suggestion queries will be passed into your query function 6347 as the <i>selection</i> parameter. Typically this will be a WHERE clause for your 6348 database, and will contain a single question mark, which represents the actual query 6349 string that has been typed by the user. If not provided, then the user query text 6350 will be appended to the query Uri (after an additional "/".) <i>Optional 6351 attribute.</i> --> 6352 <attr name="searchSuggestSelection" format="string" /> 6353 6354 <!-- If provided, and not overridden by an action in the selected suggestion, this 6355 string will be placed in the action field of the {@link android.content.Intent Intent} 6356 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6357 <attr name="searchSuggestIntentAction" format="string" /> 6358 <!-- If provided, and not overridden by an action in the selected suggestion, this 6359 string will be placed in the data field of the {@link android.content.Intent Intent} 6360 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6361 <attr name="searchSuggestIntentData" format="string" /> 6362 6363 <!-- If provided, this is the minimum number of characters needed to trigger 6364 search suggestions. The default value is 0. <i>Optional attribute.</i> --> 6365 <attr name="searchSuggestThreshold" format="integer" /> 6366 6367 <!-- If provided and <code>true</code>, this searchable activity will be 6368 included in any global lists of search targets. 6369 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6370 <attr name="includeInGlobalSearch" format="boolean" /> 6371 6372 <!-- If provided and <code>true</code>, this searchable activity will be invoked for all 6373 queries in a particular session. If set to <code>false</code> and the activity 6374 returned zero results for a query, it will not be invoked again in that session for 6375 supersets of that zero-results query. For example, if the activity returned zero 6376 results for "bo", it would not be queried again for "bob". 6377 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6378 <attr name="queryAfterZeroResults" format="boolean" /> 6379 <!-- If provided, this string will be used to describe the searchable item in the 6380 searchable items settings within system search settings. <i>Optional 6381 attribute.</i> --> 6382 <attr name="searchSettingsDescription" format="string" /> 6383 6384 <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching 6385 within this activity would be detected and treated as URLs (show a 'go' button in the 6386 keyboard and invoke the browser directly when user launches the URL instead of passing 6387 the URL to the activity). If set to <code>false</code> any URLs entered are treated as 6388 normal query text. 6389 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6390 <attr name="autoUrlDetect" format="boolean" /> 6391 6392 </declare-styleable> 6393 6394 <!-- In order to process special action keys during search, you must define them using 6395 one or more "ActionKey" elements in your Searchable metadata. For a more in-depth 6396 discussion of action code handling, please refer to {@link android.app.SearchManager}. 6397 --> 6398 <declare-styleable name="SearchableActionKey"> 6399 <!-- This attribute denotes the action key you wish to respond to. Note that not 6400 all action keys are actually supported using this mechanism, as many of them are 6401 used for typing, navigation, or system functions. This will be added to the 6402 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6403 searchable activity. To examine the key code, use 6404 {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}. 6405 <p>Note, in addition to the keycode, you must also provide one or more of the action 6406 specifier attributes. <i>Required attribute.</i> --> 6407 <attr name="keycode" /> 6408 6409 <!-- If you wish to handle an action key during normal search query entry, you 6410 must define an action string here. This will be added to the 6411 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6412 searchable activity. To examine the string, use 6413 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6414 <i>Optional attribute.</i> --> 6415 <attr name="queryActionMsg" format="string" /> 6416 6417 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6418 selected</i>, there are two ways to handle this. If <i>all</i> of your suggestions 6419 can handle the action key, you can simply define the action message using this 6420 attribute. This will be added to the 6421 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6422 searchable activity. To examine the string, use 6423 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6424 <i>Optional attribute.</i> --> 6425 <attr name="suggestActionMsg" format="string" /> 6426 6427 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6428 selected</i>, but you do not wish to enable this action key for every suggestion, 6429 then you can use this attribute to control it on a suggestion-by-suggestion basis. 6430 First, you must define a column (and name it here) where your suggestions will include 6431 the action string. Then, in your content provider, you must provide this column, and 6432 when desired, provide data in this column. 6433 The search manager will look at your suggestion cursor, using the string 6434 provided here in order to select a column, and will use that to select a string from 6435 the cursor. That string will be added to the 6436 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to 6437 your searchable activity. To examine the string, use 6438 {@link android.content.Intent#getStringExtra 6439 getStringExtra(SearchManager.ACTION_MSG)}. <i>If the data does not exist for the 6440 selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> --> 6441 <attr name="suggestActionMsgColumn" format="string" /> 6442 6443 </declare-styleable> 6444 6445 <!-- ***************************************************************** --> 6446 <!-- Support for MapView. --> 6447 <!-- ***************************************************************** --> 6448 <eat-comment /> 6449 6450 <!-- The set of attributes for a MapView. --> 6451 <declare-styleable name="MapView"> 6452 <!-- Value is a string that specifies the Maps API Key to use. --> 6453 <attr name="apiKey" format="string" /> 6454 </declare-styleable> 6455 6456 <!-- **************************************************************** --> 6457 <!-- Menu XML inflation. --> 6458 <!-- **************************************************************** --> 6459 <eat-comment /> 6460 6461 <!-- Base attributes that are available to all Menu objects. --> 6462 <declare-styleable name="Menu"> 6463 </declare-styleable> 6464 6465 <!-- Base attributes that are available to all groups. --> 6466 <declare-styleable name="MenuGroup"> 6467 6468 <!-- The ID of the group. --> 6469 <attr name="id" /> 6470 6471 <!-- The category applied to all items within this group. 6472 (This will be or'ed with the orderInCategory attribute.) --> 6473 <attr name="menuCategory"> 6474 <!-- Items are part of a container. --> 6475 <enum name="container" value="0x00010000" /> 6476 <!-- Items are provided by the system. --> 6477 <enum name="system" value="0x00020000" /> 6478 <!-- Items are user-supplied secondary (infrequently used). --> 6479 <enum name="secondary" value="0x00030000" /> 6480 <!-- Items are alternative actions. --> 6481 <enum name="alternative" value="0x00040000" /> 6482 </attr> 6483 6484 <!-- The order within the category applied to all items within this group. 6485 (This will be or'ed with the category attribute.) --> 6486 <attr name="orderInCategory" format="integer" /> 6487 6488 <!-- Whether the items are capable of displaying a check mark. --> 6489 <attr name="checkableBehavior"> 6490 <!-- The items are not checkable. --> 6491 <enum name="none" value="0" /> 6492 <!-- The items are all checkable. --> 6493 <enum name="all" value="1" /> 6494 <!-- The items are checkable and there will only be a single checked item in 6495 this group. --> 6496 <enum name="single" value="2" /> 6497 </attr> 6498 6499 <!-- Whether the items are shown/visible. --> 6500 <attr name="visible" /> 6501 6502 <!-- Whether the items are enabled. --> 6503 <attr name="enabled" /> 6504 6505 </declare-styleable> 6506 6507 <!-- Base attributes that are available to all Item objects. --> 6508 <declare-styleable name="MenuItem"> 6509 6510 <!-- The ID of the item. --> 6511 <attr name="id" /> 6512 6513 <!-- The category applied to the item. 6514 (This will be or'ed with the orderInCategory attribute.) --> 6515 <attr name="menuCategory" /> 6516 6517 <!-- The order within the category applied to the item. 6518 (This will be or'ed with the category attribute.) --> 6519 <attr name="orderInCategory" /> 6520 6521 <!-- The title associated with the item. --> 6522 <attr name="title" format="string" /> 6523 6524 <!-- The condensed title associated with the item. This is used in situations where the 6525 normal title may be too long to be displayed. --> 6526 <attr name="titleCondensed" format="string" /> 6527 6528 <!-- The icon associated with this item. This icon will not always be shown, so 6529 the title should be sufficient in describing this item. --> 6530 <attr name="icon" /> 6531 6532 <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard 6533 with alphabetic keys. --> 6534 <attr name="alphabeticShortcut" format="string" /> 6535 6536 <!-- The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) 6537 keyboard. --> 6538 <attr name="numericShortcut" format="string" /> 6539 6540 <!-- Whether the item is capable of displaying a check mark. --> 6541 <attr name="checkable" format="boolean" /> 6542 6543 <!-- Whether the item is checked. Note that you must first have enabled checking with 6544 the checkable attribute or else the check mark will not appear. --> 6545 <attr name="checked" /> 6546 6547 <!-- Whether the item is shown/visible. --> 6548 <attr name="visible" /> 6549 6550 <!-- Whether the item is enabled. --> 6551 <attr name="enabled" /> 6552 6553 <!-- Name of a method on the Context used to inflate the menu that will be 6554 called when the item is clicked. --> 6555 <attr name="onClick" /> 6556 6557 <!-- How this item should display in the Action Bar, if present. --> 6558 <attr name="showAsAction"> 6559 <!-- Never show this item in an action bar, show it in the overflow menu instead. 6560 Mutually exclusive with "ifRoom" and "always". --> 6561 <flag name="never" value="0" /> 6562 <!-- Show this item in an action bar if there is room for it as determined 6563 by the system. Favor this option over "always" where possible. 6564 Mutually exclusive with "never" and "always". --> 6565 <flag name="ifRoom" value="1" /> 6566 <!-- Always show this item in an actionbar, even if it would override 6567 the system's limits of how much stuff to put there. This may make 6568 your action bar look bad on some screens. In most cases you should 6569 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". --> 6570 <flag name="always" value="2" /> 6571 <!-- When this item is shown as an action in the action bar, show a text 6572 label with it even if it has an icon representation. --> 6573 <flag name="withText" value="4" /> 6574 <!-- This item's action view collapses to a normal menu 6575 item. When expanded, the action view takes over a 6576 larger segment of its container. --> 6577 <flag name="collapseActionView" value="8" /> 6578 </attr> 6579 6580 <!-- An optional layout to be used as an action view. 6581 See {@link android.view.MenuItem#setActionView(android.view.View)} 6582 for more info. --> 6583 <attr name="actionLayout" format="reference" /> 6584 6585 <!-- The name of an optional View class to instantiate and use as an 6586 action view. See {@link android.view.MenuItem#setActionView(android.view.View)} 6587 for more info. --> 6588 <attr name="actionViewClass" format="string" /> 6589 6590 <!-- The name of an optional ActionProvider class to instantiate an action view 6591 and perform operations such as default action for that menu item. 6592 See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)} 6593 for more info. --> 6594 <attr name="actionProviderClass" format="string" /> 6595 6596 <!-- An optional tint for the item's icon. 6597 See {@link android.view.MenuItem#setIconTintList(android.content.res.ColorStateList)} 6598 for more info. --> 6599 <attr name="iconTint" format="color" /> 6600 6601 <!-- The blending mode used for tinting the item's icon 6602 See {@link android.view.MenuItem#setIconTintMode(android.graphics.PorterDuff.Mode)} 6603 for more info. --> 6604 <attr name="iconTintMode"> 6605 <!-- The tint is drawn on top of the drawable. 6606 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 6607 <enum name="src_over" value="3" /> 6608 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 6609 color channels are thrown out. [Sa * Da, Sc * Da] --> 6610 <enum name="src_in" value="5" /> 6611 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 6612 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 6613 <enum name="src_atop" value="9" /> 6614 <!-- Multiplies the color and alpha channels of the drawable with those of 6615 the tint. [Sa * Da, Sc * Dc] --> 6616 <enum name="multiply" value="14" /> 6617 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 6618 <enum name="screen" value="15" /> 6619 <!-- Combines the tint and drawable color and alpha channels, clamping the 6620 result to valid color values. Saturate(S + D) --> 6621 <enum name="add" value="16" /> 6622 </attr> 6623 </declare-styleable> 6624 6625 <!-- Attrbitutes for a ActvityChooserView. --> 6626 <declare-styleable name="ActivityChooserView"> 6627 <!-- The maximal number of items initially shown in the activity list. --> 6628 <attr name="initialActivityCount" format="string" /> 6629 <!-- The drawable to show in the button for expanding the activities overflow popup. 6630 <strong>Note:</strong> Clients would like to set this drawable 6631 as a clue about the action the chosen activity will perform. For 6632 example, if share activity is to be chosen the drawable should 6633 give a clue that sharing is to be performed. 6634 --> 6635 <attr name="expandActivityOverflowButtonDrawable" format="reference" /> 6636 </declare-styleable> 6637 6638 <!-- **************************************************************** --> 6639 <!-- Preferences framework. --> 6640 <!-- **************************************************************** --> 6641 <eat-comment /> 6642 6643 <!-- Base attributes available to PreferenceGroup. --> 6644 <declare-styleable name="PreferenceGroup"> 6645 <!-- Whether to order the Preference under this group as they appear in the XML file. 6646 If this is false, the ordering will follow the Preference order attribute and 6647 default to alphabetic for those without the order attribute. --> 6648 <attr name="orderingFromXml" format="boolean" /> 6649 </declare-styleable> 6650 6651 <!-- Attribute for a header describing the item shown in the top-level list 6652 from which the selects the set of preference to dig in to. --> 6653 <declare-styleable name="PreferenceHeader"> 6654 <!-- Identifier value for the header. --> 6655 <attr name="id" /> 6656 <!-- The title of the item that is shown to the user. --> 6657 <attr name="title" /> 6658 <!-- The summary for the item. --> 6659 <attr name="summary" format="string" /> 6660 <!-- The title for the bread crumb of this item. --> 6661 <attr name="breadCrumbTitle" format="string" /> 6662 <!-- The short title for the bread crumb of this item. --> 6663 <attr name="breadCrumbShortTitle" format="string" /> 6664 <!-- An icon for the item. --> 6665 <attr name="icon" /> 6666 <!-- The fragment that is displayed when the user selects this item. --> 6667 <attr name="fragment" format="string" /> 6668 </declare-styleable> 6669 6670 <!-- WARNING: If adding attributes to Preference, make sure it does not conflict 6671 with a View's attributes. Some subclasses (e.g., EditTextPreference) 6672 proxy all attributes to its EditText widget. --> 6673 <eat-comment /> 6674 6675 <!-- Base attributes available to Preference. --> 6676 <declare-styleable name="Preference"> 6677 <!-- The optional icon for the preference --> 6678 <attr name="icon" /> 6679 <!-- The key to store the Preference value. --> 6680 <attr name="key" format="string" /> 6681 <!-- The title for the Preference in a PreferenceActivity screen. --> 6682 <attr name="title" /> 6683 <!-- The summary for the Preference in a PreferenceActivity screen. --> 6684 <attr name="summary" /> 6685 <!-- The order for the Preference (lower values are to be ordered first). If this is not 6686 specified, the default ordering will be alphabetic. --> 6687 <attr name="order" format="integer" /> 6688 <!-- When used inside of a modern PreferenceActivity, this declares 6689 a new PreferenceFragment to be shown when the user selects this item. --> 6690 <attr name="fragment" /> 6691 <!-- The layout for the Preference in a PreferenceActivity screen. This should 6692 rarely need to be changed, look at widgetLayout instead. --> 6693 <attr name="layout" /> 6694 <!-- The layout for the controllable widget portion of a Preference. This is inflated 6695 into the layout for a Preference and should be used more frequently than 6696 the layout attribute. For example, a checkbox preference would specify 6697 a custom layout (consisting of just the CheckBox) here. --> 6698 <attr name="widgetLayout" format="reference" /> 6699 <!-- Whether the Preference is enabled. --> 6700 <attr name="enabled" /> 6701 <!-- Whether the Preference is selectable. --> 6702 <attr name="selectable" format="boolean" /> 6703 <!-- The key of another Preference that this Preference will depend on. If the other 6704 Preference is not set or is off, this Preference will be disabled. --> 6705 <attr name="dependency" format="string" /> 6706 <!-- Whether the Preference stores its value to the shared preferences. --> 6707 <attr name="persistent" /> 6708 <!-- The default value for the preference, which will be set either if persistence 6709 is off or persistence is on and the preference is not found in the persistent 6710 storage. --> 6711 <attr name="defaultValue" format="string|boolean|integer|reference|float" /> 6712 <!-- Whether the view of this Preference should be disabled when 6713 this Preference is disabled. --> 6714 <attr name="shouldDisableView" format="boolean" /> 6715 </declare-styleable> 6716 6717 <!-- Base attributes available to CheckBoxPreference. --> 6718 <declare-styleable name="CheckBoxPreference"> 6719 <!-- The summary for the Preference in a PreferenceActivity screen when the 6720 CheckBoxPreference is checked. If separate on/off summaries are not 6721 needed, the summary attribute can be used instead. --> 6722 <attr name="summaryOn" format="string" /> 6723 <!-- The summary for the Preference in a PreferenceActivity screen when the 6724 CheckBoxPreference is unchecked. If separate on/off summaries are not 6725 needed, the summary attribute can be used instead. --> 6726 <attr name="summaryOff" format="string" /> 6727 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 6728 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 6729 <attr name="disableDependentsState" format="boolean" /> 6730 </declare-styleable> 6731 6732 <!-- Base attributes available to DialogPreference. --> 6733 <declare-styleable name="DialogPreference"> 6734 <!-- The title in the dialog. --> 6735 <attr name="dialogTitle" format="string" /> 6736 <!-- The message in the dialog. If a dialogLayout is provided and contains 6737 a TextView with ID android:id/message, this message will be placed in there. --> 6738 <attr name="dialogMessage" format="string" /> 6739 <!-- The icon for the dialog. --> 6740 <attr name="dialogIcon" format="reference" /> 6741 <!-- The positive button text for the dialog. Set to @null to hide the positive button. --> 6742 <attr name="positiveButtonText" format="string" /> 6743 <!-- The negative button text for the dialog. Set to @null to hide the negative button. --> 6744 <attr name="negativeButtonText" format="string" /> 6745 <!-- A layout to be used as the content View for the dialog. By default, this shouldn't 6746 be needed. If a custom DialogPreference is required, this should be set. For example, 6747 the EditTextPreference uses a layout with an EditText as this attribute. --> 6748 <attr name="dialogLayout" format="reference" /> 6749 </declare-styleable> 6750 6751 <!-- Base attributes available to ListPreference. --> 6752 <declare-styleable name="ListPreference"> 6753 <!-- The human-readable array to present as a list. Each entry must have a corresponding 6754 index in entryValues. --> 6755 <attr name="entries" /> 6756 <!-- The array to find the value to save for a preference when an entry from 6757 entries is selected. If a user clicks on the second item in entries, the 6758 second item in this array will be saved to the preference. --> 6759 <attr name="entryValues" format="reference" /> 6760 </declare-styleable> 6761 6762 <declare-styleable name="MultiSelectListPreference"> 6763 <!-- The human-readable array to present as a list. Each entry must have a corresponding 6764 index in entryValues. --> 6765 <attr name="entries" /> 6766 <!-- The array to find the value to save for a preference when an entry from 6767 entries is selected. If a user clicks the second item in entries, the 6768 second item in this array will be saved to the preference. --> 6769 <attr name="entryValues" /> 6770 </declare-styleable> 6771 6772 <!-- Base attributes available to RingtonePreference. --> 6773 <declare-styleable name="RingtonePreference"> 6774 <!-- Which ringtone type(s) to show in the picker. --> 6775 <attr name="ringtoneType"> 6776 <!-- Ringtones. --> 6777 <flag name="ringtone" value="1" /> 6778 <!-- Notification sounds. --> 6779 <flag name="notification" value="2" /> 6780 <!-- Alarm sounds. --> 6781 <flag name="alarm" value="4" /> 6782 <!-- All available ringtone sounds. --> 6783 <flag name="all" value="7" /> 6784 </attr> 6785 <!-- Whether to show an item for a default sound. --> 6786 <attr name="showDefault" format="boolean" /> 6787 <!-- Whether to show an item for 'Silent'. --> 6788 <attr name="showSilent" format="boolean" /> 6789 </declare-styleable> 6790 6791 <!-- Base attributes available to VolumePreference. --> 6792 <declare-styleable name="VolumePreference"> 6793 <!-- Different audio stream types. --> 6794 <attr name="streamType"> 6795 <enum name="voice" value="0" /> 6796 <enum name="system" value="1" /> 6797 <enum name="ring" value="2" /> 6798 <enum name="music" value="3" /> 6799 <enum name="alarm" value="4" /> 6800 </attr> 6801 </declare-styleable> 6802 6803 <declare-styleable name="InputMethodService"> 6804 <!-- Background to use for entire input method when it is being 6805 shown in fullscreen mode with the extract view, to ensure 6806 that it completely covers the application. This allows, 6807 for example, the candidate view to be hidden 6808 while in fullscreen mode without having the application show through 6809 behind it.--> 6810 <attr name="imeFullscreenBackground" format="reference|color" /> 6811 <!-- Animation to use when showing the fullscreen extract UI after 6812 it had previously been hidden. --> 6813 <attr name="imeExtractEnterAnimation" format="reference" /> 6814 <!-- Animation to use when hiding the fullscreen extract UI after 6815 it had previously been shown. --> 6816 <attr name="imeExtractExitAnimation" format="reference" /> 6817 </declare-styleable> 6818 6819 <declare-styleable name="VoiceInteractionSession"> 6820 </declare-styleable> 6821 6822 <declare-styleable name="KeyboardView"> 6823 <!-- Default KeyboardView style. --> 6824 <attr name="keyboardViewStyle" format="reference" /> 6825 6826 <!-- Image for the key. This image needs to be a StateListDrawable, with the following 6827 possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, 6828 checkable+checked+pressed. --> 6829 <attr name="keyBackground" format="reference" /> 6830 6831 <!-- Size of the text for character keys. --> 6832 <attr name="keyTextSize" format="dimension" /> 6833 6834 <!-- Size of the text for custom keys with some text and no icon. --> 6835 <attr name="labelTextSize" format="dimension" /> 6836 6837 <!-- Color to use for the label in a key. --> 6838 <attr name="keyTextColor" format="color" /> 6839 6840 <!-- Layout resource for key press feedback.--> 6841 <attr name="keyPreviewLayout" format="reference" /> 6842 6843 <!-- Vertical offset of the key press feedback from the key. --> 6844 <attr name="keyPreviewOffset" format="dimension" /> 6845 6846 <!-- Height of the key press feedback popup. --> 6847 <attr name="keyPreviewHeight" format="dimension" /> 6848 6849 <!-- Amount to offset the touch Y coordinate by, for bias correction. --> 6850 <attr name="verticalCorrection" format="dimension" /> 6851 6852 <!-- Layout resource for popup keyboards. --> 6853 <attr name="popupLayout" format="reference" /> 6854 6855 <attr name="shadowColor" /> 6856 <attr name="shadowRadius" /> 6857 </declare-styleable> 6858 6859 <declare-styleable name="KeyboardViewPreviewState"> 6860 <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView} 6861 key preview background. --> 6862 <attr name="state_long_pressable" format="boolean" /> 6863 </declare-styleable> 6864 6865 <declare-styleable name="Keyboard"> 6866 <!-- Default width of a key, in pixels or percentage of display width. --> 6867 <attr name="keyWidth" format="dimension|fraction" /> 6868 <!-- Default height of a key, in pixels or percentage of display width. --> 6869 <attr name="keyHeight" format="dimension|fraction" /> 6870 <!-- Default horizontal gap between keys. --> 6871 <attr name="horizontalGap" format="dimension|fraction" /> 6872 <!-- Default vertical gap between rows of keys. --> 6873 <attr name="verticalGap" format="dimension|fraction" /> 6874 </declare-styleable> 6875 6876 <declare-styleable name="Keyboard_Row"> 6877 <!-- Row edge flags. --> 6878 <attr name="rowEdgeFlags"> 6879 <!-- Row is anchored to the top of the keyboard. --> 6880 <flag name="top" value="4" /> 6881 <!-- Row is anchored to the bottom of the keyboard. --> 6882 <flag name="bottom" value="8" /> 6883 </attr> 6884 <!-- Mode of the keyboard. If the mode doesn't match the 6885 requested keyboard mode, the row will be skipped. --> 6886 <attr name="keyboardMode" format="reference" /> 6887 </declare-styleable> 6888 6889 <declare-styleable name="Keyboard_Key"> 6890 <!-- The unicode value or comma-separated values that this key outputs. --> 6891 <attr name="codes" format="integer|string" /> 6892 <!-- The XML keyboard layout of any popup keyboard. --> 6893 <attr name="popupKeyboard" format="reference" /> 6894 <!-- The characters to display in the popup keyboard. --> 6895 <attr name="popupCharacters" format="string" /> 6896 <!-- Key edge flags. --> 6897 <attr name="keyEdgeFlags"> 6898 <!-- Key is anchored to the left of the keyboard. --> 6899 <flag name="left" value="1" /> 6900 <!-- Key is anchored to the right of the keyboard. --> 6901 <flag name="right" value="2" /> 6902 </attr> 6903 <!-- Whether this is a modifier key such as Alt or Shift. --> 6904 <attr name="isModifier" format="boolean" /> 6905 <!-- Whether this is a toggle key. --> 6906 <attr name="isSticky" format="boolean" /> 6907 <!-- Whether long-pressing on this key will make it repeat. --> 6908 <attr name="isRepeatable" format="boolean" /> 6909 <!-- The icon to show in the popup preview. --> 6910 <attr name="iconPreview" format="reference" /> 6911 <!-- The string of characters to output when this key is pressed. --> 6912 <attr name="keyOutputText" format="string" /> 6913 <!-- The label to display on the key. --> 6914 <attr name="keyLabel" format="string" /> 6915 <!-- The icon to display on the key instead of the label. --> 6916 <attr name="keyIcon" format="reference" /> 6917 <!-- Mode of the keyboard. If the mode doesn't match the 6918 requested keyboard mode, the key will be skipped. --> 6919 <attr name="keyboardMode" /> 6920 </declare-styleable> 6921 6922 <!-- =============================== --> 6923 <!-- AppWidget package class attributes --> 6924 <!-- =============================== --> 6925 <eat-comment /> 6926 6927 <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that 6928 describes an AppWidget provider. See {@link android.appwidget android.appwidget} 6929 package for more info. 6930 --> 6931 <declare-styleable name="AppWidgetProviderInfo"> 6932 <!-- Minimum width of the AppWidget. --> 6933 <attr name="minWidth"/> 6934 <!-- Minimum height of the AppWidget. --> 6935 <attr name="minHeight"/> 6936 <!-- Minimum width that the AppWidget can be resized to. --> 6937 <attr name="minResizeWidth" format="dimension"/> 6938 <!-- Minimum height that the AppWidget can be resized to. --> 6939 <attr name="minResizeHeight" format="dimension"/> 6940 <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. --> 6941 <attr name="updatePeriodMillis" format="integer" /> 6942 <!-- A resource id of a layout. --> 6943 <attr name="initialLayout" format="reference" /> 6944 <!-- A resource id of a layout. --> 6945 <attr name="initialKeyguardLayout" format="reference" /> 6946 <!-- A class name in the AppWidget's package to be launched to configure. 6947 If not supplied, then no activity will be launched. --> 6948 <attr name="configure" format="string" /> 6949 <!-- A preview of what the AppWidget will look like after it's configured. 6950 If not supplied, the AppWidget's icon will be used. --> 6951 <attr name="previewImage" format="reference" /> 6952 <!-- The view id of the AppWidget subview which should be auto-advanced. 6953 by the widget's host. --> 6954 <attr name="autoAdvanceViewId" format="reference" /> 6955 <!-- Optional parameter which indicates if and how this widget can be 6956 resized. Supports combined values using | operator. --> 6957 <attr name="resizeMode" format="integer"> 6958 <flag name="none" value="0x0" /> 6959 <flag name="horizontal" value="0x1" /> 6960 <flag name="vertical" value="0x2" /> 6961 </attr> 6962 <!-- Optional parameter which indicates where this widget can be shown, 6963 ie. home screen, keyguard, search bar or any combination thereof. 6964 Supports combined values using | operator. --> 6965 <attr name="widgetCategory" format="integer"> 6966 <flag name="home_screen" value="0x1" /> 6967 <flag name="keyguard" value="0x2" /> 6968 <flag name="searchbox" value="0x4" /> 6969 </attr> 6970 </declare-styleable> 6971 6972 <!-- =============================== --> 6973 <!-- Wallpaper preview attributes --> 6974 <!-- =============================== --> 6975 <eat-comment /> 6976 6977 <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that 6978 describes a wallpaper preview. --> 6979 <declare-styleable name="WallpaperPreviewInfo"> 6980 <!-- A resource id of a static drawable. --> 6981 <attr name="staticWallpaperPreview" format="reference" /> 6982 </declare-styleable> 6983 6984 <!-- =============================== --> 6985 <!-- App package class attributes --> 6986 <!-- =============================== --> 6987 <eat-comment /> 6988 6989 <!-- ============================= --> 6990 <!-- View package class attributes --> 6991 <!-- ============================= --> 6992 <eat-comment /> 6993 6994 <!-- Attributes that can be used with <code><fragment></code> 6995 tags inside of the layout of an Activity. This instantiates 6996 the given {@link android.app.Fragment} and inserts its content 6997 view into the current location in the layout. --> 6998 <declare-styleable name="Fragment"> 6999 <!-- Supply the name of the fragment class to instantiate. --> 7000 <attr name="name" /> 7001 7002 <!-- Supply an identifier name for the top-level view, to later retrieve it 7003 with {@link android.view.View#findViewById View.findViewById()} or 7004 {@link android.app.Activity#findViewById Activity.findViewById()}. 7005 This must be a 7006 resource reference; typically you set this using the 7007 <code>@+</code> syntax to create a new ID resources. 7008 For example: <code>android:id="@+id/my_id"</code> which 7009 allows you to later retrieve the view 7010 with <code>findViewById(R.id.my_id)</code>. --> 7011 <attr name="id" /> 7012 7013 <!-- Supply a tag for the top-level view containing a String, to be retrieved 7014 later with {@link android.view.View#getTag View.getTag()} or 7015 searched for with {@link android.view.View#findViewWithTag 7016 View.findViewWithTag()}. It is generally preferable to use 7017 IDs (through the android:id attribute) instead of tags because 7018 they are faster and allow for compile-time type checking. --> 7019 <attr name="tag" /> 7020 7021 <!-- The Transition that will be used to move Views out of the scene when the 7022 fragment is removed, hidden, or detached when not popping the back stack. 7023 Corresponds to {@link android.app.Fragment#setExitTransition( 7024 android.transition.Transition)} --> 7025 <attr name="fragmentExitTransition" format="reference"/> 7026 7027 <!-- The Transition that will be used to move Views into the initial scene. 7028 Corresponds to {@link android.app.Fragment#setEnterTransition( 7029 android.transition.Transition)} --> 7030 <attr name="fragmentEnterTransition" format="reference"/> 7031 7032 <!-- The Transition that will be used for shared elements transferred into the content 7033 Scene. 7034 Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition( 7035 android.transition.Transition)} --> 7036 <attr name="fragmentSharedElementEnterTransition" format="reference"/> 7037 7038 <!-- The Transition that will be used to move Views out of the scene when the Fragment is 7039 preparing to be removed, hidden, or detached because of popping the back stack. 7040 Corresponds to {@link android.app.Fragment#setReturnTransition( 7041 android.transition.Transition)} --> 7042 <attr name="fragmentReturnTransition" format="reference"/> 7043 7044 <!-- The Transition that will be used for shared elements transferred back during a 7045 pop of the back stack. This Transition acts in the leaving Fragment. 7046 Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition( 7047 android.transition.Transition)} --> 7048 <attr name="fragmentSharedElementReturnTransition" format="reference"/> 7049 7050 <!-- The Transition that will be used to move Views in to the scene when returning due 7051 to popping a back stack. 7052 Corresponds to {@link android.app.Fragment#setReenterTransition( 7053 android.transition.Transition)} --> 7054 <attr name="fragmentReenterTransition" format="reference"/> 7055 7056 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7057 forward. 7058 Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap( 7059 boolean)} --> 7060 <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/> 7061 7062 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7063 because of popping the back stack. 7064 Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap( 7065 boolean)} --> 7066 <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/> 7067 </declare-styleable> 7068 7069 <!-- Use <code>device-admin</code> as the root tag of the XML resource that 7070 describes a 7071 {@link android.app.admin.DeviceAdminReceiver}, which is 7072 referenced from its 7073 {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA} 7074 meta-data entry. Described here are the attributes that can be 7075 included in that tag. --> 7076 <declare-styleable name="DeviceAdmin"> 7077 <!-- Control whether the admin is visible to the user, even when it 7078 is not enabled. This is true by default. You may want to make 7079 it false if your admin does not make sense to be turned on 7080 unless some explicit action happens in your app. --> 7081 <attr name="visible" /> 7082 </declare-styleable> 7083 7084 <!-- Use <code>wallpaper</code> as the root tag of the XML resource that 7085 describes an 7086 {@link android.service.wallpaper.WallpaperService}, which is 7087 referenced from its 7088 {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA} 7089 meta-data entry. Described here are the attributes that can be 7090 included in that tag. --> 7091 <declare-styleable name="Wallpaper"> 7092 <attr name="settingsActivity" /> 7093 7094 <!-- Reference to a the wallpaper's thumbnail bitmap. --> 7095 <attr name="thumbnail" format="reference" /> 7096 7097 <!-- Name of the author of this component, e.g. Google. --> 7098 <attr name="author" format="reference" /> 7099 7100 <!-- Short description of the component's purpose or behavior. --> 7101 <attr name="description" /> 7102 </declare-styleable> 7103 7104 <!-- Use <code>dream</code> as the root tag of the XML resource that 7105 describes an 7106 {@link android.service.dreams.DreamService}, which is 7107 referenced from its 7108 {@link android.service.dreams.DreamService#DREAM_META_DATA} 7109 meta-data entry. Described here are the attributes that can be 7110 included in that tag. --> 7111 <declare-styleable name="Dream"> 7112 <!-- Component name of an activity that allows the user to modify 7113 the settings for this dream. --> 7114 <attr name="settingsActivity" /> 7115 </declare-styleable> 7116 7117 <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that 7118 describes an {@link android.service.trust.TrustAgentService}, which is 7119 referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA} 7120 meta-data entry. Described here are the attributes that can be included in that tag. 7121 @hide --> 7122 <declare-styleable name="TrustAgent"> 7123 <!-- @SystemApi Component name of an activity that allows the user to modify 7124 the settings for this trust agent. @hide --> 7125 <attr name="settingsActivity" /> 7126 <!-- @SystemApi Title for a preference that allows that user to launch the 7127 activity to modify trust agent settings. @hide --> 7128 <attr name="title" /> 7129 <!-- @SystemApi Summary for the same preference as the title. @hide --> 7130 <attr name="summary" /> 7131 </declare-styleable> 7132 7133 <!-- =============================== --> 7134 <!-- Accounts package class attributes --> 7135 <!-- =============================== --> 7136 <eat-comment /> 7137 7138 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7139 describes an account authenticator. 7140 --> 7141 <declare-styleable name="AccountAuthenticator"> 7142 <!-- The account type this authenticator handles. --> 7143 <attr name="accountType" format="string"/> 7144 <!-- The user-visible name of the authenticator. --> 7145 <attr name="label"/> 7146 <!-- The icon of the authenticator. --> 7147 <attr name="icon"/> 7148 <!-- Smaller icon of the authenticator. --> 7149 <attr name="smallIcon" format="reference"/> 7150 <!-- A preferences.xml file for authenticator-specific settings. --> 7151 <attr name="accountPreferences" format="reference"/> 7152 <!-- Account handles its own token storage and permissions. 7153 Default to false 7154 --> 7155 <attr name="customTokens" format="boolean"/> 7156 </declare-styleable> 7157 7158 <!-- =============================== --> 7159 <!-- Accounts package class attributes --> 7160 <!-- =============================== --> 7161 <eat-comment /> 7162 7163 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7164 describes an account authenticator. 7165 --> 7166 <declare-styleable name="SyncAdapter"> 7167 <!-- the authority of a content provider. --> 7168 <attr name="contentAuthority" format="string"/> 7169 <attr name="accountType"/> 7170 <attr name="userVisible" format="boolean"/> 7171 <attr name="supportsUploading" format="boolean"/> 7172 <!-- Set to true to tell the SyncManager that this SyncAdapter supports 7173 multiple simultaneous syncs for the same account type and authority. 7174 Otherwise the SyncManager will be sure not to issue a start sync request 7175 to this SyncAdapter if the SyncAdapter is already syncing another account. 7176 Defaults to false. 7177 --> 7178 <attr name="allowParallelSyncs" format="boolean"/> 7179 <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) 7180 for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. 7181 Defaults to false. 7182 --> 7183 <attr name="isAlwaysSyncable" format="boolean"/> 7184 <!-- If provided, specifies the action of the settings 7185 activity for this SyncAdapter. 7186 --> 7187 <attr name="settingsActivity"/> 7188 </declare-styleable> 7189 7190 <!-- =============================== --> 7191 <!-- Contacts meta-data attributes --> 7192 <!-- =============================== --> 7193 <eat-comment /> 7194 7195 <!-- TODO: remove this deprecated styleable. --> 7196 <eat-comment /> 7197 <declare-styleable name="Icon"> 7198 <attr name="icon" /> 7199 <attr name="mimeType" /> 7200 </declare-styleable> 7201 7202 <!-- TODO: remove this deprecated styleable --> 7203 <eat-comment /> 7204 <declare-styleable name="IconDefault"> 7205 <attr name="icon" /> 7206 </declare-styleable> 7207 7208 <!-- Maps a specific contact data MIME-type to styling information. --> 7209 <declare-styleable name="ContactsDataKind"> 7210 <!-- Mime-type handled by this mapping. --> 7211 <attr name="mimeType" /> 7212 <!-- Icon used to represent data of this kind. --> 7213 <attr name="icon" /> 7214 <!-- Column in data table that summarizes this data. --> 7215 <attr name="summaryColumn" format="string" /> 7216 <!-- Column in data table that contains details for this data. --> 7217 <attr name="detailColumn" format="string" /> 7218 <!-- Flag indicating that detail should be built from SocialProvider. --> 7219 <attr name="detailSocialSummary" format="boolean" /> 7220 <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or 7221 "All connections"). Optional (Default is "All Contacts"). --> 7222 <attr name="allContactsName" format="string" /> 7223 </declare-styleable> 7224 7225 <!-- =============================== --> 7226 <!-- TabSelector class attributes --> 7227 <!-- =============================== --> 7228 <eat-comment /> 7229 7230 <declare-styleable name="SlidingTab"> 7231 <!-- Use "horizontal" for a row, "vertical" for a column. The default is horizontal. --> 7232 <attr name="orientation" /> 7233 </declare-styleable> 7234 7235 <!-- =============================== --> 7236 <!-- GlowPadView class attributes --> 7237 <!-- =============================== --> 7238 <eat-comment /> 7239 <declare-styleable name="GlowPadView"> 7240 <!-- Reference to an array resource that be used as description for the targets around the circle. 7241 {@deprecated Removed.} --> 7242 <attr name="targetDescriptions" format="reference" /> 7243 7244 <!-- Reference to an array resource that be used to announce the directions with targets around the circle. 7245 {@deprecated Removed.}--> 7246 <attr name="directionDescriptions" format="reference" /> 7247 </declare-styleable> 7248 7249 <!-- =============================== --> 7250 <!-- Location package class attributes --> 7251 <!-- =============================== --> 7252 <eat-comment /> 7253 7254 <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that 7255 describes an injected "Location services" setting. Note that the status value (subtitle) 7256 for the setting is specified dynamically by a subclass of SettingInjectorService. 7257 --> 7258 <declare-styleable name="SettingInjectorService"> 7259 <!-- The title for the preference. --> 7260 <attr name="title"/> 7261 <!-- The icon for the preference, should refer to all apps covered by the setting. Typically 7262 a generic icon for the developer. --> 7263 <attr name="icon"/> 7264 <!-- The activity to launch when the setting is clicked on. --> 7265 <attr name="settingsActivity"/> 7266 </declare-styleable> 7267 7268 <!-- =============================== --> 7269 <!-- LockPatternView class attributes --> 7270 <!-- =============================== --> 7271 <eat-comment /> 7272 7273 <declare-styleable name="LockPatternView"> 7274 <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width" 7275 or "lock_height" --> 7276 <attr name="aspect" format="string" /> 7277 <!-- Color to use when drawing LockPatternView paths. --> 7278 <attr name="pathColor" format="color|reference" /> 7279 <!-- The regular pattern color --> 7280 <attr name="regularColor" format="color|reference" /> 7281 <!-- The error color --> 7282 <attr name="errorColor" format="color|reference" /> 7283 <!-- The success color --> 7284 <attr name="successColor" format="color|reference"/> 7285 </declare-styleable> 7286 7287 <!-- Use <code>recognition-service</code> as the root tag of the XML resource that 7288 describes a {@link android.speech.RecognitionService}, which is referenced from 7289 its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry. 7290 Described here are the attributes that can be included in that tag. --> 7291 <declare-styleable name="RecognitionService"> 7292 <attr name="settingsActivity" /> 7293 </declare-styleable> 7294 7295 <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that 7296 describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from 7297 its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry. 7298 Described here are the attributes that can be included in that tag. --> 7299 <declare-styleable name="VoiceInteractionService"> 7300 <!-- The service that hosts active voice interaction sessions. This is required. --> 7301 <attr name="sessionService" format="string" /> 7302 <!-- The service that provides voice recognition. This is required. When the user 7303 selects this voice interaction service, they will also be implicitly selecting 7304 the component here for their recognition service. --> 7305 <attr name="recognitionService" format="string" /> 7306 <attr name="settingsActivity" /> 7307 <!-- Flag indicating whether this voice interaction service is capable of handling the 7308 assist action. --> 7309 <attr name="supportsAssist" format="boolean" /> 7310 </declare-styleable> 7311 7312 <!-- Use <code>voice-enrollment-application</code> 7313 as the root tag of the XML resource that escribes the supported keyphrases (hotwords) 7314 by the enrollment application. 7315 Described here are the attributes that can be included in that tag. 7316 @hide 7317 @SystemApi --> 7318 <declare-styleable name="VoiceEnrollmentApplication"> 7319 <!-- A globally unique ID for the keyphrase. @hide @SystemApi --> 7320 <attr name="searchKeyphraseId" format="integer" /> 7321 <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi --> 7322 <attr name="searchKeyphrase" format="string" /> 7323 <!-- A comma separated list of BCP-47 language tag for locales that are supported 7324 for this keyphrase, or empty if not locale dependent. @hide @SystemApi --> 7325 <attr name="searchKeyphraseSupportedLocales" format="string" /> 7326 <!-- Flags for supported recognition modes. @hide @SystemApi --> 7327 <attr name="searchKeyphraseRecognitionFlags"> 7328 <flag name="none" value="0" /> 7329 <flag name="voiceTrigger" value="0x1" /> 7330 <flag name="userIdentification" value="0x2" /> 7331 </attr> 7332 </declare-styleable> 7333 7334 <!-- Attributes used to style the Action Bar. --> 7335 <declare-styleable name="ActionBar"> 7336 <!-- The type of navigation to use. --> 7337 <attr name="navigationMode"> 7338 <!-- Normal static title text --> 7339 <enum name="normal" value="0" /> 7340 <!-- The action bar will use a selection list for navigation. --> 7341 <enum name="listMode" value="1" /> 7342 <!-- The action bar will use a series of horizontal tabs for navigation. --> 7343 <enum name="tabMode" value="2" /> 7344 </attr> 7345 <!-- Options affecting how the action bar is displayed. --> 7346 <attr name="displayOptions"> 7347 <flag name="none" value="0" /> 7348 <flag name="useLogo" value="0x1" /> 7349 <flag name="showHome" value="0x2" /> 7350 <flag name="homeAsUp" value="0x4" /> 7351 <flag name="showTitle" value="0x8" /> 7352 <flag name="showCustom" value="0x10" /> 7353 <flag name="disableHome" value="0x20" /> 7354 </attr> 7355 <!-- Specifies title text used for navigationMode="normal" --> 7356 <attr name="title" /> 7357 <!-- Specifies subtitle text used for navigationMode="normal" --> 7358 <attr name="subtitle" format="string" /> 7359 <!-- Specifies a style to use for title text. --> 7360 <attr name="titleTextStyle" format="reference" /> 7361 <!-- Specifies a style to use for subtitle text. --> 7362 <attr name="subtitleTextStyle" format="reference" /> 7363 <!-- Specifies the drawable used for the application icon. --> 7364 <attr name="icon" /> 7365 <!-- Specifies the drawable used for the application logo. --> 7366 <attr name="logo" /> 7367 <!-- Specifies the drawable used for item dividers. --> 7368 <attr name="divider" /> 7369 <!-- Specifies a background drawable for the action bar. --> 7370 <attr name="background" /> 7371 <!-- Specifies a background drawable for a second stacked row of the action bar. --> 7372 <attr name="backgroundStacked" format="reference|color" /> 7373 <!-- Specifies a background drawable for the bottom component of a split action bar. --> 7374 <attr name="backgroundSplit" format="reference|color" /> 7375 <!-- Specifies a layout for custom navigation. Overrides navigationMode. --> 7376 <attr name="customNavigationLayout" format="reference" /> 7377 <!-- Specifies a fixed height. --> 7378 <attr name="height" /> 7379 <!-- Specifies a layout to use for the "home" section of the action bar. --> 7380 <attr name="homeLayout" format="reference" /> 7381 <!-- Specifies a style resource to use for an embedded progress bar. --> 7382 <attr name="progressBarStyle" /> 7383 <!-- Specifies a style resource to use for an indeterminate progress spinner. --> 7384 <attr name="indeterminateProgressStyle" format="reference" /> 7385 <!-- Specifies the horizontal padding on either end for an embedded progress bar. --> 7386 <attr name="progressBarPadding" format="dimension" /> 7387 <!-- Up navigation glyph --> 7388 <attr name="homeAsUpIndicator" /> 7389 <!-- Specifies padding that should be applied to the left and right sides of 7390 system-provided items in the bar. --> 7391 <attr name="itemPadding" format="dimension" /> 7392 <!-- Set true to hide the action bar on a vertical nested scroll of content. --> 7393 <attr name="hideOnContentScroll" format="boolean" /> 7394 <!-- Minimum inset for content views within a bar. Navigation buttons and 7395 menu views are excepted. Only valid for some themes and configurations. --> 7396 <attr name="contentInsetStart" format="dimension" /> 7397 <!-- Minimum inset for content views within a bar. Navigation buttons and 7398 menu views are excepted. Only valid for some themes and configurations. --> 7399 <attr name="contentInsetEnd" format="dimension" /> 7400 <!-- Minimum inset for content views within a bar. Navigation buttons and 7401 menu views are excepted. Only valid for some themes and configurations. --> 7402 <attr name="contentInsetLeft" format="dimension" /> 7403 <!-- Minimum inset for content views within a bar. Navigation buttons and 7404 menu views are excepted. Only valid for some themes and configurations. --> 7405 <attr name="contentInsetRight" format="dimension" /> 7406 <!-- Elevation for the action bar itself --> 7407 <attr name="elevation" /> 7408 <!-- Reference to a theme that should be used to inflate popups 7409 shown by widgets in the action bar. --> 7410 <attr name="popupTheme" /> 7411 </declare-styleable> 7412 7413 <declare-styleable name="ActionMode"> 7414 <!-- Specifies a style to use for title text. --> 7415 <attr name="titleTextStyle" /> 7416 <!-- Specifies a style to use for subtitle text. --> 7417 <attr name="subtitleTextStyle" /> 7418 <!-- Specifies a background for the action mode bar. --> 7419 <attr name="background" /> 7420 <!-- Specifies a background for the split action mode bar. --> 7421 <attr name="backgroundSplit" /> 7422 <!-- Specifies a fixed height for the action mode bar. --> 7423 <attr name="height" /> 7424 <!-- Specifies a layout to use for the "close" item at the starting edge. --> 7425 <attr name="closeItemLayout" format="reference" /> 7426 </declare-styleable> 7427 7428 <declare-styleable name="SearchView"> 7429 <!-- The layout to use for the search view. --> 7430 <attr name="layout" /> 7431 <!-- The default state of the SearchView. If true, it will be iconified when not in 7432 use and expanded when clicked. --> 7433 <attr name="iconifiedByDefault" format="boolean" /> 7434 <!-- An optional maximum width of the SearchView. --> 7435 <attr name="maxWidth" /> 7436 <!-- An optional query hint string to be displayed in the empty query field. --> 7437 <attr name="queryHint" format="string" /> 7438 <!-- Default query hint used when {@code queryHint} is undefined and 7439 the search view's {@code SearchableInfo} does not provide a hint. 7440 @hide --> 7441 <attr name="defaultQueryHint" format="string" /> 7442 <!-- The IME options to set on the query text field. --> 7443 <attr name="imeOptions" /> 7444 <!-- The input type to set on the query text field. --> 7445 <attr name="inputType" /> 7446 <!-- Close button icon --> 7447 <attr name="closeIcon" format="reference" /> 7448 <!-- Go button icon --> 7449 <attr name="goIcon" format="reference" /> 7450 <!-- Search icon --> 7451 <attr name="searchIcon" format="reference" /> 7452 <!-- Search icon displayed as a text field hint --> 7453 <attr name="searchHintIcon" format="reference" /> 7454 <!-- Voice button icon --> 7455 <attr name="voiceIcon" format="reference" /> 7456 <!-- Commit icon shown in the query suggestion row --> 7457 <attr name="commitIcon" format="reference" /> 7458 <!-- Layout for query suggestion rows --> 7459 <attr name="suggestionRowLayout" format="reference" /> 7460 <!-- Background for the section containing the search query --> 7461 <attr name="queryBackground" format="reference" /> 7462 <!-- Background for the section containing the action (e.g. voice search) --> 7463 <attr name="submitBackground" format="reference" /> 7464 <attr name="focusable" /> 7465 </declare-styleable> 7466 7467 <declare-styleable name="Switch"> 7468 <!-- Drawable to use as the "thumb" that switches back and forth. --> 7469 <attr name="thumb" /> 7470 <!-- Tint to apply to the thumb. --> 7471 <attr name="thumbTint" /> 7472 <!-- Blending mode used to apply the thumb tint. --> 7473 <attr name="thumbTintMode" /> 7474 <!-- Drawable to use as the "track" that the switch thumb slides within. --> 7475 <attr name="track" format="reference" /> 7476 <!-- Tint to apply to the track. --> 7477 <attr name="trackTint" format="color" /> 7478 <!-- Blending mode used to apply the track tint. --> 7479 <attr name="trackTintMode"> 7480 <!-- The tint is drawn on top of the drawable. 7481 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 7482 <enum name="src_over" value="3" /> 7483 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 7484 color channels are thrown out. [Sa * Da, Sc * Da] --> 7485 <enum name="src_in" value="5" /> 7486 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 7487 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 7488 <enum name="src_atop" value="9" /> 7489 <!-- Multiplies the color and alpha channels of the drawable with those of 7490 the tint. [Sa * Da, Sc * Dc] --> 7491 <enum name="multiply" value="14" /> 7492 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 7493 <enum name="screen" value="15" /> 7494 <!-- Combines the tint and drawable color and alpha channels, clamping the 7495 result to valid color values. Saturate(S + D) --> 7496 <enum name="add" value="16" /> 7497 </attr> 7498 <!-- Text to use when the switch is in the checked/"on" state. --> 7499 <attr name="textOn" /> 7500 <!-- Text to use when the switch is in the unchecked/"off" state. --> 7501 <attr name="textOff" /> 7502 <!-- Amount of padding on either side of text within the switch thumb. --> 7503 <attr name="thumbTextPadding" format="dimension" /> 7504 <!-- TextAppearance style for text displayed on the switch thumb. --> 7505 <attr name="switchTextAppearance" format="reference" /> 7506 <!-- Minimum width for the switch component --> 7507 <attr name="switchMinWidth" format="dimension" /> 7508 <!-- Minimum space between the switch and caption text --> 7509 <attr name="switchPadding" format="dimension" /> 7510 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 7511 <attr name="splitTrack" /> 7512 <!-- Whether to draw on/off text. --> 7513 <attr name="showText" format="boolean" /> 7514 </declare-styleable> 7515 7516 <declare-styleable name="Pointer"> 7517 <!-- Reference to a pointer icon drawable with STYLE_ARROW --> 7518 <attr name="pointerIconArrow" format="reference" /> 7519 <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER --> 7520 <attr name="pointerIconSpotHover" format="reference" /> 7521 <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH --> 7522 <attr name="pointerIconSpotTouch" format="reference" /> 7523 <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR --> 7524 <attr name="pointerIconSpotAnchor" format="reference" /> 7525 </declare-styleable> 7526 7527 <declare-styleable name="PointerIcon"> 7528 <!-- Drawable to use as the icon bitmap. --> 7529 <attr name="bitmap" format="reference" /> 7530 <!-- X coordinate of the icon hot spot. --> 7531 <attr name="hotSpotX" format="dimension" /> 7532 <!-- Y coordinate of the icon hot spot. --> 7533 <attr name="hotSpotY" format="dimension" /> 7534 </declare-styleable> 7535 7536 <declare-styleable name="Storage"> 7537 <!-- path to mount point for the storage --> 7538 <attr name="mountPoint" format="string" /> 7539 <!-- user visible description of the storage --> 7540 <attr name="storageDescription" format="string" /> 7541 <!-- true if the storage is the primary external storage --> 7542 <attr name="primary" format="boolean" /> 7543 <!-- true if the storage is removable --> 7544 <attr name="removable" format="boolean" /> 7545 <!-- true if the storage is emulated via the FUSE sdcard daemon --> 7546 <attr name="emulated" format="boolean" /> 7547 <!-- number of megabytes of storage MTP should reserve for free storage 7548 (used for emulated storage that is shared with system's data partition) --> 7549 <attr name="mtpReserve" format="integer" /> 7550 <!-- true if the storage can be shared via USB mass storage --> 7551 <attr name="allowMassStorage" format="boolean" /> 7552 <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded --> 7553 <attr name="maxFileSize" format="integer" /> 7554 </declare-styleable> 7555 7556 <declare-styleable name="SwitchPreference"> 7557 <!-- The summary for the Preference in a PreferenceActivity screen when the 7558 SwitchPreference is checked. If separate on/off summaries are not 7559 needed, the summary attribute can be used instead. --> 7560 <attr name="summaryOn" /> 7561 <!-- The summary for the Preference in a PreferenceActivity screen when the 7562 SwitchPreference is unchecked. If separate on/off summaries are not 7563 needed, the summary attribute can be used instead. --> 7564 <attr name="summaryOff" /> 7565 <!-- The text used on the switch itself when in the "on" state. 7566 This should be a very SHORT string, as it appears in a small space. --> 7567 <attr name="switchTextOn" format="string" /> 7568 <!-- The text used on the switch itself when in the "off" state. 7569 This should be a very SHORT string, as it appears in a small space. --> 7570 <attr name="switchTextOff" format="string" /> 7571 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 7572 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 7573 <attr name="disableDependentsState" /> 7574 </declare-styleable> 7575 7576 <declare-styleable name="SeekBarPreference"> 7577 <attr name="layout" /> 7578 </declare-styleable> 7579 7580 <!-- Base attributes available to PreferenceFragment. --> 7581 <declare-styleable name="PreferenceFragment"> 7582 <!-- The layout for the PreferenceFragment. This should rarely need to be changed. --> 7583 <attr name="layout" /> 7584 </declare-styleable> 7585 7586 <!-- Base attributes available to PreferenceActivity. --> 7587 <declare-styleable name="PreferenceActivity"> 7588 <!-- The layout for the Preference Activity. This should rarely need to be changed. --> 7589 <attr name="layout" /> 7590 <!-- The layout for the Preference Header. This should rarely need to be changed. --> 7591 <attr name="headerLayout" format="reference" /> 7592 <!-- true if the Icon view will be removed when there is none and thus not showing 7593 the fixed margins. --> 7594 <attr name="headerRemoveIconIfEmpty" format="boolean" /> 7595 </declare-styleable> 7596 7597 <!-- Use <code>tts-engine</code> as the root tag of the XML resource that 7598 describes a text to speech engine implemented as a subclass of 7599 {@link android.speech.tts.TextToSpeechService}. 7600 7601 The XML resource must be referenced from its 7602 {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data 7603 entry. --> 7604 <declare-styleable name="TextToSpeechEngine"> 7605 <attr name="settingsActivity" /> 7606 </declare-styleable> 7607 7608 <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that 7609 describes a collection of keyboard layouts provided by an application. 7610 Each keyboard layout is declared by a <code>keyboard-layout</code> tag 7611 with these attributes. 7612 7613 The XML resource that contains the keyboard layouts must be referenced from its 7614 {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS} 7615 meta-data entry used with broadcast receivers for 7616 {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. --> 7617 <declare-styleable name="KeyboardLayout"> 7618 <!-- The name of the keyboard layout, must be unique in the receiver. --> 7619 <attr name="name" /> 7620 <!-- The display label of the keyboard layout. --> 7621 <attr name="label" /> 7622 <!-- The key character map file resource. --> 7623 <attr name="keyboardLayout" format="reference" /> 7624 </declare-styleable> 7625 7626 <declare-styleable name="MediaRouteButton"> 7627 <!-- This drawable is a state list where the "activated" state 7628 indicates active media routing. Non-activated indicates 7629 that media is playing to the local device only. 7630 @hide --> 7631 <attr name="externalRouteEnabledDrawable" format="reference" /> 7632 7633 <!-- The types of media routes the button and its resulting 7634 chooser will filter by. --> 7635 <attr name="mediaRouteTypes" format="integer"> 7636 <!-- Allow selection of live audio routes. --> 7637 <enum name="liveAudio" value="0x1" /> 7638 <!-- Allow selection of user (app-specified) routes. --> 7639 <enum name="user" value="0x800000" /> 7640 </attr> 7641 7642 <attr name="minWidth" /> 7643 <attr name="minHeight" /> 7644 </declare-styleable> 7645 7646 <!-- PagedView specific attributes. These attributes are used to customize 7647 a PagedView view in XML files. --> 7648 <declare-styleable name="PagedView"> 7649 <!-- The space between adjacent pages of the PagedView. --> 7650 <attr name="pageSpacing" format="dimension" /> 7651 <!-- The padding for the scroll indicator area --> 7652 <attr name="scrollIndicatorPaddingLeft" format="dimension" /> 7653 <attr name="scrollIndicatorPaddingRight" format="dimension" /> 7654 </declare-styleable> 7655 7656 <declare-styleable name="KeyguardGlowStripView"> 7657 <attr name="dotSize" format="dimension" /> 7658 <attr name="numDots" format="integer" /> 7659 <attr name="glowDot" format="reference" /> 7660 <attr name="leftToRight" format="boolean" /> 7661 </declare-styleable> 7662 7663 <!-- Some child types have special behavior. --> 7664 <attr name="layout_childType"> 7665 <!-- No special behavior. Layout will proceed as normal. --> 7666 <enum name="none" value="0" /> 7667 <!-- Widget container. 7668 This will be resized in response to certain events. --> 7669 <enum name="widget" value="1" /> 7670 <!-- Security challenge container. 7671 This will be dismissed/shown in response to certain events, 7672 possibly obscuring widget elements. --> 7673 <enum name="challenge" value="2" /> 7674 <!-- User switcher. 7675 This will consume space from the total layout area. --> 7676 <enum name="userSwitcher" value="3" /> 7677 <!-- Scrim. This will block access to child views that 7678 come before it in the child list in bouncer mode. --> 7679 <enum name="scrim" value="4" /> 7680 <!-- The home for widgets. All widgets will be descendents of this. --> 7681 <enum name="widgets" value="5" /> 7682 <!-- This is a handle that is used for expanding the 7683 security challenge container when it is collapsed. --> 7684 <enum name="expandChallengeHandle" value="6" /> 7685 <!-- Delete drop target. This will be the drop target to delete pages. --> 7686 <enum name="pageDeleteDropTarget" value="7" /> 7687 </attr> 7688 7689 <!-- Attributes that can be used with <code><FragmentBreadCrumbs></code> 7690 tags. --> 7691 <declare-styleable name="FragmentBreadCrumbs"> 7692 <attr name="gravity" /> 7693 <attr name="itemLayout" format="reference" /> 7694 <attr name="itemColor" format="color|reference" /> 7695 </declare-styleable> 7696 7697 <declare-styleable name="Toolbar"> 7698 <attr name="titleTextAppearance" format="reference" /> 7699 <attr name="subtitleTextAppearance" format="reference" /> 7700 <attr name="title" /> 7701 <attr name="subtitle" /> 7702 <attr name="gravity" /> 7703 <attr name="titleMargins" format="dimension" /> 7704 <attr name="titleMarginStart" format="dimension" /> 7705 <attr name="titleMarginEnd" format="dimension" /> 7706 <attr name="titleMarginTop" format="dimension" /> 7707 <attr name="titleMarginBottom" format="dimension" /> 7708 <attr name="contentInsetStart" /> 7709 <attr name="contentInsetEnd" /> 7710 <attr name="contentInsetLeft" /> 7711 <attr name="contentInsetRight" /> 7712 <attr name="maxButtonHeight" format="dimension" /> 7713 <attr name="navigationButtonStyle" format="reference" /> 7714 <attr name="buttonGravity"> 7715 <!-- Push object to the top of its container, not changing its size. --> 7716 <flag name="top" value="0x30" /> 7717 <!-- Push object to the bottom of its container, not changing its size. --> 7718 <flag name="bottom" value="0x50" /> 7719 </attr> 7720 <!-- Icon drawable to use for the collapse button. --> 7721 <attr name="collapseIcon" format="reference" /> 7722 <!-- Text to set as the content description for the collapse button. --> 7723 <attr name="collapseContentDescription" format="string" /> 7724 <!-- Reference to a theme that should be used to inflate popups 7725 shown by widgets in the toolbar. --> 7726 <attr name="popupTheme" format="reference" /> 7727 <!-- Icon drawable to use for the navigation button located at 7728 the start of the toolbar. --> 7729 <attr name="navigationIcon" format="reference" /> 7730 <!-- Text to set as the content description for the navigation button 7731 located at the start of the toolbar. --> 7732 <attr name="navigationContentDescription" format="string" /> 7733 7734 <!-- Tint used for the navigation button --> 7735 <attr name="navigationTint" format="color" /> 7736 <!-- The blending mode used for tinting the navigation button --> 7737 <attr name="navigationTintMode"> 7738 <!-- The tint is drawn on top of the drawable. 7739 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 7740 <enum name="src_over" value="3" /> 7741 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 7742 color channels are thrown out. [Sa * Da, Sc * Da] --> 7743 <enum name="src_in" value="5" /> 7744 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 7745 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 7746 <enum name="src_atop" value="9" /> 7747 <!-- Multiplies the color and alpha channels of the drawable with those of 7748 the tint. [Sa * Da, Sc * Dc] --> 7749 <enum name="multiply" value="14" /> 7750 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 7751 <enum name="screen" value="15" /> 7752 <!-- Combines the tint and drawable color and alpha channels, clamping the 7753 result to valid color values. Saturate(S + D). Only works on APIv 11+ --> 7754 <enum name="add" value="16" /> 7755 </attr> 7756 7757 <!-- Tint used for the overflow button --> 7758 <attr name="overflowTint" format="color" /> 7759 <!-- The blending mode used for tinting the overflow button --> 7760 <attr name="overflowTintMode"> 7761 <!-- The tint is drawn on top of the drawable. 7762 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 7763 <enum name="src_over" value="3" /> 7764 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 7765 color channels are thrown out. [Sa * Da, Sc * Da] --> 7766 <enum name="src_in" value="5" /> 7767 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 7768 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 7769 <enum name="src_atop" value="9" /> 7770 <!-- Multiplies the color and alpha channels of the drawable with those of 7771 the tint. [Sa * Da, Sc * Dc] --> 7772 <enum name="multiply" value="14" /> 7773 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 7774 <enum name="screen" value="15" /> 7775 <!-- Combines the tint and drawable color and alpha channels, clamping the 7776 result to valid color values. Saturate(S + D). Only works on APIv 11+ --> 7777 <enum name="add" value="16" /> 7778 </attr> 7779 </declare-styleable> 7780 7781 <declare-styleable name="Toolbar_LayoutParams"> 7782 <attr name="layout_gravity" /> 7783 </declare-styleable> 7784 7785 <declare-styleable name="ActionBar_LayoutParams"> 7786 <attr name="layout_gravity" /> 7787 </declare-styleable> 7788 7789 <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. --> 7790 <declare-styleable name="EdgeEffect"> 7791 <attr name="colorEdgeEffect" /> 7792 </declare-styleable> 7793 7794 <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a 7795 {@link android.media.tv.TvInputService}, which is referenced from its 7796 {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry. 7797 Described here are the attributes that can be included in that tag. --> 7798 <declare-styleable name="TvInputService"> 7799 <!-- Component name of an activity for setup of this service. 7800 The setup includes scanning channels and registering EPG data. --> 7801 <attr name="setupActivity" format="string" /> 7802 <!-- Component name of an activity that allows the user to modify 7803 the settings for this service. --> 7804 <attr name="settingsActivity" /> 7805 </declare-styleable> 7806 7807 <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the 7808 XML resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 7809 which is referenced from its 7810 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 7811 <declare-styleable name="RatingSystemDefinition"> 7812 <!-- The unique name of the content rating system. --> 7813 <attr name="name" /> 7814 <!-- The title of the content rating system which is shown to the user. --> 7815 <attr name="title" /> 7816 <!-- The short description of the content rating system. --> 7817 <attr name="description" /> 7818 <!-- The country code associated with the content rating system, which consists of two 7819 uppercase letters that conform to the ISO 3166 standard. --> 7820 <attr name="country" format="string" /> 7821 </declare-styleable> 7822 7823 <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML 7824 resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 7825 which is referenced from its 7826 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 7827 <declare-styleable name="RatingDefinition"> 7828 <!-- The unique name of the content rating. --> 7829 <attr name="name" /> 7830 <!-- The title of the content rating which is shown to the user. --> 7831 <attr name="title" /> 7832 <!-- The short description of the content rating. --> 7833 <attr name="description" /> 7834 <!-- The age associated with the content rating. The content of this rating is suitable for 7835 people of this age or above. --> 7836 <attr name="contentAgeHint" format="integer" /> 7837 </declare-styleable> 7838 7839 <declare-styleable name="ResolverDrawerLayout"> 7840 <attr name="maxWidth" /> 7841 <attr name="maxCollapsedHeight" format="dimension" /> 7842 <attr name="maxCollapsedHeightSmall" format="dimension" /> 7843 </declare-styleable> 7844 7845 <declare-styleable name="ResolverDrawerLayout_LayoutParams"> 7846 <attr name="layout_alwaysShow" format="boolean" /> 7847 <attr name="layout_ignoreOffset" format="boolean" /> 7848 <attr name="layout_gravity" /> 7849 </declare-styleable> 7850 7851 <!-- @hide --> 7852 <declare-styleable name="Lighting"> 7853 <attr name="lightY" /> 7854 <attr name="lightZ" /> 7855 <attr name="lightRadius" /> 7856 <attr name="ambientShadowAlpha" /> 7857 <attr name="spotShadowAlpha" /> 7858 </declare-styleable> 7859 7860 <declare-styleable name="RestrictionEntry"> 7861 <attr name="key" /> 7862 <attr name="restrictionType"> 7863 <enum name="hidden" value="0" /> 7864 <enum name="bool" value="1" /> 7865 <enum name="choice" value="2" /> 7866 <enum name="multi-select" value="4" /> 7867 <enum name="integer" value="5" /> 7868 <enum name="string" value="6" /> 7869 <enum name="bundle" value="7" /> 7870 <enum name="bundle_array" value="8" /> 7871 </attr> 7872 <attr name="title" /> 7873 <attr name="description" /> 7874 <attr name="defaultValue" /> 7875 <attr name="entries" /> 7876 <attr name="entryValues" /> 7877 </declare-styleable> 7878</resources> 7879