attrs.xml revision 4ced22d6440d4998af93d5dc16d46c5d22b39363
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 <!-- Specifies that a theme has a light background with dark text on top. --> 31 <attr name="isLightTheme" format="boolean" /> 32 33 <!-- Default color of foreground imagery. --> 34 <attr name="colorForeground" format="color" /> 35 <!-- Default color of foreground imagery on an inverted background. --> 36 <attr name="colorForegroundInverse" format="color" /> 37 <!-- Default color of background imagery, ex. full-screen windows. --> 38 <attr name="colorBackground" format="color" /> 39 <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. --> 40 <attr name="colorBackgroundFloating" format="color" /> 41 <!-- This is a hint for a solid color that can be used for caching 42 rendered views. This should be the color of the background when 43 there is a solid background color; it should be null when the 44 background is a texture or translucent. When a device is able 45 to use accelerated drawing (thus setting state_accelerated), the 46 cache hint is ignored and always assumed to be transparent. --> 47 <attr name="colorBackgroundCacheHint" format="color" /> 48 49 <!-- Default highlight color for items that are pressed. --> 50 <attr name="colorPressedHighlight" format="color" /> 51 <!-- Default highlight color for items that are long-pressed. --> 52 <attr name="colorLongPressedHighlight" format="color" /> 53 <!-- Default highlight color for items that are 54 focused. (Focused meaning cursor-based selection.) --> 55 <attr name="colorFocusedHighlight" format="color" /> 56 <!-- Default highlight color for items that are 57 activated. (Activated meaning persistent selection.) --> 58 <attr name="colorActivatedHighlight" format="color" /> 59 <!-- Default highlight color for items in multiple selection 60 mode. --> 61 <attr name="colorMultiSelectHighlight" format="color" /> 62 63 <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. --> 64 <attr name="disabledAlpha" format="float" /> 65 <!-- The alpha applied to the foreground color to create the primary text color. --> 66 <attr name="primaryContentAlpha" format="float" /> 67 <!-- Default background dim amount when a menu, dialog, or something similar pops up. --> 68 <attr name="backgroundDimAmount" format="float" /> 69 <!-- Control whether dimming behind the window is enabled. The default 70 theme does not set this value, meaning it is based on whether the 71 window is floating. --> 72 <attr name="backgroundDimEnabled" format="boolean" /> 73 74 <!-- =========== --> 75 <!-- Text styles --> 76 <!-- =========== --> 77 <eat-comment /> 78 79 <!-- Default appearance of text: color, typeface, size, and style. --> 80 <attr name="textAppearance" format="reference" /> 81 <!-- Default appearance of text against an inverted background: 82 color, typeface, size, and style. --> 83 <attr name="textAppearanceInverse" format="reference" /> 84 85 <!-- The most prominent text color. --> 86 <attr name="textColorPrimary" format="reference|color" /> 87 <!-- Secondary text color. --> 88 <attr name="textColorSecondary" format="reference|color" /> 89 <!-- Tertiary text color. --> 90 <attr name="textColorTertiary" format="reference|color" /> 91 92 <!-- Primary inverse text color, useful for inverted backgrounds. --> 93 <attr name="textColorPrimaryInverse" format="reference|color" /> 94 <!-- Secondary inverse text color, useful for inverted backgrounds. --> 95 <attr name="textColorSecondaryInverse" format="reference|color" /> 96 <!-- Tertiary inverse text color, useful for inverted backgrounds. --> 97 <attr name="textColorTertiaryInverse" format="reference|color" /> 98 99 <!-- Inverse hint text color. --> 100 <attr name="textColorHintInverse" format="reference|color" /> 101 102 <!-- Bright text color. Only differentiates based on the disabled state. --> 103 <attr name="textColorPrimaryDisableOnly" format="reference|color" /> 104 105 <!-- Bright inverse text color. Only differentiates based on the disabled state. --> 106 <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" /> 107 108 <!-- Bright text color. This does not differentiate the disabled state. As an example, 109 buttons use this since they display the disabled state via the background and not the 110 foreground text color. --> 111 <attr name="textColorPrimaryNoDisable" format="reference|color" /> 112 <!-- Dim text color. This does not differentiate the disabled state. --> 113 <attr name="textColorSecondaryNoDisable" format="reference|color" /> 114 115 <!-- Bright inverse text color. This does not differentiate the disabled state. --> 116 <attr name="textColorPrimaryInverseNoDisable" format="reference|color" /> 117 <!-- Dim inverse text color. This does not differentiate the disabled state. --> 118 <attr name="textColorSecondaryInverseNoDisable" format="reference|color" /> 119 120 <!-- Bright text color for use over activated backgrounds. --> 121 <attr name="textColorPrimaryActivated" format="reference|color" /> 122 <!-- Dim text color for use over activated backgrounds. --> 123 <attr name="textColorSecondaryActivated" format="reference|color" /> 124 125 <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide --> 126 <attr name="textColorSearchUrl" format="reference|color" /> 127 128 <!-- Color of highlighted text, when used in a light theme. --> 129 <attr name="textColorHighlightInverse" format="reference|color" /> 130 <!-- Color of link text (URLs), when used in a light theme. --> 131 <attr name="textColorLinkInverse" format="reference|color" /> 132 133 <!-- Color of list item text in alert dialogs. --> 134 <attr name="textColorAlertDialogListItem" format="reference|color" /> 135 136 <!-- Text color for errors. --> 137 <attr name="textColorError" format="reference|color" /> 138 139 <!-- Search widget more corpus result item background. --> 140 <attr name="searchWidgetCorpusItemBackground" format="reference|color" /> 141 142 <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. --> 143 <attr name="textAppearanceLarge" format="reference" /> 144 <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. --> 145 <attr name="textAppearanceMedium" format="reference" /> 146 <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. --> 147 <attr name="textAppearanceSmall" format="reference" /> 148 149 <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. --> 150 <attr name="textAppearanceLargeInverse" format="reference" /> 151 <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. --> 152 <attr name="textAppearanceMediumInverse" format="reference" /> 153 <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. --> 154 <attr name="textAppearanceSmallInverse" format="reference" /> 155 156 <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. --> 157 <attr name="textAppearanceSearchResultTitle" format="reference" /> 158 <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. --> 159 <attr name="textAppearanceSearchResultSubtitle" format="reference" /> 160 161 <!-- Text color, typeface, size, and style for the text inside of a button. --> 162 <attr name="textAppearanceButton" format="reference" /> 163 164 <!-- Text color, typeface, size, and style for the text inside of a popup menu. --> 165 <attr name="textAppearanceLargePopupMenu" format="reference" /> 166 167 <!-- Text color, typeface, size, and style for small text inside of a popup menu. --> 168 <attr name="textAppearanceSmallPopupMenu" format="reference" /> 169 170 <!-- Text color, typeface, size, and style for header text inside of a popup menu. --> 171 <attr name="textAppearancePopupMenuHeader" format="reference" /> 172 173 <!-- The underline color and thickness for easy correct suggestion --> 174 <attr name="textAppearanceEasyCorrectSuggestion" format="reference" /> 175 176 <!-- The underline color and thickness for misspelled suggestion --> 177 <attr name="textAppearanceMisspelledSuggestion" format="reference" /> 178 179 <!-- The underline color and thickness for auto correction suggestion --> 180 <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" /> 181 182 <!-- The underline color --> 183 <attr name="textUnderlineColor" format="reference|color" /> 184 <!-- The underline thickness --> 185 <attr name="textUnderlineThickness" format="reference|dimension" /> 186 187 <!-- EditText text foreground color. --> 188 <attr name="editTextColor" format="reference|color" /> 189 <!-- EditText background drawable. --> 190 <attr name="editTextBackground" format="reference" /> 191 192 <!-- Popup text displayed in TextView when setError is used. --> 193 <attr name="errorMessageBackground" format="reference" /> 194 <!-- Background used instead of errorMessageBackground when the popup has to be above. --> 195 <attr name="errorMessageAboveBackground" format="reference" /> 196 197 <!-- A styled string, specifying the style to be used for showing 198 inline candidate text when composing with an input method. The 199 text itself will be ignored, but the style spans will be applied 200 to the candidate text as it is edited. --> 201 <attr name="candidatesTextStyleSpans" format="reference|string" /> 202 203 <!-- Drawable to use for check marks. --> 204 <attr name="textCheckMark" format="reference" /> 205 <attr name="textCheckMarkInverse" format="reference" /> 206 207 <!-- Drawable to use for multiple choice indicators. --> 208 <attr name="listChoiceIndicatorMultiple" format="reference" /> 209 210 <!-- Drawable to use for single choice indicators. --> 211 <attr name="listChoiceIndicatorSingle" format="reference" /> 212 213 <!-- Drawable used as a background for selected list items. --> 214 <attr name="listChoiceBackgroundIndicator" format="reference" /> 215 216 <!-- Drawable used as a background for activated items. --> 217 <attr name="activatedBackgroundIndicator" format="reference" /> 218 219 <!-- ============= --> 220 <!-- Button styles --> 221 <!-- ============= --> 222 <eat-comment /> 223 224 <!-- Normal Button style. --> 225 <attr name="buttonStyle" format="reference" /> 226 227 <!-- Small Button style. --> 228 <attr name="buttonStyleSmall" format="reference" /> 229 230 <!-- Button style to inset into an EditText. --> 231 <attr name="buttonStyleInset" format="reference" /> 232 233 <!-- ToggleButton style. --> 234 <attr name="buttonStyleToggle" format="reference" /> 235 236 <!-- ============== --> 237 <!-- Gallery styles --> 238 <!-- ============== --> 239 <eat-comment /> 240 241 <!-- The preferred background for gallery items. This should be set 242 as the background of any Views you provide from the Adapter. --> 243 <attr name="galleryItemBackground" format="reference" /> 244 245 <!-- =========== --> 246 <!-- List styles --> 247 <!-- =========== --> 248 <eat-comment /> 249 250 <!-- The preferred list item height. --> 251 <attr name="listPreferredItemHeight" format="dimension" /> 252 <!-- A smaller, sleeker list item height. --> 253 <attr name="listPreferredItemHeightSmall" format="dimension" /> 254 <!-- A larger, more robust list item height. --> 255 <attr name="listPreferredItemHeightLarge" format="dimension" /> 256 <!-- The list item height for search results. @hide --> 257 <attr name="searchResultListItemHeight" format="dimension" /> 258 259 <!-- The preferred padding along the left edge of list items. --> 260 <attr name="listPreferredItemPaddingLeft" format="dimension" /> 261 <!-- The preferred padding along the right edge of list items. --> 262 <attr name="listPreferredItemPaddingRight" format="dimension" /> 263 264 <!-- The preferred TextAppearance for the primary text of list items. --> 265 <attr name="textAppearanceListItem" format="reference" /> 266 <!-- The preferred TextAppearance for the secondary text of list items. --> 267 <attr name="textAppearanceListItemSecondary" format="reference" /> 268 <!-- The preferred TextAppearance for the primary text of small list items. --> 269 <attr name="textAppearanceListItemSmall" format="reference" /> 270 271 <!-- The drawable for the list divider. --> 272 <attr name="listDivider" format="reference" /> 273 <!-- The list divider used in alert dialogs. --> 274 <attr name="listDividerAlertDialog" format="reference" /> 275 <!-- TextView style for list separators. --> 276 <attr name="listSeparatorTextViewStyle" format="reference" /> 277 <!-- The preferred left padding for an expandable list item (for child-specific layouts, 278 use expandableListPreferredChildPaddingLeft). This takes into account 279 the indicator that will be shown to next to the item. --> 280 <attr name="expandableListPreferredItemPaddingLeft" format="dimension" /> 281 <!-- The preferred left padding for an expandable list item that is a child. 282 If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. --> 283 <attr name="expandableListPreferredChildPaddingLeft" format="dimension" /> 284 <!-- The preferred left bound for an expandable list item's indicator. For a child-specific 285 indicator, use expandableListPreferredChildIndicatorLeft. --> 286 <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" /> 287 <!-- The preferred right bound for an expandable list item's indicator. For a child-specific 288 indicator, use expandableListPreferredChildIndicatorRight. --> 289 <attr name="expandableListPreferredItemIndicatorRight" format="dimension" /> 290 <!-- The preferred left bound for an expandable list child's indicator. --> 291 <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" /> 292 <!-- The preferred right bound for an expandable list child's indicator. --> 293 <attr name="expandableListPreferredChildIndicatorRight" format="dimension" /> 294 295 <!-- The preferred item height for dropdown lists. --> 296 <attr name="dropdownListPreferredItemHeight" format="dimension" /> 297 298 <!-- The preferred padding along the start edge of list items. --> 299 <attr name="listPreferredItemPaddingStart" format="dimension" /> 300 <!-- The preferred padding along the end edge of list items. --> 301 <attr name="listPreferredItemPaddingEnd" format="dimension" /> 302 303 <!-- ============= --> 304 <!-- Window styles --> 305 <!-- ============= --> 306 <eat-comment /> 307 308 <!-- Drawable to use as the overall window background. As of 309 {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may 310 be a selector that uses state_accelerated to pick a non-solid 311 color when running on devices that can draw such a bitmap 312 with complex compositing on top at 60fps. 313 314 <p>There are a few special considerations to use when setting this 315 drawable: 316 <ul> 317 <li> This information will be used to infer the pixel format 318 for your window's surface. If the drawable has any 319 non-opaque pixels, your window will be translucent 320 (32 bpp). 321 <li> If you want to draw the entire background 322 yourself, you should set this drawable to some solid 323 color that closely matches that background (so the 324 system's preview of your window will match), and 325 then in code manually set your window's background to 326 null so it will not be drawn. 327 </ul> --> 328 <attr name="windowBackground" format="reference" /> 329 <!-- Drawable to draw selectively within the inset areas when the windowBackground 330 has been set to null. This protects against seeing visual garbage in the 331 surface when the app has not drawn any content into this area. One example is 332 when the user is resizing a window of an activity that has 333 {@link android.R.attr#resizeableActivity} set for multi-window mode. --> 334 <attr name="windowBackgroundFallback" format="reference" /> 335 <!-- Drawable to use as a frame around the window. --> 336 <attr name="windowFrame" format="reference" /> 337 <!-- Flag indicating whether there should be no title on this window. --> 338 <attr name="windowNoTitle" format="boolean" /> 339 <!-- Flag indicating whether this window should fill the entire screen. Corresponds 340 to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. --> 341 <attr name="windowFullscreen" format="boolean" /> 342 <!-- Flag indicating whether this window should extend into overscan region. Corresponds 343 to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. --> 344 <attr name="windowOverscan" format="boolean" /> 345 <!-- Flag indicating whether this is a floating window. --> 346 <attr name="windowIsFloating" format="boolean" /> 347 <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but 348 not if set to false), the window might still be considered translucent, if 349 windowSwipeToDismiss is set to true. --> 350 <attr name="windowIsTranslucent" format="boolean" /> 351 <!-- Flag indicating that this window's background should be the 352 user's current wallpaper. Corresponds 353 to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. --> 354 <attr name="windowShowWallpaper" format="boolean" /> 355 <!-- This Drawable is overlaid over the foreground of the Window's content area, usually 356 to place a shadow below the title. --> 357 <attr name="windowContentOverlay" format="reference" /> 358 <!-- The style resource to use for a window's title bar height. --> 359 <attr name="windowTitleSize" format="dimension" /> 360 <!-- The style resource to use for a window's title text. --> 361 <attr name="windowTitleStyle" format="reference" /> 362 <!-- The style resource to use for a window's title area. --> 363 <attr name="windowTitleBackgroundStyle" format="reference" /> 364 365 <!-- Reference to a style resource holding 366 the set of window animations to use, which can be 367 any of the attributes defined by 368 {@link android.R.styleable#WindowAnimation}. --> 369 <attr name="windowAnimationStyle" format="reference" /> 370 371 <!-- Flag indicating whether this window should have an Action Bar 372 in place of the usual title bar. --> 373 <attr name="windowActionBar" format="boolean" /> 374 375 <!-- Flag indicating whether this window's Action Bar should overlay 376 application content. Does nothing if the window would not 377 have an Action Bar. --> 378 <attr name="windowActionBarOverlay" format="boolean" /> 379 380 <!-- Flag indicating whether action modes should overlay window content 381 when there is not reserved space for their UI (such as an Action Bar). --> 382 <attr name="windowActionModeOverlay" format="boolean" /> 383 384 <!-- Defines the default soft input state that this window would 385 like when it is displayed. Corresponds 386 to {@link android.view.WindowManager.LayoutParams#softInputMode}. --> 387 <attr name="windowSoftInputMode"> 388 <!-- Not specified, use what the system thinks is best. This 389 is the default. --> 390 <flag name="stateUnspecified" value="0" /> 391 <!-- Leave the soft input window as-is, in whatever state it 392 last was. --> 393 <flag name="stateUnchanged" value="1" /> 394 <!-- Make the soft input area hidden when normally appropriate 395 (when the user is navigating forward to your window). --> 396 <flag name="stateHidden" value="2" /> 397 <!-- Always make the soft input area hidden when this window 398 has input focus. --> 399 <flag name="stateAlwaysHidden" value="3" /> 400 <!-- Make the soft input area visible when normally appropriate 401 (when the user is navigating forward to your window). --> 402 <flag name="stateVisible" value="4" /> 403 <!-- Always make the soft input area visible when this window 404 has input focus. --> 405 <flag name="stateAlwaysVisible" value="5" /> 406 407 <!-- The window resize/pan adjustment has not been specified, 408 the system will automatically select between resize and pan 409 modes, depending 410 on whether the content of the window has any layout views 411 that can scroll their contents. If there is such a view, 412 then the window will be resized, with the assumption being 413 that the resizeable area can be reduced to make room for 414 the input UI. --> 415 <flag name="adjustUnspecified" value="0x00" /> 416 <!-- Always resize the window: the content area of the window is 417 reduced to make room for the soft input area. --> 418 <flag name="adjustResize" value="0x10" /> 419 <!-- Don't resize the window to make room for the soft input area; 420 instead pan the contents of the window as focus moves inside 421 of it so that the user can see what they are typing. This is 422 generally less desireable than panning because the user may 423 need to close the input area to get at and interact with 424 parts of the window. --> 425 <flag name="adjustPan" value="0x20" /> 426 <!-- Don't resize <em>or</em> pan the window to make room for the 427 soft input area; the window is never adjusted for it. --> 428 <flag name="adjustNothing" value="0x30" /> 429 </attr> 430 431 <!-- Flag allowing you to disable the preview animation for a window. 432 The default value is false; if set to true, the system can never 433 use the window's theme to show a preview of it before your 434 actual instance is shown to the user. --> 435 <attr name="windowDisablePreview" format="boolean" /> 436 437 <!-- Flag indicating that this window should not be displayed at all. 438 The default value is false; if set to true, and this window is 439 the main window of an Activity, then it will never actually 440 be added to the window manager. This means that your activity 441 must immediately quit without waiting for user interaction, 442 because there will be no such interaction coming. --> 443 <attr name="windowNoDisplay" format="boolean" /> 444 445 <!-- Flag indicating that this window should allow touches to be split 446 across other windows that also support split touch. 447 The default value is true for applications with a targetSdkVersion 448 of Honeycomb or newer; false otherwise. 449 When this flag is false, the first pointer that goes down determines 450 the window to which all subsequent touches go until all pointers go up. 451 When this flag is true, each pointer (not necessarily the first) that 452 goes down determines the window to which all subsequent touches of that 453 pointer will go until that pointers go up thereby enabling touches 454 with multiple pointers to be split across multiple windows. --> 455 <attr name="windowEnableSplitTouch" format="boolean" /> 456 457 <!-- Control whether a container should automatically close itself if 458 the user touches outside of it. This only applies to activities 459 and dialogs. 460 461 <p>Note: this attribute will only be respected for applications 462 that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB} 463 or later. --> 464 <attr name="windowCloseOnTouchOutside" format="boolean" /> 465 466 <!-- Flag indicating whether this window requests a translucent status bar. Corresponds 467 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. --> 468 <attr name="windowTranslucentStatus" format="boolean" /> 469 470 <!-- Flag indicating whether this window requests a translucent navigation bar. Corresponds 471 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. --> 472 <attr name="windowTranslucentNavigation" format="boolean" /> 473 474 <!-- Flag to indicate that a window can be swiped away to be dismissed. 475 Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also 476 dynamically change translucency of the window, if the windowIsTranslucent is not set. 477 If windowIsTranslucent is set (to either true or false) it will obey that setting. --> 478 <attr name="windowSwipeToDismiss" format="boolean" /> 479 480 <!-- Flag indicating whether this window requests that content changes be performed 481 as scene changes with transitions. Corresponds to 482 {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. --> 483 <attr name="windowContentTransitions" format="boolean" /> 484 485 <!-- Reference to a TransitionManager XML resource defining the desired 486 transitions between different window content. --> 487 <attr name="windowContentTransitionManager" format="reference" /> 488 489 <!-- Flag indicating whether this window allows Activity Transitions. 490 Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. --> 491 <attr name="windowActivityTransitions" format="boolean" /> 492 493 <!-- Reference to a Transition XML resource defining the desired Transition 494 used to move Views into the initial Window's content Scene. Corresponds to 495 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 496 <attr name="windowEnterTransition" format="reference"/> 497 498 <!-- Reference to a Transition XML resource defining the desired Transition 499 used to move Views out of the scene when the Window is 500 preparing to close. Corresponds to 501 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 502 <attr name="windowReturnTransition" format="reference"/> 503 504 <!-- Reference to a Transition XML resource defining the desired Transition 505 used to move Views out of the Window's content Scene when launching a new Activity. 506 Corresponds to 507 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 508 <attr name="windowExitTransition" format="reference"/> 509 510 <!-- Reference to a Transition XML resource defining the desired Transition 511 used to move Views in to the scene when returning from a previously-started Activity. 512 Corresponds to 513 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 514 <attr name="windowReenterTransition" format="reference"/> 515 516 <!-- Reference to a Transition XML resource defining the desired Transition 517 used to move shared elements transferred into the Window's initial content Scene. 518 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 519 android.transition.Transition)}. --> 520 <attr name="windowSharedElementEnterTransition" format="reference"/> 521 522 <!-- Reference to a Transition XML resource defining the desired Transition 523 used to move shared elements transferred back to a calling Activity. 524 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 525 android.transition.Transition)}. --> 526 <attr name="windowSharedElementReturnTransition" format="reference"/> 527 528 <!-- Reference to a Transition XML resource defining the desired Transition 529 used when starting a new Activity to move shared elements prior to transferring 530 to the called Activity. 531 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 532 android.transition.Transition)}. --> 533 <attr name="windowSharedElementExitTransition" format="reference"/> 534 535 <!-- Reference to a Transition XML resource defining the desired Transition 536 used for shared elements transferred back to a calling Activity. 537 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 538 android.transition.Transition)}. --> 539 <attr name="windowSharedElementReenterTransition" format="reference"/> 540 541 <!-- Flag indicating whether this Window's transition should overlap with 542 the exiting transition of the calling Activity. Corresponds to 543 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. 544 The default value is true. --> 545 <attr name="windowAllowEnterTransitionOverlap" format="boolean"/> 546 547 <!-- Flag indicating whether this Window's transition should overlap with 548 the exiting transition of the called Activity when the called Activity 549 finishes. Corresponds to 550 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. 551 The default value is true. --> 552 <attr name="windowAllowReturnTransitionOverlap" format="boolean"/> 553 554 <!-- Indicates whether or not shared elements should use an overlay 555 during transitions. The default value is true. --> 556 <attr name="windowSharedElementsUseOverlay" format="boolean"/> 557 558 <!-- Internal layout used internally for window decor --> 559 <attr name="windowActionBarFullscreenDecorLayout" format="reference" /> 560 561 <!-- The duration, in milliseconds, of the window background fade duration 562 when transitioning into or away from an Activity when called with an 563 Activity Transition. Corresponds to 564 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 565 <attr name="windowTransitionBackgroundFadeDuration" format="integer"/> 566 567 <!-- ============ --> 568 <!-- Floating toolbar styles --> 569 <!-- ============ --> 570 <eat-comment /> 571 <attr name="floatingToolbarCloseDrawable" format="reference" /> 572 <attr name="floatingToolbarForegroundColor" format="reference|color" /> 573 <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" /> 574 <attr name="floatingToolbarItemBackgroundDrawable" format="reference" /> 575 <attr name="floatingToolbarOpenDrawable" format="reference" /> 576 <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" /> 577 578 <!-- ============ --> 579 <!-- Alert Dialog styles --> 580 <!-- ============ --> 581 <eat-comment /> 582 <attr name="alertDialogStyle" format="reference" /> 583 <attr name="alertDialogButtonGroupStyle" format="reference" /> 584 <attr name="alertDialogCenterButtons" format="boolean" /> 585 586 <!-- ============== --> 587 <!-- Image elements --> 588 <!-- ============== --> 589 <eat-comment /> 590 591 <!-- Background that can be used behind parts of a UI that provide 592 details on data the user is selecting. For example, this is 593 the background element of PreferenceActivity's embedded 594 preference fragment. --> 595 <attr name="detailsElementBackground" format="reference" /> 596 597 <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan. 598 This should be used whenever an app is requesting the user to place a finger on the 599 fingerprint sensor. It can be combined with other drawables such as colored circles, so 600 the appearance matches the branding of the app requesting the fingerprint scan.--> 601 <attr name="fingerprintAuthDrawable" format="reference" /> 602 603 <!-- ============ --> 604 <!-- Panel styles --> 605 <!-- ============ --> 606 <eat-comment /> 607 608 <!-- The background of a panel when it is inset from the left and right edges of the screen. --> 609 <attr name="panelBackground" format="reference|color" /> 610 <!-- The background of a panel when it extends to the left and right edges of the screen. --> 611 <attr name="panelFullBackground" format="reference|color" /> 612 <!-- Default color of foreground panel imagery. --> 613 <attr name="panelColorForeground" format="reference|color" /> 614 <!-- Color that matches (as closely as possible) the panel background. --> 615 <attr name="panelColorBackground" format="reference|color" /> 616 <!-- Default appearance of panel text. --> 617 <attr name="panelTextAppearance" format="reference" /> 618 619 <attr name="panelMenuIsCompact" format="boolean" /> 620 <attr name="panelMenuListWidth" format="dimension" /> 621 <attr name="panelMenuListTheme" format="reference" /> 622 623 <!-- =================== --> 624 <!-- Other widget styles --> 625 <!-- =================== --> 626 <eat-comment /> 627 628 <!-- Default AbsListView style. --> 629 <attr name="absListViewStyle" format="reference" /> 630 <!-- Default AutoCompleteTextView style. --> 631 <attr name="autoCompleteTextViewStyle" format="reference" /> 632 <!-- Default Checkbox style. --> 633 <attr name="checkboxStyle" format="reference" /> 634 <!-- Default CheckedTextView style. --> 635 <attr name="checkedTextViewStyle" format="reference" /> 636 <!-- Default ListView style for drop downs. --> 637 <attr name="dropDownListViewStyle" format="reference" /> 638 <!-- Default EditText style. --> 639 <attr name="editTextStyle" format="reference" /> 640 <!-- Default ExpandableListView style. --> 641 <attr name="expandableListViewStyle" format="reference" /> 642 <!-- ExpandableListView with white background. --> 643 <attr name="expandableListViewWhiteStyle" format="reference" /> 644 <!-- Default Gallery style. --> 645 <attr name="galleryStyle" format="reference" /> 646 <!-- Default GestureOverlayView style. --> 647 <attr name="gestureOverlayViewStyle" format="reference" /> 648 <!-- Default GridView style. --> 649 <attr name="gridViewStyle" format="reference" /> 650 <!-- The style resource to use for an ImageButton. --> 651 <attr name="imageButtonStyle" format="reference" /> 652 <!-- The style resource to use for an ImageButton that is an image well. --> 653 <attr name="imageWellStyle" format="reference" /> 654 <!-- Default menu-style ListView style. --> 655 <attr name="listMenuViewStyle" format="reference" /> 656 <!-- Default ListView style. --> 657 <attr name="listViewStyle" format="reference" /> 658 <!-- ListView with white background. --> 659 <attr name="listViewWhiteStyle" format="reference" /> 660 <!-- Default PopupWindow style. --> 661 <attr name="popupWindowStyle" format="reference" /> 662 <!-- Default ProgressBar style. This is a medium circular progress bar. --> 663 <attr name="progressBarStyle" format="reference" /> 664 <!-- Horizontal ProgressBar style. This is a horizontal progress bar. --> 665 <attr name="progressBarStyleHorizontal" format="reference" /> 666 <!-- Small ProgressBar style. This is a small circular progress bar. --> 667 <attr name="progressBarStyleSmall" format="reference" /> 668 <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. --> 669 <attr name="progressBarStyleSmallTitle" format="reference" /> 670 <!-- Large ProgressBar style. This is a large circular progress bar. --> 671 <attr name="progressBarStyleLarge" format="reference" /> 672 <!-- Inverse ProgressBar style. This is a medium circular progress bar. --> 673 <attr name="progressBarStyleInverse" format="reference" /> 674 <!-- Small inverse ProgressBar style. This is a small circular progress bar. --> 675 <attr name="progressBarStyleSmallInverse" format="reference" /> 676 <!-- Large inverse ProgressBar style. This is a large circular progress bar. --> 677 <attr name="progressBarStyleLargeInverse" format="reference" /> 678 <!-- Default SeekBar style. --> 679 <attr name="seekBarStyle" format="reference" /> 680 <!-- Default RatingBar style. --> 681 <attr name="ratingBarStyle" format="reference" /> 682 <!-- Indicator RatingBar style. --> 683 <attr name="ratingBarStyleIndicator" format="reference" /> 684 <!-- Small indicator RatingBar style. --> 685 <attr name="ratingBarStyleSmall" format="reference" /> 686 <!-- Default RadioButton style. --> 687 <attr name="radioButtonStyle" format="reference" /> 688 <!-- Default ScrollView style. --> 689 <attr name="scrollViewStyle" format="reference" /> 690 <!-- Default HorizontalScrollView style. --> 691 <attr name="horizontalScrollViewStyle" format="reference" /> 692 <!-- Default Spinner style. --> 693 <attr name="spinnerStyle" format="reference" /> 694 <!-- Default dropdown Spinner style. --> 695 <attr name="dropDownSpinnerStyle" format="reference" /> 696 <!-- Default ActionBar dropdown style. --> 697 <attr name="actionDropDownStyle" format="reference" /> 698 <!-- Default action button style. --> 699 <attr name="actionButtonStyle" format="reference" /> 700 <!-- Default Star style. --> 701 <attr name="starStyle" format="reference" /> 702 <!-- Default TabWidget style. --> 703 <attr name="tabWidgetStyle" format="reference" /> 704 <!-- Default TextView style. --> 705 <attr name="textViewStyle" format="reference" /> 706 <!-- Default WebTextView style. --> 707 <attr name="webTextViewStyle" format="reference" /> 708 <!-- Default WebView style. --> 709 <attr name="webViewStyle" format="reference" /> 710 <!-- Default style for drop down items. --> 711 <attr name="dropDownItemStyle" format="reference" /> 712 <!-- Default style for spinner drop down items. --> 713 <attr name="spinnerDropDownItemStyle" format="reference" /> 714 <!-- Default style for drop down hints. --> 715 <attr name="dropDownHintAppearance" format="reference" /> 716 <!-- Default spinner item style. --> 717 <attr name="spinnerItemStyle" format="reference" /> 718 <!-- Default MapView style. --> 719 <attr name="mapViewStyle" format="reference" /> 720 <!-- Drawable used as an overlay on top of quickcontact photos. --> 721 <attr name="quickContactBadgeOverlay" format="reference" /> 722 <!-- Default quickcontact badge style with small quickcontact window. --> 723 <attr name="quickContactBadgeStyleWindowSmall" format="reference" /> 724 <!-- Default quickcontact badge style with medium quickcontact window. --> 725 <attr name="quickContactBadgeStyleWindowMedium" format="reference" /> 726 <!-- Default quickcontact badge style with large quickcontact window. --> 727 <attr name="quickContactBadgeStyleWindowLarge" format="reference" /> 728 <!-- Default quickcontact badge style with small quickcontact window. --> 729 <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" /> 730 <!-- Default quickcontact badge style with medium quickcontact window. --> 731 <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" /> 732 <!-- Default quickcontact badge style with large quickcontact window. --> 733 <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" /> 734 <!-- Reference to a style that will be used for the window containing a text 735 selection anchor. --> 736 <attr name="textSelectHandleWindowStyle" format="reference" /> 737 <!-- Reference to a style that will be used for the window containing a list of possible 738 text suggestions in an EditText. --> 739 <attr name="textSuggestionsWindowStyle" format="reference" /> 740 <!-- Default ListPopupWindow style. --> 741 <attr name="listPopupWindowStyle" format="reference" /> 742 <!-- Default PopupMenu style. --> 743 <attr name="popupMenuStyle" format="reference" /> 744 <!-- Default context menu PopupMenu style. --> 745 <attr name="contextPopupMenuStyle" format="reference" /> 746 <!-- Default StackView style. --> 747 <attr name="stackViewStyle" format="reference" /> 748 749 <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated 750 starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). --> 751 <attr name="fragmentBreadCrumbsStyle" format="reference" /> 752 753 <!-- NumberPicker style. --> 754 <attr name="numberPickerStyle" format="reference" /> 755 756 <!-- The CalendarView style. --> 757 <attr name="calendarViewStyle" format="reference" /> 758 759 <!-- The TimePicker style. --> 760 <attr name="timePickerStyle" format="reference" /> 761 762 <!-- The TimePicker dialog theme. --> 763 <attr name="timePickerDialogTheme" format="reference" /> 764 765 <!-- The DatePicker style. --> 766 <attr name="datePickerStyle" format="reference" /> 767 768 <!-- The DatePicker dialog theme. --> 769 <attr name="datePickerDialogTheme" format="reference" /> 770 771 <!-- Default ActivityChooserView style. --> 772 <attr name="activityChooserViewStyle" format="reference" /> 773 774 <!-- Default Toolbar style. --> 775 <attr name="toolbarStyle" format="reference" /> 776 777 <!-- Fast scroller styles --> 778 <eat-comment /> 779 780 <!-- Drawable to use as the fast scroll thumb. --> 781 <attr name="fastScrollThumbDrawable" format="reference" /> 782 <!-- Drawable to use as the fast scroll index preview window background 783 when shown on the right. --> 784 <attr name="fastScrollPreviewBackgroundRight" format="reference" /> 785 <!-- Drawable to use as the fast scroll index preview window background 786 when shown on the left. --> 787 <attr name="fastScrollPreviewBackgroundLeft" format="reference" /> 788 <!-- Drawable to use as the track for the fast scroll thumb. 789 This may be null. --> 790 <attr name="fastScrollTrackDrawable" format="reference" /> 791 <!-- Position of the fast scroll index overlay window. --> 792 <attr name="fastScrollOverlayPosition"> 793 <enum name="floating" value="0" /> 794 <enum name="atThumb" value="1" /> 795 <enum name="aboveThumb" value="2" /> 796 </attr> 797 <!-- Text color for the fast scroll index overlay. Make sure it 798 plays nicely with fastScrollPreviewBackground[Left|Right]. --> 799 <attr name="fastScrollTextColor" format="color" /> 800 801 <!-- =================== --> 802 <!-- Action bar styles --> 803 <!-- =================== --> 804 <eat-comment /> 805 <!-- Default style for tabs within an action bar --> 806 <attr name="actionBarTabStyle" format="reference" /> 807 <attr name="actionBarTabBarStyle" format="reference" /> 808 <attr name="actionBarTabTextStyle" format="reference" /> 809 <attr name="actionOverflowButtonStyle" format="reference" /> 810 <attr name="actionOverflowMenuStyle" format="reference" /> 811 <!-- Reference to a theme that should be used to inflate popups 812 shown by widgets in the action bar. --> 813 <attr name="actionBarPopupTheme" format="reference" /> 814 <!-- Reference to a style for the Action Bar --> 815 <attr name="actionBarStyle" format="reference" /> 816 <!-- Reference to a style for the split Action Bar. This style 817 controls the split component that holds the menu/action 818 buttons. actionBarStyle is still used for the primary 819 bar. --> 820 <attr name="actionBarSplitStyle" format="reference" /> 821 <!-- Reference to a theme that should be used to inflate the 822 action bar. This will be inherited by any widget inflated 823 into the action bar. --> 824 <attr name="actionBarTheme" format="reference" /> 825 <!-- Reference to a theme that should be used to inflate widgets 826 and layouts destined for the action bar. Most of the time 827 this will be a reference to the current theme, but when 828 the action bar has a significantly different contrast 829 profile than the rest of the activity the difference 830 can become important. If this is set to @null the current 831 theme will be used.--> 832 <attr name="actionBarWidgetTheme" format="reference" /> 833 <!-- Size of the Action Bar, including the contextual 834 bar used to present Action Modes. --> 835 <attr name="actionBarSize" format="dimension" > 836 <enum name="wrap_content" value="0" /> 837 </attr> 838 <!-- Custom divider drawable to use for elements in the action bar. --> 839 <attr name="actionBarDivider" format="reference" /> 840 <!-- Custom item state list drawable background for action bar items. --> 841 <attr name="actionBarItemBackground" format="reference" /> 842 <!-- TextAppearance style that will be applied to text that 843 appears within action menu items. --> 844 <attr name="actionMenuTextAppearance" format="reference" /> 845 <!-- Color for text that appears within action menu items. --> 846 <attr name="actionMenuTextColor" format="color|reference" /> 847 848 <!-- =================== --> 849 <!-- Action mode styles --> 850 <!-- =================== --> 851 <eat-comment /> 852 <attr name="actionModeStyle" format="reference" /> 853 <attr name="actionModeCloseButtonStyle" format="reference" /> 854 <!-- Background drawable to use for action mode UI --> 855 <attr name="actionModeBackground" format="reference" /> 856 <!-- Background drawable to use for action mode UI in the lower split bar --> 857 <attr name="actionModeSplitBackground" format="reference" /> 858 <!-- Drawable to use for the close action mode button --> 859 <attr name="actionModeCloseDrawable" format="reference" /> 860 861 <!-- Drawable to use for the Cut action button in Contextual Action Bar --> 862 <attr name="actionModeCutDrawable" format="reference" /> 863 <!-- Drawable to use for the Copy action button in Contextual Action Bar --> 864 <attr name="actionModeCopyDrawable" format="reference" /> 865 <!-- Drawable to use for the Paste action button in Contextual Action Bar --> 866 <attr name="actionModePasteDrawable" format="reference" /> 867 <!-- Drawable to use for the Select all action button in Contextual Action Bar --> 868 <attr name="actionModeSelectAllDrawable" format="reference" /> 869 <!-- Drawable to use for the Share action button in WebView selection action modes --> 870 <attr name="actionModeShareDrawable" format="reference" /> 871 <!-- Drawable to use for the Find action button in WebView selection action modes --> 872 <attr name="actionModeFindDrawable" format="reference" /> 873 <!-- Drawable to use for the Web Search action button in WebView selection action modes --> 874 <attr name="actionModeWebSearchDrawable" format="reference" /> 875 876 <!-- PopupWindow style to use for action modes when showing as a window overlay. --> 877 <attr name="actionModePopupWindowStyle" format="reference" /> 878 879 <!-- =================== --> 880 <!-- Preference styles --> 881 <!-- =================== --> 882 <eat-comment /> 883 884 <!-- Default style for PreferenceScreen. --> 885 <attr name="preferenceScreenStyle" format="reference" /> 886 <!-- Default style for the PreferenceActivity. --> 887 <attr name="preferenceActivityStyle" format="reference" /> 888 <!-- Default style for Headers pane in PreferenceActivity. --> 889 <attr name="preferenceFragmentStyle" format="reference" /> 890 <!-- Default style for PreferenceCategory. --> 891 <attr name="preferenceCategoryStyle" format="reference" /> 892 <!-- Default style for Preference. --> 893 <attr name="preferenceStyle" format="reference" /> 894 <!-- Default style for informational Preference. --> 895 <attr name="preferenceInformationStyle" format="reference" /> 896 <!-- Default style for CheckBoxPreference. --> 897 <attr name="checkBoxPreferenceStyle" format="reference" /> 898 <!-- Default style for YesNoPreference. --> 899 <attr name="yesNoPreferenceStyle" format="reference" /> 900 <!-- Default style for DialogPreference. --> 901 <attr name="dialogPreferenceStyle" format="reference" /> 902 <!-- Default style for EditTextPreference. --> 903 <attr name="editTextPreferenceStyle" format="reference" /> 904 <!-- @hide Default style for SeekBarDialogPreference. --> 905 <attr name="seekBarDialogPreferenceStyle" format="reference" /> 906 <!-- Default style for RingtonePreference. --> 907 <attr name="ringtonePreferenceStyle" format="reference" /> 908 <!-- The preference layout that has the child/tabbed effect. --> 909 <attr name="preferenceLayoutChild" format="reference" /> 910 <!-- Preference panel style --> 911 <attr name="preferencePanelStyle" format="reference" /> 912 <!-- Preference headers panel style --> 913 <attr name="preferenceHeaderPanelStyle" format="reference" /> 914 <!-- Preference list style --> 915 <attr name="preferenceListStyle" format="reference" /> 916 <!-- Preference fragment list style --> 917 <attr name="preferenceFragmentListStyle" format="reference" /> 918 <!-- Preference fragment padding side --> 919 <attr name="preferenceFragmentPaddingSide" format="dimension" /> 920 <!-- Default style for switch preferences. --> 921 <attr name="switchPreferenceStyle" format="reference" /> 922 <!-- Default style for seekbar preferences. --> 923 <attr name="seekBarPreferenceStyle" format="reference" /> 924 925 <!-- ============================ --> 926 <!-- Text selection handle styles --> 927 <!-- ============================ --> 928 <eat-comment /> 929 930 <!-- Reference to a drawable that will be used to display a text selection 931 anchor on the left side of a selection region. --> 932 <attr name="textSelectHandleLeft" format="reference" /> 933 <!-- Reference to a drawable that will be used to display a text selection 934 anchor on the right side of a selection region. --> 935 <attr name="textSelectHandleRight" format="reference" /> 936 <!-- Reference to a drawable that will be used to display a text selection 937 anchor for positioning the cursor within text. --> 938 <attr name="textSelectHandle" format="reference" /> 939 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 940 TextEdit field. --> 941 <attr name="textEditPasteWindowLayout" format="reference" /> 942 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 943 <attr name="textEditNoPasteWindowLayout" format="reference" /> 944 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 945 insertion cursor because it would be clipped if it were positioned on top. --> 946 <attr name="textEditSidePasteWindowLayout" format="reference" /> 947 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 948 <attr name="textEditSideNoPasteWindowLayout" format="reference" /> 949 950 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 951 <attr name="textEditSuggestionItemLayout" format="reference" /> 952 <!-- Layout of the container of the suggestion popup window. --> 953 <attr name="textEditSuggestionContainerLayout" format="reference" /> 954 <!-- Text appearance of the focused words to be replaced by suggested word. --> 955 <attr name="textEditSuggestionHighlightStyle" format="reference" /> 956 957 <!-- Theme to use for dialogs spawned from this theme. --> 958 <attr name="dialogTheme" format="reference" /> 959 <!-- Window decor layout to use in dialog mode with icons. --> 960 <attr name="dialogTitleIconsDecorLayout" format="reference" /> 961 <!-- Window decor layout to use in dialog mode with custom titles. --> 962 <attr name="dialogCustomTitleDecorLayout" format="reference" /> 963 <!-- Window decor layout to use in dialog mode with title only. --> 964 <attr name="dialogTitleDecorLayout" format="reference" /> 965 <!-- Preferred padding for dialog content. --> 966 <attr name="dialogPreferredPadding" format="dimension" /> 967 968 <!-- Theme to use for alert dialogs spawned from this theme. --> 969 <attr name="alertDialogTheme" format="reference" /> 970 <!-- Icon drawable to use for alerts --> 971 <attr name="alertDialogIcon" format="reference" /> 972 973 <!-- Theme to use for presentations spawned from this theme. --> 974 <attr name="presentationTheme" format="reference" /> 975 976 <!-- Drawable to use for generic vertical dividers. --> 977 <attr name="dividerVertical" format="reference" /> 978 979 <!-- Drawable to use for generic horizontal dividers. --> 980 <attr name="dividerHorizontal" format="reference" /> 981 982 <!-- Style for button bars --> 983 <attr name="buttonBarStyle" format="reference" /> 984 985 <!-- Style for buttons within button bars --> 986 <attr name="buttonBarButtonStyle" format="reference" /> 987 988 <!-- Style for the "positive" buttons within button bars --> 989 <attr name="buttonBarPositiveButtonStyle" format="reference" /> 990 991 <!-- Style for the "negative" buttons within button bars --> 992 <attr name="buttonBarNegativeButtonStyle" format="reference" /> 993 994 <!-- Style for the "neutral" buttons within button bars --> 995 <attr name="buttonBarNeutralButtonStyle" format="reference" /> 996 997 <!-- Style for the search query widget. --> 998 <attr name="searchViewStyle" format="reference" /> 999 1000 <!-- Style for segmented buttons - a container that houses several buttons 1001 with the appearance of a singel button broken into segments. --> 1002 <attr name="segmentedButtonStyle" format="reference" /> 1003 1004 <!-- Background drawable for bordered standalone items that need focus/pressed states. --> 1005 <attr name="selectableItemBackground" format="reference" /> 1006 1007 <!-- Background drawable for borderless standalone items that need focus/pressed states. --> 1008 <attr name="selectableItemBackgroundBorderless" format="reference" /> 1009 1010 <!-- Style for buttons without an explicit border, often used in groups. --> 1011 <attr name="borderlessButtonStyle" format="reference" /> 1012 1013 <!-- Background to use for toasts --> 1014 <attr name="toastFrameBackground" format="reference" /> 1015 1016 <!-- Background to use for tooltip popups --> 1017 <attr name="tooltipFrameBackground" format="reference" /> 1018 1019 <!-- Foreground color to use for tooltip popups --> 1020 <attr name="tooltipForegroundColor" format="reference|color" /> 1021 1022 <!-- Background color to use for tooltip popups --> 1023 <attr name="tooltipBackgroundColor" format="reference|color" /> 1024 1025 <!-- Theme to use for Search Dialogs --> 1026 <attr name="searchDialogTheme" format="reference" /> 1027 1028 <!-- Specifies a drawable to use for the 'home as up' indicator. --> 1029 <attr name="homeAsUpIndicator" format="reference" /> 1030 1031 <!-- Preference frame layout styles. --> 1032 <attr name="preferenceFrameLayoutStyle" format="reference" /> 1033 1034 <!-- Default style for the Switch widget. --> 1035 <attr name="switchStyle" format="reference" /> 1036 1037 <!-- Default style for the MediaRouteButton widget. --> 1038 <attr name="mediaRouteButtonStyle" format="reference" /> 1039 1040 <!-- ============== --> 1041 <!-- Pointer styles --> 1042 <!-- ============== --> 1043 <eat-comment /> 1044 1045 <!-- The drawable for accessibility focused views. --> 1046 <attr name="accessibilityFocusedDrawable" format="reference" /> 1047 1048 <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide --> 1049 <attr name="findOnPageNextDrawable" format="reference" /> 1050 1051 <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide --> 1052 <attr name="findOnPagePreviousDrawable" format="reference" /> 1053 1054 <!-- ============= --> 1055 <!-- Color palette --> 1056 <!-- ============= --> 1057 <eat-comment /> 1058 1059 <!-- The primary branding color for the app. By default, this is the color applied to the 1060 action bar background. --> 1061 <attr name="colorPrimary" format="color" /> 1062 1063 <!-- Dark variant of the primary branding color. By default, this is the color applied to 1064 the status bar (via statusBarColor) and navigation bar (via navigationBarColor). --> 1065 <attr name="colorPrimaryDark" format="color" /> 1066 1067 <!-- The secondary branding color for the app. --> 1068 <attr name="colorSecondary" format="color" /> 1069 1070 <!-- Bright complement to the primary branding color. By default, this is the color applied 1071 to framework controls (via colorControlActivated). --> 1072 <attr name="colorAccent" format="color" /> 1073 1074 <!-- The color applied to framework controls in their normal state. --> 1075 <attr name="colorControlNormal" format="color" /> 1076 1077 <!-- The color applied to framework controls in their activated (ex. checked) state. --> 1078 <attr name="colorControlActivated" format="color" /> 1079 1080 <!-- The color applied to framework control highlights (ex. ripples, list selectors). --> 1081 <attr name="colorControlHighlight" format="color" /> 1082 1083 <!-- The color applied to framework buttons in their normal state. --> 1084 <attr name="colorButtonNormal" format="color" /> 1085 1086 <!-- The color applied to framework switch thumbs in their normal state. --> 1087 <attr name="colorSwitchThumbNormal" format="color" /> 1088 1089 <!-- The color applied to the edge effect on scrolling containers. --> 1090 <attr name="colorEdgeEffect" format="color" /> 1091 1092 <!-- =================== --> 1093 <!-- Lighting properties --> 1094 <!-- =================== --> 1095 <eat-comment /> 1096 1097 <!-- @hide The default Y position of the light used to project view shadows. --> 1098 <attr name="lightY" format="dimension" /> 1099 1100 <!-- @hide The default Z position of the light used to project view shadows. --> 1101 <attr name="lightZ" format="dimension" /> 1102 1103 <!-- @hide The default radius of the light used to project view shadows. --> 1104 <attr name="lightRadius" format="dimension" /> 1105 1106 <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. --> 1107 <attr name="ambientShadowAlpha" format="float" /> 1108 1109 <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. --> 1110 <attr name="spotShadowAlpha" format="float" /> 1111 </declare-styleable> 1112 1113 <!-- **************************************************************** --> 1114 <!-- Other non-theme attributes. --> 1115 <!-- **************************************************************** --> 1116 <eat-comment /> 1117 1118 <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). 1119 Supported values include the following:<p/> 1120 <ul> 1121 <li><b>px</b> Pixels</li> 1122 <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li> 1123 <li><b>pt</b> Points</li> 1124 <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li> 1125 </ul> 1126 --> 1127 <attr name="textSize" format="dimension" /> 1128 1129 <!-- Default font family. --> 1130 <attr name="fontFamily" format="string" /> 1131 1132 <!-- Default text typeface. --> 1133 <attr name="typeface"> 1134 <enum name="normal" value="0" /> 1135 <enum name="sans" value="1" /> 1136 <enum name="serif" value="2" /> 1137 <enum name="monospace" value="3" /> 1138 </attr> 1139 1140 <!-- Default text typeface style. --> 1141 <attr name="textStyle"> 1142 <flag name="normal" value="0" /> 1143 <flag name="bold" value="1" /> 1144 <flag name="italic" value="2" /> 1145 </attr> 1146 1147 <!-- Color of text (usually same as colorForeground). --> 1148 <attr name="textColor" format="reference|color" /> 1149 1150 <!-- Color of highlighted text. --> 1151 <attr name="textColorHighlight" format="reference|color" /> 1152 1153 <!-- Color of hint text (displayed when the field is empty). --> 1154 <attr name="textColorHint" format="reference|color" /> 1155 1156 <!-- Color of link text (URLs). --> 1157 <attr name="textColorLink" format="reference|color" /> 1158 1159 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 1160 <attr name="textCursorDrawable" format="reference" /> 1161 1162 <!-- Indicates that the content of a non-editable TextView can be selected. 1163 Default value is false. EditText content is always selectable. --> 1164 <attr name="textIsSelectable" format="boolean" /> 1165 1166 <!-- Where to ellipsize text. --> 1167 <attr name="ellipsize"> 1168 <enum name="none" value="0" /> 1169 <enum name="start" value="1" /> 1170 <enum name="middle" value="2" /> 1171 <enum name="end" value="3" /> 1172 <enum name="marquee" value="4" /> 1173 </attr> 1174 1175 <!-- The type of data being placed in a text field, used to help an 1176 input method decide how to let the user enter text. The constants 1177 here correspond to those defined by 1178 {@link android.text.InputType}. Generally you can select 1179 a single value, though some can be combined together as 1180 indicated. Setting this attribute to anything besides 1181 <var>none</var> also implies that the text is editable. --> 1182 <attr name="inputType"> 1183 <!-- There is no content type. The text is not editable. --> 1184 <flag name="none" value="0x00000000" /> 1185 <!-- Just plain old text. Corresponds to 1186 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1187 {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. --> 1188 <flag name="text" value="0x00000001" /> 1189 <!-- Can be combined with <var>text</var> and its variations to 1190 request capitalization of all characters. Corresponds to 1191 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. --> 1192 <flag name="textCapCharacters" value="0x00001001" /> 1193 <!-- Can be combined with <var>text</var> and its variations to 1194 request capitalization of the first character of every word. Corresponds to 1195 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. --> 1196 <flag name="textCapWords" value="0x00002001" /> 1197 <!-- Can be combined with <var>text</var> and its variations to 1198 request capitalization of the first character of every sentence. Corresponds to 1199 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. --> 1200 <flag name="textCapSentences" value="0x00004001" /> 1201 <!-- Can be combined with <var>text</var> and its variations to 1202 request auto-correction of text being input. Corresponds to 1203 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. --> 1204 <flag name="textAutoCorrect" value="0x00008001" /> 1205 <!-- Can be combined with <var>text</var> and its variations to 1206 specify that this field will be doing its own auto-completion and 1207 talking with the input method appropriately. Corresponds to 1208 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. --> 1209 <flag name="textAutoComplete" value="0x00010001" /> 1210 <!-- Can be combined with <var>text</var> and its variations to 1211 allow multiple lines of text in the field. If this flag is not set, 1212 the text field will be constrained to a single line. Corresponds to 1213 {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. --> 1214 <flag name="textMultiLine" value="0x00020001" /> 1215 <!-- Can be combined with <var>text</var> and its variations to 1216 indicate that though the regular text view should not be multiple 1217 lines, the IME should provide multiple lines if it can. Corresponds to 1218 {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. --> 1219 <flag name="textImeMultiLine" value="0x00040001" /> 1220 <!-- Can be combined with <var>text</var> and its variations to 1221 indicate that the IME should not show any 1222 dictionary-based word suggestions. Corresponds to 1223 {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. --> 1224 <flag name="textNoSuggestions" value="0x00080001" /> 1225 <!-- Text that will be used as a URI. Corresponds to 1226 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1227 {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. --> 1228 <flag name="textUri" value="0x00000011" /> 1229 <!-- Text that will be used as an e-mail address. Corresponds to 1230 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1231 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. --> 1232 <flag name="textEmailAddress" value="0x00000021" /> 1233 <!-- Text that is being supplied as the subject of an e-mail. Corresponds to 1234 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1235 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. --> 1236 <flag name="textEmailSubject" value="0x00000031" /> 1237 <!-- Text that is the content of a short message. Corresponds to 1238 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1239 {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. --> 1240 <flag name="textShortMessage" value="0x00000041" /> 1241 <!-- Text that is the content of a long message. Corresponds to 1242 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1243 {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. --> 1244 <flag name="textLongMessage" value="0x00000051" /> 1245 <!-- Text that is the name of a person. Corresponds to 1246 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1247 {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. --> 1248 <flag name="textPersonName" value="0x00000061" /> 1249 <!-- Text that is being supplied as a postal mailing address. Corresponds to 1250 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1251 {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. --> 1252 <flag name="textPostalAddress" value="0x00000071" /> 1253 <!-- Text that is a password. Corresponds to 1254 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1255 {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. --> 1256 <flag name="textPassword" value="0x00000081" /> 1257 <!-- Text that is a password that should be visible. Corresponds to 1258 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1259 {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. --> 1260 <flag name="textVisiblePassword" value="0x00000091" /> 1261 <!-- Text that is being supplied as text in a web form. Corresponds to 1262 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1263 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. --> 1264 <flag name="textWebEditText" value="0x000000a1" /> 1265 <!-- Text that is filtering some other data. Corresponds to 1266 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1267 {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. --> 1268 <flag name="textFilter" value="0x000000b1" /> 1269 <!-- Text that is for phonetic pronunciation, such as a phonetic name 1270 field in a contact entry. Corresponds to 1271 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1272 {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. --> 1273 <flag name="textPhonetic" value="0x000000c1" /> 1274 <!-- Text that will be used as an e-mail address on a web form. Corresponds to 1275 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1276 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. --> 1277 <flag name="textWebEmailAddress" value="0x000000d1" /> 1278 <!-- Text that will be used as a password on a web form. Corresponds to 1279 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1280 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. --> 1281 <flag name="textWebPassword" value="0x000000e1" /> 1282 <!-- A numeric only field. Corresponds to 1283 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1284 {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. --> 1285 <flag name="number" value="0x00000002" /> 1286 <!-- Can be combined with <var>number</var> and its other options to 1287 allow a signed number. Corresponds to 1288 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1289 {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. --> 1290 <flag name="numberSigned" value="0x00001002" /> 1291 <!-- Can be combined with <var>number</var> and its other options to 1292 allow a decimal (fractional) number. Corresponds to 1293 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1294 {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. --> 1295 <flag name="numberDecimal" value="0x00002002" /> 1296 <!-- A numeric password field. Corresponds to 1297 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1298 {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. --> 1299 <flag name="numberPassword" value="0x00000012" /> 1300 <!-- For entering a phone number. Corresponds to 1301 {@link android.text.InputType#TYPE_CLASS_PHONE}. --> 1302 <flag name="phone" value="0x00000003" /> 1303 <!-- For entering a date and time. Corresponds to 1304 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1305 {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. --> 1306 <flag name="datetime" value="0x00000004" /> 1307 <!-- For entering a date. Corresponds to 1308 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1309 {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. --> 1310 <flag name="date" value="0x00000014" /> 1311 <!-- For entering a time. Corresponds to 1312 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1313 {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. --> 1314 <flag name="time" value="0x00000024" /> 1315 </attr> 1316 1317 <!-- Additional features you can enable in an IME associated with an editor 1318 to improve the integration with your application. The constants 1319 here correspond to those defined by 1320 {@link android.view.inputmethod.EditorInfo#imeOptions}. --> 1321 <attr name="imeOptions"> 1322 <!-- There are no special semantics associated with this editor. --> 1323 <flag name="normal" value="0x00000000" /> 1324 <!-- There is no specific action associated with this editor, let the 1325 editor come up with its own if it can. 1326 Corresponds to 1327 {@link android.view.inputmethod.EditorInfo#IME_NULL}. --> 1328 <flag name="actionUnspecified" value="0x00000000" /> 1329 <!-- This editor has no action associated with it. 1330 Corresponds to 1331 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. --> 1332 <flag name="actionNone" value="0x00000001" /> 1333 <!-- The action key performs a "go" 1334 operation to take the user to the target of the text they typed. 1335 Typically used, for example, when entering a URL. 1336 Corresponds to 1337 {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. --> 1338 <flag name="actionGo" value="0x00000002" /> 1339 <!-- The action key performs a "search" 1340 operation, taking the user to the results of searching for the text 1341 the have typed (in whatever context is appropriate). 1342 Corresponds to 1343 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. --> 1344 <flag name="actionSearch" value="0x00000003" /> 1345 <!-- The action key performs a "send" 1346 operation, delivering the text to its target. This is typically used 1347 when composing a message. 1348 Corresponds to 1349 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. --> 1350 <flag name="actionSend" value="0x00000004" /> 1351 <!-- The action key performs a "next" 1352 operation, taking the user to the next field that will accept text. 1353 Corresponds to 1354 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. --> 1355 <flag name="actionNext" value="0x00000005" /> 1356 <!-- The action key performs a "done" 1357 operation, closing the soft input method. 1358 Corresponds to 1359 {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. --> 1360 <flag name="actionDone" value="0x00000006" /> 1361 <!-- The action key performs a "previous" 1362 operation, taking the user to the previous field that will accept text. 1363 Corresponds to 1364 {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. --> 1365 <flag name="actionPrevious" value="0x00000007" /> 1366 <!-- Used to request that the IME never go 1367 into fullscreen mode. Applications need to be aware that the flag is not 1368 a guarantee, and not all IMEs will respect it. 1369 <p>Corresponds to 1370 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1371 <flag name="flagNoFullscreen" value="0x2000000" /> 1372 <!-- Like flagNavigateNext, but 1373 specifies there is something interesting that a backward navigation 1374 can focus on. If the user selects the IME's facility to backward 1375 navigate, this will show up in the application as an actionPrevious 1376 at {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1377 InputConnection.performEditorAction(int)}. 1378 <p>Corresponds to 1379 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1380 <flag name="flagNavigatePrevious" value="0x4000000" /> 1381 <!-- Used to specify that there is something 1382 interesting that a forward navigation can focus on. This is like using 1383 actionNext, except allows the IME to be multiline (with 1384 an enter key) as well as provide forward navigation. Note that some 1385 IMEs may not be able to do this, especially when running on a small 1386 screen where there is little space. In that case it does not need to 1387 present a UI for this option. Like actionNext, if the 1388 user selects the IME's facility to forward navigate, this will show up 1389 in the application at 1390 {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1391 InputConnection.performEditorAction(int)}. 1392 <p>Corresponds to 1393 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. --> 1394 <flag name="flagNavigateNext" value="0x8000000" /> 1395 <!-- Used to specify that the IME does not need 1396 to show its extracted text UI. For input methods that may be fullscreen, 1397 often when in landscape mode, this allows them to be smaller and let part 1398 of the application be shown behind. Though there will likely be limited 1399 access to the application available from the user, it can make the 1400 experience of a (mostly) fullscreen IME less jarring. Note that when 1401 this flag is specified the IME may <em>not</em> be set up to be able 1402 to display text, so it should only be used in situations where this is 1403 not needed. 1404 <p>Corresponds to 1405 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. --> 1406 <flag name="flagNoExtractUi" value="0x10000000" /> 1407 <!-- Used in conjunction with a custom action, this indicates that the 1408 action should not be available as an accessory button when the 1409 input method is full-screen. 1410 Note that by setting this flag, there can be cases where the action 1411 is simply never available to the user. Setting this generally means 1412 that you think showing text being edited is more important than the 1413 action you have supplied. 1414 <p>Corresponds to 1415 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. --> 1416 <flag name="flagNoAccessoryAction" value="0x20000000" /> 1417 <!-- Used in conjunction with a custom action, 1418 this indicates that the action should not be available in-line as 1419 a replacement for the "enter" key. Typically this is 1420 because the action has such a significant impact or is not recoverable 1421 enough that accidentally hitting it should be avoided, such as sending 1422 a message. Note that {@link android.widget.TextView} will 1423 automatically set this flag for you on multi-line text views. 1424 <p>Corresponds to 1425 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. --> 1426 <flag name="flagNoEnterAction" value="0x40000000" /> 1427 <!-- Used to request that the IME should be capable of inputting ASCII 1428 characters. The intention of this flag is to ensure that the user 1429 can type Roman alphabet characters in a {@link android.widget.TextView} 1430 used for, typically, account ID or password input. It is expected that IMEs 1431 normally are able to input ASCII even without being told so (such IMEs 1432 already respect this flag in a sense), but there could be some cases they 1433 aren't when, for instance, only non-ASCII input languagaes like Arabic, 1434 Greek, Hebrew, Russian are enabled in the IME. Applications need to be 1435 aware that the flag is not a guarantee, and not all IMEs will respect it. 1436 However, it is strongly recommended for IME authors to respect this flag 1437 especially when their IME could end up with a state that has only non-ASCII 1438 input languages enabled. 1439 <p>Corresponds to 1440 {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. --> 1441 <flag name="flagForceAscii" value="0x80000000" /> 1442 </attr> 1443 1444 <!-- A coordinate in the X dimension. --> 1445 <attr name="x" format="dimension" /> 1446 <!-- A coordinate in the Y dimension. --> 1447 <attr name="y" format="dimension" /> 1448 1449 <!-- Specifies how an object should position its content, on both the X and Y axes, 1450 within its own bounds. --> 1451 <attr name="gravity"> 1452 <!-- Push object to the top of its container, not changing its size. --> 1453 <flag name="top" value="0x30" /> 1454 <!-- Push object to the bottom of its container, not changing its size. --> 1455 <flag name="bottom" value="0x50" /> 1456 <!-- Push object to the left of its container, not changing its size. --> 1457 <flag name="left" value="0x03" /> 1458 <!-- Push object to the right of its container, not changing its size. --> 1459 <flag name="right" value="0x05" /> 1460 <!-- Place object in the vertical center of its container, not changing its size. --> 1461 <flag name="center_vertical" value="0x10" /> 1462 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1463 <flag name="fill_vertical" value="0x70" /> 1464 <!-- Place object in the horizontal center of its container, not changing its size. --> 1465 <flag name="center_horizontal" value="0x01" /> 1466 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1467 <flag name="fill_horizontal" value="0x07" /> 1468 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1469 <flag name="center" value="0x11" /> 1470 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1471 <flag name="fill" value="0x77" /> 1472 <!-- Additional option that can be set to have the top and/or bottom edges of 1473 the child clipped to its container's bounds. 1474 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1475 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1476 <flag name="clip_vertical" value="0x80" /> 1477 <!-- Additional option that can be set to have the left and/or right edges of 1478 the child clipped to its container's bounds. 1479 The clip will be based on the horizontal gravity: a left gravity will clip the right 1480 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1481 <flag name="clip_horizontal" value="0x08" /> 1482 <!-- Push object to the beginning of its container, not changing its size. --> 1483 <flag name="start" value="0x00800003" /> 1484 <!-- Push object to the end of its container, not changing its size. --> 1485 <flag name="end" value="0x00800005" /> 1486 </attr> 1487 1488 <!-- Controls whether links such as urls and email addresses are 1489 automatically found and converted to clickable links. The default 1490 value is "none", disabling this feature. --> 1491 <attr name="autoLink"> 1492 <!-- Match no patterns (default). --> 1493 <flag name="none" value="0x00" /> 1494 <!-- Match Web URLs. --> 1495 <flag name="web" value="0x01" /> 1496 <!-- Match email addresses. --> 1497 <flag name="email" value="0x02" /> 1498 <!-- Match phone numbers. --> 1499 <flag name="phone" value="0x04" /> 1500 <!-- Match map addresses. --> 1501 <flag name="map" value="0x08" /> 1502 <!-- Match all patterns (equivalent to web|email|phone|map). --> 1503 <flag name="all" value="0x0f" /> 1504 </attr> 1505 1506 <!-- Reference to an array resource that will populate a list/adapter. --> 1507 <attr name="entries" format="reference" /> 1508 1509 <!-- Standard gravity constant that a child supplies to its parent. 1510 Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. --> 1511 <attr name="layout_gravity"> 1512 <!-- Push object to the top of its container, not changing its size. --> 1513 <flag name="top" value="0x30" /> 1514 <!-- Push object to the bottom of its container, not changing its size. --> 1515 <flag name="bottom" value="0x50" /> 1516 <!-- Push object to the left of its container, not changing its size. --> 1517 <flag name="left" value="0x03" /> 1518 <!-- Push object to the right of its container, not changing its size. --> 1519 <flag name="right" value="0x05" /> 1520 <!-- Place object in the vertical center of its container, not changing its size. --> 1521 <flag name="center_vertical" value="0x10" /> 1522 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1523 <flag name="fill_vertical" value="0x70" /> 1524 <!-- Place object in the horizontal center of its container, not changing its size. --> 1525 <flag name="center_horizontal" value="0x01" /> 1526 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1527 <flag name="fill_horizontal" value="0x07" /> 1528 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1529 <flag name="center" value="0x11" /> 1530 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1531 <flag name="fill" value="0x77" /> 1532 <!-- Additional option that can be set to have the top and/or bottom edges of 1533 the child clipped to its container's bounds. 1534 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1535 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1536 <flag name="clip_vertical" value="0x80" /> 1537 <!-- Additional option that can be set to have the left and/or right edges of 1538 the child clipped to its container's bounds. 1539 The clip will be based on the horizontal gravity: a left gravity will clip the right 1540 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1541 <flag name="clip_horizontal" value="0x08" /> 1542 <!-- Push object to the beginning of its container, not changing its size. --> 1543 <flag name="start" value="0x00800003" /> 1544 <!-- Push object to the end of its container, not changing its size. --> 1545 <flag name="end" value="0x00800005" /> 1546 </attr> 1547 1548 <!-- Standard orientation constant. --> 1549 <attr name="orientation"> 1550 <!-- Defines an horizontal widget. --> 1551 <enum name="horizontal" value="0" /> 1552 <!-- Defines a vertical widget. --> 1553 <enum name="vertical" value="1" /> 1554 </attr> 1555 1556 <!-- Alignment constants. --> 1557 <attr name="alignmentMode"> 1558 <!-- Align the bounds of the children. 1559 See {@link android.widget.GridLayout#ALIGN_BOUNDS}. --> 1560 <enum name="alignBounds" value="0" /> 1561 <!-- Align the margins of the children. 1562 See {@link android.widget.GridLayout#ALIGN_MARGINS}. --> 1563 <enum name="alignMargins" value="1" /> 1564 </attr> 1565 1566 <!-- ========================== --> 1567 <!-- Key Codes --> 1568 <!-- ========================== --> 1569 <eat-comment /> 1570 1571 <!-- This enum provides the same keycode values as can be found in 1572 {@link android.view.KeyEvent}. --> 1573 <attr name="keycode"> 1574 <enum name="KEYCODE_UNKNOWN" value="0" /> 1575 <enum name="KEYCODE_SOFT_LEFT" value="1" /> 1576 <enum name="KEYCODE_SOFT_RIGHT" value="2" /> 1577 <enum name="KEYCODE_HOME" value="3" /> 1578 <enum name="KEYCODE_BACK" value="4" /> 1579 <enum name="KEYCODE_CALL" value="5" /> 1580 <enum name="KEYCODE_ENDCALL" value="6" /> 1581 <enum name="KEYCODE_0" value="7" /> 1582 <enum name="KEYCODE_1" value="8" /> 1583 <enum name="KEYCODE_2" value="9" /> 1584 <enum name="KEYCODE_3" value="10" /> 1585 <enum name="KEYCODE_4" value="11" /> 1586 <enum name="KEYCODE_5" value="12" /> 1587 <enum name="KEYCODE_6" value="13" /> 1588 <enum name="KEYCODE_7" value="14" /> 1589 <enum name="KEYCODE_8" value="15" /> 1590 <enum name="KEYCODE_9" value="16" /> 1591 <enum name="KEYCODE_STAR" value="17" /> 1592 <enum name="KEYCODE_POUND" value="18" /> 1593 <enum name="KEYCODE_DPAD_UP" value="19" /> 1594 <enum name="KEYCODE_DPAD_DOWN" value="20" /> 1595 <enum name="KEYCODE_DPAD_LEFT" value="21" /> 1596 <enum name="KEYCODE_DPAD_RIGHT" value="22" /> 1597 <enum name="KEYCODE_DPAD_CENTER" value="23" /> 1598 <enum name="KEYCODE_VOLUME_UP" value="24" /> 1599 <enum name="KEYCODE_VOLUME_DOWN" value="25" /> 1600 <enum name="KEYCODE_POWER" value="26" /> 1601 <enum name="KEYCODE_CAMERA" value="27" /> 1602 <enum name="KEYCODE_CLEAR" value="28" /> 1603 <enum name="KEYCODE_A" value="29" /> 1604 <enum name="KEYCODE_B" value="30" /> 1605 <enum name="KEYCODE_C" value="31" /> 1606 <enum name="KEYCODE_D" value="32" /> 1607 <enum name="KEYCODE_E" value="33" /> 1608 <enum name="KEYCODE_F" value="34" /> 1609 <enum name="KEYCODE_G" value="35" /> 1610 <enum name="KEYCODE_H" value="36" /> 1611 <enum name="KEYCODE_I" value="37" /> 1612 <enum name="KEYCODE_J" value="38" /> 1613 <enum name="KEYCODE_K" value="39" /> 1614 <enum name="KEYCODE_L" value="40" /> 1615 <enum name="KEYCODE_M" value="41" /> 1616 <enum name="KEYCODE_N" value="42" /> 1617 <enum name="KEYCODE_O" value="43" /> 1618 <enum name="KEYCODE_P" value="44" /> 1619 <enum name="KEYCODE_Q" value="45" /> 1620 <enum name="KEYCODE_R" value="46" /> 1621 <enum name="KEYCODE_S" value="47" /> 1622 <enum name="KEYCODE_T" value="48" /> 1623 <enum name="KEYCODE_U" value="49" /> 1624 <enum name="KEYCODE_V" value="50" /> 1625 <enum name="KEYCODE_W" value="51" /> 1626 <enum name="KEYCODE_X" value="52" /> 1627 <enum name="KEYCODE_Y" value="53" /> 1628 <enum name="KEYCODE_Z" value="54" /> 1629 <enum name="KEYCODE_COMMA" value="55" /> 1630 <enum name="KEYCODE_PERIOD" value="56" /> 1631 <enum name="KEYCODE_ALT_LEFT" value="57" /> 1632 <enum name="KEYCODE_ALT_RIGHT" value="58" /> 1633 <enum name="KEYCODE_SHIFT_LEFT" value="59" /> 1634 <enum name="KEYCODE_SHIFT_RIGHT" value="60" /> 1635 <enum name="KEYCODE_TAB" value="61" /> 1636 <enum name="KEYCODE_SPACE" value="62" /> 1637 <enum name="KEYCODE_SYM" value="63" /> 1638 <enum name="KEYCODE_EXPLORER" value="64" /> 1639 <enum name="KEYCODE_ENVELOPE" value="65" /> 1640 <enum name="KEYCODE_ENTER" value="66" /> 1641 <enum name="KEYCODE_DEL" value="67" /> 1642 <enum name="KEYCODE_GRAVE" value="68" /> 1643 <enum name="KEYCODE_MINUS" value="69" /> 1644 <enum name="KEYCODE_EQUALS" value="70" /> 1645 <enum name="KEYCODE_LEFT_BRACKET" value="71" /> 1646 <enum name="KEYCODE_RIGHT_BRACKET" value="72" /> 1647 <enum name="KEYCODE_BACKSLASH" value="73" /> 1648 <enum name="KEYCODE_SEMICOLON" value="74" /> 1649 <enum name="KEYCODE_APOSTROPHE" value="75" /> 1650 <enum name="KEYCODE_SLASH" value="76" /> 1651 <enum name="KEYCODE_AT" value="77" /> 1652 <enum name="KEYCODE_NUM" value="78" /> 1653 <enum name="KEYCODE_HEADSETHOOK" value="79" /> 1654 <enum name="KEYCODE_FOCUS" value="80" /> 1655 <enum name="KEYCODE_PLUS" value="81" /> 1656 <enum name="KEYCODE_MENU" value="82" /> 1657 <enum name="KEYCODE_NOTIFICATION" value="83" /> 1658 <enum name="KEYCODE_SEARCH" value="84" /> 1659 <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" /> 1660 <enum name="KEYCODE_MEDIA_STOP" value="86" /> 1661 <enum name="KEYCODE_MEDIA_NEXT" value="87" /> 1662 <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" /> 1663 <enum name="KEYCODE_MEDIA_REWIND" value="89" /> 1664 <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" /> 1665 <enum name="KEYCODE_MUTE" value="91" /> 1666 <enum name="KEYCODE_PAGE_UP" value="92" /> 1667 <enum name="KEYCODE_PAGE_DOWN" value="93" /> 1668 <enum name="KEYCODE_PICTSYMBOLS" value="94" /> 1669 <enum name="KEYCODE_SWITCH_CHARSET" value="95" /> 1670 <enum name="KEYCODE_BUTTON_A" value="96" /> 1671 <enum name="KEYCODE_BUTTON_B" value="97" /> 1672 <enum name="KEYCODE_BUTTON_C" value="98" /> 1673 <enum name="KEYCODE_BUTTON_X" value="99" /> 1674 <enum name="KEYCODE_BUTTON_Y" value="100" /> 1675 <enum name="KEYCODE_BUTTON_Z" value="101" /> 1676 <enum name="KEYCODE_BUTTON_L1" value="102" /> 1677 <enum name="KEYCODE_BUTTON_R1" value="103" /> 1678 <enum name="KEYCODE_BUTTON_L2" value="104" /> 1679 <enum name="KEYCODE_BUTTON_R2" value="105" /> 1680 <enum name="KEYCODE_BUTTON_THUMBL" value="106" /> 1681 <enum name="KEYCODE_BUTTON_THUMBR" value="107" /> 1682 <enum name="KEYCODE_BUTTON_START" value="108" /> 1683 <enum name="KEYCODE_BUTTON_SELECT" value="109" /> 1684 <enum name="KEYCODE_BUTTON_MODE" value="110" /> 1685 <enum name="KEYCODE_ESCAPE" value="111" /> 1686 <enum name="KEYCODE_FORWARD_DEL" value="112" /> 1687 <enum name="KEYCODE_CTRL_LEFT" value="113" /> 1688 <enum name="KEYCODE_CTRL_RIGHT" value="114" /> 1689 <enum name="KEYCODE_CAPS_LOCK" value="115" /> 1690 <enum name="KEYCODE_SCROLL_LOCK" value="116" /> 1691 <enum name="KEYCODE_META_LEFT" value="117" /> 1692 <enum name="KEYCODE_META_RIGHT" value="118" /> 1693 <enum name="KEYCODE_FUNCTION" value="119" /> 1694 <enum name="KEYCODE_SYSRQ" value="120" /> 1695 <enum name="KEYCODE_BREAK" value="121" /> 1696 <enum name="KEYCODE_MOVE_HOME" value="122" /> 1697 <enum name="KEYCODE_MOVE_END" value="123" /> 1698 <enum name="KEYCODE_INSERT" value="124" /> 1699 <enum name="KEYCODE_FORWARD" value="125" /> 1700 <enum name="KEYCODE_MEDIA_PLAY" value="126" /> 1701 <enum name="KEYCODE_MEDIA_PAUSE" value="127" /> 1702 <enum name="KEYCODE_MEDIA_CLOSE" value="128" /> 1703 <enum name="KEYCODE_MEDIA_EJECT" value="129" /> 1704 <enum name="KEYCODE_MEDIA_RECORD" value="130" /> 1705 <enum name="KEYCODE_F1" value="131" /> 1706 <enum name="KEYCODE_F2" value="132" /> 1707 <enum name="KEYCODE_F3" value="133" /> 1708 <enum name="KEYCODE_F4" value="134" /> 1709 <enum name="KEYCODE_F5" value="135" /> 1710 <enum name="KEYCODE_F6" value="136" /> 1711 <enum name="KEYCODE_F7" value="137" /> 1712 <enum name="KEYCODE_F8" value="138" /> 1713 <enum name="KEYCODE_F9" value="139" /> 1714 <enum name="KEYCODE_F10" value="140" /> 1715 <enum name="KEYCODE_F11" value="141" /> 1716 <enum name="KEYCODE_F12" value="142" /> 1717 <enum name="KEYCODE_NUM_LOCK" value="143" /> 1718 <enum name="KEYCODE_NUMPAD_0" value="144" /> 1719 <enum name="KEYCODE_NUMPAD_1" value="145" /> 1720 <enum name="KEYCODE_NUMPAD_2" value="146" /> 1721 <enum name="KEYCODE_NUMPAD_3" value="147" /> 1722 <enum name="KEYCODE_NUMPAD_4" value="148" /> 1723 <enum name="KEYCODE_NUMPAD_5" value="149" /> 1724 <enum name="KEYCODE_NUMPAD_6" value="150" /> 1725 <enum name="KEYCODE_NUMPAD_7" value="151" /> 1726 <enum name="KEYCODE_NUMPAD_8" value="152" /> 1727 <enum name="KEYCODE_NUMPAD_9" value="153" /> 1728 <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" /> 1729 <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" /> 1730 <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" /> 1731 <enum name="KEYCODE_NUMPAD_ADD" value="157" /> 1732 <enum name="KEYCODE_NUMPAD_DOT" value="158" /> 1733 <enum name="KEYCODE_NUMPAD_COMMA" value="159" /> 1734 <enum name="KEYCODE_NUMPAD_ENTER" value="160" /> 1735 <enum name="KEYCODE_NUMPAD_EQUALS" value="161" /> 1736 <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" /> 1737 <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" /> 1738 <enum name="KEYCODE_VOLUME_MUTE" value="164" /> 1739 <enum name="KEYCODE_INFO" value="165" /> 1740 <enum name="KEYCODE_CHANNEL_UP" value="166" /> 1741 <enum name="KEYCODE_CHANNEL_DOWN" value="167" /> 1742 <enum name="KEYCODE_ZOOM_IN" value="168" /> 1743 <enum name="KEYCODE_ZOOM_OUT" value="169" /> 1744 <enum name="KEYCODE_TV" value="170" /> 1745 <enum name="KEYCODE_WINDOW" value="171" /> 1746 <enum name="KEYCODE_GUIDE" value="172" /> 1747 <enum name="KEYCODE_DVR" value="173" /> 1748 <enum name="KEYCODE_BOOKMARK" value="174" /> 1749 <enum name="KEYCODE_CAPTIONS" value="175" /> 1750 <enum name="KEYCODE_SETTINGS" value="176" /> 1751 <enum name="KEYCODE_TV_POWER" value="177" /> 1752 <enum name="KEYCODE_TV_INPUT" value="178" /> 1753 <enum name="KEYCODE_STB_POWER" value="179" /> 1754 <enum name="KEYCODE_STB_INPUT" value="180" /> 1755 <enum name="KEYCODE_AVR_POWER" value="181" /> 1756 <enum name="KEYCODE_AVR_INPUT" value="182" /> 1757 <enum name="KEYCODE_PROG_GRED" value="183" /> 1758 <enum name="KEYCODE_PROG_GREEN" value="184" /> 1759 <enum name="KEYCODE_PROG_YELLOW" value="185" /> 1760 <enum name="KEYCODE_PROG_BLUE" value="186" /> 1761 <enum name="KEYCODE_APP_SWITCH" value="187" /> 1762 <enum name="KEYCODE_BUTTON_1" value="188" /> 1763 <enum name="KEYCODE_BUTTON_2" value="189" /> 1764 <enum name="KEYCODE_BUTTON_3" value="190" /> 1765 <enum name="KEYCODE_BUTTON_4" value="191" /> 1766 <enum name="KEYCODE_BUTTON_5" value="192" /> 1767 <enum name="KEYCODE_BUTTON_6" value="193" /> 1768 <enum name="KEYCODE_BUTTON_7" value="194" /> 1769 <enum name="KEYCODE_BUTTON_8" value="195" /> 1770 <enum name="KEYCODE_BUTTON_9" value="196" /> 1771 <enum name="KEYCODE_BUTTON_10" value="197" /> 1772 <enum name="KEYCODE_BUTTON_11" value="198" /> 1773 <enum name="KEYCODE_BUTTON_12" value="199" /> 1774 <enum name="KEYCODE_BUTTON_13" value="200" /> 1775 <enum name="KEYCODE_BUTTON_14" value="201" /> 1776 <enum name="KEYCODE_BUTTON_15" value="202" /> 1777 <enum name="KEYCODE_BUTTON_16" value="203" /> 1778 <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" /> 1779 <enum name="KEYCODE_MANNER_MODE" value="205" /> 1780 <enum name="KEYCODE_3D_MODE" value="206" /> 1781 <enum name="KEYCODE_CONTACTS" value="207" /> 1782 <enum name="KEYCODE_CALENDAR" value="208" /> 1783 <enum name="KEYCODE_MUSIC" value="209" /> 1784 <enum name="KEYCODE_CALCULATOR" value="210" /> 1785 <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" /> 1786 <enum name="KEYCODE_EISU" value="212" /> 1787 <enum name="KEYCODE_MUHENKAN" value="213" /> 1788 <enum name="KEYCODE_HENKAN" value="214" /> 1789 <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" /> 1790 <enum name="KEYCODE_YEN" value="216" /> 1791 <enum name="KEYCODE_RO" value="217" /> 1792 <enum name="KEYCODE_KANA" value="218" /> 1793 <enum name="KEYCODE_ASSIST" value="219" /> 1794 <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" /> 1795 <enum name="KEYCODE_BRIGHTNESS_UP" value="221" /> 1796 <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" /> 1797 <enum name="KEYCODE_MEDIA_SLEEP" value="223" /> 1798 <enum name="KEYCODE_MEDIA_WAKEUP" value="224" /> 1799 <enum name="KEYCODE_PAIRING" value="225" /> 1800 <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" /> 1801 <enum name="KEYCODE_11" value="227" /> 1802 <enum name="KEYCODE_12" value="228" /> 1803 <enum name="KEYCODE_LAST_CHANNEL" value="229" /> 1804 <enum name="KEYCODE_TV_DATA_SERVICE" value="230" /> 1805 <enum name="KEYCODE_VOICE_ASSIST" value="231" /> 1806 <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" /> 1807 <enum name="KEYCODE_TV_TELETEXT" value="233" /> 1808 <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" /> 1809 <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" /> 1810 <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" /> 1811 <enum name="KEYCODE_TV_SATELLITE" value="237" /> 1812 <enum name="KEYCODE_TV_SATELLITE_BS" value="238" /> 1813 <enum name="KEYCODE_TV_SATELLITE_CS" value="239" /> 1814 <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" /> 1815 <enum name="KEYCODE_TV_NETWORK" value="241" /> 1816 <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" /> 1817 <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" /> 1818 <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" /> 1819 <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" /> 1820 <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" /> 1821 <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" /> 1822 <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" /> 1823 <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" /> 1824 <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" /> 1825 <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" /> 1826 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" /> 1827 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" /> 1828 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" /> 1829 <enum name="KEYCODE_TV_ZOOM_MODE" value="255" /> 1830 <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" /> 1831 <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" /> 1832 <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" /> 1833 <enum name="KEYCODE_HELP" value="259" /> 1834 <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" /> 1835 <enum name="KEYCODE_NAVIGATE_NEXT" value="261" /> 1836 <enum name="KEYCODE_NAVIGATE_IN" value="262" /> 1837 <enum name="KEYCODE_NAVIGATE_OUT" value="263" /> 1838 <enum name="KEYCODE_STEM_PRIMARY" value="264" /> 1839 <enum name="KEYCODE_STEM_1" value="265" /> 1840 <enum name="KEYCODE_STEM_2" value="266" /> 1841 <enum name="KEYCODE_STEM_3" value="267" /> 1842 <enum name="KEYCODE_DPAD_UP_LEFT" value="268" /> 1843 <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" /> 1844 <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" /> 1845 <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" /> 1846 <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" /> 1847 <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" /> 1848 <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" /> 1849 <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" /> 1850 <enum name="KEYCODE_SOFT_SLEEP" value="276" /> 1851 <enum name="KEYCODE_CUT" value="277" /> 1852 <enum name="KEYCODE_COPY" value="278" /> 1853 <enum name="KEYCODE_PASTE" value="279" /> 1854 <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" /> 1855 <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" /> 1856 <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" /> 1857 <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" /> 1858 </attr> 1859 1860 <!-- ***************************************************************** --> 1861 <!-- These define collections of attributes that can are with classes. --> 1862 <!-- ***************************************************************** --> 1863 1864 <!-- ========================== --> 1865 <!-- Special attribute classes. --> 1866 <!-- ========================== --> 1867 <eat-comment /> 1868 1869 <!-- The set of attributes that describe a Windows's theme. --> 1870 <declare-styleable name="Window"> 1871 <attr name="windowBackground" /> 1872 <attr name="windowBackgroundFallback" /> 1873 <attr name="windowContentOverlay" /> 1874 <attr name="windowFrame" /> 1875 <attr name="windowNoTitle" /> 1876 <attr name="windowFullscreen" /> 1877 <attr name="windowOverscan" /> 1878 <attr name="windowIsFloating" /> 1879 <attr name="windowIsTranslucent" /> 1880 <attr name="windowShowWallpaper" /> 1881 <attr name="windowAnimationStyle" /> 1882 <attr name="windowSoftInputMode" /> 1883 <attr name="windowDisablePreview" /> 1884 <attr name="windowNoDisplay" /> 1885 <attr name="textColor" /> 1886 <attr name="backgroundDimEnabled" /> 1887 <attr name="backgroundDimAmount" /> 1888 <attr name="windowActionBar" /> 1889 <attr name="windowActionModeOverlay" /> 1890 <attr name="windowActionBarOverlay" /> 1891 <attr name="windowEnableSplitTouch" /> 1892 <attr name="windowCloseOnTouchOutside" /> 1893 <attr name="windowTranslucentStatus" /> 1894 <attr name="windowTranslucentNavigation" /> 1895 <attr name="windowSwipeToDismiss" /> 1896 <attr name="windowContentTransitions" /> 1897 <attr name="windowActivityTransitions" /> 1898 <attr name="windowContentTransitionManager" /> 1899 <attr name="windowActionBarFullscreenDecorLayout" /> 1900 1901 <!-- The minimum width the window is allowed to be, along the major 1902 axis of the screen. That is, when in landscape. Can be either 1903 an absolute dimension or a fraction of the screen size in that 1904 dimension. --> 1905 <attr name="windowMinWidthMajor" format="dimension|fraction" /> 1906 <!-- The minimum width the window is allowed to be, along the minor 1907 axis of the screen. That is, when in portrait. Can be either 1908 an absolute dimension or a fraction of the screen size in that 1909 dimension. --> 1910 <attr name="windowMinWidthMinor" format="dimension|fraction" /> 1911 1912 <!-- A fixed width for the window along the major axis of the screen, 1913 that is, when in landscape. Can be either an absolute dimension 1914 or a fraction of the screen size in that dimension. --> 1915 <attr name="windowFixedWidthMajor" format="dimension|fraction" /> 1916 <!-- A fixed height for the window along the minor axis of the screen, 1917 that is, when in landscape. Can be either an absolute dimension 1918 or a fraction of the screen size in that dimension. --> 1919 <attr name="windowFixedHeightMinor" format="dimension|fraction" /> 1920 1921 <!-- A fixed width for the window along the minor axis of the screen, 1922 that is, when in portrait. Can be either an absolute dimension 1923 or a fraction of the screen size in that dimension. --> 1924 <attr name="windowFixedWidthMinor" format="dimension|fraction" /> 1925 <!-- A fixed height for the window along the major axis of the screen, 1926 that is, when in portrait. Can be either an absolute dimension 1927 or a fraction of the screen size in that dimension. --> 1928 <attr name="windowFixedHeightMajor" format="dimension|fraction" /> 1929 <attr name="windowOutsetBottom" format="dimension" /> 1930 <!-- Reference to a Transition XML resource defining the desired Transition 1931 used to move Views into the initial Window's content Scene. Corresponds to 1932 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 1933 <attr name="windowEnterTransition"/> 1934 1935 <!-- Reference to a Transition XML resource defining the desired Transition 1936 used to move Views out of the scene when the Window is 1937 preparing to close. Corresponds to 1938 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 1939 <attr name="windowReturnTransition"/> 1940 1941 <!-- Reference to a Transition XML resource defining the desired Transition 1942 used to move Views out of the Window's content Scene when launching a new Activity. 1943 Corresponds to 1944 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 1945 <attr name="windowExitTransition"/> 1946 1947 <!-- Reference to a Transition XML resource defining the desired Transition 1948 used to move Views in to the scene when returning from a previously-started Activity. 1949 Corresponds to 1950 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 1951 <attr name="windowReenterTransition"/> 1952 1953 <!-- Reference to a Transition XML resource defining the desired Transition 1954 used to move shared elements transferred into the Window's initial content Scene. 1955 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 1956 android.transition.Transition)}. --> 1957 <attr name="windowSharedElementEnterTransition"/> 1958 1959 <!-- Reference to a Transition XML resource defining the desired Transition 1960 used to move shared elements transferred back to a calling Activity. 1961 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 1962 android.transition.Transition)}. --> 1963 <attr name="windowSharedElementReturnTransition"/> 1964 1965 <!-- Reference to a Transition XML resource defining the desired Transition 1966 used when starting a new Activity to move shared elements prior to transferring 1967 to the called Activity. 1968 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 1969 android.transition.Transition)}. --> 1970 <attr name="windowSharedElementExitTransition"/> 1971 1972 <!-- Reference to a Transition XML resource defining the desired Transition 1973 used for shared elements transferred back to a calling Activity. 1974 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 1975 android.transition.Transition)}. --> 1976 <attr name="windowSharedElementReenterTransition"/> 1977 1978 1979 <!-- Flag indicating whether this Window's transition should overlap with 1980 the exiting transition of the calling Activity. Corresponds to 1981 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> 1982 <attr name="windowAllowEnterTransitionOverlap"/> 1983 1984 <!-- Flag indicating whether this Window's transition should overlap with 1985 the exiting transition of the called Activity when the called Activity 1986 finishes. Corresponds to 1987 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. --> 1988 <attr name="windowAllowReturnTransitionOverlap"/> 1989 1990 <!-- Indicates whether or not shared elements should use an overlay 1991 during transitions. The default value is true. --> 1992 <attr name="windowSharedElementsUseOverlay"/> 1993 1994 <!-- Flag indicating whether this Window is responsible for drawing the background for the 1995 system bars. If true and the window is not floating, the system bars are drawn with a 1996 transparent background and the corresponding areas in this window are filled with the 1997 colors specified in {@link android.R.attr#statusBarColor} and 1998 {@link android.R.attr#navigationBarColor}. Corresponds to 1999 {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. --> 2000 <attr name="windowDrawsSystemBarBackgrounds" format="boolean" /> 2001 2002 <!-- The color for the status bar. If the color is not opaque, consider setting 2003 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 2004 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}. 2005 For this to take effect, the window must be drawing the system bar backgrounds with 2006 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2007 have been requested to be translucent with 2008 {@link android.R.attr#windowTranslucentStatus}. 2009 Corresponds to {@link android.view.Window#setStatusBarColor(int)}. --> 2010 <attr name="statusBarColor" format="color" /> 2011 2012 <!-- The color for the navigation bar. If the color is not opaque, consider setting 2013 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 2014 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}. 2015 For this to take effect, the window must be drawing the system bar backgrounds with 2016 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 2017 have been requested to be translucent with 2018 {@link android.R.attr#windowTranslucentNavigation}. 2019 Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. --> 2020 <attr name="navigationBarColor" format="color" /> 2021 2022 <!-- The duration, in milliseconds, of the window background fade duration 2023 when transitioning into or away from an Activity when called with an 2024 Activity Transition. Corresponds to 2025 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 2026 <attr name="windowTransitionBackgroundFadeDuration" /> 2027 2028 <!-- Elevation to use for the window. --> 2029 <attr name="windowElevation" format="dimension" /> 2030 2031 <!-- Whether to clip window content to the outline of the window background. --> 2032 <attr name="windowClipToOutline" format="boolean" /> 2033 2034 <!-- If set, the status bar will be drawn such that it is compatible with a light 2035 status bar background. 2036 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2037 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2038 have been requested to be translucent with 2039 {@link android.R.attr#windowTranslucentStatus}. 2040 Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on 2041 the decor view. --> 2042 <attr name="windowLightStatusBar" format="boolean" /> 2043 </declare-styleable> 2044 2045 <!-- The set of attributes that describe a AlertDialog's theme. --> 2046 <declare-styleable name="AlertDialog"> 2047 <attr name="fullDark" format="reference|color" /> 2048 <attr name="topDark" format="reference|color" /> 2049 <attr name="centerDark" format="reference|color" /> 2050 <attr name="bottomDark" format="reference|color" /> 2051 <attr name="fullBright" format="reference|color" /> 2052 <attr name="topBright" format="reference|color" /> 2053 <attr name="centerBright" format="reference|color" /> 2054 <attr name="bottomBright" format="reference|color" /> 2055 <attr name="bottomMedium" format="reference|color" /> 2056 <attr name="centerMedium" format="reference|color" /> 2057 <attr name="layout" /> 2058 <attr name="buttonPanelSideLayout" format="reference" /> 2059 <attr name="listLayout" format="reference" /> 2060 <attr name="multiChoiceItemLayout" format="reference" /> 2061 <attr name="singleChoiceItemLayout" format="reference" /> 2062 <attr name="listItemLayout" format="reference" /> 2063 <attr name="progressLayout" format="reference" /> 2064 <attr name="horizontalProgressLayout" format="reference" /> 2065 <!-- @hide Not ready for public use. --> 2066 <attr name="showTitle" format="boolean" /> 2067 <!-- @hide Whether fullDark, etc. should use default values if null. --> 2068 <attr name="needsDefaultBackgrounds" format="boolean" /> 2069 <!-- @hide Workaround until we replace AlertController with custom layout. --> 2070 <attr name="controllerType"> 2071 <!-- The default controller. --> 2072 <enum name="normal" value="0" /> 2073 <!-- Controller for micro specific layout. --> 2074 <enum name="micro" value="1" /> 2075 </attr> 2076 <!-- @hide Offset when scrolling to a selection. --> 2077 <attr name="selectionScrollOffset" format="dimension" /> 2078 </declare-styleable> 2079 2080 <!-- @hide --> 2081 <declare-styleable name="ButtonBarLayout"> 2082 <!-- Whether to automatically stack the buttons when there is not 2083 enough space to lay them out side-by-side. --> 2084 <attr name="allowStacking" format="boolean" /> 2085 </declare-styleable> 2086 2087 <!-- Fragment animation class attributes. --> 2088 <declare-styleable name="FragmentAnimation"> 2089 <attr name="fragmentOpenEnterAnimation" format="reference" /> 2090 <attr name="fragmentOpenExitAnimation" format="reference" /> 2091 <attr name="fragmentCloseEnterAnimation" format="reference" /> 2092 <attr name="fragmentCloseExitAnimation" format="reference" /> 2093 <attr name="fragmentFadeEnterAnimation" format="reference" /> 2094 <attr name="fragmentFadeExitAnimation" format="reference" /> 2095 </declare-styleable> 2096 2097 <!-- Window animation class attributes. --> 2098 <declare-styleable name="WindowAnimation"> 2099 <!-- The animation used when a window is being added. --> 2100 <attr name="windowEnterAnimation" format="reference" /> 2101 <!-- The animation used when a window is being removed. --> 2102 <attr name="windowExitAnimation" format="reference" /> 2103 <!-- The animation used when a window is going from INVISIBLE to VISIBLE. --> 2104 <attr name="windowShowAnimation" format="reference" /> 2105 <!-- The animation used when a window is going from VISIBLE to INVISIBLE. --> 2106 <attr name="windowHideAnimation" format="reference" /> 2107 2108 <!-- When opening a new activity, this is the animation that is 2109 run on the next activity (which is entering the screen). --> 2110 <attr name="activityOpenEnterAnimation" format="reference" /> 2111 <!-- When opening a new activity, this is the animation that is 2112 run on the previous activity (which is exiting the screen). --> 2113 <attr name="activityOpenExitAnimation" format="reference" /> 2114 <!-- When closing the current activity, this is the animation that is 2115 run on the next activity (which is entering the screen). --> 2116 <attr name="activityCloseEnterAnimation" format="reference" /> 2117 <!-- When closing the current activity, this is the animation that is 2118 run on the current activity (which is exiting the screen). --> 2119 <attr name="activityCloseExitAnimation" format="reference" /> 2120 <!-- When opening an activity in a new task, this is the animation that is 2121 run on the activity of the new task (which is entering the screen). --> 2122 <attr name="taskOpenEnterAnimation" format="reference" /> 2123 <!-- When opening an activity in a new task, this is the animation that is 2124 run on the activity of the old task (which is exiting the screen). --> 2125 <attr name="taskOpenExitAnimation" format="reference" /> 2126 <!-- When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, 2127 this is the animation that is run on the activity of the new task (which is 2128 entering the screen and then leaving). --> 2129 <attr name="launchTaskBehindTargetAnimation" format="reference" /> 2130 <!-- When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, 2131 this is the animation that is run on the activity of the old task (which is 2132 already on the screen and then stays on). --> 2133 <attr name="launchTaskBehindSourceAnimation" format="reference" /> 2134 <!-- When closing the last activity of a task, this is the animation that is 2135 run on the activity of the next task (which is entering the screen). --> 2136 <attr name="taskCloseEnterAnimation" format="reference" /> 2137 <!-- When opening an activity in a new task, this is the animation that is 2138 run on the activity of the old task (which is exiting the screen). --> 2139 <attr name="taskCloseExitAnimation" format="reference" /> 2140 <!-- When bringing an existing task to the foreground, this is the 2141 animation that is run on the top activity of the task being brought 2142 to the foreground (which is entering the screen). --> 2143 <attr name="taskToFrontEnterAnimation" format="reference" /> 2144 <!-- When bringing an existing task to the foreground, this is the 2145 animation that is run on the current foreground activity 2146 (which is exiting the screen). --> 2147 <attr name="taskToFrontExitAnimation" format="reference" /> 2148 <!-- When sending the current task to the background, this is the 2149 animation that is run on the top activity of the task behind 2150 it (which is entering the screen). --> 2151 <attr name="taskToBackEnterAnimation" format="reference" /> 2152 <!-- When sending the current task to the background, this is the 2153 animation that is run on the top activity of the current task 2154 (which is exiting the screen). --> 2155 <attr name="taskToBackExitAnimation" format="reference" /> 2156 2157 <!-- When opening a new activity that shows the wallpaper, while 2158 currently not showing the wallpaper, this is the animation that 2159 is run on the new wallpaper activity (which is entering the screen). --> 2160 <attr name="wallpaperOpenEnterAnimation" format="reference" /> 2161 <!-- When opening a new activity that shows the wallpaper, while 2162 currently not showing the wallpaper, this is the animation that 2163 is run on the current activity (which is exiting the screen). --> 2164 <attr name="wallpaperOpenExitAnimation" format="reference" /> 2165 <!-- When opening a new activity that hides the wallpaper, while 2166 currently showing the wallpaper, this is the animation that 2167 is run on the new activity (which is entering the screen). --> 2168 <attr name="wallpaperCloseEnterAnimation" format="reference" /> 2169 <!-- When opening a new activity that hides the wallpaper, while 2170 currently showing the wallpaper, this is the animation that 2171 is run on the old wallpaper activity (which is exiting the screen). --> 2172 <attr name="wallpaperCloseExitAnimation" format="reference" /> 2173 2174 <!-- When opening a new activity that is on top of the wallpaper 2175 when the current activity is also on top of the wallpaper, 2176 this is the animation that is run on the new activity 2177 (which is entering the screen). The wallpaper remains 2178 static behind the animation. --> 2179 <attr name="wallpaperIntraOpenEnterAnimation" format="reference" /> 2180 <!-- When opening a new activity that is on top of the wallpaper 2181 when the current activity is also on top of the wallpaper, 2182 this is the animation that is run on the current activity 2183 (which is exiting the screen). The wallpaper remains 2184 static behind the animation. --> 2185 <attr name="wallpaperIntraOpenExitAnimation" format="reference" /> 2186 <!-- When closing a foreround activity that is on top of the wallpaper 2187 when the previous activity is also on top of the wallpaper, 2188 this is the animation that is run on the previous activity 2189 (which is entering the screen). The wallpaper remains 2190 static behind the animation. --> 2191 <attr name="wallpaperIntraCloseEnterAnimation" format="reference" /> 2192 <!-- When closing a foreround activity that is on top of the wallpaper 2193 when the previous activity is also on top of the wallpaper, 2194 this is the animation that is run on the current activity 2195 (which is exiting the screen). The wallpaper remains 2196 static behind the animation. --> 2197 <attr name="wallpaperIntraCloseExitAnimation" format="reference" /> 2198 2199 <!-- When opening a new activity from a RemoteViews, this is the 2200 animation that is run on the next activity (which is entering the 2201 screen). Requires config_overrideRemoteViewsActivityTransition to 2202 be true. --> 2203 <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" /> 2204 2205 </declare-styleable> 2206 2207 <!-- ============================= --> 2208 <!-- View package class attributes --> 2209 <!-- ============================= --> 2210 <eat-comment /> 2211 2212 <!-- Attributes that can be used with {@link android.view.View} or 2213 any of its subclasses. Also see {@link #ViewGroup_Layout} for 2214 attributes that are processed by the view's parent. --> 2215 <declare-styleable name="View"> 2216 <!-- Supply an identifier name for this view, to later retrieve it 2217 with {@link android.view.View#findViewById View.findViewById()} or 2218 {@link android.app.Activity#findViewById Activity.findViewById()}. 2219 This must be a 2220 resource reference; typically you set this using the 2221 <code>@+</code> syntax to create a new ID resources. 2222 For example: <code>android:id="@+id/my_id"</code> which 2223 allows you to later retrieve the view 2224 with <code>findViewById(R.id.my_id)</code>. --> 2225 <attr name="id" format="reference" /> 2226 2227 <!-- Supply a tag for this view containing a String, to be retrieved 2228 later with {@link android.view.View#getTag View.getTag()} or 2229 searched for with {@link android.view.View#findViewWithTag 2230 View.findViewWithTag()}. It is generally preferable to use 2231 IDs (through the android:id attribute) instead of tags because 2232 they are faster and allow for compile-time type checking. --> 2233 <attr name="tag" format="string" /> 2234 2235 <!-- The initial horizontal scroll offset, in pixels.--> 2236 <attr name="scrollX" format="dimension" /> 2237 2238 <!-- The initial vertical scroll offset, in pixels. --> 2239 <attr name="scrollY" format="dimension" /> 2240 2241 <!-- A drawable to use as the background. This can be either a reference 2242 to a full drawable resource (such as a PNG image, 9-patch, 2243 XML state list description, etc), or a solid color such as "#ff000000" 2244 (black). --> 2245 <attr name="background" format="reference|color" /> 2246 2247 <!-- Sets the padding, in pixels, of all four edges. Padding is defined as 2248 space between the edges of the view and the view's content. This value will take 2249 precedence over any of the edge-specific values, including 2250 paddingHorizontal and paddingVertical, if set. A view's size 2251 will include its padding. If a {@link android.R.attr#background} 2252 is provided, the padding will initially be set to that (0 if the 2253 drawable does not have padding). Explicitly setting a padding value 2254 will override the corresponding padding found in the background. --> 2255 <attr name="padding" format="dimension" /> 2256 <!-- Sets the padding, in pixels, of the left and right edges; see 2257 {@link android.R.attr#padding}. This value will take precedence over 2258 paddingLeft, paddingRight, paddingStart, and paddingEnd, if set. --> 2259 <attr name="paddingHorizontal" format="dimension" /> 2260 <!-- Sets the padding, in pixels, of the top and bottom edges; see 2261 {@link android.R.attr#padding}. This value will take precedence over 2262 paddingTop and paddingBottom, if set. --> 2263 <attr name="paddingVertical" format="dimension" /> 2264 <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. --> 2265 <attr name="paddingLeft" format="dimension" /> 2266 <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. --> 2267 <attr name="paddingTop" format="dimension" /> 2268 <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. --> 2269 <attr name="paddingRight" format="dimension" /> 2270 <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. --> 2271 <attr name="paddingBottom" format="dimension" /> 2272 <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. --> 2273 <attr name="paddingStart" format="dimension" /> 2274 <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. --> 2275 <attr name="paddingEnd" format="dimension" /> 2276 2277 <!-- Boolean that controls whether a view can take focus. By default the user can not 2278 move focus to a view; by setting this attribute to true the view is 2279 allowed to take focus. This value does not impact the behavior of 2280 directly calling {@link android.view.View#requestFocus}, which will 2281 always request focus regardless of this view. It only impacts where 2282 focus navigation will try to move focus. --> 2283 <attr name="focusable" format="boolean" /> 2284 2285 <!-- Boolean that controls whether a view can take focus while in touch mode. 2286 If this is true for a view, that view can gain focus when clicked on, and can keep 2287 focus if another view is clicked on that doesn't have this attribute set to true. --> 2288 <attr name="focusableInTouchMode" format="boolean" /> 2289 2290 <!-- Controls the initial visibility of the view. --> 2291 <attr name="visibility"> 2292 <!-- Visible on screen; the default value. --> 2293 <enum name="visible" value="0" /> 2294 <!-- Not displayed, but taken into account during layout (space is left for it). --> 2295 <enum name="invisible" value="1" /> 2296 <!-- Completely hidden, as if the view had not been added. --> 2297 <enum name="gone" value="2" /> 2298 </attr> 2299 2300 <!-- Boolean internal attribute to adjust view layout based on 2301 system windows such as the status bar. 2302 If true, adjusts the padding of this view to leave space for the system windows. 2303 Will only take effect if this view is in a non-embedded activity. --> 2304 <attr name="fitsSystemWindows" format="boolean" /> 2305 2306 <!-- Defines which scrollbars should be displayed on scrolling or not. --> 2307 <attr name="scrollbars"> 2308 <!-- No scrollbar is displayed. --> 2309 <flag name="none" value="0x00000000" /> 2310 <!-- Displays horizontal scrollbar only. --> 2311 <flag name="horizontal" value="0x00000100" /> 2312 <!-- Displays vertical scrollbar only. --> 2313 <flag name="vertical" value="0x00000200" /> 2314 </attr> 2315 2316 <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or 2317 inset. When inset, they add to the padding of the view. And the 2318 scrollbars can be drawn inside the padding area or on the edge of 2319 the view. For example, if a view has a background drawable and you 2320 want to draw the scrollbars inside the padding specified by the 2321 drawable, you can use insideOverlay or insideInset. If you want them 2322 to appear at the edge of the view, ignoring the padding, then you can 2323 use outsideOverlay or outsideInset.--> 2324 <attr name="scrollbarStyle"> 2325 <!-- Inside the padding and overlaid --> 2326 <enum name="insideOverlay" value="0x0" /> 2327 <!-- Inside the padding and inset --> 2328 <enum name="insideInset" value="0x01000000" /> 2329 <!-- Edge of the view and overlaid --> 2330 <enum name="outsideOverlay" value="0x02000000" /> 2331 <!-- Edge of the view and inset --> 2332 <enum name="outsideInset" value="0x03000000" /> 2333 </attr> 2334 2335 <!-- Set this if the view will serve as a scrolling container, meaning 2336 that it can be resized to shrink its overall window so that there 2337 will be space for an input method. If not set, the default 2338 value will be true if "scrollbars" has the vertical scrollbar 2339 set, else it will be false. --> 2340 <attr name="isScrollContainer" format="boolean" /> 2341 2342 <!-- Defines whether to fade out scrollbars when they are not in use. --> 2343 <attr name="fadeScrollbars" format="boolean" /> 2344 <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. --> 2345 <attr name="scrollbarFadeDuration" format="integer" /> 2346 <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. --> 2347 <attr name="scrollbarDefaultDelayBeforeFade" format="integer" /> 2348 <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. --> 2349 <attr name="scrollbarSize" format="dimension" /> 2350 <!-- Defines the horizontal scrollbar thumb drawable. --> 2351 <attr name="scrollbarThumbHorizontal" format="reference" /> 2352 <!-- Defines the vertical scrollbar thumb drawable. --> 2353 <attr name="scrollbarThumbVertical" format="reference" /> 2354 <!-- Defines the horizontal scrollbar track drawable. --> 2355 <attr name="scrollbarTrackHorizontal" format="reference" /> 2356 <!-- Defines the vertical scrollbar track drawable. --> 2357 <attr name="scrollbarTrackVertical" format="reference" /> 2358 <!-- Defines whether the horizontal scrollbar track should always be drawn. --> 2359 <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" /> 2360 <!-- Defines whether the vertical scrollbar track should always be drawn. --> 2361 <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" /> 2362 2363 <!-- This attribute is ignored in API level 14 2364 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher. 2365 Using fading edges may introduce noticeable performance 2366 degradations and should be used only when required by the application's 2367 visual design. To request fading edges with API level 14 and above, 2368 use the <code>android:requiresFadingEdge</code> attribute instead. --> 2369 <attr name="fadingEdge"> 2370 <!-- No edge is faded. --> 2371 <flag name="none" value="0x00000000" /> 2372 <!-- Fades horizontal edges only. --> 2373 <flag name="horizontal" value="0x00001000" /> 2374 <!-- Fades vertical edges only. --> 2375 <flag name="vertical" value="0x00002000" /> 2376 </attr> 2377 <!-- Defines which edges should be faded on scrolling. --> 2378 <attr name="requiresFadingEdge"> 2379 <!-- No edge is faded. --> 2380 <flag name="none" value="0x00000000" /> 2381 <!-- Fades horizontal edges only. --> 2382 <flag name="horizontal" value="0x00001000" /> 2383 <!-- Fades vertical edges only. --> 2384 <flag name="vertical" value="0x00002000" /> 2385 </attr> 2386 <!-- Defines the length of the fading edges. --> 2387 <attr name="fadingEdgeLength" format="dimension" /> 2388 2389 <!-- Defines the next view to give focus to when the next focus is 2390 {@link android.view.View#FOCUS_LEFT}. 2391 2392 If the reference refers to a view that does not exist or is part 2393 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2394 will result when the reference is accessed.--> 2395 <attr name="nextFocusLeft" format="reference"/> 2396 2397 <!-- Defines the next view to give focus to when the next focus is 2398 {@link android.view.View#FOCUS_RIGHT} 2399 2400 If the reference refers to a view that does not exist or is part 2401 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2402 will result when the reference is accessed.--> 2403 <attr name="nextFocusRight" format="reference"/> 2404 2405 <!-- Defines the next view to give focus to when the next focus is 2406 {@link android.view.View#FOCUS_UP} 2407 2408 If the reference refers to a view that does not exist or is part 2409 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2410 will result when the reference is accessed.--> 2411 <attr name="nextFocusUp" format="reference"/> 2412 2413 <!-- Defines the next view to give focus to when the next focus is 2414 {@link android.view.View#FOCUS_DOWN} 2415 2416 If the reference refers to a view that does not exist or is part 2417 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2418 will result when the reference is accessed.--> 2419 <attr name="nextFocusDown" format="reference"/> 2420 2421 <!-- Defines the next view to give focus to when the next focus is 2422 {@link android.view.View#FOCUS_FORWARD} 2423 2424 If the reference refers to a view that does not exist or is part 2425 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2426 will result when the reference is accessed.--> 2427 <attr name="nextFocusForward" format="reference"/> 2428 2429 <!-- Defines whether this view reacts to click events. --> 2430 <attr name="clickable" format="boolean" /> 2431 2432 <!-- Defines whether this view reacts to long click events. --> 2433 <attr name="longClickable" format="boolean" /> 2434 2435 <!-- Defines whether this view reacts to context click events. --> 2436 <attr name="contextClickable" format="boolean" /> 2437 2438 <!-- If false, no state will be saved for this view when it is being 2439 frozen. The default is true, allowing the view to be saved 2440 (however it also must have an ID assigned to it for its 2441 state to be saved). Setting this to false only disables the 2442 state for this view, not for its children which may still 2443 be saved. --> 2444 <attr name="saveEnabled" format="boolean" /> 2445 2446 <!-- Specifies whether to filter touches when the view's window is obscured by 2447 another visible window. When set to true, the view will not receive touches 2448 whenever a toast, dialog or other window appears above the view's window. 2449 Refer to the {@link android.view.View} security documentation for more details. --> 2450 <attr name="filterTouchesWhenObscured" format="boolean" /> 2451 2452 <!-- Defines the quality of translucent drawing caches. This property is used 2453 only when the drawing cache is enabled and translucent. The default value is auto. --> 2454 <attr name="drawingCacheQuality"> 2455 <!-- Lets the framework decide what quality level should be used 2456 for the drawing cache. --> 2457 <enum name="auto" value="0" /> 2458 <!-- Low quality. When set to low quality, the drawing cache uses a lower color 2459 depth, thus losing precision in rendering gradients, but uses less memory. --> 2460 <enum name="low" value="1" /> 2461 <!-- High quality. When set to high quality, the drawing cache uses a higher 2462 color depth but uses more memory. --> 2463 <enum name="high" value="2" /> 2464 </attr> 2465 2466 <!-- Controls whether the view's window should keep the screen on 2467 while visible. --> 2468 <attr name="keepScreenOn" format="boolean" /> 2469 2470 <!-- When this attribute is set to true, the view gets its drawable state 2471 (focused, pressed, etc.) from its direct parent rather than from itself. --> 2472 <attr name="duplicateParentState" format="boolean" /> 2473 2474 <!-- Defines the minimum height of the view. It is not guaranteed 2475 the view will be able to achieve this minimum height (for example, 2476 if its parent layout constrains it with less available height). --> 2477 <attr name="minHeight" /> 2478 2479 <!-- Defines the minimum width of the view. It is not guaranteed 2480 the view will be able to achieve this minimum width (for example, 2481 if its parent layout constrains it with less available width). --> 2482 <attr name="minWidth" /> 2483 2484 <!-- Boolean that controls whether a view should have sound effects 2485 enabled for events such as clicking and touching. --> 2486 <attr name="soundEffectsEnabled" format="boolean" /> 2487 2488 <!-- Boolean that controls whether a view should have haptic feedback 2489 enabled for events such as long presses. --> 2490 <attr name="hapticFeedbackEnabled" format="boolean" /> 2491 2492 <!-- Defines text that briefly describes content of the view. This property is used 2493 primarily for accessibility. Since some views do not have textual 2494 representation this attribute can be used for providing such. --> 2495 <attr name="contentDescription" format="string" localization="suggested" /> 2496 2497 <!-- Sets the id of a view before which this one is visited in accessibility traversal. 2498 A screen-reader must visit the content of this view before the content of the one 2499 it precedes. 2500 @see android.view.View#setAccessibilityTraversalBefore(int)} --> 2501 <attr name="accessibilityTraversalBefore" format="integer" /> 2502 2503 <!-- Sets the id of a view after which this one is visited in accessibility traversal. 2504 A screen-reader must visit the content of the other view before the content of 2505 this one. 2506 @see android.view.View#setAccessibilityTraversalAfter(int)} --> 2507 <attr name="accessibilityTraversalAfter" format="integer" /> 2508 2509 <!-- Name of the method in this View's context to invoke when the view is 2510 clicked. This name must correspond to a public method that takes 2511 exactly one parameter of type View. For instance, if you specify 2512 <code>android:onClick="sayHello"</code>, you must declare a 2513 <code>public void sayHello(View v)</code> method of your context 2514 (typically, your Activity). --> 2515 <attr name="onClick" format="string" /> 2516 2517 <!-- Defines over-scrolling behavior. This property is used only if the 2518 View is scrollable. Over-scrolling is the ability for the user to 2519 receive feedback when attempting to scroll beyond meaningful content. --> 2520 <attr name="overScrollMode"> 2521 <!-- Always show over-scroll effects, even if the content fits entirely 2522 within the available space. --> 2523 <enum name="always" value="0" /> 2524 <!-- Only show over-scroll effects if the content is large 2525 enough to meaningfully scroll. --> 2526 <enum name="ifContentScrolls" value="1" /> 2527 <!-- Never show over-scroll effects. --> 2528 <enum name="never" value="2" /> 2529 </attr> 2530 2531 <!-- alpha property of the view, as a value between 0 (completely transparent) and 1 2532 (completely opaque). --> 2533 <attr name="alpha" format="float" /> 2534 2535 <!-- base z depth of the view --> 2536 <attr name="elevation" format="dimension" /> 2537 2538 <!-- translation in x of the view. This value is added post-layout to the left 2539 property of the view, which is set by its layout. --> 2540 <attr name="translationX" format="dimension" /> 2541 2542 <!-- translation in y of the view. This value is added post-layout to the top 2543 property of the view, which is set by its layout. --> 2544 <attr name="translationY" format="dimension" /> 2545 2546 <!-- translation in z of the view. This value is added to its elevation. --> 2547 <attr name="translationZ" format="dimension" /> 2548 2549 <!-- x location of the pivot point around which the view will rotate and scale. 2550 This xml attribute sets the pivotX property of the View. --> 2551 <attr name="transformPivotX" format="dimension" /> 2552 2553 <!-- y location of the pivot point around which the view will rotate and scale. 2554 This xml attribute sets the pivotY property of the View. --> 2555 <attr name="transformPivotY" format="dimension" /> 2556 2557 <!-- rotation of the view, in degrees. --> 2558 <attr name="rotation" format="float" /> 2559 2560 <!-- rotation of the view around the x axis, in degrees. --> 2561 <attr name="rotationX" format="float" /> 2562 2563 <!-- rotation of the view around the y axis, in degrees. --> 2564 <attr name="rotationY" format="float" /> 2565 2566 <!-- scale of the view in the x direction. --> 2567 <attr name="scaleX" format="float" /> 2568 2569 <!-- scale of the view in the y direction. --> 2570 <attr name="scaleY" format="float" /> 2571 2572 <!-- Determines which side the vertical scroll bar should be placed on. --> 2573 <attr name="verticalScrollbarPosition"> 2574 <!-- Place the scroll bar wherever the system default determines. --> 2575 <enum name="defaultPosition" value="0" /> 2576 <!-- Place the scroll bar on the left. --> 2577 <enum name="left" value="1" /> 2578 <!-- Place the scroll bar on the right. --> 2579 <enum name="right" value="2" /> 2580 </attr> 2581 2582 <!-- Specifies the type of layer backing this view. The default value is none. 2583 Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)} 2584 for more information.--> 2585 <attr name="layerType"> 2586 <!-- Don't use a layer. --> 2587 <enum name="none" value="0" /> 2588 <!-- Use a software layer. Refer to 2589 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2590 more information. --> 2591 <enum name="software" value="1" /> 2592 <!-- Use a hardware layer. Refer to 2593 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2594 more information. --> 2595 <enum name="hardware" value="2" /> 2596 </attr> 2597 2598 <!-- Defines the direction of layout drawing. This typically is associated with writing 2599 direction of the language script used. The possible values are "ltr" for Left-to-Right, 2600 "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing 2601 to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction 2602 used in "en-US". The default for this attribute is "inherit". --> 2603 <attr name="layoutDirection"> 2604 <!-- Left-to-Right --> 2605 <enum name="ltr" value="0" /> 2606 <!-- Right-to-Left --> 2607 <enum name="rtl" value="1" /> 2608 <!-- Inherit from parent --> 2609 <enum name="inherit" value="2" /> 2610 <!-- Locale --> 2611 <enum name="locale" value="3" /> 2612 </attr> 2613 2614 <!-- Defines the direction of the text. --> 2615 <attr name="textDirection" format="integer"> 2616 <!-- Default --> 2617 <enum name="inherit" value="0" /> 2618 <!-- Default for the root view. The first strong directional character determines the 2619 paragraph direction. If there is no strong directional character, the paragraph 2620 direction is the view’s resolved layout direction. --> 2621 <enum name="firstStrong" value="1" /> 2622 <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise 2623 it is LTR if it contains any strong LTR characters. If there are neither, the 2624 paragraph direction is the view’s resolved layout direction. --> 2625 <enum name="anyRtl" value="2" /> 2626 <!-- The paragraph direction is left to right. --> 2627 <enum name="ltr" value="3" /> 2628 <!-- The paragraph direction is right to left. --> 2629 <enum name="rtl" value="4" /> 2630 <!-- The paragraph direction is coming from the system Locale. --> 2631 <enum name="locale" value="5" /> 2632 <!-- The first strong directional character determines the paragraph direction. If 2633 there is no strong directional character, the paragraph direction is LTR. --> 2634 <enum name="firstStrongLtr" value="6" /> 2635 <!-- The first strong directional character determines the paragraph direction. If 2636 there is no strong directional character, the paragraph direction is RTL. --> 2637 <enum name="firstStrongRtl" value="7" /> 2638 </attr> 2639 2640 <!-- Defines the alignment of the text. --> 2641 <attr name="textAlignment" format="integer"> 2642 <!-- Default --> 2643 <enum name="inherit" value="0" /> 2644 <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, 2645 ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s 2646 text direction --> 2647 <enum name="gravity" value="1" /> 2648 <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. --> 2649 <enum name="textStart" value="2" /> 2650 <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. --> 2651 <enum name="textEnd" value="3" /> 2652 <!-- Center the paragraph, e.g. ALIGN_CENTER. --> 2653 <enum name="center" value="4" /> 2654 <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved 2655 layoutDirection is LTR, and ALIGN_RIGHT otherwise. --> 2656 <enum name="viewStart" value="5" /> 2657 <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved 2658 layoutDirection is LTR, and ALIGN_LEFT otherwise --> 2659 <enum name="viewEnd" value="6" /> 2660 </attr> 2661 2662 <!-- Describes whether or not this view is important for accessibility. 2663 If it is important, the view fires accessibility events and is 2664 reported to accessibility services that query the screen. Note: 2665 While not recommended, an accessibility service may decide to 2666 ignore this attribute and operate on all views in the view tree. --> 2667 <attr name="importantForAccessibility" format="integer"> 2668 <!-- The system determines whether the view is important for accessibility - default 2669 (recommended). --> 2670 <enum name="auto" value="0" /> 2671 <!-- The view is important for accessibility. --> 2672 <enum name="yes" value="1" /> 2673 <!-- The view is not important for accessibility. --> 2674 <enum name="no" value="2" /> 2675 <!-- The view is not important for accessibility, nor are any of its descendant 2676 views. --> 2677 <enum name="noHideDescendants" value="4" /> 2678 </attr> 2679 2680 <!-- Indicates to accessibility services whether the user should be notified when 2681 this view changes. --> 2682 <attr name="accessibilityLiveRegion" format="integer"> 2683 <!-- Accessibility services should not announce changes to this view. --> 2684 <enum name="none" value="0" /> 2685 <!-- Accessibility services should announce changes to this view. --> 2686 <enum name="polite" value="1" /> 2687 <!-- Accessibility services should interrupt ongoing speech to immediately 2688 announce changes to this view. --> 2689 <enum name="assertive" value="2" /> 2690 </attr> 2691 2692 <!-- Specifies the id of a view for which this view serves as a label for 2693 accessibility purposes. For example, a TextView before an EditText in 2694 the UI usually specifies what infomation is contained in the EditText. 2695 Hence, the TextView is a label for the EditText. --> 2696 <attr name="labelFor" format="reference" /> 2697 2698 <!-- Specifies a theme override for a view. When a theme override is set, the 2699 view will be inflated using a {@link android.content.Context} themed with 2700 the specified resource. During XML inflation, any child views under the 2701 view with a theme override will inherit the themed context. --> 2702 <attr name="theme" /> 2703 2704 <!-- Names a View such that it can be identified for Transitions. Names should be 2705 unique in the View hierarchy. --> 2706 <attr name="transitionName" format="string" /> 2707 2708 <!-- Specifies that this view should permit nested scrolling within a compatible 2709 ancestor view. --> 2710 <attr name="nestedScrollingEnabled" format="boolean" /> 2711 2712 <!-- Sets the state-based animator for the View. --> 2713 <attr name="stateListAnimator" format="reference"/> 2714 2715 <!-- Tint to apply to the background. --> 2716 <attr name="backgroundTint" format="color" /> 2717 2718 <!-- Blending mode used to apply the background tint. --> 2719 <attr name="backgroundTintMode"> 2720 <!-- The tint is drawn on top of the drawable. 2721 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2722 <enum name="src_over" value="3" /> 2723 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2724 color channels are thrown out. [Sa * Da, Sc * Da] --> 2725 <enum name="src_in" value="5" /> 2726 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2727 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2728 <enum name="src_atop" value="9" /> 2729 <!-- Multiplies the color and alpha channels of the drawable with those of 2730 the tint. [Sa * Da, Sc * Dc] --> 2731 <enum name="multiply" value="14" /> 2732 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2733 <enum name="screen" value="15" /> 2734 <!-- Combines the tint and drawable color and alpha channels, clamping the 2735 result to valid color values. Saturate(S + D) --> 2736 <enum name="add" value="16" /> 2737 </attr> 2738 2739 <!-- ViewOutlineProvider used to determine the View's Outline. --> 2740 <attr name="outlineProvider"> 2741 <!-- Default, background drawable-driven outline. --> 2742 <enum name="background" value="0" /> 2743 <!-- No outline provider. --> 2744 <enum name="none" value="1" /> 2745 <!-- Generates an opaque outline for the bounds of the view. --> 2746 <enum name="bounds" value="2" /> 2747 <!-- Generates an opaque outline for the padded bounds of the view. --> 2748 <enum name="paddedBounds" value="3" /> 2749 </attr> 2750 2751 <!-- Defines the drawable to draw over the content. This can be used as an overlay. 2752 The foreground drawable participates in the padding of the content if the gravity 2753 is set to fill. --> 2754 <attr name="foreground" format="reference|color" /> 2755 <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults 2756 to fill. --> 2757 <attr name="foregroundGravity"> 2758 <!-- Push object to the top of its container, not changing its size. --> 2759 <flag name="top" value="0x30" /> 2760 <!-- Push object to the bottom of its container, not changing its size. --> 2761 <flag name="bottom" value="0x50" /> 2762 <!-- Push object to the left of its container, not changing its size. --> 2763 <flag name="left" value="0x03" /> 2764 <!-- Push object to the right of its container, not changing its size. --> 2765 <flag name="right" value="0x05" /> 2766 <!-- Place object in the vertical center of its container, not changing its size. --> 2767 <flag name="center_vertical" value="0x10" /> 2768 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 2769 <flag name="fill_vertical" value="0x70" /> 2770 <!-- Place object in the horizontal center of its container, not changing its size. --> 2771 <flag name="center_horizontal" value="0x01" /> 2772 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 2773 <flag name="fill_horizontal" value="0x07" /> 2774 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 2775 <flag name="center" value="0x11" /> 2776 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 2777 <flag name="fill" value="0x77" /> 2778 <!-- Additional option that can be set to have the top and/or bottom edges of 2779 the child clipped to its container's bounds. 2780 The clip will be based on the vertical gravity: a top gravity will clip the bottom 2781 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 2782 <flag name="clip_vertical" value="0x80" /> 2783 <!-- Additional option that can be set to have the left and/or right edges of 2784 the child clipped to its container's bounds. 2785 The clip will be based on the horizontal gravity: a left gravity will clip the right 2786 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 2787 <flag name="clip_horizontal" value="0x08" /> 2788 </attr> 2789 <!-- Defines whether the foreground drawable should be drawn inside the padding. 2790 This property is turned on by default. --> 2791 <attr name="foregroundInsidePadding" format="boolean" /> 2792 <!-- Tint to apply to the foreground. --> 2793 <attr name="foregroundTint" format="color" /> 2794 <!-- Blending mode used to apply the foreground tint. --> 2795 <attr name="foregroundTintMode"> 2796 <!-- The tint is drawn on top of the drawable. 2797 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2798 <enum name="src_over" value="3" /> 2799 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2800 color channels are thrown out. [Sa * Da, Sc * Da] --> 2801 <enum name="src_in" value="5" /> 2802 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2803 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2804 <enum name="src_atop" value="9" /> 2805 <!-- Multiplies the color and alpha channels of the drawable with those of 2806 the tint. [Sa * Da, Sc * Dc] --> 2807 <enum name="multiply" value="14" /> 2808 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2809 <enum name="screen" value="15" /> 2810 <!-- Combines the tint and drawable color and alpha channels, clamping the 2811 result to valid color values. Saturate(S + D) --> 2812 <enum name="add" value="16" /> 2813 </attr> 2814 2815 <!-- Defines which scroll indicators should be displayed when the view 2816 can be scrolled. Multiple values may be combined using logical OR, 2817 for example "top|bottom". --> 2818 <attr name="scrollIndicators"> 2819 <!-- No scroll indicators are displayed. --> 2820 <flag name="none" value="0x00" /> 2821 <!-- Displays top scroll indicator when view can be scrolled up. --> 2822 <flag name="top" value="0x01" /> 2823 <!-- Displays bottom scroll indicator when vew can be scrolled down. --> 2824 <flag name="bottom" value="0x02" /> 2825 <!-- Displays left scroll indicator when vew can be scrolled left. --> 2826 <flag name="left" value="0x04" /> 2827 <!-- Displays right scroll indicator when vew can be scrolled right. --> 2828 <flag name="right" value="0x08" /> 2829 <!-- Displays right scroll indicator when vew can be scrolled in the 2830 start direction. --> 2831 <flag name="start" value="0x10" /> 2832 <!-- Displays right scroll indicator when vew can be scrolled in the 2833 end direction. --> 2834 <flag name="end" value="0x20" /> 2835 </attr> 2836 2837 <attr name="pointerIcon"> 2838 <!-- Null icon, pointer becomes invisible. --> 2839 <enum name="none" value="0" /> 2840 <!-- The default icon of arrow pointer. --> 2841 <enum name="arrow" value="1000" /> 2842 <!-- Pointer icon indicating context-menu will appear. --> 2843 <enum name="context_menu" value="1001" /> 2844 <!-- Pointer icon of a hand with the index finger. --> 2845 <enum name="hand" value="1002" /> 2846 <!-- Pointer icon indicating help. --> 2847 <enum name="help" value="1003" /> 2848 <!-- Pointer icon indicating something is going on and waiting. --> 2849 <enum name="wait" value="1004" /> 2850 <!-- Pointer icon for cell and grid. --> 2851 <enum name="cell" value="1006" /> 2852 <!-- Pointer icon of crosshair, indicating to spot a location. --> 2853 <enum name="crosshair" value="1007" /> 2854 <!-- Pointer icon of I-beam, usually for text. --> 2855 <enum name="text" value="1008" /> 2856 <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. --> 2857 <enum name="vertical_text" value="1009" /> 2858 <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be 2859 created. --> 2860 <enum name="alias" value="1010" /> 2861 <!-- Pointer icon of 'copy', used for drag/drop. --> 2862 <enum name="copy" value="1011" /> 2863 <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the 2864 current location. --> 2865 <enum name="no_drop" value="1012" /> 2866 <!-- Pointer icon of four-way arrows, indicating scrolling all direction. --> 2867 <enum name="all_scroll" value="1013" /> 2868 <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. --> 2869 <enum name="horizontal_double_arrow" value="1014" /> 2870 <!-- Pointer icon of vertical double arrow, indicating vertical resize. --> 2871 <enum name="vertical_double_arrow" value="1015" /> 2872 <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left. 2873 Indicating freeform resize. --> 2874 <enum name="top_right_diagonal_double_arrow" value="1016" /> 2875 <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right. 2876 Indicating freeform resize. --> 2877 <enum name="top_left_diagonal_double_arrow" value="1017" /> 2878 <!-- Pointer icon indicating zoom-in. --> 2879 <enum name="zoom_in" value="1018" /> 2880 <!-- Pointer icon indicating zoom-out. --> 2881 <enum name="zoom_out" value="1019" /> 2882 <!-- Pointer icon of a hand sign to grab something. --> 2883 <enum name="grab" value="1020" /> 2884 <!-- Pointer icon of a hand sign while grabbing something. --> 2885 <enum name="grabbing" value="1021" /> 2886 </attr> 2887 2888 <!-- Whether this view has elements that may overlap when drawn. See 2889 {@link android.view.View#forceHasOverlappingRendering(boolean)}. --> 2890 <attr name="forceHasOverlappingRendering" format="boolean" /> 2891 2892 <!-- Defines text displayed in a small popup window on hover or long press. --> 2893 <attr name="tooltipText" format="string" localization="suggested" /> 2894 2895 <!-- Whether this view is a root of a keyboard navigation cluster. 2896 See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. --> 2897 <attr name="keyboardNavigationCluster" format="boolean" /> 2898 2899 <!-- Whether this view is a root of a keyboard navigation section. 2900 See {@link android.view.View#setKeyboardNavigationSection(boolean)}. --> 2901 <attr name="keyboardNavigationSection" format="boolean" /> 2902 2903 <!-- Defines the next keyboard navigation cluster. 2904 2905 If the reference refers to a view that does not exist or is part 2906 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2907 will result when the reference is accessed.--> 2908 <attr name="nextClusterForward" format="reference"/> 2909 2910 <!-- Defines the next keyboard navigation section. 2911 2912 If the reference refers to a view that does not exist or is part 2913 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2914 will result when the reference is accessed.--> 2915 <attr name="nextSectionForward" format="reference"/> 2916 2917 <!-- Whether this view is a default-focus view. 2918 Only one view per keyboard navigation cluster can have this attribute set to true. 2919 See {@link android.view.View#setFocusedByDefault(boolean)}. --> 2920 <attr name="focusedByDefault" format="boolean" /> 2921 2922 </declare-styleable> 2923 2924 <!-- Attributes that can be assigned to a tag for a particular View. --> 2925 <declare-styleable name="ViewTag"> 2926 <!-- Specifies the key identifying a tag. This must be a resource reference. --> 2927 <attr name="id" /> 2928 <!-- Specifies the value with which to tag the view. --> 2929 <attr name="value" /> 2930 </declare-styleable> 2931 2932 <!-- Attributes that can be assigned to an <include> tag. 2933 @hide --> 2934 <declare-styleable name="Include"> 2935 <attr name="id" /> 2936 <attr name="visibility" /> 2937 </declare-styleable> 2938 2939 <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any 2940 of its subclasses. Also see {@link #ViewGroup_Layout} for 2941 attributes that this class processes in its children. --> 2942 <declare-styleable name="ViewGroup"> 2943 <!-- Defines whether changes in layout (caused by adding and removing items) should 2944 cause a LayoutTransition to run. When this flag is set to true, a default 2945 LayoutTransition object will be set on the ViewGroup container and default 2946 animations will run when these layout changes occur.--> 2947 <attr name="animateLayoutChanges" format="boolean" /> 2948 <!-- Defines whether a child is limited to draw inside of its bounds or not. 2949 This is useful with animations that scale the size of the children to more 2950 than 100% for instance. In such a case, this property should be set to false 2951 to allow the children to draw outside of their bounds. The default value of 2952 this property is true. --> 2953 <attr name="clipChildren" format="boolean" /> 2954 <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any 2955 EdgeEffect to its padding, if padding is not zero. This property is set to true by 2956 default. --> 2957 <attr name="clipToPadding" format="boolean" /> 2958 <!-- Defines the layout animation to use the first time the ViewGroup is laid out. 2959 Layout animations can also be started manually after the first layout. --> 2960 <attr name="layoutAnimation" format="reference" /> 2961 <!-- Defines whether layout animations should create a drawing cache for their 2962 children. Enabling the animation cache consumes more memory and requires 2963 a longer initialization but provides better performance. The animation 2964 cache is enabled by default. --> 2965 <attr name="animationCache" format="boolean" /> 2966 <!-- Defines the persistence of the drawing cache. The drawing cache might be 2967 enabled by a ViewGroup for all its children in specific situations (for 2968 instance during a scrolling.) This property lets you persist the cache 2969 in memory after its initial usage. Persisting the cache consumes more 2970 memory but may prevent frequent garbage collection is the cache is created 2971 over and over again. By default the persistence is set to scrolling. --> 2972 <attr name="persistentDrawingCache"> 2973 <!-- The drawing cache is not persisted after use. --> 2974 <flag name="none" value="0x0" /> 2975 <!-- The drawing cache is persisted after a layout animation. --> 2976 <flag name="animation" value="0x1" /> 2977 <!-- The drawing cache is persisted after a scroll. --> 2978 <flag name="scrolling" value="0x2" /> 2979 <!-- The drawing cache is always persisted. --> 2980 <flag name="all" value="0x3" /> 2981 </attr> 2982 <!-- Defines whether the ViewGroup should always draw its children using their 2983 drawing cache or not. The default value is true. --> 2984 <attr name="alwaysDrawnWithCache" format="boolean" /> 2985 <!-- Sets whether this ViewGroup's drawable states also include 2986 its children's drawable states. This is used, for example, to 2987 make a group appear to be focused when its child EditText or button 2988 is focused. --> 2989 <attr name="addStatesFromChildren" format="boolean" /> 2990 2991 <!-- Defines the relationship between the ViewGroup and its descendants 2992 when looking for a View to take focus. --> 2993 <attr name="descendantFocusability"> 2994 <!-- The ViewGroup will get focus before any of its descendants. --> 2995 <enum name="beforeDescendants" value="0" /> 2996 <!-- The ViewGroup will get focus only if none of its descendants want it. --> 2997 <enum name="afterDescendants" value="1" /> 2998 <!-- The ViewGroup will block its descendants from receiving focus. --> 2999 <enum name="blocksDescendants" value="2" /> 3000 </attr> 3001 3002 <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. --> 3003 <attr name="touchscreenBlocksFocus" format="boolean" /> 3004 3005 <!-- Sets whether this ViewGroup should split MotionEvents 3006 to separate child views during touch event dispatch. 3007 If false (default), touch events will be dispatched to 3008 the child view where the first pointer went down until 3009 the last pointer goes up. 3010 If true, touch events may be dispatched to multiple children. 3011 MotionEvents for each pointer will be dispatched to the child 3012 view where the initial ACTION_DOWN event happened. 3013 See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)} 3014 for more information. --> 3015 <attr name="splitMotionEvents" format="boolean" /> 3016 3017 <!-- Defines the layout mode of this ViewGroup. --> 3018 <attr name="layoutMode"> 3019 <!-- Use the children's clip bounds when laying out this container. --> 3020 <enum name="clipBounds" value="0" /> 3021 <!-- Use the children's optical bounds when laying out this container. --> 3022 <enum name="opticalBounds" value="1" /> 3023 </attr> 3024 3025 <!-- Sets whether or not this ViewGroup should be treated as a single entity 3026 when doing an Activity transition. Typically, the elements inside a 3027 ViewGroup are each transitioned from the scene individually. The default 3028 for a ViewGroup is false unless it has a background. See 3029 {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity, 3030 android.view.View, String)} for more information. Corresponds to 3031 {@link android.view.ViewGroup#setTransitionGroup(boolean)}.--> 3032 <attr name="transitionGroup" format="boolean" /> 3033 </declare-styleable> 3034 3035 <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts 3036 inside your application at runtime. --> 3037 <declare-styleable name="ViewStub"> 3038 <!-- Supply an identifier name for this view. --> 3039 <attr name="id" /> 3040 <!-- Supply an identifier for the layout resource to inflate when the ViewStub 3041 becomes visible or when forced to do so. The layout resource must be a 3042 valid reference to a layout. --> 3043 <attr name="layout" format="reference" /> 3044 <!-- Overrides the id of the inflated View with this value. --> 3045 <attr name="inflatedId" format="reference" /> 3046 </declare-styleable> 3047 3048 <!-- ===================================== --> 3049 <!-- View package parent layout attributes --> 3050 <!-- ===================================== --> 3051 <eat-comment /> 3052 3053 <!-- This is the basic set of layout attributes that are common to all 3054 layout managers. These attributes are specified with the rest of 3055 a view's normal attributes (such as {@link android.R.attr#background}, 3056 but will be parsed by the view's parent and ignored by the child. 3057 <p>The values defined here correspond to the base layout attribute 3058 class {@link android.view.ViewGroup.LayoutParams}. --> 3059 <declare-styleable name="ViewGroup_Layout"> 3060 <!-- Specifies the basic width of the view. This is a required attribute 3061 for any view inside of a containing layout manager. Its value may 3062 be a dimension (such as "12dip") for a constant width or one of 3063 the special constants. --> 3064 <attr name="layout_width" format="dimension"> 3065 <!-- The view should be as big as its parent (minus padding). 3066 This constant is deprecated starting from API Level 8 and 3067 is replaced by {@code match_parent}. --> 3068 <enum name="fill_parent" value="-1" /> 3069 <!-- The view should be as big as its parent (minus padding). 3070 Introduced in API Level 8. --> 3071 <enum name="match_parent" value="-1" /> 3072 <!-- The view should be only big enough to enclose its content (plus padding). --> 3073 <enum name="wrap_content" value="-2" /> 3074 </attr> 3075 3076 <!-- Specifies the basic height of the view. This is a required attribute 3077 for any view inside of a containing layout manager. Its value may 3078 be a dimension (such as "12dip") for a constant height or one of 3079 the special constants. --> 3080 <attr name="layout_height" format="dimension"> 3081 <!-- The view should be as big as its parent (minus padding). 3082 This constant is deprecated starting from API Level 8 and 3083 is replaced by {@code match_parent}. --> 3084 <enum name="fill_parent" value="-1" /> 3085 <!-- The view should be as big as its parent (minus padding). 3086 Introduced in API Level 8. --> 3087 <enum name="match_parent" value="-1" /> 3088 <!-- The view should be only big enough to enclose its content (plus padding). --> 3089 <enum name="wrap_content" value="-2" /> 3090 </attr> 3091 </declare-styleable> 3092 3093 <!-- This is the basic set of layout attributes for layout managers that 3094 wish to place margins around their child views. 3095 These attributes are specified with the rest of 3096 a view's normal attributes (such as {@link android.R.attr#background}, 3097 but will be parsed by the view's parent and ignored by the child. 3098 <p>The values defined here correspond to the base layout attribute 3099 class {@link android.view.ViewGroup.MarginLayoutParams}. --> 3100 <declare-styleable name="ViewGroup_MarginLayout"> 3101 <attr name="layout_width" /> 3102 <attr name="layout_height" /> 3103 <!-- Specifies extra space on the left, top, right and bottom 3104 sides of this view. If both layout_margin and any of layout_marginLeft, 3105 layout_marginRight, layout_marginStart, layout_marginEnd, 3106 layout_marginTop, and layout_marginBottom are 3107 also specified, the layout_margin value will take precedence over the 3108 edge-specific values. This space is outside this view's bounds. 3109 Margin values should be positive. --> 3110 <attr name="layout_margin" format="dimension" /> 3111 <!-- Specifies extra space on the left side of this view. 3112 This space is outside this view's bounds. 3113 Margin values should be positive. --> 3114 <attr name="layout_marginLeft" format="dimension" /> 3115 <!-- Specifies extra space on the top side of this view. 3116 This space is outside this view's bounds. 3117 Margin values should be positive.--> 3118 <attr name="layout_marginTop" format="dimension" /> 3119 <!-- Specifies extra space on the right side of this view. 3120 This space is outside this view's bounds. 3121 Margin values should be positive.--> 3122 <attr name="layout_marginRight" format="dimension" /> 3123 <!-- Specifies extra space on the bottom side of this view. 3124 This space is outside this view's bounds. 3125 Margin values should be positive.--> 3126 <attr name="layout_marginBottom" format="dimension" /> 3127 <!-- Specifies extra space on the start side of this view. 3128 This space is outside this view's bounds. 3129 Margin values should be positive.--> 3130 <attr name="layout_marginStart" format="dimension" /> 3131 <!-- Specifies extra space on the end side of this view. 3132 This space is outside this view's bounds. 3133 Margin values should be positive.--> 3134 <attr name="layout_marginEnd" format="dimension" /> 3135 <!-- Specifies extra space on the left and right sides of this view. 3136 Specifying layout_marginHorizontal is equivalent to specifying 3137 either layout_marginLeft and layout_marginRight or 3138 layout_marginStart and layout_marginEnd with that same value. 3139 If both layout_marginHorizontal and any of layout_marginLeft, 3140 layout_marginRight, layout_marginStart, and layout_marginEnd are 3141 also specified, the layout_marginHorizontal value will take precedence over the 3142 edge-specific values. Also, layout_margin will always take precendent over 3143 any of these values, including layout_marginHorizontal. 3144 This space is outside this view's bounds. 3145 Margin values should be positive.--> 3146 <attr name="layout_marginHorizontal" format="dimension" /> 3147 <!-- Specifies extra space on the tyop and bottom sides of this view. 3148 Specifying layout_marginVertical is equivalent to specifying 3149 layout_marginTop and layout_marginBottom with that same value. 3150 If both layout_marginVertical and either/both layout_marginTop and 3151 layout_marginBottom are also specified, the layout_marginVertical value 3152 will take precedence over the edge-specific values. 3153 Also, layout_margin will always take precendent over 3154 any of these values, including layout_marginHorizontal. 3155 This space is outside this view's bounds. 3156 Margin values should be positive.--> 3157 <attr name="layout_marginVertical" format="dimension" /> 3158 </declare-styleable> 3159 3160 <!-- Use <code>input-method</code> as the root tag of the XML resource that 3161 describes an 3162 {@link android.view.inputmethod.InputMethod} service, which is 3163 referenced from its 3164 {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA} 3165 meta-data entry. Described here are the attributes that can be 3166 included in that tag. --> 3167 <declare-styleable name="InputMethod"> 3168 <!-- Component name of an activity that allows the user to modify 3169 the settings for this service. --> 3170 <attr name="settingsActivity" format="string" /> 3171 <!-- Set to true in all of the configurations for which this input 3172 method should be considered an option as the default. --> 3173 <attr name="isDefault" format="boolean" /> 3174 <!-- Set to true if this input method supports ways to switch to 3175 a next input method (e.g. a globe key.). When this is true and 3176 InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true, 3177 the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod() 3178 accordingly. 3179 <p> Note that the system determines the most appropriate next input method 3180 and subtype in order to provide the consistent user experience in switching 3181 between IMEs and subtypes. --> 3182 <attr name="supportsSwitchingToNextInputMethod" format="boolean" /> 3183 <!-- Set to true if this input method supports ways to dismiss the windows assigned to 3184 the input method (e.g. a dismiss button rendered by the input method itself). The 3185 System UI may optimize the UI by not showing system-level dismiss button if this 3186 value is true. 3187 <p> Must be a boolean value, either "true" or "false". The default value is "false". 3188 <p> This may also be a reference to a resource (in the form "@[package:]type:name") 3189 or theme attribute (in the form "?[package:]type:name") containing a value of this 3190 type. 3191 <p> A UI element that dismisses the input method window should report 3192 {@link android.view.accessibility.AccessibilityNodeInfo#ACTION_DISMISS} action, so 3193 that accessibility services can handle it accordingly. --> 3194 <attr name="supportsDismissingWindow" format="boolean" /> 3195 </declare-styleable> 3196 3197 <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...) 3198 and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows 3199 the system to call the specified subtype of the IME directly. --> 3200 <declare-styleable name="InputMethod_Subtype"> 3201 <!-- The name of the subtype. --> 3202 <attr name="label" /> 3203 <!-- The icon of the subtype. --> 3204 <attr name="icon" /> 3205 <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) 3206 and will be passed to the IME when the framework calls the IME 3207 with the subtype. This is also used by the framework to know the supported locales 3208 of the IME. --> 3209 <attr name="imeSubtypeLocale" format="string" /> 3210 <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this 3211 string will be passed to the IME when the framework calls the IME with the 3212 subtype. {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the 3213 value specified in this attribute. --> 3214 <attr name="imeSubtypeMode" format="string" /> 3215 <!-- Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the 3216 input method selection list in the settings app. 3217 InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it 3218 chooses a target subtype. --> 3219 <attr name="isAuxiliary" format="boolean" /> 3220 <!-- Set true when this subtype should be selected by default if no other subtypes are 3221 selected explicitly. Note that a subtype with this parameter being true will 3222 not be shown in the subtypes list. --> 3223 <attr name="overridesImplicitlyEnabledSubtype" format="boolean" /> 3224 <!-- The extra value of the subtype. This string can be any string and will be passed to 3225 the IME when the framework calls the IME with the subtype. --> 3226 <attr name="imeSubtypeExtraValue" format="string" /> 3227 <!-- The unique id for the subtype. The input method framework keeps track of enabled 3228 subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even 3229 if other attributes are different. If the ID is unspecified (by calling the other 3230 constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue, 3231 isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. --> 3232 <attr name="subtypeId" format="integer"/> 3233 <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII 3234 capable, it should guarantee that the user can input ASCII characters with 3235 this subtype. This is important because many password fields only allow 3236 ASCII-characters. --> 3237 <attr name="isAsciiCapable" format="boolean" /> 3238 <!-- The BCP-47 Language Tag of the subtype. This replaces 3239 {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}. --> 3240 <attr name="languageTag" format="string" /> 3241 </declare-styleable> 3242 3243 <!-- Use <code>spell-checker</code> as the root tag of the XML resource that 3244 describes an 3245 {@link android.service.textservice.SpellCheckerService} service, which is 3246 referenced from its 3247 {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA} 3248 meta-data entry. Described here are the attributes that can be 3249 included in that tag. --> 3250 <declare-styleable name="SpellChecker"> 3251 <!-- The name of the spell checker. --> 3252 <attr name="label" /> 3253 <!-- Component name of an activity that allows the user to modify 3254 the settings for this service. --> 3255 <attr name="settingsActivity"/> 3256 </declare-styleable> 3257 3258 <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) --> 3259 <declare-styleable name="SpellChecker_Subtype"> 3260 <!-- The name of the subtype. --> 3261 <attr name="label" /> 3262 <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) 3263 This is also used by the framework to know the supported locales 3264 of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()} 3265 returns the value specified in this attribute. --> 3266 <attr name="subtypeLocale" format="string" /> 3267 <!-- The extra value of the subtype. This string can be any string and will be passed to 3268 the SpellChecker. --> 3269 <attr name="subtypeExtraValue" format="string" /> 3270 <!-- The unique id for the subtype. The text service (spell checker) framework keeps track 3271 of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs 3272 will stay enabled even if other attributes are different. If the ID is unspecified or 3273 or explicitly specified to 0 in XML resources, 3274 {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue}) will be used instead. 3275 --> 3276 <attr name="subtypeId" /> 3277 <!-- The BCP-47 Language Tag of the subtype. This replaces 3278 {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}. --> 3279 <attr name="languageTag" /> 3280 </declare-styleable> 3281 3282 <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that 3283 describes an {@link android.accessibilityservice.AccessibilityService} service, 3284 which is referenced from its 3285 {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA} 3286 meta-data entry. --> 3287 <declare-styleable name="AccessibilityService"> 3288 <!-- The event types this serivce would like to receive as specified in 3289 {@link android.view.accessibility.AccessibilityEvent}. This setting 3290 can be changed at runtime by calling 3291 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3292 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3293 <attr name="accessibilityEventTypes"> 3294 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.--> 3295 <flag name="typeViewClicked" value="0x00000001" /> 3296 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. --> 3297 <flag name="typeViewLongClicked" value="0x00000002" /> 3298 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. --> 3299 <flag name="typeViewSelected" value="0x00000004" /> 3300 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. --> 3301 <flag name="typeViewFocused" value="0x00000008" /> 3302 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. --> 3303 <flag name="typeViewTextChanged" value="0x00000010" /> 3304 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. --> 3305 <flag name="typeWindowStateChanged" value="0x00000020" /> 3306 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. --> 3307 <flag name="typeNotificationStateChanged" value="0x00000040" /> 3308 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. --> 3309 <flag name="typeViewHoverEnter" value="0x00000080" /> 3310 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. --> 3311 <flag name="typeViewHoverExit" value="0x00000100" /> 3312 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. --> 3313 <flag name="typeTouchExplorationGestureStart" value="0x00000200" /> 3314 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. --> 3315 <flag name="typeTouchExplorationGestureEnd" value="0x00000400" /> 3316 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. --> 3317 <flag name="typeWindowContentChanged" value="0x00000800" /> 3318 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. --> 3319 <flag name="typeViewScrolled" value="0x000001000" /> 3320 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. --> 3321 <flag name="typeViewTextSelectionChanged" value="0x000002000" /> 3322 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. --> 3323 <flag name="typeAnnouncement" value="0x00004000" /> 3324 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. --> 3325 <flag name="typeViewAccessibilityFocused" value="0x00008000" /> 3326 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. --> 3327 <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" /> 3328 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. --> 3329 <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" /> 3330 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. --> 3331 <flag name="typeGestureDetectionStart" value="0x00040000" /> 3332 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. --> 3333 <flag name="typeGestureDetectionEnd" value="0x00080000" /> 3334 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. --> 3335 <flag name="typeTouchInteractionStart" value="0x00100000" /> 3336 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. --> 3337 <flag name="typeTouchInteractionEnd" value="0x00200000" /> 3338 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. --> 3339 <flag name="typeWindowsChanged" value="0x00400000" /> 3340 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. --> 3341 <flag name="typeContextClicked" value="0x00800000" /> 3342 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. --> 3343 <flag name="typeAssistReadingContext" value="0x01000000" /> 3344 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. --> 3345 <flag name="typeAllMask" value="0xffffffff" /> 3346 </attr> 3347 <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages). 3348 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3349 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3350 <attr name="packageNames" format="string" /> 3351 <!-- The feedback types this serivce provides as specified in 3352 {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting 3353 can be changed at runtime by calling 3354 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3355 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3356 <attr name="accessibilityFeedbackType"> 3357 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. --> 3358 <flag name="feedbackSpoken" value="0x00000001" /> 3359 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. --> 3360 <flag name="feedbackHaptic" value="0x00000002" /> 3361 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. --> 3362 <flag name="feedbackAudible" value="0x00000004" /> 3363 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. --> 3364 <flag name="feedbackVisual" value="0x00000008" /> 3365 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. --> 3366 <flag name="feedbackGeneric" value="0x00000010" /> 3367 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. --> 3368 <flag name="feedbackAllMask" value="0xffffffff" /> 3369 </attr> 3370 <!-- The minimal period in milliseconds between two accessibility events of the same type 3371 are sent to this serivce. This setting can be changed at runtime by calling 3372 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3373 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3374 <attr name="notificationTimeout" format="integer" /> 3375 <!-- Additional flags as specified in 3376 {@link android.accessibilityservice.AccessibilityServiceInfo}. 3377 This setting can be changed at runtime by calling 3378 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3379 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3380 <attr name="accessibilityFlags"> 3381 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} --> 3382 <flag name="flagDefault" value="0x00000001" /> 3383 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} --> 3384 <flag name="flagIncludeNotImportantViews" value="0x00000002" /> 3385 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} --> 3386 <flag name="flagRequestTouchExplorationMode" value="0x00000004" /> 3387 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} --> 3388 <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" /> 3389 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} --> 3390 <flag name="flagReportViewIds" value="0x00000010" /> 3391 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} --> 3392 <flag name="flagRequestFilterKeyEvents" value="0x00000020" /> 3393 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} --> 3394 <flag name="flagRetrieveInteractiveWindows" value="0x00000040" /> 3395 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME} --> 3396 <flag name="flagEnableAccessibilityVolume" value="0x00000080" /> 3397 </attr> 3398 <!-- Component name of an activity that allows the user to modify 3399 the settings for this service. This setting cannot be changed at runtime. --> 3400 <attr name="settingsActivity" /> 3401 <!-- Attribute whether the accessibility service wants to be able to retrieve the 3402 active window content. This setting cannot be changed at runtime. --> 3403 <attr name="canRetrieveWindowContent" format="boolean" /> 3404 <!-- Attribute whether the accessibility service wants to be able to request touch 3405 exploration mode in which touched items are spoken aloud and the UI can be 3406 explored via gestures. 3407 <p> 3408 Required to allow setting the {@link android.accessibilityservice 3409 #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag. 3410 </p> 3411 --> 3412 <attr name="canRequestTouchExplorationMode" format="boolean" /> 3413 <!-- Attribute whether the accessibility service wants to be able to request enhanced 3414 web accessibility enhancements. For example, installing scripts to make app 3415 content more accessible. 3416 <p> 3417 Required to allow setting the {@link android.accessibilityservice 3418 #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag. 3419 </p> 3420 --> 3421 <attr name="canRequestEnhancedWebAccessibility" format="boolean" /> 3422 <!-- Attribute whether the accessibility service wants to be able to request to 3423 filter key events. 3424 <p> 3425 Required to allow setting the {@link android.accessibilityservice 3426 #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag. 3427 </p> 3428 --> 3429 <attr name="canRequestFilterKeyEvents" format="boolean" /> 3430 <!-- Attribute whether the accessibility service wants to be able to control 3431 display magnification. 3432 <p> 3433 Required to allow setting the {@link android.accessibilityservice 3434 #AccessibilityServiceInfo#FLAG_CAN_CONTROL_MAGNIFICATION} flag. 3435 </p> 3436 --> 3437 <attr name="canControlMagnification" format="boolean" /> 3438 <!-- Attribute whether the accessibility service wants to be able to perform gestures. 3439 <p> 3440 Required to allow setting the {@link android.accessibilityservice 3441 #AccessibilityServiceInfo#FLAG_CAN_PERFORM_GESTURES} flag. 3442 </p> 3443 --> 3444 <attr name="canPerformGestures" format="boolean" /> 3445 <!-- Short description of the accessibility service purpose or behavior.--> 3446 <attr name="description" /> 3447 </declare-styleable> 3448 3449 <!-- Use <code>print-service</code> as the root tag of the XML resource that 3450 describes an {@link android.printservice.PrintService} service, which is 3451 referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA} 3452 meta-data entry. --> 3453 <declare-styleable name="PrintService"> 3454 <!-- Fully qualified class name of an activity that allows the user to modify 3455 the settings for this service. --> 3456 <attr name="settingsActivity" /> 3457 <!-- Fully qualified class name of an activity that allows the user to manually 3458 add printers to this print service. --> 3459 <attr name="addPrintersActivity" format="string"/> 3460 <!-- Fully qualified class name of an activity with advanced print options 3461 specific to this print service. --> 3462 <attr name="advancedPrintOptionsActivity" format="string"/> 3463 <!-- The vendor name if this print service is vendor specific. --> 3464 <attr name="vendor" format="string"/> 3465 </declare-styleable> 3466 3467 <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that 3468 describes an {@link android.nfc.cardemulation.HostApduService} service, which 3469 is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA} 3470 entry. --> 3471 <declare-styleable name="HostApduService"> 3472 <!-- Short description of the functionality the service implements. This attribute 3473 is mandatory.--> 3474 <attr name="description" /> 3475 <!-- Whether the device must be unlocked before routing data to this service. 3476 The default is false.--> 3477 <attr name="requireDeviceUnlock" format="boolean"/> 3478 <!-- A drawable that can be rendered in Android's system UI for representing 3479 the service. --> 3480 <attr name="apduServiceBanner" format="reference"/> 3481 <!-- Component name of an activity that allows the user to modify 3482 the settings for this service. --> 3483 <attr name="settingsActivity"/> 3484 </declare-styleable> 3485 3486 <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that 3487 describes an {@link android.nfc.cardemulation.OffHostApduService} 3488 service, which is referenced from its 3489 {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. --> 3490 <declare-styleable name="OffHostApduService"> 3491 <!-- Short description of the functionality the service implements. This attribute 3492 is mandatory.--> 3493 <attr name="description" /> 3494 <!-- A drawable that can be rendered in Android's system UI for representing 3495 the service. --> 3496 <attr name="apduServiceBanner"/> 3497 <!-- Component name of an activity that allows the user to modify 3498 the settings for this service. --> 3499 <attr name="settingsActivity"/> 3500 </declare-styleable> 3501 3502 <!-- Specify one or more <code>aid-group</code> elements inside a 3503 <code>host-apdu-service</code> or <code>offhost-apdu-service</code> 3504 element to define a group of ISO7816 Application ID (AIDs) that 3505 your service can handle.--> 3506 <declare-styleable name="AidGroup"> 3507 <!-- Short description of what the AID group implements. This attribute is mandatory.--> 3508 <attr name="description" /> 3509 <!-- The category attribute will be used by the Android platform to present 3510 multiple applications that register ISO 7816 Application IDs (AIDs) in the 3511 same category uniformly. 3512 Additionally, when a category is specified, Android will ensure that either 3513 all AIDs in this group are routed to this application, or none at all. 3514 This attribute is optional.--> 3515 <attr name="category" format="string" /> 3516 </declare-styleable> 3517 3518 <!-- Specify one or more <code>aid-filter</code> elements inside a 3519 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3520 your service can handle. --> 3521 <declare-styleable name="AidFilter"> 3522 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3523 <attr name="name" /> 3524 </declare-styleable> 3525 3526 <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a 3527 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3528 prefix your service can handle. --> 3529 <declare-styleable name="AidPrefixFilter"> 3530 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3531 <attr name="name" /> 3532 </declare-styleable> 3533 3534 <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that 3535 describes an {@link android.nfc.cardemulation.HostNfcFService} service, which 3536 is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA} 3537 entry. --> 3538 <declare-styleable name="HostNfcFService"> 3539 <!-- Short description of the functionality the service implements. This attribute 3540 is mandatory.--> 3541 <attr name="description" /> 3542 </declare-styleable> 3543 3544 <!-- Specify one or more <code>system-code-filter</code> elements inside a 3545 <code>host-nfcf-service</code> element to specify a System Code 3546 your service can handle. --> 3547 <declare-styleable name="SystemCodeFilter"> 3548 <!-- The System Code. This attribute is mandatory. --> 3549 <attr name="name" /> 3550 </declare-styleable> 3551 3552 <!-- Specify one or more <code>nfcid2-filter</code> elements inside a 3553 <code>host-nfcf-service</code> element to specify a NFCID2 3554 your service can handle. --> 3555 <declare-styleable name="Nfcid2Filter"> 3556 <!-- The NFCID2. This attribute is mandatory. --> 3557 <attr name="name" /> 3558 </declare-styleable> 3559 3560 <declare-styleable name="ActionMenuItemView"> 3561 <attr name="minWidth" /> 3562 </declare-styleable> 3563 3564 <!-- =============================== --> 3565 <!-- Widget package class attributes --> 3566 <!-- =============================== --> 3567 <eat-comment /> 3568 3569 <declare-styleable name="AbsListView"> 3570 <!-- Drawable used to indicate the currently selected item in the list. --> 3571 <attr name="listSelector" format="color|reference" /> 3572 <!-- When set to true, the selector will be drawn over the selected item. 3573 Otherwise the selector is drawn behind the selected item. The default 3574 value is false. --> 3575 <attr name="drawSelectorOnTop" format="boolean" /> 3576 <!-- Used by ListView and GridView to stack their content from the bottom. --> 3577 <attr name="stackFromBottom" format="boolean" /> 3578 <!-- When set to true, the list uses a drawing cache during scrolling. 3579 This makes the rendering faster but uses more memory. The default 3580 value is true. --> 3581 <attr name="scrollingCache" format="boolean" /> 3582 <!-- When set to true, the list will filter results as the user types. The 3583 List's adapter must support the Filterable interface for this to work. --> 3584 <attr name="textFilterEnabled" format="boolean" /> 3585 <!-- Sets the transcript mode for the list. In transcript mode, the list 3586 scrolls to the bottom to make new items visible when they are added. --> 3587 <attr name="transcriptMode"> 3588 <!-- Disables transcript mode. This is the default value. --> 3589 <enum name="disabled" value="0"/> 3590 <!-- The list will automatically scroll to the bottom when 3591 a data set change notification is received and only if the last item is 3592 already visible on screen. --> 3593 <enum name="normal" value="1" /> 3594 <!-- The list will automatically scroll to the bottom, no matter what items 3595 are currently visible. --> 3596 <enum name="alwaysScroll" value="2" /> 3597 </attr> 3598 <!-- Indicates that this list will always be drawn on top of solid, single-color 3599 opaque background. This allows the list to optimize drawing. --> 3600 <attr name="cacheColorHint" format="color" /> 3601 <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through 3602 the list. --> 3603 <attr name="fastScrollEnabled" format="boolean" /> 3604 <!-- Specifies the style of the fast scroll decorations. --> 3605 <attr name="fastScrollStyle" format="reference" /> 3606 <!-- When set to true, the list will use a more refined calculation 3607 method based on the pixels height of the items visible on screen. This 3608 property is set to true by default but should be set to false if your adapter 3609 will display items of varying heights. When this property is set to true and 3610 your adapter displays items of varying heights, the scrollbar thumb will 3611 change size as the user scrolls through the list. When set to false, the list 3612 will use only the number of items in the adapter and the number of items visible 3613 on screen to determine the scrollbar's properties. --> 3614 <attr name="smoothScrollbar" format="boolean" /> 3615 <!-- Defines the choice behavior for the view. By default, lists do not have 3616 any choice behavior. By setting the choiceMode to singleChoice, the list 3617 allows up to one item to be in a chosen state. By setting the choiceMode to 3618 multipleChoice, the list allows any number of items to be chosen. 3619 Finally, by setting the choiceMode to multipleChoiceModal the list allows 3620 any number of items to be chosen in a special selection mode. 3621 The application will supply a 3622 {@link android.widget.AbsListView.MultiChoiceModeListener} using 3623 {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the 3624 selection mode. This uses the {@link android.view.ActionMode} API. --> 3625 <attr name="choiceMode"> 3626 <!-- Normal list that does not indicate choices. --> 3627 <enum name="none" value="0" /> 3628 <!-- The list allows up to one choice. --> 3629 <enum name="singleChoice" value="1" /> 3630 <!-- The list allows multiple choices. --> 3631 <enum name="multipleChoice" value="2" /> 3632 <!-- The list allows multiple choices in a custom selection mode. --> 3633 <enum name="multipleChoiceModal" value="3" /> 3634 </attr> 3635 3636 <!-- When set to true, the list will always show the fast scroll interface. 3637 This setting implies fastScrollEnabled. --> 3638 <attr name="fastScrollAlwaysVisible" format="boolean" /> 3639 </declare-styleable> 3640 <!-- @hide --> 3641 <declare-styleable name="RecycleListView"> 3642 <!-- Bottom padding to use when no buttons are present. --> 3643 <attr name="paddingBottomNoButtons" format="dimension" /> 3644 <!-- Top padding to use when no title is present. --> 3645 <attr name="paddingTopNoTitle" format="dimension" /> 3646 </declare-styleable> 3647 <declare-styleable name="AbsSpinner"> 3648 <!-- Reference to an array resource that will populate the Spinner. For static content, 3649 this is simpler than populating the Spinner programmatically. --> 3650 <attr name="entries" /> 3651 </declare-styleable> 3652 <declare-styleable name="AnalogClock"> 3653 <attr name="dial" format="reference"/> 3654 <attr name="hand_hour" format="reference"/> 3655 <attr name="hand_minute" format="reference"/> 3656 </declare-styleable> 3657 <declare-styleable name="Button"> 3658 </declare-styleable> 3659 <declare-styleable name="Chronometer"> 3660 <!-- Format string: if specified, the Chronometer will display this 3661 string, with the first "%s" replaced by the current timer value 3662 in "MM:SS" or "H:MM:SS" form. 3663 If no format string is specified, the Chronometer will simply display 3664 "MM:SS" or "H:MM:SS". --> 3665 <attr name="format" format="string" localization="suggested" /> 3666 <!-- Specifies whether this Chronometer counts down or counts up from the base. 3667 If not specified this is false and the Chronometer counts up. --> 3668 <attr name="countDown" format="boolean" /> 3669 </declare-styleable> 3670 <declare-styleable name="CompoundButton"> 3671 <!-- Indicates the initial checked state of this button. --> 3672 <attr name="checked" format="boolean" /> 3673 <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). --> 3674 <attr name="button" format="reference" /> 3675 <!-- Tint to apply to the button graphic. --> 3676 <attr name="buttonTint" format="color" /> 3677 <!-- Blending mode used to apply the button graphic tint. --> 3678 <attr name="buttonTintMode"> 3679 <!-- The tint is drawn on top of the drawable. 3680 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3681 <enum name="src_over" value="3" /> 3682 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3683 color channels are thrown out. [Sa * Da, Sc * Da] --> 3684 <enum name="src_in" value="5" /> 3685 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3686 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3687 <enum name="src_atop" value="9" /> 3688 <!-- Multiplies the color and alpha channels of the drawable with those of 3689 the tint. [Sa * Da, Sc * Dc] --> 3690 <enum name="multiply" value="14" /> 3691 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3692 <enum name="screen" value="15" /> 3693 <!-- Combines the tint and drawable color and alpha channels, clamping the 3694 result to valid color values. Saturate(S + D) --> 3695 <enum name="add" value="16" /> 3696 </attr> 3697 </declare-styleable> 3698 <declare-styleable name="CheckedTextView"> 3699 <!-- Indicates the initial checked state of this text. --> 3700 <attr name="checked" /> 3701 <!-- Drawable used for the check mark graphic. --> 3702 <attr name="checkMark" format="reference"/> 3703 <!-- Tint to apply to the check mark. --> 3704 <attr name="checkMarkTint" format="color" /> 3705 <!-- Blending mode used to apply the check mark tint. --> 3706 <attr name="checkMarkTintMode"> 3707 <!-- The tint is drawn on top of the drawable. 3708 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3709 <enum name="src_over" value="3" /> 3710 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3711 color channels are thrown out. [Sa * Da, Sc * Da] --> 3712 <enum name="src_in" value="5" /> 3713 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3714 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3715 <enum name="src_atop" value="9" /> 3716 <!-- Multiplies the color and alpha channels of the drawable with those of 3717 the tint. [Sa * Da, Sc * Dc] --> 3718 <enum name="multiply" value="14" /> 3719 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3720 <enum name="screen" value="15" /> 3721 <!-- Combines the tint and drawable color and alpha channels, clamping the 3722 result to valid color values. Saturate(S + D) --> 3723 <enum name="add" value="16" /> 3724 </attr> 3725 <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. --> 3726 <attr name="checkMarkGravity"> 3727 <!-- Push object to the left of its container, not changing its size. --> 3728 <flag name="left" value="0x03" /> 3729 <!-- Push object to the right of its container, not changing its size. --> 3730 <flag name="right" value="0x05" /> 3731 <!-- Push object to the beginning of its container, not changing its size. --> 3732 <flag name="start" value="0x00800003" /> 3733 <!-- Push object to the end of its container, not changing its size. --> 3734 <flag name="end" value="0x00800005" /> 3735 </attr> 3736 </declare-styleable> 3737 <declare-styleable name="EditText"> 3738 </declare-styleable> 3739 <declare-styleable name="FastScroll"> 3740 <!-- Drawable used for the scroll bar thumb. --> 3741 <attr name="thumbDrawable" format="reference" /> 3742 <!-- Minimum width of the thumb. --> 3743 <attr name="thumbMinWidth" format="dimension" /> 3744 <!-- Minimum height of the thumb. --> 3745 <attr name="thumbMinHeight" format="dimension" /> 3746 <!-- Drawable used for the scroll bar track. --> 3747 <attr name="trackDrawable" format="reference" /> 3748 <!-- Drawable used for the section header preview when right-aligned. --> 3749 <attr name="backgroundRight" format="reference" /> 3750 <!-- Drawable used for the section header preview when left-aligned. --> 3751 <attr name="backgroundLeft" format="reference" /> 3752 <!-- Position of section header preview. --> 3753 <attr name="position"> 3754 <!-- Floating at the top of the content. --> 3755 <enum name="floating" value="0" /> 3756 <!-- Pinned to the thumb, vertically centered with the middle of the thumb. --> 3757 <enum name="atThumb" value="1" /> 3758 <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. --> 3759 <enum name="aboveThumb" value="2" /> 3760 </attr> 3761 <attr name="textAppearance" /> 3762 <attr name="textColor" /> 3763 <attr name="textSize" /> 3764 <!-- Minimum width of the section header preview. --> 3765 <attr name="minWidth" /> 3766 <!-- Minimum height of the section header preview. --> 3767 <attr name="minHeight" /> 3768 <!-- Padding for the section header preview. --> 3769 <attr name="padding" /> 3770 <!-- Position of thumb in relation to the track. --> 3771 <attr name="thumbPosition"> 3772 <!-- The thumb's midpoint is anchored to the track. At its 3773 extremes, the thumb will extend half-way outside the 3774 track. --> 3775 <enum name="midpoint" value="0" /> 3776 <!-- The thumb is entirely inside the track. At its extremes, 3777 the thumb will be contained entirely within the track. --> 3778 <enum name="inside" value="1" /> 3779 </attr> 3780 </declare-styleable> 3781 <declare-styleable name="FrameLayout"> 3782 <!-- Determines whether to measure all children or just those in 3783 the VISIBLE or INVISIBLE state when measuring. Defaults to false. --> 3784 <attr name="measureAllChildren" format="boolean" /> 3785 </declare-styleable> 3786 <declare-styleable name="ExpandableListView"> 3787 <!-- Indicator shown beside the group View. This can be a stateful Drawable. --> 3788 <attr name="groupIndicator" format="reference" /> 3789 <!-- Indicator shown beside the child View. This can be a stateful Drawable. --> 3790 <attr name="childIndicator" format="reference" /> 3791 <!-- The left bound for an item's indicator. To specify a left bound specific to children, 3792 use childIndicatorLeft. --> 3793 <attr name="indicatorLeft" format="dimension" /> 3794 <!-- The right bound for an item's indicator. To specify a right bound specific to children, 3795 use childIndicatorRight. --> 3796 <attr name="indicatorRight" format="dimension" /> 3797 <!-- The left bound for a child's indicator. --> 3798 <attr name="childIndicatorLeft" format="dimension" /> 3799 <!-- The right bound for a child's indicator. --> 3800 <attr name="childIndicatorRight" format="dimension" /> 3801 <!-- Drawable or color that is used as a divider for children. (It will drawn 3802 below and above child items.) The height of this will be the same as 3803 the height of the normal list item divider. --> 3804 <attr name="childDivider" format="reference|color" /> 3805 <!-- The start bound for an item's indicator. To specify a start bound specific to children, 3806 use childIndicatorStart. --> 3807 <attr name="indicatorStart" format="dimension" /> 3808 <!-- The end bound for an item's indicator. To specify a right bound specific to children, 3809 use childIndicatorEnd. --> 3810 <attr name="indicatorEnd" format="dimension" /> 3811 <!-- The start bound for a child's indicator. --> 3812 <attr name="childIndicatorStart" format="dimension" /> 3813 <!-- The end bound for a child's indicator. --> 3814 <attr name="childIndicatorEnd" format="dimension" /> 3815 </declare-styleable> 3816 <declare-styleable name="Gallery"> 3817 <attr name="gravity" /> 3818 <!-- Sets how long a transition animation should run (in milliseconds) 3819 when layout has changed. Only relevant if animation is turned on. --> 3820 <attr name="animationDuration" format="integer" min="0" /> 3821 <attr name="spacing" format="dimension" /> 3822 <!-- Sets the alpha on the items that are not selected. --> 3823 <attr name="unselectedAlpha" format="float" /> 3824 </declare-styleable> 3825 <declare-styleable name="GridView"> 3826 <!-- Defines the default horizontal spacing between columns. --> 3827 <attr name="horizontalSpacing" format="dimension" /> 3828 <!-- Defines the default vertical spacing between rows. --> 3829 <attr name="verticalSpacing" format="dimension" /> 3830 <!-- Defines how columns should stretch to fill the available empty space, if any. --> 3831 <attr name="stretchMode"> 3832 <!-- Stretching is disabled. --> 3833 <enum name="none" value="0"/> 3834 <!-- The spacing between each column is stretched. --> 3835 <enum name="spacingWidth" value="1" /> 3836 <!-- Each column is stretched equally. --> 3837 <enum name="columnWidth" value="2" /> 3838 <!-- The spacing between each column is uniformly stretched.. --> 3839 <enum name="spacingWidthUniform" value="3" /> 3840 </attr> 3841 <!-- Specifies the fixed width for each column. --> 3842 <attr name="columnWidth" format="dimension" /> 3843 <!-- Defines how many columns to show. --> 3844 <attr name="numColumns" format="integer" min="0"> 3845 <!-- Display as many columns as possible to fill the available space. --> 3846 <enum name="auto_fit" value="-1" /> 3847 </attr> 3848 <!-- Specifies the gravity within each cell. --> 3849 <attr name="gravity" /> 3850 </declare-styleable> 3851 <declare-styleable name="ImageSwitcher"> 3852 </declare-styleable> 3853 <declare-styleable name="ImageView"> 3854 <!-- Sets a drawable as the content of this ImageView. --> 3855 <attr name="src" format="reference|color" /> 3856 <!-- Controls how the image should be resized or moved to match the size 3857 of this ImageView. See {@link android.widget.ImageView.ScaleType} --> 3858 <attr name="scaleType"> 3859 <!-- Scale using the image matrix when drawing. See 3860 {@link android.widget.ImageView#setImageMatrix(Matrix)}. --> 3861 <enum name="matrix" value="0" /> 3862 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. --> 3863 <enum name="fitXY" value="1" /> 3864 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. --> 3865 <enum name="fitStart" value="2" /> 3866 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. --> 3867 <enum name="fitCenter" value="3" /> 3868 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. --> 3869 <enum name="fitEnd" value="4" /> 3870 <!-- Center the image in the view, but perform no scaling. --> 3871 <enum name="center" value="5" /> 3872 <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions 3873 (width and height) of the image will be equal to or larger than the corresponding 3874 dimension of the view (minus padding). The image is then centered in the view. --> 3875 <enum name="centerCrop" value="6" /> 3876 <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both 3877 dimensions (width and height) of the image will be equal to or less than the 3878 corresponding dimension of the view (minus padding). The image is then centered in 3879 the view. --> 3880 <enum name="centerInside" value="7" /> 3881 </attr> 3882 <!-- Set this to true if you want the ImageView to adjust its bounds 3883 to preserve the aspect ratio of its drawable. --> 3884 <attr name="adjustViewBounds" format="boolean" /> 3885 <!-- An optional argument to supply a maximum width for this view. 3886 See {see android.widget.ImageView#setMaxWidth} for details. --> 3887 <attr name="maxWidth" format="dimension" /> 3888 <!-- An optional argument to supply a maximum height for this view. 3889 See {see android.widget.ImageView#setMaxHeight} for details. --> 3890 <attr name="maxHeight" format="dimension" /> 3891 <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode. 3892 Please note that for compatibility reasons, this is NOT consistent with the default 3893 SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by 3894 similar tint attributes on other views. --> 3895 <attr name="tint" format="color" /> 3896 <!-- If true, the image view will be baseline aligned with based on its 3897 bottom edge. --> 3898 <attr name="baselineAlignBottom" format="boolean" /> 3899 <!-- If true, the image will be cropped to fit within its padding. --> 3900 <attr name="cropToPadding" format="boolean" /> 3901 <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline} 3902 for details --> 3903 <attr name="baseline" format="dimension" /> 3904 <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent 3905 to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). --> 3906 <attr name="drawableAlpha" format="integer" /> 3907 <!-- Blending mode used to apply the image tint. --> 3908 <attr name="tintMode" /> 3909 </declare-styleable> 3910 <declare-styleable name="ToggleButton"> 3911 <!-- The text for the button when it is checked. --> 3912 <attr name="textOn" format="string" /> 3913 <!-- The text for the button when it is not checked. --> 3914 <attr name="textOff" format="string" /> 3915 <!-- The alpha to apply to the indicator when disabled. --> 3916 <attr name="disabledAlpha" /> 3917 </declare-styleable> 3918 <declare-styleable name="RelativeLayout"> 3919 <attr name="gravity" /> 3920 <!-- Indicates what view should not be affected by gravity. --> 3921 <attr name="ignoreGravity" format="reference" /> 3922 </declare-styleable> 3923 <declare-styleable name="LinearLayout"> 3924 <!-- Should the layout be a column or a row? Use "horizontal" 3925 for a row, "vertical" for a column. The default is 3926 horizontal. --> 3927 <attr name="orientation" /> 3928 <attr name="gravity" /> 3929 <!-- When set to false, prevents the layout from aligning its children's 3930 baselines. This attribute is particularly useful when the children 3931 use different values for gravity. The default value is true. --> 3932 <attr name="baselineAligned" format="boolean" /> 3933 <!-- When a linear layout is part of another layout that is baseline 3934 aligned, it can specify which of its children to baseline align to 3935 (that is, which child TextView).--> 3936 <attr name="baselineAlignedChildIndex" format="integer" min="0"/> 3937 <!-- Defines the maximum weight sum. If unspecified, the sum is computed 3938 by adding the layout_weight of all of the children. This can be 3939 used for instance to give a single child 50% of the total available 3940 space by giving it a layout_weight of 0.5 and setting the weightSum 3941 to 1.0. --> 3942 <attr name="weightSum" format="float" /> 3943 <!-- When set to true, all children with a weight will be considered having 3944 the minimum size of the largest child. If false, all children are 3945 measured normally. --> 3946 <attr name="measureWithLargestChild" format="boolean" /> 3947 <!-- Drawable to use as a vertical divider between buttons. --> 3948 <attr name="divider" /> 3949 <!-- Setting for which dividers to show. --> 3950 <attr name="showDividers"> 3951 <flag name="none" value="0" /> 3952 <flag name="beginning" value="1" /> 3953 <flag name="middle" value="2" /> 3954 <flag name="end" value="4" /> 3955 </attr> 3956 <!-- Size of padding on either end of a divider. --> 3957 <attr name="dividerPadding" format="dimension" /> 3958 </declare-styleable> 3959 <declare-styleable name="GridLayout"> 3960 <!-- The orientation property is not used during layout. It is only used to 3961 allocate row and column parameters when they are not specified by its children's 3962 layout paramters. GridLayout works like LinearLayout in this case; 3963 putting all the components either in a single row or in a single column - 3964 depending on the value of this flag. In the horizontal case, a columnCount 3965 property may be additionally supplied to force new rows to be created when a 3966 row is full. The rowCount attribute may be used similarly in the vertical case. 3967 The default is horizontal. --> 3968 <attr name="orientation" /> 3969 <!-- The maxmimum number of rows to create when automatically positioning children. --> 3970 <attr name="rowCount" format="integer" /> 3971 <!-- The maxmimum number of columns to create when automatically positioning children. --> 3972 <attr name="columnCount" format="integer" /> 3973 <!-- When set to true, tells GridLayout to use default margins when none are specified 3974 in a view's layout parameters. 3975 The default value is false. 3976 See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.--> 3977 <attr name="useDefaultMargins" format="boolean" /> 3978 <!-- When set to alignMargins, causes alignment to take place between the outer 3979 boundary of a view, as defined by its margins. When set to alignBounds, 3980 causes alignment to take place between the edges of the view. 3981 The default is alignMargins. 3982 See {@link android.widget.GridLayout#setAlignmentMode(int)}.--> 3983 <attr name="alignmentMode" /> 3984 <!-- When set to true, forces row boundaries to appear in the same order 3985 as row indices. 3986 The default is true. 3987 See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.--> 3988 <attr name="rowOrderPreserved" format="boolean" /> 3989 <!-- When set to true, forces column boundaries to appear in the same order 3990 as column indices. 3991 The default is true. 3992 See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.--> 3993 <attr name="columnOrderPreserved" format="boolean" /> 3994 </declare-styleable> 3995 <declare-styleable name="ListView"> 3996 <!-- Reference to an array resource that will populate the ListView. For static content, 3997 this is simpler than populating the ListView programmatically. --> 3998 <attr name="entries" /> 3999 <!-- Drawable or color to draw between list items. --> 4000 <attr name="divider" format="reference|color" /> 4001 <!-- Height of the divider. Will use the intrinsic height of the divider if this 4002 is not specified. --> 4003 <attr name="dividerHeight" format="dimension" /> 4004 <!-- When set to false, the ListView will not draw the divider after each header view. 4005 The default value is true. --> 4006 <attr name="headerDividersEnabled" format="boolean" /> 4007 <!-- When set to false, the ListView will not draw the divider before each footer view. 4008 The default value is true. --> 4009 <attr name="footerDividersEnabled" format="boolean" /> 4010 <!-- Drawable to draw above list content. --> 4011 <attr name="overScrollHeader" format="reference|color" /> 4012 <!-- Drawable to draw below list content. --> 4013 <attr name="overScrollFooter" format="reference|color" /> 4014 </declare-styleable> 4015 <declare-styleable name="PreferenceFrameLayout"> 4016 <!-- Padding to use at the top of the prefs content. --> 4017 <attr name="borderTop" format="dimension" /> 4018 <!-- Padding to use at the bottom of the prefs content. --> 4019 <attr name="borderBottom" format="dimension" /> 4020 <!-- Padding to use at the left of the prefs content. --> 4021 <attr name="borderLeft" format="dimension" /> 4022 <!-- Padding to use at the right of the prefs content. --> 4023 <attr name="borderRight" format="dimension" /> 4024 </declare-styleable> 4025 <declare-styleable name="PreferenceFrameLayout_Layout"> 4026 <!-- Padding to use at the top of the prefs content. --> 4027 <attr name="layout_removeBorders" format="boolean" /> 4028 </declare-styleable> 4029 <declare-styleable name="MenuView"> 4030 <!-- Default appearance of menu item text. --> 4031 <attr name="itemTextAppearance" format="reference" /> 4032 <!-- Default horizontal divider between rows of menu items. --> 4033 <attr name="horizontalDivider" format="reference" /> 4034 <!-- Default vertical divider between menu items. --> 4035 <attr name="verticalDivider" format="reference" /> 4036 <!-- Default background for the menu header. --> 4037 <attr name="headerBackground" format="color|reference" /> 4038 <!-- Default background for each menu item. --> 4039 <attr name="itemBackground" format="color|reference" /> 4040 <!-- Default animations for the menu. --> 4041 <attr name="windowAnimationStyle" /> 4042 <!-- Default disabled icon alpha for each menu item that shows an icon. --> 4043 <attr name="itemIconDisabledAlpha" format="float" /> 4044 <!-- Whether space should be reserved in layout when an icon is missing. --> 4045 <attr name="preserveIconSpacing" format="boolean" /> 4046 <!-- Drawable for the arrow icon indicating a particular item is a submenu. --> 4047 <attr name="subMenuArrow" format="reference" /> 4048 </declare-styleable> 4049 <declare-styleable name="IconMenuView"> 4050 <!-- Defines the height of each row. --> 4051 <attr name="rowHeight" format="dimension" /> 4052 <!-- Defines the maximum number of rows displayed. --> 4053 <attr name="maxRows" format="integer" /> 4054 <!-- Defines the maximum number of items per row. --> 4055 <attr name="maxItemsPerRow" format="integer" /> 4056 <!-- Defines the maximum number of items to show. --> 4057 <attr name="maxItems" format="integer" /> 4058 <!-- 'More' icon. --> 4059 <attr name="moreIcon" format="reference" /> 4060 </declare-styleable> 4061 4062 <declare-styleable name="ProgressBar"> 4063 <attr name="min" format="integer" /> 4064 <!-- Defines the maximum value the progress can take. --> 4065 <attr name="max" format="integer" /> 4066 <!-- Defines the default progress value, between 0 and max. --> 4067 <attr name="progress" format="integer" /> 4068 <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between 4069 the primary progress and the background. It can be ideal for media scenarios such as 4070 showing the buffering progress while the default progress shows the play progress. --> 4071 <attr name="secondaryProgress" format="integer" /> 4072 <!-- Allows to enable the indeterminate mode. In this mode the progress 4073 bar plays an infinite looping animation. --> 4074 <attr name="indeterminate" format="boolean" /> 4075 <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). --> 4076 <attr name="indeterminateOnly" format="boolean" /> 4077 <!-- Drawable used for the indeterminate mode. --> 4078 <attr name="indeterminateDrawable" format="reference" /> 4079 <!-- Drawable used for the progress mode. --> 4080 <attr name="progressDrawable" format="reference" /> 4081 <!-- Duration of the indeterminate animation. --> 4082 <attr name="indeterminateDuration" format="integer" min="1" /> 4083 <!-- Defines how the indeterminate mode should behave when the progress 4084 reaches max. --> 4085 <attr name="indeterminateBehavior"> 4086 <!-- Progress starts over from 0. --> 4087 <enum name="repeat" value="1" /> 4088 <!-- Progress keeps the current value and goes back to 0. --> 4089 <enum name="cycle" value="2" /> 4090 </attr> 4091 <attr name="minWidth" format="dimension" /> 4092 <attr name="maxWidth" /> 4093 <attr name="minHeight" format="dimension" /> 4094 <attr name="maxHeight" /> 4095 <attr name="interpolator" format="reference" /> 4096 <!-- Timeout between frames of animation in milliseconds 4097 {@deprecated Not used by the framework.} --> 4098 <attr name="animationResolution" format="integer" /> 4099 <!-- Defines if the associated drawables need to be mirrored when in RTL mode. 4100 Default is false --> 4101 <attr name="mirrorForRtl" format="boolean" /> 4102 <!-- Tint to apply to the progress indicator. --> 4103 <attr name="progressTint" format="color" /> 4104 <!-- Blending mode used to apply the progress indicator tint. --> 4105 <attr name="progressTintMode"> 4106 <!-- The tint is drawn on top of the drawable. 4107 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4108 <enum name="src_over" value="3" /> 4109 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4110 color channels are thrown out. [Sa * Da, Sc * Da] --> 4111 <enum name="src_in" value="5" /> 4112 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4113 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4114 <enum name="src_atop" value="9" /> 4115 <!-- Multiplies the color and alpha channels of the drawable with those of 4116 the tint. [Sa * Da, Sc * Dc] --> 4117 <enum name="multiply" value="14" /> 4118 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4119 <enum name="screen" value="15" /> 4120 <!-- Combines the tint and drawable color and alpha channels, clamping the 4121 result to valid color values. Saturate(S + D) --> 4122 <enum name="add" value="16" /> 4123 </attr> 4124 <!-- Tint to apply to the progress indicator background. --> 4125 <attr name="progressBackgroundTint" format="color" /> 4126 <!-- Blending mode used to apply the progress indicator background tint. --> 4127 <attr name="progressBackgroundTintMode"> 4128 <!-- The tint is drawn on top of the drawable. 4129 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4130 <enum name="src_over" value="3" /> 4131 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4132 color channels are thrown out. [Sa * Da, Sc * Da] --> 4133 <enum name="src_in" value="5" /> 4134 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4135 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4136 <enum name="src_atop" value="9" /> 4137 <!-- Multiplies the color and alpha channels of the drawable with those of 4138 the tint. [Sa * Da, Sc * Dc] --> 4139 <enum name="multiply" value="14" /> 4140 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4141 <enum name="screen" value="15" /> 4142 <!-- Combines the tint and drawable color and alpha channels, clamping the 4143 result to valid color values. Saturate(S + D) --> 4144 <enum name="add" value="16" /> 4145 </attr> 4146 <!-- Tint to apply to the secondary progress indicator. --> 4147 <attr name="secondaryProgressTint" format="color" /> 4148 <!-- Blending mode used to apply the secondary progress indicator tint. --> 4149 <attr name="secondaryProgressTintMode"> 4150 <!-- The tint is drawn on top of the drawable. 4151 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4152 <enum name="src_over" value="3" /> 4153 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4154 color channels are thrown out. [Sa * Da, Sc * Da] --> 4155 <enum name="src_in" value="5" /> 4156 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4157 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4158 <enum name="src_atop" value="9" /> 4159 <!-- Multiplies the color and alpha channels of the drawable with those of 4160 the tint. [Sa * Da, Sc * Dc] --> 4161 <enum name="multiply" value="14" /> 4162 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4163 <enum name="screen" value="15" /> 4164 <!-- Combines the tint and drawable color and alpha channels, clamping the 4165 result to valid color values. Saturate(S + D) --> 4166 <enum name="add" value="16" /> 4167 </attr> 4168 <!-- Tint to apply to the indeterminate progress indicator. --> 4169 <attr name="indeterminateTint" format="color" /> 4170 <!-- Blending mode used to apply the indeterminate progress indicator tint. --> 4171 <attr name="indeterminateTintMode"> 4172 <!-- The tint is drawn on top of the drawable. 4173 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4174 <enum name="src_over" value="3" /> 4175 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4176 color channels are thrown out. [Sa * Da, Sc * Da] --> 4177 <enum name="src_in" value="5" /> 4178 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4179 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4180 <enum name="src_atop" value="9" /> 4181 <!-- Multiplies the color and alpha channels of the drawable with those of 4182 the tint. [Sa * Da, Sc * Dc] --> 4183 <enum name="multiply" value="14" /> 4184 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4185 <enum name="screen" value="15" /> 4186 <!-- Combines the tint and drawable color and alpha channels, clamping the 4187 result to valid color values. Saturate(S + D) --> 4188 <enum name="add" value="16" /> 4189 </attr> 4190 <!-- Tint to apply to the background. --> 4191 <attr name="backgroundTint" /> 4192 <!-- Blending mode used to apply the background tint. --> 4193 <attr name="backgroundTintMode" /> 4194 </declare-styleable> 4195 4196 <declare-styleable name="SeekBar"> 4197 <!-- Draws the thumb on a seekbar. --> 4198 <attr name="thumb" format="reference" /> 4199 <!-- An offset for the thumb that allows it to extend out of the range of the track. --> 4200 <attr name="thumbOffset" format="dimension" /> 4201 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 4202 <attr name="splitTrack" format="boolean" /> 4203 <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha 4204 when disabled. This is required for Holo and Gingerbread, but 4205 should always be false for Material and beyond. 4206 @hide Developers shouldn't need to change this. --> 4207 <attr name="useDisabledAlpha" format="boolean" /> 4208 <!-- Tint to apply to the thumb drawable. --> 4209 <attr name="thumbTint" format="color" /> 4210 <!-- Blending mode used to apply the thumb tint. --> 4211 <attr name="thumbTintMode"> 4212 <!-- The tint is drawn on top of the drawable. 4213 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4214 <enum name="src_over" value="3" /> 4215 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4216 color channels are thrown out. [Sa * Da, Sc * Da] --> 4217 <enum name="src_in" value="5" /> 4218 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4219 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4220 <enum name="src_atop" value="9" /> 4221 <!-- Multiplies the color and alpha channels of the drawable with those of 4222 the tint. [Sa * Da, Sc * Dc] --> 4223 <enum name="multiply" value="14" /> 4224 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4225 <enum name="screen" value="15" /> 4226 <!-- Combines the tint and drawable color and alpha channels, clamping the 4227 result to valid color values. Saturate(S + D) --> 4228 <enum name="add" value="16" /> 4229 </attr> 4230 <!-- Drawable displayed at each progress position on a seekbar. --> 4231 <attr name="tickMark" format="reference" /> 4232 <!-- Tint to apply to the tick mark drawable. --> 4233 <attr name="tickMarkTint" format="color" /> 4234 <!-- Blending mode used to apply the tick mark tint. --> 4235 <attr name="tickMarkTintMode"> 4236 <!-- The tint is drawn on top of the drawable. 4237 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4238 <enum name="src_over" value="3" /> 4239 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4240 color channels are thrown out. [Sa * Da, Sc * Da] --> 4241 <enum name="src_in" value="5" /> 4242 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4243 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4244 <enum name="src_atop" value="9" /> 4245 <!-- Multiplies the color and alpha channels of the drawable with those of 4246 the tint. [Sa * Da, Sc * Dc] --> 4247 <enum name="multiply" value="14" /> 4248 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4249 <enum name="screen" value="15" /> 4250 <!-- Combines the tint and drawable color and alpha channels, clamping the 4251 result to valid color values. Saturate(S + D) --> 4252 <enum name="add" value="16" /> 4253 </attr> 4254 </declare-styleable> 4255 4256 <declare-styleable name="StackView"> 4257 <!-- Color of the res-out outline. --> 4258 <attr name="resOutColor" format="color" /> 4259 <!-- Color of the outline of click feedback. --> 4260 <attr name="clickColor" format="color" /> 4261 </declare-styleable> 4262 4263 <declare-styleable name="RatingBar"> 4264 <!-- The number of stars (or rating items) to show. --> 4265 <attr name="numStars" format="integer" /> 4266 <!-- The rating to set by default. --> 4267 <attr name="rating" format="float" /> 4268 <!-- The step size of the rating. --> 4269 <attr name="stepSize" format="float" /> 4270 <!-- Whether this rating bar is an indicator (and non-changeable by the user). --> 4271 <attr name="isIndicator" format="boolean" /> 4272 </declare-styleable> 4273 4274 <declare-styleable name="RadioGroup"> 4275 <!-- The id of the child radio button that should be checked by default 4276 within this radio group. --> 4277 <attr name="checkedButton" format="integer" /> 4278 <!-- Should the radio group be a column or a row? Use "horizontal" 4279 for a row, "vertical" for a column. The default is 4280 vertical. --> 4281 <attr name="orientation" /> 4282 </declare-styleable> 4283 <declare-styleable name="TableLayout"> 4284 <!-- The zero-based index of the columns to stretch. The column indices 4285 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4286 indices are ignored. You can stretch all columns by using the 4287 value "*" instead. Note that a column can be marked stretchable 4288 and shrinkable at the same time. --> 4289 <attr name="stretchColumns" format="string" /> 4290 <!-- The zero-based index of the columns to shrink. The column indices 4291 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4292 indices are ignored. You can shrink all columns by using the 4293 value "*" instead. Note that a column can be marked stretchable 4294 and shrinkable at the same time. --> 4295 <attr name="shrinkColumns" format="string" /> 4296 <!-- The zero-based index of the columns to collapse. The column indices 4297 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4298 indices are ignored. --> 4299 <attr name="collapseColumns" format="string" /> 4300 </declare-styleable> 4301 <declare-styleable name="TableRow"> 4302 4303 </declare-styleable> 4304 <declare-styleable name="TableRow_Cell"> 4305 <!-- The index of the column in which this child should be. --> 4306 <attr name="layout_column" format="integer" /> 4307 <!-- Defines how many columns this child should span. Must be >= 1.--> 4308 <attr name="layout_span" format="integer" /> 4309 </declare-styleable> 4310 <declare-styleable name="TabWidget"> 4311 <!-- Drawable used to draw the divider between tabs. --> 4312 <attr name="divider" /> 4313 <!-- Determines whether the strip under the tab indicators is drawn or not. --> 4314 <attr name="tabStripEnabled" format="boolean" /> 4315 <!-- Drawable used to draw the left part of the strip underneath the tabs. --> 4316 <attr name="tabStripLeft" format="reference" /> 4317 <!-- Drawable used to draw the right part of the strip underneath the tabs. --> 4318 <attr name="tabStripRight" format="reference" /> 4319 <!-- Layout used to organize each tab's content. --> 4320 <attr name="tabLayout" format="reference" /> 4321 </declare-styleable> 4322 <declare-styleable name="TextAppearance"> 4323 <!-- Text color. --> 4324 <attr name="textColor" /> 4325 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4326 <attr name="textSize" /> 4327 <!-- Style (bold, italic, bolditalic) for the text. --> 4328 <attr name="textStyle" /> 4329 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4330 <attr name="typeface" /> 4331 <!-- Font family (named by string) for the text. --> 4332 <attr name="fontFamily" /> 4333 <!-- Color of the text selection highlight. --> 4334 <attr name="textColorHighlight" /> 4335 <!-- Color of the hint text. --> 4336 <attr name="textColorHint" /> 4337 <!-- Color of the links. --> 4338 <attr name="textColorLink" /> 4339 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4340 <attr name="textAllCaps" format="boolean" /> 4341 <!-- Place a blurred shadow of text underneath the text, drawn with the 4342 specified color. The text shadow produced does not interact with 4343 properties on View that are responsible for real time shadows, 4344 {@link android.R.styleable#View_elevation elevation} and 4345 {@link android.R.styleable#View_translationZ translationZ}. --> 4346 <attr name="shadowColor" format="color" /> 4347 <!-- Horizontal offset of the text shadow. --> 4348 <attr name="shadowDx" format="float" /> 4349 <!-- Vertical offset of the text shadow. --> 4350 <attr name="shadowDy" format="float" /> 4351 <!-- Blur radius of the text shadow. --> 4352 <attr name="shadowRadius" format="float" /> 4353 <!-- Elegant text height, especially for less compacted complex script text. --> 4354 <attr name="elegantTextHeight" format="boolean" /> 4355 <!-- Text letter-spacing. --> 4356 <attr name="letterSpacing" format="float" /> 4357 <!-- Font feature settings. --> 4358 <attr name="fontFeatureSettings" format="string" /> 4359 </declare-styleable> 4360 <declare-styleable name="TextClock"> 4361 <!-- Specifies the formatting pattern used to show the time and/or date 4362 in 12-hour mode. Please refer to {@link android.text.format.DateFormat} 4363 for a complete description of accepted formatting patterns. 4364 The default pattern is a locale-appropriate equivalent of "h:mm a". --> 4365 <attr name="format12Hour" format="string"/> 4366 <!-- Specifies the formatting pattern used to show the time and/or date 4367 in 24-hour mode. Please refer to {@link android.text.format.DateFormat} 4368 for a complete description of accepted formatting patterns. 4369 The default pattern is a locale-appropriate equivalent of "H:mm". --> 4370 <attr name="format24Hour" format="string"/> 4371 <!-- Specifies the time zone to use. When this attribute is specified, the 4372 TextClock will ignore the time zone of the system. To use the user's 4373 time zone, do not specify this attribute. The default value is the 4374 user's time zone. Please refer to {@link java.util.TimeZone} for more 4375 information about time zone ids. --> 4376 <attr name="timeZone" format="string"/> 4377 </declare-styleable> 4378 <declare-styleable name="TextSwitcher"> 4379 </declare-styleable> 4380 <declare-styleable name="TextView"> 4381 <!-- Determines the minimum type that getText() will return. 4382 The default is "normal". 4383 Note that EditText and LogTextBox always return Editable, 4384 even if you specify something less powerful here. --> 4385 <attr name="bufferType"> 4386 <!-- Can return any CharSequence, possibly a 4387 Spanned one if the source text was Spanned. --> 4388 <enum name="normal" value="0" /> 4389 <!-- Can only return Spannable. --> 4390 <enum name="spannable" value="1" /> 4391 <!-- Can only return Spannable and Editable. --> 4392 <enum name="editable" value="2" /> 4393 </attr> 4394 <!-- Text to display. --> 4395 <attr name="text" format="string" localization="suggested" /> 4396 <!-- Hint text to display when the text is empty. --> 4397 <attr name="hint" format="string" /> 4398 <!-- Text color. --> 4399 <attr name="textColor" /> 4400 <!-- Color of the text selection highlight. --> 4401 <attr name="textColorHighlight" /> 4402 <!-- Color of the hint text. --> 4403 <attr name="textColorHint" /> 4404 <!-- Base text color, typeface, size, and style. --> 4405 <attr name="textAppearance" /> 4406 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4407 <attr name="textSize" /> 4408 <!-- Sets the horizontal scaling factor for the text. --> 4409 <attr name="textScaleX" format="float" /> 4410 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4411 <attr name="typeface" /> 4412 <!-- Style (bold, italic, bolditalic) for the text. --> 4413 <attr name="textStyle" /> 4414 <!-- Font family (named by string) for the text. --> 4415 <attr name="fontFamily" /> 4416 <!-- Text color for links. --> 4417 <attr name="textColorLink" /> 4418 <!-- Makes the cursor visible (the default) or invisible. --> 4419 <attr name="cursorVisible" format="boolean" /> 4420 <!-- Makes the TextView be at most this many lines tall. 4421 4422 When used on an editable text, the <code>inputType</code> attribute's value must be 4423 combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. --> 4424 <attr name="maxLines" format="integer" min="0" /> 4425 <!-- Makes the TextView be at most this many pixels tall. --> 4426 <attr name="maxHeight" /> 4427 <!-- Makes the TextView be exactly this many lines tall. --> 4428 <attr name="lines" format="integer" min="0" /> 4429 <!-- Makes the TextView be exactly this many pixels tall. 4430 You could get the same effect by specifying this number in the 4431 layout parameters. --> 4432 <attr name="height" format="dimension" /> 4433 <!-- Makes the TextView be at least this many lines tall. 4434 4435 When used on an editable text, the <code>inputType</code> attribute's value must be 4436 combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. --> 4437 <attr name="minLines" format="integer" min="0" /> 4438 <!-- Makes the TextView be at least this many pixels tall. --> 4439 <attr name="minHeight" /> 4440 <!-- Makes the TextView be at most this many ems wide. --> 4441 <attr name="maxEms" format="integer" min="0" /> 4442 <!-- Makes the TextView be at most this many pixels wide. --> 4443 <attr name="maxWidth" /> 4444 <!-- Makes the TextView be exactly this many ems wide. --> 4445 <attr name="ems" format="integer" min="0" /> 4446 <!-- Makes the TextView be exactly this many pixels wide. 4447 You could get the same effect by specifying this number in the 4448 layout parameters. --> 4449 <attr name="width" format="dimension" /> 4450 <!-- Makes the TextView be at least this many ems wide. --> 4451 <attr name="minEms" format="integer" min="0" /> 4452 <!-- Makes the TextView be at least this many pixels wide. --> 4453 <attr name="minWidth" /> 4454 <!-- Specifies how to align the text by the view's x- and/or y-axis 4455 when the text is smaller than the view. --> 4456 <attr name="gravity" /> 4457 <!-- Whether the text is allowed to be wider than the view (and 4458 therefore can be scrolled horizontally). --> 4459 <attr name="scrollHorizontally" format="boolean" /> 4460 <!-- Whether the characters of the field are displayed as 4461 password dots instead of themselves. 4462 {@deprecated Use inputType instead.} --> 4463 <attr name="password" format="boolean" /> 4464 <!-- Constrains the text to a single horizontally scrolling line 4465 instead of letting it wrap onto multiple lines, and advances 4466 focus instead of inserting a newline when you press the 4467 enter key. 4468 4469 The default value is false (multi-line wrapped text mode) for non-editable text, but if 4470 you specify any value for inputType, the default is true (single-line input field mode). 4471 4472 {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change 4473 the layout of a static text, and use the <code>textMultiLine</code> flag in the 4474 inputType attribute instead for editable text views (if both singleLine and inputType 4475 are supplied, the inputType flags will override the value of singleLine). } --> 4476 <attr name="singleLine" format="boolean" /> 4477 <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. 4478 For example, a non-enabled EditText prevents the user from editing the contained text, and 4479 a non-enabled Button prevents the user from tapping the button. 4480 The appearance of enabled and non-enabled widgets may differ, if the drawables referenced 4481 from evaluating state_enabled differ. --> 4482 <attr name="enabled" format="boolean" /> 4483 <!-- If the text is selectable, select it all when the view takes 4484 focus. --> 4485 <attr name="selectAllOnFocus" format="boolean" /> 4486 <!-- Leave enough room for ascenders and descenders instead of 4487 using the font ascent and descent strictly. (Normally true). --> 4488 <attr name="includeFontPadding" format="boolean" /> 4489 <!-- Set an input filter to constrain the text length to the 4490 specified number. --> 4491 <attr name="maxLength" format="integer" min="0" /> 4492 <!-- Place a blurred shadow of text underneath the text, drawn with the 4493 specified color. The text shadow produced does not interact with 4494 properties on View that are responsible for real time shadows, 4495 {@link android.R.styleable#View_elevation elevation} and 4496 {@link android.R.styleable#View_translationZ translationZ}. --> 4497 <attr name="shadowColor" /> 4498 <!-- Horizontal offset of the text shadow. --> 4499 <attr name="shadowDx" /> 4500 <!-- Vertical offset of the text shadow. --> 4501 <attr name="shadowDy" /> 4502 <!-- Blur radius of the text shadow. --> 4503 <attr name="shadowRadius" /> 4504 <attr name="autoLink" /> 4505 <!-- If set to false, keeps the movement method from being set 4506 to the link movement method even if autoLink causes links 4507 to be found. --> 4508 <attr name="linksClickable" format="boolean" /> 4509 <!-- If set, specifies that this TextView has a numeric input method. 4510 The default is false. 4511 {@deprecated Use inputType instead.} --> 4512 <attr name="numeric"> 4513 <!-- Input is numeric. --> 4514 <flag name="integer" value="0x01" /> 4515 <!-- Input is numeric, with sign allowed. --> 4516 <flag name="signed" value="0x03" /> 4517 <!-- Input is numeric, with decimals allowed. --> 4518 <flag name="decimal" value="0x05" /> 4519 </attr> 4520 <!-- If set, specifies that this TextView has a numeric input method 4521 and that these specific characters are the ones that it will 4522 accept. 4523 If this is set, numeric is implied to be true. 4524 The default is false. --> 4525 <attr name="digits" format="string" /> 4526 <!-- If set, specifies that this TextView has a phone number input 4527 method. The default is false. 4528 {@deprecated Use inputType instead.} --> 4529 <attr name="phoneNumber" format="boolean" /> 4530 <!-- If set, specifies that this TextView should use the specified 4531 input method (specified by fully-qualified class name). 4532 {@deprecated Use inputType instead.} --> 4533 <attr name="inputMethod" format="string" /> 4534 <!-- If set, specifies that this TextView has a textual input method 4535 and should automatically capitalize what the user types. 4536 The default is "none". 4537 {@deprecated Use inputType instead.} --> 4538 <attr name="capitalize"> 4539 <!-- Don't automatically capitalize anything. --> 4540 <enum name="none" value="0" /> 4541 <!-- Capitalize the first word of each sentence. --> 4542 <enum name="sentences" value="1" /> 4543 <!-- Capitalize the first letter of every word. --> 4544 <enum name="words" value="2" /> 4545 <!-- Capitalize every character. --> 4546 <enum name="characters" value="3" /> 4547 </attr> 4548 <!-- If set, specifies that this TextView has a textual input method 4549 and automatically corrects some common spelling errors. 4550 The default is "false". 4551 {@deprecated Use inputType instead.} --> 4552 <attr name="autoText" format="boolean" /> 4553 <!-- If set, specifies that this TextView has an input method. 4554 It will be a textual one unless it has otherwise been specified. 4555 For TextView, this is false by default. For EditText, it is 4556 true by default. 4557 {@deprecated Use inputType instead.} --> 4558 <attr name="editable" format="boolean" /> 4559 <!-- If set, the text view will include its current complete text 4560 inside of its frozen icicle in addition to meta-data such as 4561 the current cursor position. By default this is disabled; 4562 it can be useful when the contents of a text view is not stored 4563 in a persistent place such as a content provider. For 4564 {@link android.widget.EditText} it is always enabled, regardless 4565 of the value of the attribute. --> 4566 <attr name="freezesText" format="boolean" /> 4567 <!-- If set, causes words that are longer than the view is wide 4568 to be ellipsized instead of broken in the middle. 4569 You will often also want to set scrollHorizontally or singleLine 4570 as well so that the text as a whole is also constrained to 4571 a single line instead of still allowed to be broken onto 4572 multiple lines. --> 4573 <attr name="ellipsize" /> 4574 <!-- The drawable to be drawn above the text. --> 4575 <attr name="drawableTop" format="reference|color" /> 4576 <!-- The drawable to be drawn below the text. --> 4577 <attr name="drawableBottom" format="reference|color" /> 4578 <!-- The drawable to be drawn to the left of the text. --> 4579 <attr name="drawableLeft" format="reference|color" /> 4580 <!-- The drawable to be drawn to the right of the text. --> 4581 <attr name="drawableRight" format="reference|color" /> 4582 <!-- The drawable to be drawn to the start of the text. --> 4583 <attr name="drawableStart" format="reference|color" /> 4584 <!-- The drawable to be drawn to the end of the text. --> 4585 <attr name="drawableEnd" format="reference|color" /> 4586 <!-- The padding between the drawables and the text. --> 4587 <attr name="drawablePadding" format="dimension" /> 4588 <!-- Tint to apply to the compound (left, top, etc.) drawables. --> 4589 <attr name="drawableTint" format="color" /> 4590 <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. --> 4591 <attr name="drawableTintMode"> 4592 <!-- The tint is drawn on top of the drawable. 4593 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4594 <enum name="src_over" value="3" /> 4595 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4596 color channels are thrown out. [Sa * Da, Sc * Da] --> 4597 <enum name="src_in" value="5" /> 4598 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4599 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4600 <enum name="src_atop" value="9" /> 4601 <!-- Multiplies the color and alpha channels of the drawable with those of 4602 the tint. [Sa * Da, Sc * Dc] --> 4603 <enum name="multiply" value="14" /> 4604 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4605 <enum name="screen" value="15" /> 4606 <!-- Combines the tint and drawable color and alpha channels, clamping the 4607 result to valid color values. Saturate(S + D) --> 4608 <enum name="add" value="16" /> 4609 </attr> 4610 <!-- Extra spacing between lines of text. --> 4611 <attr name="lineSpacingExtra" format="dimension" /> 4612 <!-- Extra spacing between lines of text, as a multiplier. --> 4613 <attr name="lineSpacingMultiplier" format="float" /> 4614 <!-- The number of times to repeat the marquee animation. Only applied if the 4615 TextView has marquee enabled. --> 4616 <attr name="marqueeRepeatLimit" format="integer"> 4617 <!-- Indicates that marquee should repeat indefinitely. --> 4618 <enum name="marquee_forever" value="-1" /> 4619 </attr> 4620 <attr name="inputType" /> 4621 <!-- Whether undo should be allowed for editable text. Defaults to true. --> 4622 <attr name="allowUndo" format="boolean" /> 4623 <attr name="imeOptions" /> 4624 <!-- An addition content type description to supply to the input 4625 method attached to the text view, which is private to the 4626 implementation of the input method. This simply fills in 4627 the {@link android.view.inputmethod.EditorInfo#privateImeOptions 4628 EditorInfo.privateImeOptions} field when the input 4629 method is connected. --> 4630 <attr name="privateImeOptions" format="string" /> 4631 <!-- Supply a value for 4632 {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel} 4633 used when an input method is connected to the text view. --> 4634 <attr name="imeActionLabel" format="string" /> 4635 <!-- Supply a value for 4636 {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId} 4637 used when an input method is connected to the text view. --> 4638 <attr name="imeActionId" format="integer" /> 4639 <!-- Reference to an 4640 {@link android.R.styleable#InputExtras <input-extras>} 4641 XML resource containing additional data to 4642 supply to an input method, which is private to the implementation 4643 of the input method. This simply fills in 4644 the {@link android.view.inputmethod.EditorInfo#extras 4645 EditorInfo.extras} field when the input 4646 method is connected. --> 4647 <attr name="editorExtras" format="reference" /> 4648 4649 <!-- Reference to a drawable that will be used to display a text selection 4650 anchor on the left side of a selection region. --> 4651 <attr name="textSelectHandleLeft" /> 4652 <!-- Reference to a drawable that will be used to display a text selection 4653 anchor on the right side of a selection region. --> 4654 <attr name="textSelectHandleRight" /> 4655 <!-- Reference to a drawable that will be used to display a text selection 4656 anchor for positioning the cursor within text. --> 4657 <attr name="textSelectHandle" /> 4658 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 4659 TextEdit field. --> 4660 <attr name="textEditPasteWindowLayout" /> 4661 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 4662 <attr name="textEditNoPasteWindowLayout" /> 4663 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 4664 insertion cursor because it would be clipped if it were positioned on top. --> 4665 <attr name="textEditSidePasteWindowLayout" /> 4666 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 4667 <attr name="textEditSideNoPasteWindowLayout" /> 4668 4669 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 4670 <attr name="textEditSuggestionItemLayout" /> 4671 <!-- Layout of the container of the suggestion popup window. --> 4672 <attr name="textEditSuggestionContainerLayout" /> 4673 <!-- Style of the highlighted string in the suggestion popup window. --> 4674 <attr name="textEditSuggestionHighlightStyle" /> 4675 4676 4677 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 4678 <attr name="textCursorDrawable" /> 4679 4680 <!-- Indicates that the content of a non-editable text can be selected. --> 4681 <attr name="textIsSelectable" /> 4682 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4683 <attr name="textAllCaps" /> 4684 <!-- Elegant text height, especially for less compacted complex script text. --> 4685 <attr name="elegantTextHeight" /> 4686 <!-- Text letter-spacing. --> 4687 <attr name="letterSpacing" /> 4688 <!-- Font feature settings. --> 4689 <attr name="fontFeatureSettings" /> 4690 <!-- Break strategy (control over paragraph layout). --> 4691 <attr name="breakStrategy"> 4692 <!-- Line breaking uses simple strategy. --> 4693 <enum name="simple" value="0" /> 4694 <!-- Line breaking uses high-quality strategy, including hyphenation. --> 4695 <enum name="high_quality" value="1" /> 4696 <!-- Line breaking strategy balances line lengths. --> 4697 <enum name="balanced" value="2" /> 4698 </attr> 4699 <!-- Frequency of automatic hyphenation. --> 4700 <attr name="hyphenationFrequency"> 4701 <!-- No hyphenation. --> 4702 <enum name="none" value="0" /> 4703 <!-- Less frequent hyphenation, useful for informal use cases, such 4704 as chat messages. --> 4705 <enum name="normal" value="1" /> 4706 <!-- Standard amount of hyphenation, useful for running text and for 4707 screens with limited space for text. --> 4708 <enum name="full" value="2" /> 4709 </attr> 4710 <!-- Specify the type of auto-size. Note that this feature is not supported by EditText, 4711 works only for TextView --> 4712 <attr name="autoSizeText" format="enum"> 4713 <!-- No auto-sizing (default). --> 4714 <enum name="none" value="0" /> 4715 <!-- Uniform horizontal and vertical scaling. --> 4716 <enum name="xy" value="1" /> 4717 </attr> 4718 <!-- Specify the auto-size step size if <code>autoSizeText</code> is set to 4719 <code>xy</code>. The default is 1px. Overwrites 4720 <code>autoSizeStepSizeSet</code> if set. --> 4721 <attr name="autoSizeStepGranularity" format="dimension" /> 4722 <!-- Array of dimensions to be used in conjunction with 4723 <code>autoSizeText</code> set to <code>xy</code>. Overwrites 4724 <code>autoSizeStepGranularity</code> if set. --> 4725 <attr name="autoSizeStepSizeSet"/> 4726 <!-- The minimum text size constraint to be used when auto-sizing text --> 4727 <attr name="autoSizeMinTextSize" format="dimension" /> 4728 <!-- The maximum text size constraint to be used when auto-sizing text --> 4729 <attr name="autoSizeMaxTextSize" format="dimension" /> 4730 </declare-styleable> 4731 <declare-styleable name="TextViewAppearance"> 4732 <!-- Base text color, typeface, size, and style. --> 4733 <attr name="textAppearance" /> 4734 </declare-styleable> 4735 <declare-styleable name="SelectionModeDrawables"> 4736 <attr name="actionModeSelectAllDrawable" /> 4737 <attr name="actionModeCutDrawable" /> 4738 <attr name="actionModeCopyDrawable" /> 4739 <attr name="actionModePasteDrawable" /> 4740 </declare-styleable> 4741 <declare-styleable name="SuggestionSpan"> 4742 <attr name="textUnderlineColor" /> 4743 <attr name="textUnderlineThickness" /> 4744 </declare-styleable> 4745 <!-- An <code>input-extras</code> is a container for extra data to supply to 4746 an input method. Contains 4747 one more more {@link #Extra <extra>} tags. --> 4748 <declare-styleable name="InputExtras"> 4749 </declare-styleable> 4750 <declare-styleable name="AutoCompleteTextView"> 4751 <!-- Defines the hint displayed in the drop down menu. --> 4752 <attr name="completionHint" format="string" /> 4753 <!-- Defines the hint view displayed in the drop down menu. --> 4754 <attr name="completionHintView" format="reference" /> 4755 <!-- Defines the number of characters that the user must type before 4756 completion suggestions are displayed in a drop down menu. --> 4757 <attr name="completionThreshold" format="integer" min="1" /> 4758 <!-- Selector in a drop down list. --> 4759 <attr name="dropDownSelector" format="reference|color" /> 4760 <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself 4761 is used. --> 4762 <attr name="dropDownAnchor" format="reference" /> 4763 <!-- Specifies the basic width of the dropdown. Its value may 4764 be a dimension (such as "12dip") for a constant width, 4765 fill_parent or match_parent to match the width of the 4766 screen, or wrap_content to match the width of 4767 the anchored view. --> 4768 <attr name="dropDownWidth" format="dimension"> 4769 <!-- The dropdown should fill the width of the screen. 4770 This constant is deprecated starting from API Level 8 and 4771 is replaced by {@code match_parent}. --> 4772 <enum name="fill_parent" value="-1" /> 4773 <!-- The dropdown should fit the width of the screen. 4774 Introduced in API Level 8. --> 4775 <enum name="match_parent" value="-1" /> 4776 <!-- The dropdown should fit the width of its anchor. --> 4777 <enum name="wrap_content" value="-2" /> 4778 </attr> 4779 <!-- Specifies the basic height of the dropdown. Its value may 4780 be a dimension (such as "12dip") for a constant height, 4781 fill_parent or match_parent to fill the height of the 4782 screen, or wrap_content to match the height of 4783 the content of the drop down. --> 4784 <attr name="dropDownHeight" format="dimension"> 4785 <!-- The dropdown should fit the height of the screen. 4786 This constant is deprecated starting from API Level 8 and 4787 is replaced by {@code match_parent}. --> 4788 <enum name="fill_parent" value="-1" /> 4789 <!-- The dropdown should fit the height of the screen. 4790 Introduced in API Level 8. --> 4791 <enum name="match_parent" value="-1" /> 4792 <!-- The dropdown should fit the height of the content. --> 4793 <enum name="wrap_content" value="-2" /> 4794 </attr> 4795 <attr name="inputType" /> 4796 <!-- Theme to use for the completion popup window. --> 4797 <attr name="popupTheme" /> 4798 </declare-styleable> 4799 <declare-styleable name="PopupWindow"> 4800 <!-- The background to use for the popup window. --> 4801 <attr name="popupBackground" format="reference|color" /> 4802 <!-- Window elevation to use for the popup window. --> 4803 <attr name="popupElevation" format="dimension" /> 4804 <!-- The animation style to use for the popup window. --> 4805 <attr name="popupAnimationStyle" format="reference" /> 4806 <!-- Whether the popup window should overlap its anchor view. --> 4807 <attr name="overlapAnchor" format="boolean" /> 4808 <!-- Transition used to move views into the popup window. --> 4809 <attr name="popupEnterTransition" format="reference" /> 4810 <!-- Transition used to move views out of the popup window. --> 4811 <attr name="popupExitTransition" format="reference" /> 4812 </declare-styleable> 4813 <declare-styleable name="ListPopupWindow"> 4814 <!-- Amount of pixels by which the drop down should be offset vertically. --> 4815 <attr name="dropDownVerticalOffset" format="dimension" /> 4816 <!-- Amount of pixels by which the drop down should be offset horizontally. --> 4817 <attr name="dropDownHorizontalOffset" format="dimension" /> 4818 </declare-styleable> 4819 <declare-styleable name="ViewAnimator"> 4820 <!-- Identifier for the animation to use when a view is shown. --> 4821 <attr name="inAnimation" format="reference" /> 4822 <!-- Identifier for the animation to use when a view is hidden. --> 4823 <attr name="outAnimation" format="reference" /> 4824 <!-- Defines whether to animate the current View when the ViewAnimation 4825 is first displayed. --> 4826 <attr name="animateFirstView" format="boolean" /> 4827 </declare-styleable> 4828 <declare-styleable name="ViewFlipper"> 4829 <attr name="flipInterval" format="integer" min="0" /> 4830 <!-- When true, automatically start animating --> 4831 <attr name="autoStart" format="boolean" /> 4832 </declare-styleable> 4833 <declare-styleable name="AdapterViewAnimator"> 4834 <!-- Identifier for the animation to use when a view is shown. --> 4835 <attr name="inAnimation" /> 4836 <!-- Identifier for the animation to use when a view is hidden. --> 4837 <attr name="outAnimation" /> 4838 <!--Defines whether the animator loops to the first view once it 4839 has reached the end of the list. --> 4840 <attr name="loopViews" format="boolean" /> 4841 <!-- Defines whether to animate the current View when the ViewAnimation 4842 is first displayed. --> 4843 <attr name="animateFirstView" /> 4844 </declare-styleable> 4845 <declare-styleable name="AdapterViewFlipper"> 4846 <attr name="flipInterval" /> 4847 <!-- When true, automatically start animating --> 4848 <attr name="autoStart" /> 4849 </declare-styleable> 4850 <declare-styleable name="ViewSwitcher"> 4851 </declare-styleable> 4852 <declare-styleable name="ScrollView"> 4853 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4854 <attr name="fillViewport" format="boolean" /> 4855 </declare-styleable> 4856 <declare-styleable name="HorizontalScrollView"> 4857 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4858 <attr name="fillViewport" /> 4859 </declare-styleable> 4860 <declare-styleable name="Spinner"> 4861 <!-- The prompt to display when the spinner's dialog is shown. --> 4862 <attr name="prompt" format="reference" /> 4863 <!-- Display mode for spinner options. --> 4864 <attr name="spinnerMode" format="enum"> 4865 <!-- Spinner options will be presented to the user as a dialog window. --> 4866 <enum name="dialog" value="0" /> 4867 <!-- Spinner options will be presented to the user as an inline dropdown 4868 anchored to the spinner widget itself. --> 4869 <enum name="dropdown" value="1" /> 4870 </attr> 4871 <!-- List selector to use for spinnerMode="dropdown" display. --> 4872 <attr name="dropDownSelector" /> 4873 <!-- Theme to use for the drop-down or dialog popup window. --> 4874 <attr name="popupTheme" /> 4875 <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". --> 4876 <attr name="popupBackground" /> 4877 <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". --> 4878 <attr name="popupElevation" /> 4879 <!-- Width of the dropdown in spinnerMode="dropdown". --> 4880 <attr name="dropDownWidth" /> 4881 <!-- Reference to a layout to use for displaying a prompt in the dropdown for 4882 spinnerMode="dropdown". This layout must contain a TextView with the id 4883 {@code @android:id/text1} to be populated with the prompt text. --> 4884 <attr name="popupPromptView" format="reference" /> 4885 <!-- Gravity setting for positioning the currently selected item. --> 4886 <attr name="gravity" /> 4887 <!-- Whether this spinner should mark child views as enabled/disabled when 4888 the spinner itself is enabled/disabled. --> 4889 <attr name="disableChildrenWhenDisabled" format="boolean" /> 4890 </declare-styleable> 4891 4892 <declare-styleable name="DatePicker"> 4893 <!-- The first day of week according to {@link java.util.Calendar}. --> 4894 <attr name="firstDayOfWeek" /> 4895 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4896 <attr name="minDate" format="string" /> 4897 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 4898 <attr name="maxDate" format="string" /> 4899 4900 <!-- Whether the spinners are shown. Only valid for "spinner" mode. --> 4901 <attr name="spinnersShown" format="boolean" /> 4902 <!-- Whether the calendar view is shown. Only valid for "spinner" mode. --> 4903 <attr name="calendarViewShown" format="boolean" /> 4904 4905 <!-- @hide The layout of the date picker. --> 4906 <attr name="internalLayout" format="reference" /> 4907 <!-- @hide The layout of the legacy DatePicker. --> 4908 <attr name="legacyLayout" /> 4909 4910 <!-- The text color for the selected date header text, ex. "2014" or 4911 "Tue, Mar 18". This should be a color state list where the 4912 activated state will be used when the year picker or day picker is 4913 active.--> 4914 <attr name="headerTextColor" format="color" /> 4915 <!-- The background for the selected date header. --> 4916 <attr name="headerBackground" /> 4917 4918 <!-- The list year's text appearance in the list. 4919 {@deprecated Use yearListTextColor. }--> 4920 <attr name="yearListItemTextAppearance" format="reference" /> 4921 <!-- @hide The list year's text appearance in the list when activated. --> 4922 <attr name="yearListItemActivatedTextAppearance" format="reference" /> 4923 <!-- The text color list of the calendar. --> 4924 <attr name="calendarTextColor" format="color" /> 4925 4926 <!-- Defines the look of the widget. Prior to the L release, the only choice was 4927 spinner. As of L, with the Material theme selected, the default layout is calendar, 4928 but this attribute can be used to force spinner to be used instead. --> 4929 <attr name="datePickerMode"> 4930 <!-- Date picker with spinner controls to select the date. --> 4931 <enum name="spinner" value="1" /> 4932 <!-- Date picker with calendar to select the date. --> 4933 <enum name="calendar" value="2" /> 4934 </attr> 4935 4936 <!-- The first year (inclusive), for example "1940". 4937 {@deprecated Use minDate instead.} --> 4938 <attr name="startYear" format="integer" /> 4939 <!-- The last year (inclusive), for example "2010". 4940 {@deprecated Use maxDate instead.} --> 4941 <attr name="endYear" format="integer" /> 4942 <!-- The text appearance for the month (ex. May) in the selected date header. 4943 {@deprecated Use headerTextColor instead.} --> 4944 <attr name="headerMonthTextAppearance" format="reference" /> 4945 <!-- The text appearance for the day of month (ex. 28) in the selected date header. 4946 {@deprecated Use headerTextColor instead.} --> 4947 <attr name="headerDayOfMonthTextAppearance" format="reference" /> 4948 <!-- The text appearance for the year (ex. 2014) in the selected date header. 4949 {@deprecated Use headerTextColor instead.} --> 4950 <attr name="headerYearTextAppearance" format="reference" /> 4951 <!-- The background color for the header's day of week. 4952 {@deprecated No longer displayed.} --> 4953 <attr name="dayOfWeekBackground" format="color" /> 4954 <!-- The text color for the header's day of week. 4955 {@deprecated No longer displayed.} --> 4956 <attr name="dayOfWeekTextAppearance" format="reference" /> 4957 <!-- The list year's selected circle color in the list. 4958 {@deprecated No longer displayed.} --> 4959 <attr name="yearListSelectorColor" format="color" /> 4960 4961 <!-- @hide Whether this time picker is being displayed within a dialog, 4962 in which case it may ignore the requested time picker mode due to 4963 space considerations. --> 4964 <attr name="dialogMode" format="boolean" /> 4965 </declare-styleable> 4966 4967 <declare-styleable name="TwoLineListItem"> 4968 <attr name="mode"> 4969 <!-- Always show only the first line. --> 4970 <enum name="oneLine" value="1" /> 4971 <!-- When selected show both lines, otherwise show only the first line. 4972 This is the default mode. --> 4973 <enum name="collapsing" value="2" /> 4974 <!-- Always show both lines. --> 4975 <enum name="twoLine" value="3" /> 4976 </attr> 4977 </declare-styleable> 4978 4979 <!-- SlidingDrawer specific attributes. These attributes are used to configure 4980 a SlidingDrawer from XML. --> 4981 <declare-styleable name="SlidingDrawer"> 4982 <!-- Identifier for the child that represents the drawer's handle. --> 4983 <attr name="handle" format="reference" /> 4984 <!-- Identifier for the child that represents the drawer's content. --> 4985 <attr name="content" format="reference" /> 4986 <!-- Orientation of the SlidingDrawer. --> 4987 <attr name="orientation" /> 4988 <!-- Extra offset for the handle at the bottom of the SlidingDrawer. --> 4989 <attr name="bottomOffset" format="dimension" /> 4990 <!-- Extra offset for the handle at the top of the SlidingDrawer. --> 4991 <attr name="topOffset" format="dimension" /> 4992 <!-- Indicates whether the drawer can be opened/closed by a single tap 4993 on the handle. (If false, the user must drag or fling, or click 4994 using the trackball, to open/close the drawer.) Default is true. --> 4995 <attr name="allowSingleTap" format="boolean" /> 4996 <!-- Indicates whether the drawer should be opened/closed with an animation 4997 when the user clicks the handle. Default is true. --> 4998 <attr name="animateOnClick" format="boolean" /> 4999 </declare-styleable> 5000 5001 <!-- GestureOverlayView specific attributes. These attributes are used to configure 5002 a GestureOverlayView from XML. --> 5003 <declare-styleable name="GestureOverlayView"> 5004 <!-- Width of the stroke used to draw the gesture. --> 5005 <attr name="gestureStrokeWidth" format="float" /> 5006 <!-- Color used to draw a gesture. --> 5007 <attr name="gestureColor" format="color" /> 5008 <!-- Color used to draw the user's strokes until we are sure it's a gesture. --> 5009 <attr name="uncertainGestureColor" format="color" /> 5010 <!-- Time, in milliseconds, to wait before the gesture fades out after the user 5011 is done drawing it. --> 5012 <attr name="fadeOffset" format="integer" /> 5013 <!-- Duration, in milliseconds, of the fade out effect after the user is done 5014 drawing a gesture. --> 5015 <attr name="fadeDuration" format="integer" /> 5016 <!-- Defines the type of strokes that define a gesture. --> 5017 <attr name="gestureStrokeType"> 5018 <!-- A gesture is made of only one stroke. --> 5019 <enum name="single" value="0" /> 5020 <!-- A gesture is made of multiple strokes. --> 5021 <enum name="multiple" value="1" /> 5022 </attr> 5023 <!-- Minimum length of a stroke before it is recognized as a gesture. --> 5024 <attr name="gestureStrokeLengthThreshold" format="float" /> 5025 <!-- Squareness threshold of a stroke before it is recognized as a gesture. --> 5026 <attr name="gestureStrokeSquarenessThreshold" format="float" /> 5027 <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. --> 5028 <attr name="gestureStrokeAngleThreshold" format="float" /> 5029 <!-- Defines whether the overlay should intercept the motion events when a gesture 5030 is recognized. --> 5031 <attr name="eventsInterceptionEnabled" format="boolean" /> 5032 <!-- Defines whether the gesture will automatically fade out after being recognized. --> 5033 <attr name="fadeEnabled" format="boolean" /> 5034 <!-- Indicates whether horizontal (when the orientation is vertical) or vertical 5035 (when orientation is horizontal) strokes automatically define a gesture. --> 5036 <attr name="orientation" /> 5037 </declare-styleable> 5038 5039 <declare-styleable name="QuickContactBadge"> 5040 <attr name="quickContactWindowSize"> 5041 <enum name="modeSmall" value="1" /> 5042 <enum name="modeMedium" value="2" /> 5043 <enum name="modeLarge" value="3" /> 5044 </attr> 5045 </declare-styleable> 5046 5047 <!-- ======================================= --> 5048 <!-- Widget package parent layout attributes --> 5049 <!-- ======================================= --> 5050 <eat-comment /> 5051 5052 <declare-styleable name="AbsoluteLayout_Layout"> 5053 <attr name="layout_x" format="dimension" /> 5054 <attr name="layout_y" format="dimension" /> 5055 </declare-styleable> 5056 <declare-styleable name="LinearLayout_Layout"> 5057 <attr name="layout_width" /> 5058 <attr name="layout_height" /> 5059 <!-- Indicates how much of the extra space in the LinearLayout is 5060 allocated to the view associated with these LayoutParams. Specify 5061 0 if the view should not be stretched. Otherwise the extra pixels 5062 will be pro-rated among all views whose weight is greater than 0. --> 5063 <attr name="layout_weight" format="float" /> 5064 <!-- Gravity specifies how a component should be placed in its group of cells. 5065 The default is {@link android.view.Gravity#TOP}. 5066 See {@link android.widget.LinearLayout#setGravity(int)}. --> 5067 <attr name="layout_gravity" /> 5068 </declare-styleable> 5069 <declare-styleable name="GridLayout_Layout"> 5070 <!-- The row boundary delimiting the top of the group of cells 5071 occupied by this view. --> 5072 <attr name="layout_row" format="integer" /> 5073 <!-- The row span: the difference between the top and bottom 5074 boundaries delimiting the group of cells occupied by this view. 5075 The default is one. 5076 See {@link android.widget.GridLayout.Spec}. --> 5077 <attr name="layout_rowSpan" format="integer" min="1" /> 5078 <!-- The relative proportion of vertical space that should be allocated to this view 5079 during excess space distribution. --> 5080 <attr name="layout_rowWeight" format="float" /> 5081 <!-- The column boundary delimiting the left of the group of cells 5082 occupied by this view. --> 5083 <attr name="layout_column" /> 5084 <!-- The column span: the difference between the right and left 5085 boundaries delimiting the group of cells occupied by this view. 5086 The default is one. 5087 See {@link android.widget.GridLayout.Spec}. --> 5088 <attr name="layout_columnSpan" format="integer" min="1" /> 5089 <!-- The relative proportion of horizontal space that should be allocated to this view 5090 during excess space distribution. --> 5091 <attr name="layout_columnWeight" format="float" /> 5092 <!-- Gravity specifies how a component should be placed in its group of cells. 5093 The default is LEFT | BASELINE. 5094 See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. --> 5095 <attr name="layout_gravity" /> 5096 </declare-styleable> 5097 <declare-styleable name="FrameLayout_Layout"> 5098 <attr name="layout_gravity" /> 5099 </declare-styleable> 5100 <declare-styleable name="RelativeLayout_Layout"> 5101 <!-- Positions the right edge of this view to the left of the given anchor view ID. 5102 Accommodates right margin of this view and left margin of anchor view. --> 5103 <attr name="layout_toLeftOf" format="reference" /> 5104 <!-- Positions the left edge of this view to the right of the given anchor view ID. 5105 Accommodates left margin of this view and right margin of anchor view. --> 5106 <attr name="layout_toRightOf" format="reference" /> 5107 <!-- Positions the bottom edge of this view above the given anchor view ID. 5108 Accommodates bottom margin of this view and top margin of anchor view. --> 5109 <attr name="layout_above" format="reference" /> 5110 <!-- Positions the top edge of this view below the given anchor view ID. 5111 Accommodates top margin of this view and bottom margin of anchor view. --> 5112 <attr name="layout_below" format="reference" /> 5113 <!-- Positions the baseline of this view on the baseline of the given anchor view ID. --> 5114 <attr name="layout_alignBaseline" format="reference" /> 5115 <!-- Makes the left edge of this view match the left edge of the given anchor view ID. 5116 Accommodates left margin. --> 5117 <attr name="layout_alignLeft" format="reference" /> 5118 <!-- Makes the top edge of this view match the top edge of the given anchor view ID. 5119 Accommodates top margin. --> 5120 <attr name="layout_alignTop" format="reference" /> 5121 <!-- Makes the right edge of this view match the right edge of the given anchor view ID. 5122 Accommodates right margin. --> 5123 <attr name="layout_alignRight" format="reference" /> 5124 <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID. 5125 Accommodates bottom margin. --> 5126 <attr name="layout_alignBottom" format="reference" /> 5127 <!-- If true, makes the left edge of this view match the left edge of the parent. 5128 Accommodates left margin. --> 5129 <attr name="layout_alignParentLeft" format="boolean" /> 5130 <!-- If true, makes the top edge of this view match the top edge of the parent. 5131 Accommodates top margin. --> 5132 <attr name="layout_alignParentTop" format="boolean" /> 5133 <!-- If true, makes the right edge of this view match the right edge of the parent. 5134 Accommodates right margin. --> 5135 <attr name="layout_alignParentRight" format="boolean" /> 5136 <!-- If true, makes the bottom edge of this view match the bottom edge of the parent. 5137 Accommodates bottom margin. --> 5138 <attr name="layout_alignParentBottom" format="boolean" /> 5139 <!-- If true, centers this child horizontally and vertically within its parent. --> 5140 <attr name="layout_centerInParent" format="boolean" /> 5141 <!-- If true, centers this child horizontally within its parent. --> 5142 <attr name="layout_centerHorizontal" format="boolean" /> 5143 <!-- If true, centers this child vertically within its parent. --> 5144 <attr name="layout_centerVertical" format="boolean" /> 5145 <!-- If set to true, the parent will be used as the anchor when the anchor cannot be 5146 be found for layout_toLeftOf, layout_toRightOf, etc. --> 5147 <attr name="layout_alignWithParentIfMissing" format="boolean" /> 5148 <!-- Positions the end edge of this view to the start of the given anchor view ID. 5149 Accommodates end margin of this view and start margin of anchor view. --> 5150 <attr name="layout_toStartOf" format="reference" /> 5151 <!-- Positions the start edge of this view to the end of the given anchor view ID. 5152 Accommodates start margin of this view and end margin of anchor view. --> 5153 <attr name="layout_toEndOf" format="reference" /> 5154 <!-- Makes the start edge of this view match the start edge of the given anchor view ID. 5155 Accommodates start margin. --> 5156 <attr name="layout_alignStart" format="reference" /> 5157 <!-- Makes the end edge of this view match the end edge of the given anchor view ID. 5158 Accommodates end margin. --> 5159 <attr name="layout_alignEnd" format="reference" /> 5160 <!-- If true, makes the start edge of this view match the start edge of the parent. 5161 Accommodates start margin. --> 5162 <attr name="layout_alignParentStart" format="boolean" /> 5163 <!-- If true, makes the end edge of this view match the end edge of the parent. 5164 Accommodates end margin. --> 5165 <attr name="layout_alignParentEnd" format="boolean" /> 5166 </declare-styleable> 5167 <declare-styleable name="VerticalSlider_Layout"> 5168 <attr name="layout_scale" format="float" /> 5169 </declare-styleable> 5170 5171 <!-- @hide --> 5172 <declare-styleable name="WeightedLinearLayout"> 5173 <attr name="majorWeightMin" format="float" /> 5174 <attr name="minorWeightMin" format="float" /> 5175 <attr name="majorWeightMax" format="float" /> 5176 <attr name="minorWeightMax" format="float" /> 5177 </declare-styleable> 5178 5179 <declare-styleable name="CalendarView"> 5180 <!-- The first day of week according to {@link java.util.Calendar}. --> 5181 <attr name="firstDayOfWeek" format="integer" /> 5182 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 5183 <attr name="minDate" /> 5184 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 5185 <attr name="maxDate" /> 5186 <!-- The text appearance for the month and year in the calendar header. --> 5187 <attr name="monthTextAppearance" format="reference" /> 5188 <!-- The text appearance for the week day abbreviation in the calendar header. --> 5189 <attr name="weekDayTextAppearance" format="reference" /> 5190 <!-- The text appearance for the day numbers in the calendar grid. --> 5191 <attr name="dateTextAppearance" format="reference" /> 5192 <!-- @hide The background color used for the day selection indicator. --> 5193 <attr name="daySelectorColor" format="color" /> 5194 <!-- @hide The background color used for the day highlight indicator. --> 5195 <attr name="dayHighlightColor" format="color" /> 5196 <!-- @hide Which style of calendar delegate to use. --> 5197 <attr name="calendarViewMode"> 5198 <enum name="holo" value="0" /> 5199 <enum name="material" value="1" /> 5200 </attr> 5201 5202 <!-- @deprecated Whether do show week numbers. --> 5203 <attr name="showWeekNumber" format="boolean" /> 5204 <!-- @deprecated The number of weeks to be shown. --> 5205 <attr name="shownWeekCount" format="integer"/> 5206 <!-- @deprecated The background color for the selected week. --> 5207 <attr name="selectedWeekBackgroundColor" format="color|reference" /> 5208 <!-- @deprecated The color for the dates of the focused month. --> 5209 <attr name="focusedMonthDateColor" format="color|reference" /> 5210 <!-- @deprecated The color for the dates of an unfocused month. --> 5211 <attr name="unfocusedMonthDateColor" format="color|reference" /> 5212 <!-- @deprecated The color for the week numbers. --> 5213 <attr name="weekNumberColor" format="color|reference" /> 5214 <!-- @deprecated The color for the separator line between weeks. --> 5215 <attr name="weekSeparatorLineColor" format="color|reference" /> 5216 <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. --> 5217 <attr name="selectedDateVerticalBar" format="reference" /> 5218 </declare-styleable> 5219 5220 <declare-styleable name="NumberPicker"> 5221 <!-- @hide Color for the solid color background if such for optimized rendering. --> 5222 <attr name="solidColor" format="color|reference" /> 5223 <!-- @hide The divider for making the selection area. --> 5224 <attr name="selectionDivider" format="reference" /> 5225 <!-- @hide The height of the selection divider. --> 5226 <attr name="selectionDividerHeight" format="dimension" /> 5227 <!-- @hide The distance between the two selection dividers. --> 5228 <attr name="selectionDividersDistance" format="dimension" /> 5229 <!-- @hide The min height of the NumberPicker. --> 5230 <attr name="internalMinHeight" format="dimension" /> 5231 <!-- @hide The max height of the NumberPicker. --> 5232 <attr name="internalMaxHeight" format="dimension" /> 5233 <!-- @hide The min width of the NumberPicker. --> 5234 <attr name="internalMinWidth" format="dimension" /> 5235 <!-- @hide The max width of the NumberPicker. --> 5236 <attr name="internalMaxWidth" format="dimension" /> 5237 <!-- @hide The layout of the number picker. --> 5238 <attr name="internalLayout" /> 5239 <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. --> 5240 <attr name="virtualButtonPressedDrawable" format="reference"/> 5241 <!-- @hide If true then the selector wheel is hidden until the picker has focus. --> 5242 <attr name="hideWheelUntilFocused" format="boolean"/> 5243 </declare-styleable> 5244 5245 <declare-styleable name="TimePicker"> 5246 <!-- @hide The layout of the legacy time picker. --> 5247 <attr name="legacyLayout" format="reference" /> 5248 <!-- @hide The layout of the time picker. --> 5249 <attr name="internalLayout" /> 5250 5251 <!-- The text color for the selected time header text, ex. "12" or 5252 "PM". This should be a color state list where the activated state 5253 will be used when the minute picker or hour picker is active.--> 5254 <attr name="headerTextColor" /> 5255 <!-- The background for the header containing the currently selected time. --> 5256 <attr name="headerBackground" /> 5257 5258 <!-- The color for the hours/minutes numbers. This should be a color 5259 state list where the activated state will be used when the number 5260 is active.--> 5261 <attr name="numbersTextColor" format="color" /> 5262 <!-- The color for the inner hours numbers used in 24-hour mode. This 5263 should be a color state list where the activated state will be 5264 used when the number is active.--> 5265 <attr name="numbersInnerTextColor" format="color" /> 5266 <!-- The background color for the hours/minutes numbers. --> 5267 <attr name="numbersBackgroundColor" format="color" /> 5268 <!-- The color for the hours/minutes selector. --> 5269 <attr name="numbersSelectorColor" format="color" /> 5270 5271 <!-- Defines the look of the widget. Prior to the L release, the only choice was 5272 spinner. As of L, with the Material theme selected, the default layout is clock, 5273 but this attribute can be used to force spinner to be used instead. --> 5274 <attr name="timePickerMode"> 5275 <!-- Time picker with spinner controls to select the time. --> 5276 <enum name="spinner" value="1" /> 5277 <!-- Time picker with clock face to select the time. --> 5278 <enum name="clock" value="2" /> 5279 </attr> 5280 5281 <!-- The text appearance for the AM/PM header. 5282 @deprecated Use headerTextColor instead. --> 5283 <attr name="headerAmPmTextAppearance" format="reference" /> 5284 <!-- The text appearance for the time header. 5285 @deprecated Use headerTextColor instead. --> 5286 <attr name="headerTimeTextAppearance" format="reference" /> 5287 <!-- The color for the AM/PM selectors. 5288 {@deprecated Use headerTextColor instead.}--> 5289 <attr name="amPmTextColor" format="color" /> 5290 <!-- The background color state list for the AM/PM selectors. 5291 {@deprecated Use headerBackground instead.}--> 5292 <attr name="amPmBackgroundColor" format="color" /> 5293 5294 <!-- @hide Whether this time picker is being displayed within a dialog, 5295 in which case it may ignore the requested time picker mode due to 5296 space considerations. --> 5297 <attr name="dialogMode" /> 5298 </declare-styleable> 5299 5300 <!-- ========================= --> 5301 <!-- Drawable class attributes --> 5302 <!-- ========================= --> 5303 <eat-comment /> 5304 5305 <!-- Base attributes that are available to all Drawable objects. --> 5306 <declare-styleable name="Drawable"> 5307 <!-- Provides initial visibility state of the drawable; the default 5308 value is false. See 5309 {@link android.graphics.drawable.Drawable#setVisible}. --> 5310 <attr name="visible" format="boolean" /> 5311 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5312 RTL (right-to-left). See 5313 {@link android.graphics.drawable.Drawable#setAutoMirrored}. --> 5314 <attr name="autoMirrored" format="boolean" /> 5315 </declare-styleable> 5316 5317 <!-- Drawable class used to wrap other drawables. --> 5318 <declare-styleable name="DrawableWrapper"> 5319 <!-- The wrapped drawable. --> 5320 <attr name="drawable" /> 5321 </declare-styleable> 5322 5323 <!-- Drawable used to render several states. Each state is represented by 5324 a child drawable. --> 5325 <declare-styleable name="StateListDrawable"> 5326 <!-- Indicates whether the drawable should be initially visible. --> 5327 <attr name="visible" /> 5328 <!-- If true, allows the drawable's padding to change based on the 5329 current state that is selected. If false, the padding will 5330 stay the same (based on the maximum padding of all the states). 5331 Enabling this feature requires that the owner of the drawable 5332 deal with performing layout when the state changes, which is 5333 often not supported. --> 5334 <attr name="variablePadding" format="boolean" /> 5335 <!-- If true, the drawable's reported internal size will remain 5336 constant as the state changes; the size is the maximum of all 5337 of the states. If false, the size will vary based on the 5338 current state. --> 5339 <attr name="constantSize" format="boolean" /> 5340 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5341 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5342 an RGB 565 screen). --> 5343 <attr name="dither" format="boolean" /> 5344 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5345 <attr name="enterFadeDuration" format="integer" /> 5346 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5347 <attr name="exitFadeDuration" format="integer" /> 5348 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5349 RTL (right-to-left). --> 5350 <attr name="autoMirrored"/> 5351 </declare-styleable> 5352 5353 <!-- Drawable used to render several states with animated transitions. Each state 5354 is represented by a child drawable with an optional keyframe ID. --> 5355 <declare-styleable name="AnimatedStateListDrawable"> 5356 <!-- Indicates whether the drawable should be initially visible. --> 5357 <attr name="visible" /> 5358 <!-- If true, allows the drawable's padding to change based on the 5359 current state that is selected. If false, the padding will 5360 stay the same (based on the maximum padding of all the states). 5361 Enabling this feature requires that the owner of the drawable 5362 deal with performing layout when the state changes, which is 5363 often not supported. --> 5364 <attr name="variablePadding" /> 5365 <!-- If true, the drawable's reported internal size will remain 5366 constant as the state changes; the size is the maximum of all 5367 of the states. If false, the size will vary based on the 5368 current state. --> 5369 <attr name="constantSize" /> 5370 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5371 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5372 an RGB 565 screen). --> 5373 <attr name="dither" /> 5374 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5375 <attr name="enterFadeDuration" /> 5376 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5377 <attr name="exitFadeDuration" /> 5378 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5379 RTL (right-to-left). --> 5380 <attr name="autoMirrored"/> 5381 </declare-styleable> 5382 5383 <!-- Represents a single state inside a StateListDrawable. --> 5384 <declare-styleable name="StateListDrawableItem"> 5385 <!-- Reference to a drawable resource to use for the state. If not 5386 given, the drawable must be defined by the first child tag. --> 5387 <attr name="drawable" /> 5388 </declare-styleable> 5389 5390 <!-- Transition used to animate between states with keyframe IDs. --> 5391 <declare-styleable name="AnimatedStateListDrawableItem"> 5392 <!-- Reference to a drawable resource to use for the frame. If not 5393 given, the drawable must be defined by the first child tag. --> 5394 <attr name="drawable" /> 5395 <!-- Keyframe identifier for use in specifying transitions. --> 5396 <attr name="id" /> 5397 </declare-styleable> 5398 5399 <!-- Transition used to animate between states with keyframe IDs. --> 5400 <declare-styleable name="AnimatedStateListDrawableTransition"> 5401 <!-- Keyframe identifier for the starting state. --> 5402 <attr name="fromId" format="reference" /> 5403 <!-- Keyframe identifier for the ending state. --> 5404 <attr name="toId" format="reference" /> 5405 <!-- Reference to a animation drawable resource to use for the frame. If not 5406 given, the animation drawable must be defined by the first child tag. --> 5407 <attr name="drawable" /> 5408 <!-- Whether this transition is reversible. --> 5409 <attr name="reversible" format="boolean" /> 5410 </declare-styleable> 5411 5412 <!-- Drawable used to render several animated frames. --> 5413 <declare-styleable name="AnimationDrawable"> 5414 <attr name="visible" /> 5415 <attr name="variablePadding" /> 5416 <!-- If true, the animation will only run a single time and then 5417 stop. If false (the default), it will continually run, 5418 restarting at the first frame after the last has finished. --> 5419 <attr name="oneshot" format="boolean" /> 5420 </declare-styleable> 5421 5422 <!-- Represents a single frame inside an AnimationDrawable. --> 5423 <declare-styleable name="AnimationDrawableItem"> 5424 <!-- Amount of time (in milliseconds) to display this frame. --> 5425 <attr name="duration" format="integer" /> 5426 <!-- Reference to a drawable resource to use for the frame. If not 5427 given, the drawable must be defined by the first child tag. --> 5428 <attr name="drawable" format="reference" /> 5429 </declare-styleable> 5430 5431 <!-- Attributes that can be assigned to a StateListAnimator item. --> 5432 <declare-styleable name="StateListAnimatorItem"> 5433 <attr name="animation"/> 5434 </declare-styleable> 5435 5436 <!-- Attributes that can be assigned to a ColorStateList item. --> 5437 <declare-styleable name="ColorStateListItem"> 5438 <!-- Base color for this state. --> 5439 <attr name="color" /> 5440 <!-- Alpha multiplier applied to the base color. --> 5441 <attr name="alpha" /> 5442 </declare-styleable> 5443 5444 <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery 5445 saver mode. It should contain one animatable drawable and one static drawable. 5446 @hide --> 5447 <declare-styleable name="AnimationScaleListDrawable"> 5448 </declare-styleable> 5449 5450 <!-- Attributes that can be assigned to a AnimationScaleListDrawable item. 5451 @hide --> 5452 <declare-styleable name="AnimationScaleListDrawableItem"> 5453 <!-- Reference to a drawable resource to use for the state. If not 5454 given, the drawable must be defined by the first child tag. --> 5455 <attr name="drawable" /> 5456 </declare-styleable> 5457 5458 5459 <!-- Drawable used to render a geometric shape, with a gradient or a solid color. --> 5460 <declare-styleable name="GradientDrawable"> 5461 <!-- Indicates whether the drawable should intially be visible. --> 5462 <attr name="visible" /> 5463 <!-- Enables or disables dithering. --> 5464 <attr name="dither" /> 5465 <!-- Indicates what shape to fill with a gradient. --> 5466 <attr name="shape"> 5467 <!-- Rectangle shape, with optional rounder corners. --> 5468 <enum name="rectangle" value="0" /> 5469 <!-- Oval shape. --> 5470 <enum name="oval" value="1" /> 5471 <!-- Line shape. --> 5472 <enum name="line" value="2" /> 5473 <!-- Ring shape. --> 5474 <enum name="ring" value="3" /> 5475 </attr> 5476 <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance, 5477 if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. 5478 This value is ignored if innerRadius is defined. Default value is 9. --> 5479 <attr name="innerRadiusRatio" format="float" /> 5480 <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance, 5481 if thicknessRatio=3, then the thickness equals the ring's width divided by 3. 5482 This value is ignored if innerRadius is defined. Default value is 3. --> 5483 <attr name="thicknessRatio" format="float" /> 5484 <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. --> 5485 <attr name="innerRadius" format="dimension" /> 5486 <!-- Thickness of the ring. When defined, thicknessRatio is ignored. --> 5487 <attr name="thickness" format="dimension" /> 5488 <!-- Whether the drawable level value (see 5489 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape. 5490 Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to 5491 360. For all other types, there is no effect. The default value is true. --> 5492 <attr name="useLevel" /> 5493 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5494 no tint is applied. May be a color state list. --> 5495 <attr name="tint" /> 5496 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5497 default value is src_in, which treats the drawable as an alpha mask. --> 5498 <attr name="tintMode" /> 5499 <!-- Left optical inset. 5500 @hide Until optical insets are fully supported. --> 5501 <attr name="opticalInsetLeft" /> 5502 <!-- Top optical inset. 5503 @hide Until optical insets are fully supported. --> 5504 <attr name="opticalInsetTop" /> 5505 <!-- Right optical inset. 5506 @hide Until optical insets are fully supported. --> 5507 <attr name="opticalInsetRight" /> 5508 <!-- Bottom optical inset. 5509 @hide Until optical insets are fully supported. --> 5510 <attr name="opticalInsetBottom" /> 5511 </declare-styleable> 5512 5513 <!-- Used to specify the size of the shape for GradientDrawable. --> 5514 <declare-styleable name="GradientDrawableSize"> 5515 <!-- Width of the gradient shape. --> 5516 <attr name="width" /> 5517 <!-- Height of the gradient shape. --> 5518 <attr name="height" /> 5519 </declare-styleable> 5520 5521 <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. --> 5522 <declare-styleable name="GradientDrawableGradient"> 5523 <!-- Start color of the gradient. --> 5524 <attr name="startColor" format="color" /> 5525 <!-- Optional center color. For linear gradients, use centerX or centerY to place the center 5526 color. --> 5527 <attr name="centerColor" format="color" /> 5528 <!-- End color of the gradient. --> 5529 <attr name="endColor" format="color" /> 5530 <!-- Whether the drawable level value (see 5531 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient. 5532 Scaling behavior varies based on gradient type. For "linear", adjusts the ending 5533 position along the gradient's axis of orientation. For "radial", adjusts the outer 5534 radius. For "sweep", adjusts the ending angle. The default value is false. --> 5535 <attr name="useLevel" format="boolean" /> 5536 <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the 5537 range [0, 315]. --> 5538 <attr name="angle" format="float" /> 5539 <!-- Type of gradient. The default type is linear. --> 5540 <attr name="type"> 5541 <!-- Linear gradient extending across the center point. --> 5542 <enum name="linear" value="0" /> 5543 <!-- Radial gradient extending from the center point outward. --> 5544 <enum name="radial" value="1" /> 5545 <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. --> 5546 <enum name="sweep" value="2" /> 5547 </attr> 5548 <!-- X-position of the center point of the gradient within the shape as a fraction of the 5549 width. The default value is 0.5. --> 5550 <attr name="centerX" format="float|fraction" /> 5551 <!-- Y-position of the center point of the gradient within the shape as a fraction of the 5552 height. The default value is 0.5. --> 5553 <attr name="centerY" format="float|fraction" /> 5554 <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension 5555 or a fractional value relative to the shape's minimum dimension. --> 5556 <attr name="gradientRadius" format="float|fraction|dimension" /> 5557 </declare-styleable> 5558 5559 <!-- Used to fill the shape of GradientDrawable with a solid color. --> 5560 <declare-styleable name="GradientDrawableSolid"> 5561 <!-- Solid color for the gradient shape. --> 5562 <attr name="color" format="color" /> 5563 </declare-styleable> 5564 5565 <!-- Used to describe the optional stroke of a GradientDrawable. --> 5566 <declare-styleable name="GradientDrawableStroke"> 5567 <!-- Width of the gradient shape's stroke. --> 5568 <attr name="width" /> 5569 <!-- Color of the gradient shape's stroke. --> 5570 <attr name="color" /> 5571 <!-- Length of a dash in the stroke. --> 5572 <attr name="dashWidth" format="dimension" /> 5573 <!-- Gap between dashes in the stroke. --> 5574 <attr name="dashGap" format="dimension" /> 5575 </declare-styleable> 5576 5577 <!-- Describes the corners for the rectangle shape of a GradientDrawable. 5578 This can be used to render rounded corners. --> 5579 <declare-styleable name="DrawableCorners"> 5580 <!-- Defines the radius of the four corners. --> 5581 <attr name="radius" format="dimension" /> 5582 <!-- Radius of the top left corner. --> 5583 <attr name="topLeftRadius" format="dimension" /> 5584 <!-- Radius of the top right corner. --> 5585 <attr name="topRightRadius" format="dimension" /> 5586 <!-- Radius of the bottom left corner. --> 5587 <attr name="bottomLeftRadius" format="dimension" /> 5588 <!-- Radius of the bottom right corner. --> 5589 <attr name="bottomRightRadius" format="dimension" /> 5590 </declare-styleable> 5591 5592 <!-- Used to specify the optional padding of a GradientDrawable. --> 5593 <declare-styleable name="GradientDrawablePadding"> 5594 <!-- Amount of left padding inside the gradient shape. --> 5595 <attr name="left" format="dimension" /> 5596 <!-- Amount of top padding inside the gradient shape. --> 5597 <attr name="top" format="dimension" /> 5598 <!-- Amount of right padding inside the gradient shape. --> 5599 <attr name="right" format="dimension" /> 5600 <!-- Amount of bottom padding inside the gradient shape. --> 5601 <attr name="bottom" format="dimension" /> 5602 </declare-styleable> 5603 5604 <!-- Drawable used to render several drawables stacked on top of each other. 5605 Each child drawable can be controlled individually. --> 5606 <declare-styleable name="LayerDrawable"> 5607 <!-- Indicates the opacity of the layer. This can be useful to allow the 5608 system to enable drawing optimizations. The default value is 5609 translucent. --> 5610 <attr name="opacity"> 5611 <!-- Indicates that the layer is opaque and contains no transparent 5612 nor translucent pixels. --> 5613 <enum name="opaque" value="-1" /> 5614 <!-- The layer is completely transparent (no pixel will be drawn.) --> 5615 <enum name="transparent" value="-2" /> 5616 <!-- The layer has translucent pixels. --> 5617 <enum name="translucent" value="-3" /> 5618 </attr> 5619 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5620 RTL (right-to-left). --> 5621 <attr name="autoMirrored" /> 5622 <!-- Indicates how layer padding should affect the bounds of subsequent layers. 5623 The default padding mode value is nest. --> 5624 <attr name="paddingMode"> 5625 <!-- Nest each layer inside the padding of the previous layer. --> 5626 <enum name="nest" value="0" /> 5627 <!-- Stack each layer directly atop the previous layer. --> 5628 <enum name="stack" value="1" /> 5629 </attr> 5630 <!-- Explicit top padding. Overrides child padding. --> 5631 <attr name="paddingTop" /> 5632 <!-- Explicit bottom padding. Overrides child padding. --> 5633 <attr name="paddingBottom" /> 5634 <!-- Explicit left padding. Overrides child padding. --> 5635 <attr name="paddingLeft" /> 5636 <!-- Explicit right padding. Overrides child padding. --> 5637 <attr name="paddingRight" /> 5638 <!-- Explicit start padding. Overrides child padding. Takes precedence 5639 over absolute padding (e.g. left when layout direction is LTR). --> 5640 <attr name="paddingStart" /> 5641 <!-- Explicit end padding. Overrides child padding. Takes precedence 5642 over absolute padding (e.g. right when layout direction is LTR). --> 5643 <attr name="paddingEnd" /> 5644 </declare-styleable> 5645 5646 <!-- Describes an item (or child) of a LayerDrawable. --> 5647 <declare-styleable name="LayerDrawableItem"> 5648 <!-- Left inset to apply to the layer. --> 5649 <attr name="left" /> 5650 <!-- Top inset to apply to the layer. --> 5651 <attr name="top" /> 5652 <!-- Right inset to apply to the layer. --> 5653 <attr name="right" /> 5654 <!-- Bottom inset to apply to the layer. --> 5655 <attr name="bottom" /> 5656 <!-- Start inset to apply to the layer. Overrides {@code left} or 5657 {@code right} depending on layout direction. --> 5658 <attr name="start" format="dimension" /> 5659 <!-- End inset to apply to the layer. Overrides {@code left} or 5660 {@code right} depending on layout direction. --> 5661 <attr name="end" format="dimension" /> 5662 <!-- Width of the layer. Defaults to the layer's intrinsic width. --> 5663 <attr name="width" /> 5664 <!-- Height of the layer. Defaults to the layer's intrinsic height --> 5665 <attr name="height" /> 5666 <!-- Gravity used to align the layer within its container. If no value 5667 is specified, the default behavior depends on whether an explicit 5668 width or height has been set, If no dimension is set, gravity in 5669 that direction defaults to {@code fill_horizontal} or 5670 {@code fill_vertical}; otherwise, it defaults to {@code left} or 5671 {@code top}. --> 5672 <attr name="gravity" /> 5673 <!-- Drawable used to render the layer. --> 5674 <attr name="drawable" /> 5675 <!-- Identifier of the layer. This can be used to retrieve the layer 5676 from a drawable container. --> 5677 <attr name="id" /> 5678 </declare-styleable> 5679 5680 <declare-styleable name="LevelListDrawableItem"> 5681 <!-- The minimum level allowed for this item. --> 5682 <attr name="minLevel" format="integer" /> 5683 <!-- The maximum level allowed for this item. --> 5684 <attr name="maxLevel" format="integer" /> 5685 <attr name="drawable" /> 5686 </declare-styleable> 5687 5688 <!-- Drawable used to rotate another drawable. --> 5689 <declare-styleable name="RotateDrawable"> 5690 <attr name="visible" /> 5691 <attr name="fromDegrees" format="float" /> 5692 <attr name="toDegrees" format="float" /> 5693 <attr name="pivotX" format="float|fraction" /> 5694 <attr name="pivotY" format="float|fraction" /> 5695 <attr name="drawable" /> 5696 </declare-styleable> 5697 5698 <declare-styleable name="AnimatedRotateDrawable"> 5699 <attr name="visible" /> 5700 <attr name="frameDuration" format="integer" /> 5701 <attr name="framesCount" format="integer" /> 5702 <attr name="pivotX" /> 5703 <attr name="pivotY" /> 5704 <attr name="drawable" /> 5705 </declare-styleable> 5706 5707 <!-- Drawable used to render the Material progress indicator. --> 5708 <declare-styleable name="MaterialProgressDrawable"> 5709 <attr name="visible" /> 5710 <attr name="thickness" /> 5711 <attr name="innerRadius" /> 5712 <attr name="width" /> 5713 <attr name="height" /> 5714 <attr name="color" /> 5715 </declare-styleable> 5716 5717 <!-- Drawable used to wrap and inset another drawable. --> 5718 <declare-styleable name="InsetDrawable"> 5719 <attr name="visible" /> 5720 <attr name="drawable" /> 5721 <attr name="inset" format="dimension"/> 5722 <attr name="insetLeft" format="dimension" /> 5723 <attr name="insetRight" format="dimension" /> 5724 <attr name="insetTop" format="dimension" /> 5725 <attr name="insetBottom" format="dimension" /> 5726 </declare-styleable> 5727 5728 <!-- Drawable used to draw bitmaps. --> 5729 <declare-styleable name="BitmapDrawable"> 5730 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5731 <attr name="src" /> 5732 <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the 5733 edges of a bitmap when rotated. Default value is false. --> 5734 <attr name="antialias" format="boolean" /> 5735 <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is 5736 shrunk or stretched to smooth its apperance. Default value is true. --> 5737 <attr name="filter" format="boolean" /> 5738 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5739 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5740 an RGB 565 screen). Default value is true. --> 5741 <attr name="dither" /> 5742 <!-- Defines the gravity for the bitmap. The gravity indicates where to position 5743 the drawable in its container if the bitmap is smaller than the container. --> 5744 <attr name="gravity" /> 5745 <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. 5746 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5747 <attr name="tileMode"> 5748 <!-- Do not tile the bitmap. This is the default value. --> 5749 <enum name="disabled" value="-1" /> 5750 <!-- Replicates the edge color. --> 5751 <enum name="clamp" value="0" /> 5752 <!-- Repeats the bitmap in both direction. --> 5753 <enum name="repeat" value="1" /> 5754 <!-- Repeats the shader's image horizontally and vertically, alternating 5755 mirror images so that adjacent images always seam. --> 5756 <enum name="mirror" value="2" /> 5757 </attr> 5758 <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated. 5759 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5760 <attr name="tileModeX"> 5761 <!-- Do not tile the bitmap. This is the default value. --> 5762 <enum name="disabled" value="-1" /> 5763 <!-- Replicates the edge color. --> 5764 <enum name="clamp" value="0" /> 5765 <!-- Repeats the bitmap horizontally. --> 5766 <enum name="repeat" value="1" /> 5767 <!-- Repeats the shader's image horizontally, alternating 5768 mirror images so that adjacent images always seam. --> 5769 <enum name="mirror" value="2" /> 5770 </attr> 5771 <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated. 5772 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5773 <attr name="tileModeY"> 5774 <!-- Do not tile the bitmap. This is the default value. --> 5775 <enum name="disabled" value="-1" /> 5776 <!-- Replicates the edge color. --> 5777 <enum name="clamp" value="0" /> 5778 <!-- Repeats the bitmap vertically. --> 5779 <enum name="repeat" value="1" /> 5780 <!-- Repeats the shader's image vertically, alternating 5781 mirror images so that adjacent images always seam. --> 5782 <enum name="mirror" value="2" /> 5783 </attr> 5784 <!-- Enables or disables the mipmap hint. See 5785 {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information. 5786 Default value is false. --> 5787 <attr name="mipMap" format="boolean" /> 5788 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5789 RTL (right-to-left). --> 5790 <attr name="autoMirrored" /> 5791 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5792 no tint is applied. May be a color state list. --> 5793 <attr name="tint" /> 5794 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5795 default value is src_in, which treats the drawable as an alpha mask. --> 5796 <attr name="tintMode"> 5797 <!-- The tint is drawn on top of the drawable. 5798 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 5799 <enum name="src_over" value="3" /> 5800 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 5801 color channels are thrown out. [Sa * Da, Sc * Da] --> 5802 <enum name="src_in" value="5" /> 5803 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 5804 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 5805 <enum name="src_atop" value="9" /> 5806 <!-- Multiplies the color and alpha channels of the drawable with those of 5807 the tint. [Sa * Da, Sc * Dc] --> 5808 <enum name="multiply" value="14" /> 5809 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 5810 <enum name="screen" value="15" /> 5811 <!-- Combines the tint and drawable color and alpha channels, clamping the 5812 result to valid color values. Saturate(S + D) --> 5813 <enum name="add" value="16" /> 5814 </attr> 5815 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5816 <attr name="alpha" /> 5817 </declare-styleable> 5818 5819 <!-- Drawable used to draw 9-patches. --> 5820 <declare-styleable name="NinePatchDrawable"> 5821 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5822 <attr name="src" /> 5823 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5824 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5825 an RGB 565 screen). --> 5826 <attr name="dither" /> 5827 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5828 RTL (right-to-left). --> 5829 <attr name="autoMirrored" /> 5830 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5831 no tint is applied. May be a color state list. --> 5832 <attr name="tint" /> 5833 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5834 default value is src_in, which treats the drawable as an alpha mask. --> 5835 <attr name="tintMode" /> 5836 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5837 <attr name="alpha" /> 5838 </declare-styleable> 5839 5840 <!-- Drawable used to draw a single color. --> 5841 <declare-styleable name="ColorDrawable"> 5842 <!-- The color to use. --> 5843 <attr name="color" /> 5844 </declare-styleable> 5845 5846 <!-- Drawable used to show animated touch feedback. --> 5847 <declare-styleable name="RippleDrawable"> 5848 <!-- The color to use for ripple effects. This attribute is required. --> 5849 <attr name="color" /> 5850 <!-- The radius of the ripple when fully expanded. By default, the 5851 radius is computed based on the size of the ripple's container. --> 5852 <attr name="radius" /> 5853 </declare-styleable> 5854 5855 <declare-styleable name="ScaleDrawable"> 5856 <!-- Scale width, expressed as a percentage of the drawable's bound. The value's 5857 format is XX%. For instance: 100%, 12.5%, etc.--> 5858 <attr name="scaleWidth" format="string" /> 5859 <!-- Scale height, expressed as a percentage of the drawable's bound. The value's 5860 format is XX%. For instance: 100%, 12.5%, etc.--> 5861 <attr name="scaleHeight" format="string" /> 5862 <!-- Specifies where the drawable is positioned after scaling. The default value is 5863 left. --> 5864 <attr name="scaleGravity"> 5865 <!-- Push object to the top of its container, not changing its size. --> 5866 <flag name="top" value="0x30" /> 5867 <!-- Push object to the bottom of its container, not changing its size. --> 5868 <flag name="bottom" value="0x50" /> 5869 <!-- Push object to the left of its container, not changing its size. --> 5870 <flag name="left" value="0x03" /> 5871 <!-- Push object to the right of its container, not changing its size. --> 5872 <flag name="right" value="0x05" /> 5873 <!-- Place object in the vertical center of its container, not changing its size. --> 5874 <flag name="center_vertical" value="0x10" /> 5875 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 5876 <flag name="fill_vertical" value="0x70" /> 5877 <!-- Place object in the horizontal center of its container, not changing its size. --> 5878 <flag name="center_horizontal" value="0x01" /> 5879 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 5880 <flag name="fill_horizontal" value="0x07" /> 5881 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 5882 <flag name="center" value="0x11" /> 5883 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 5884 <flag name="fill" value="0x77" /> 5885 <!-- Additional option that can be set to have the top and/or bottom edges of 5886 the child clipped to its container's bounds. 5887 The clip will be based on the vertical gravity: a top gravity will clip the bottom 5888 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 5889 <flag name="clip_vertical" value="0x80" /> 5890 <!-- Additional option that can be set to have the left and/or right edges of 5891 the child clipped to its container's bounds. 5892 The clip will be based on the horizontal gravity: a left gravity will clip the right 5893 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 5894 <flag name="clip_horizontal" value="0x08" /> 5895 <!-- Push object to the beginning of its container, not changing its size. --> 5896 <flag name="start" value="0x00800003" /> 5897 <!-- Push object to the end of its container, not changing its size. --> 5898 <flag name="end" value="0x00800005" /> 5899 </attr> 5900 <!-- Specifies the initial drawable level in the range 0 to 10000. --> 5901 <attr name="level" format="integer" /> 5902 <!-- Reference to a drawable resource to draw with the specified scale. --> 5903 <attr name="drawable" /> 5904 <!-- Use the drawable's intrinsic width and height as minimum size values. 5905 Useful if the target drawable is a 9-patch or otherwise should not be scaled 5906 down beyond a minimum size. --> 5907 <attr name="useIntrinsicSizeAsMinimum" format="boolean" /> 5908 </declare-styleable> 5909 5910 <declare-styleable name="ClipDrawable"> 5911 <!-- The orientation for the clip. --> 5912 <attr name="clipOrientation"> 5913 <!-- Clip the drawable horizontally. --> 5914 <flag name="horizontal" value="1" /> 5915 <!-- Clip the drawable vertically. --> 5916 <flag name="vertical" value="2" /> 5917 </attr> 5918 <!-- Specifies where to clip within the drawable. The default value is 5919 left. --> 5920 <attr name="gravity" /> 5921 <!-- Reference to a drawable resource to draw with the specified scale. --> 5922 <attr name="drawable" /> 5923 </declare-styleable> 5924 5925 <!-- Defines the padding of a ShapeDrawable. --> 5926 <declare-styleable name="ShapeDrawablePadding"> 5927 <!-- Left padding. --> 5928 <attr name="left" /> 5929 <!-- Top padding. --> 5930 <attr name="top" /> 5931 <!-- Right padding. --> 5932 <attr name="right" /> 5933 <!-- Bottom padding. --> 5934 <attr name="bottom" /> 5935 </declare-styleable> 5936 5937 <!-- Drawable used to draw shapes. --> 5938 <declare-styleable name="ShapeDrawable"> 5939 <!-- Defines the color of the shape. --> 5940 <attr name="color" /> 5941 <!-- Defines the width of the shape. --> 5942 <attr name="width" /> 5943 <!-- Defines the height of the shape. --> 5944 <attr name="height" /> 5945 <!-- Enables or disables dithering. --> 5946 <attr name="dither" /> 5947 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5948 no tint is applied. May be a color state list. --> 5949 <attr name="tint" /> 5950 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5951 default value is src_in, which treats the drawable as an alpha mask. --> 5952 <attr name="tintMode" /> 5953 </declare-styleable> 5954 5955 <!-- ========================== --> 5956 <!-- VectorDrawable class --> 5957 <!-- ========================== --> 5958 <eat-comment /> 5959 5960 <!-- Drawable used to draw vector paths. --> 5961 <declare-styleable name="VectorDrawable"> 5962 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5963 no tint is applied. May be a color state list. --> 5964 <attr name="tint" /> 5965 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5966 default value is src_in, which treats the drawable as an alpha mask. --> 5967 <attr name="tintMode" /> 5968 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5969 RTL (right-to-left). --> 5970 <attr name="autoMirrored" /> 5971 <!-- The intrinsic width of the Vector Drawable. --> 5972 <attr name="width" /> 5973 <!-- The intrinsic height of the Vector Drawable. --> 5974 <attr name="height" /> 5975 <!-- The width of the canvas the drawing is on. --> 5976 <attr name="viewportWidth" format="float"/> 5977 <!-- The height of the canvas the drawing is on. --> 5978 <attr name="viewportHeight" format="float"/> 5979 <!-- The name of this vector drawable --> 5980 <attr name="name" /> 5981 <!-- The opacity of the whole vector drawable, as a value between 0 5982 (completely transparent) and 1 (completely opaque). --> 5983 <attr name="alpha" /> 5984 <!-- Left optical inset. 5985 @hide Until optical insets are fully supported. --> 5986 <attr name="opticalInsetLeft" format="dimension" /> 5987 <!-- Top optical inset. 5988 @hide Until optical insets are fully supported. --> 5989 <attr name="opticalInsetTop" format="dimension" /> 5990 <!-- Right optical inset. 5991 @hide Until optical insets are fully supported. --> 5992 <attr name="opticalInsetRight" format="dimension" /> 5993 <!-- Bottom optical inset. 5994 @hide Until optical insets are fully supported. --> 5995 <attr name="opticalInsetBottom" format="dimension" /> 5996 </declare-styleable> 5997 5998 <!-- Defines the group used in VectorDrawables. --> 5999 <declare-styleable name="VectorDrawableGroup"> 6000 <!-- The name of this group --> 6001 <attr name="name" /> 6002 <!-- The amount to rotate the group --> 6003 <attr name="rotation" /> 6004 <!-- The X coordinate of the center of rotation of a group --> 6005 <attr name="pivotX" /> 6006 <!-- The Y coordinate of the center of rotation of a group --> 6007 <attr name="pivotY" /> 6008 <!-- The amount to translate the group on X coordinate --> 6009 <attr name="translateX" format="float"/> 6010 <!-- The amount to translate the group on Y coordinate --> 6011 <attr name="translateY" format="float"/> 6012 <!-- The amount to scale the group on X coordinate --> 6013 <attr name="scaleX" /> 6014 <!-- The amount to scale the group on X coordinate --> 6015 <attr name="scaleY" /> 6016 </declare-styleable> 6017 6018 <!-- Defines the path used in VectorDrawables. --> 6019 <declare-styleable name="VectorDrawablePath"> 6020 <!-- The name of this path --> 6021 <attr name="name" /> 6022 <!-- The width a path stroke --> 6023 <attr name="strokeWidth" format="float" /> 6024 <!-- The color to stroke the path if not defined implies no stroke--> 6025 <attr name="strokeColor" format="color" /> 6026 <!-- The opacity of a path stroke, as a value between 0 (completely transparent) 6027 and 1 (completely opaque) --> 6028 <attr name="strokeAlpha" format="float" /> 6029 <!-- The color to fill the path if not defined implies no fill--> 6030 <attr name="fillColor" format="color" /> 6031 <!-- The alpha of the path fill, as a value between 0 (completely transparent) 6032 and 1 (completely opaque)--> 6033 <attr name="fillAlpha" format="float" /> 6034 <!-- The specification of the operations that define the path --> 6035 <attr name="pathData" format="string" /> 6036 <!-- The fraction of the path to trim from the start from 0 to 1 --> 6037 <attr name="trimPathStart" format="float" /> 6038 <!-- The fraction of the path to trim from the end from 0 to 1 --> 6039 <attr name="trimPathEnd" format="float" /> 6040 <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1 --> 6041 <attr name="trimPathOffset" format="float" /> 6042 <!-- sets the linecap for a stroked path --> 6043 <attr name="strokeLineCap" format="enum"> 6044 <enum name="butt" value="0"/> 6045 <enum name="round" value="1"/> 6046 <enum name="square" value="2"/> 6047 </attr> 6048 <!-- sets the lineJoin for a stroked path --> 6049 <attr name="strokeLineJoin" format="enum"> 6050 <enum name="miter" value="0"/> 6051 <enum name="round" value="1"/> 6052 <enum name="bevel" value="2"/> 6053 </attr> 6054 <!-- sets the Miter limit for a stroked path --> 6055 <attr name="strokeMiterLimit" format="float"/> 6056 <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties. 6057 For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty --> 6058 <attr name="fillType" format="enum"> 6059 <enum name="nonZero" value="0"/> 6060 <enum name="evenOdd" value="1"/> 6061 </attr> 6062 </declare-styleable> 6063 6064 <!-- Defines the clip path used in VectorDrawables. --> 6065 <declare-styleable name="VectorDrawableClipPath"> 6066 <!-- The Name of this path --> 6067 <attr name="name" /> 6068 <!-- The specification of the operations that define the path --> 6069 <attr name="pathData"/> 6070 </declare-styleable> 6071 6072 <!-- ========================== --> 6073 <!-- AnimatedVectorDrawable class --> 6074 <!-- ========================== --> 6075 <eat-comment /> 6076 6077 <!-- Define the AnimatedVectorDrawable. --> 6078 <declare-styleable name="AnimatedVectorDrawable"> 6079 <!-- The static vector drawable. --> 6080 <attr name="drawable" /> 6081 </declare-styleable> 6082 6083 <!-- Defines the target used in the AnimatedVectorDrawable. --> 6084 <declare-styleable name="AnimatedVectorDrawableTarget"> 6085 <!-- The name of the target path, group or vector drawable --> 6086 <attr name="name" /> 6087 <!-- The animation for the target path, group or vector drawable --> 6088 <attr name="animation" /> 6089 </declare-styleable> 6090 6091 <!-- ========================== --> 6092 <!-- Animation class attributes --> 6093 <!-- ========================== --> 6094 <eat-comment /> 6095 6096 <declare-styleable name="Animation"> 6097 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6098 <attr name="interpolator" /> 6099 <!-- When set to true, the value of fillBefore is taken into account. --> 6100 <attr name="fillEnabled" format="boolean" /> 6101 <!-- When set to true or when fillEnabled is not set to true, the animation transformation 6102 is applied before the animation has started. The default value is true. --> 6103 <attr name="fillBefore" format="boolean" /> 6104 <!-- When set to true, the animation transformation is applied after the animation is 6105 over. The default value is false. If fillEnabled is not set to true and the 6106 animation is not set on a View, fillAfter is assumed to be true.--> 6107 <attr name="fillAfter" format="boolean" /> 6108 <!-- Amount of time (in milliseconds) for the animation to run. --> 6109 <attr name="duration" /> 6110 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6111 <attr name="startOffset" format="integer" /> 6112 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6113 <attr name="repeatCount" format="integer"> 6114 <enum name="infinite" value="-1" /> 6115 </attr> 6116 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6117 greater than 0 or infinite. The default value is restart. --> 6118 <attr name="repeatMode"> 6119 <!-- The animation starts again from the beginning. --> 6120 <enum name="restart" value="1" /> 6121 <!-- The animation plays backward. --> 6122 <enum name="reverse" value="2" /> 6123 </attr> 6124 <!-- Allows for an adjustment of the Z ordering of the content being 6125 animated for the duration of the animation. The default value is normal. --> 6126 <attr name="zAdjustment"> 6127 <!-- The content being animated be kept in its current Z order. --> 6128 <enum name="normal" value="0" /> 6129 <!-- The content being animated is forced on top of all other 6130 content for the duration of the animation. --> 6131 <enum name="top" value="1" /> 6132 <!-- The content being animated is forced under all other 6133 content for the duration of the animation. --> 6134 <enum name="bottom" value="-1" /> 6135 </attr> 6136 <!-- Special background behind animation. Only for use with window 6137 animations. Can only be a color, and only black. If 0, the 6138 default, there is no background. --> 6139 <attr name="background" /> 6140 <!-- Special option for window animations: if this window is on top 6141 of a wallpaper, don't animate the wallpaper with it. --> 6142 <attr name="detachWallpaper" format="boolean" /> 6143 </declare-styleable> 6144 6145 <declare-styleable name="AnimationSet"> 6146 <attr name="shareInterpolator" format="boolean" /> 6147 <attr name="fillBefore" /> 6148 <attr name="fillAfter" /> 6149 <attr name="duration" /> 6150 <attr name="startOffset" /> 6151 <attr name="repeatMode" /> 6152 </declare-styleable> 6153 6154 <declare-styleable name="RotateAnimation"> 6155 <attr name="fromDegrees" /> 6156 <attr name="toDegrees" /> 6157 <attr name="pivotX" /> 6158 <attr name="pivotY" /> 6159 </declare-styleable> 6160 6161 <declare-styleable name="ScaleAnimation"> 6162 <attr name="fromXScale" format="float|fraction|dimension" /> 6163 <attr name="toXScale" format="float|fraction|dimension" /> 6164 <attr name="fromYScale" format="float|fraction|dimension" /> 6165 <attr name="toYScale" format="float|fraction|dimension" /> 6166 <attr name="pivotX" /> 6167 <attr name="pivotY" /> 6168 </declare-styleable> 6169 6170 <declare-styleable name="TranslateAnimation"> 6171 <attr name="fromXDelta" format="float|fraction" /> 6172 <attr name="toXDelta" format="float|fraction" /> 6173 <attr name="fromYDelta" format="float|fraction" /> 6174 <attr name="toYDelta" format="float|fraction" /> 6175 </declare-styleable> 6176 6177 <declare-styleable name="AlphaAnimation"> 6178 <attr name="fromAlpha" format="float" /> 6179 <attr name="toAlpha" format="float" /> 6180 </declare-styleable> 6181 6182 <declare-styleable name="LayoutAnimation"> 6183 <!-- Fraction of the animation duration used to delay the beginning of 6184 the animation of each child. --> 6185 <attr name="delay" format="float|fraction" /> 6186 <!-- Animation to use on each child. --> 6187 <attr name="animation" format="reference" /> 6188 <!-- The order in which the animations will be started. --> 6189 <attr name="animationOrder"> 6190 <!-- Animations are started in the natural order. --> 6191 <enum name="normal" value="0" /> 6192 <!-- Animations are started in the reverse order. --> 6193 <enum name="reverse" value="1" /> 6194 <!-- Animations are started randomly. --> 6195 <enum name="random" value="2" /> 6196 </attr> 6197 <!-- Interpolator used to interpolate the delay between the start of 6198 each animation. --> 6199 <attr name="interpolator" /> 6200 </declare-styleable> 6201 6202 <declare-styleable name="GridLayoutAnimation"> 6203 <!-- Fraction of the animation duration used to delay the beginning of 6204 the animation of each column. --> 6205 <attr name="columnDelay" format="float|fraction" /> 6206 <!-- Fraction of the animation duration used to delay the beginning of 6207 the animation of each row. --> 6208 <attr name="rowDelay" format="float|fraction" /> 6209 <!-- Direction of the animation in the grid. --> 6210 <attr name="direction"> 6211 <!-- Animates columns from left to right. --> 6212 <flag name="left_to_right" value="0x0" /> 6213 <!-- Animates columns from right to left. --> 6214 <flag name="right_to_left" value="0x1" /> 6215 <!-- Animates rows from top to bottom. --> 6216 <flag name="top_to_bottom" value="0x0" /> 6217 <!-- Animates rows from bottom to top. --> 6218 <flag name="bottom_to_top" value="0x2" /> 6219 </attr> 6220 <!-- Priority of the rows and columns. When the priority is none, 6221 both rows and columns have the same priority. When the priority is 6222 column, the animations will be applied on the columns first. The same 6223 goes for rows. --> 6224 <attr name="directionPriority"> 6225 <!-- Rows and columns are animated at the same time. --> 6226 <enum name="none" value="0" /> 6227 <!-- Columns are animated first. --> 6228 <enum name="column" value="1" /> 6229 <!-- Rows are animated first. --> 6230 <enum name="row" value="2" /> 6231 </attr> 6232 </declare-styleable> 6233 6234 <declare-styleable name="AccelerateInterpolator"> 6235 <!-- This is the amount of deceleration to add when easing in. --> 6236 <attr name="factor" format="float" /> 6237 </declare-styleable> 6238 6239 <declare-styleable name="DecelerateInterpolator"> 6240 <!-- This is the amount of acceleration to add when easing out. --> 6241 <attr name="factor" /> 6242 </declare-styleable> 6243 6244 <declare-styleable name="CycleInterpolator"> 6245 <attr name="cycles" format="float" /> 6246 </declare-styleable> 6247 6248 <declare-styleable name="AnticipateInterpolator"> 6249 <!-- This is the amount of tension. --> 6250 <attr name="tension" format="float" /> 6251 </declare-styleable> 6252 6253 <declare-styleable name="OvershootInterpolator"> 6254 <!-- This is the amount of tension. --> 6255 <attr name="tension" /> 6256 </declare-styleable> 6257 6258 <declare-styleable name="AnticipateOvershootInterpolator"> 6259 <!-- This is the amount of tension. --> 6260 <attr name="tension" /> 6261 <!-- This is the amount by which to multiply the tension. --> 6262 <attr name="extraTension" format="float" /> 6263 </declare-styleable> 6264 6265 <declare-styleable name="PathInterpolator"> 6266 <!-- The x coordinate of the first control point of the cubic Bezier --> 6267 <attr name="controlX1" format="float" /> 6268 <!-- The y coordinate of the first control point of the cubic Bezier --> 6269 <attr name="controlY1" format="float" /> 6270 <!-- The x coordinate of the second control point of the cubic Bezier --> 6271 <attr name="controlX2" format="float" /> 6272 <!-- The y coordinate of the second control point of the cubic Bezier --> 6273 <attr name="controlY2" format="float" /> 6274 <!-- The control points defined as a path. 6275 When pathData is defined, then both of the control points of the 6276 cubic Bezier will be ignored. --> 6277 <attr name="pathData"/> 6278 </declare-styleable> 6279 6280 <!-- ========================== --> 6281 <!-- Transition attributes --> 6282 <!-- ========================== --> 6283 <eat-comment /> 6284 6285 <!-- Use specific transition subclass names as the root tag of the XML resource that 6286 describes a {@link android.transition.Transition Transition}, 6287 such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. --> 6288 <declare-styleable name="Transition"> 6289 <!-- Amount of time (in milliseconds) that the transition should run. --> 6290 <attr name="duration" /> 6291 <!-- Delay in milliseconds before the transition starts. --> 6292 <attr name="startDelay" format="integer" /> 6293 <!-- Interpolator to be used in the animations spawned by this transition. --> 6294 <attr name="interpolator" /> 6295 <!-- The match order to use for the transition. This is a comma-separated 6296 list of values, containing one or more of the following: 6297 id, itemId, name, instance. These correspond to 6298 {@link android.transition.Transition#MATCH_ID}, 6299 {@link android.transition.Transition#MATCH_ITEM_ID}, 6300 {@link android.transition.Transition#MATCH_NAME}, and 6301 {@link android.transition.Transition#MATCH_INSTANCE}, respectively. 6302 This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. --> 6303 <attr name="matchOrder" format="string" /> 6304 </declare-styleable> 6305 6306 <!-- @hide For internal use only. Use only as directed. --> 6307 <declare-styleable name="EpicenterTranslateClipReveal"> 6308 <attr name="interpolatorX" format="reference" /> 6309 <attr name="interpolatorY" format="reference" /> 6310 <attr name="interpolatorZ" format="reference" /> 6311 </declare-styleable> 6312 6313 <!-- Use <code>fade</code>as the root tag of the XML resource that 6314 describes a {@link android.transition.Fade Fade} transition. 6315 The attributes of the {@link android.R.styleable#Transition Transition} 6316 resource are available in addition to the specific attributes of Fade 6317 described here. --> 6318 <declare-styleable name="Fade"> 6319 <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only 6320 with the Fade transition. --> 6321 <attr name="fadingMode"> 6322 <!-- Fade will only fade appearing items in. --> 6323 <enum name="fade_in" value="1" /> 6324 <!-- Fade will only fade disappearing items out. --> 6325 <enum name="fade_out" value="2" /> 6326 <!-- Fade will fade appearing items in and disappearing items out. --> 6327 <enum name="fade_in_out" value="3" /> 6328 </attr> 6329 </declare-styleable> 6330 6331 <!-- Use <code>slide</code>as the root tag of the XML resource that 6332 describes a {@link android.transition.Slide Slide} transition. 6333 The attributes of the {@link android.R.styleable#Transition Transition} 6334 resource are available in addition to the specific attributes of Slide 6335 described here. --> 6336 <declare-styleable name="Slide"> 6337 <attr name="slideEdge"> 6338 <!-- Slide to and from the left edge of the Scene. --> 6339 <enum name="left" value="0x03" /> 6340 <!-- Slide to and from the top edge of the Scene. --> 6341 <enum name="top" value="0x30" /> 6342 <!-- Slide to and from the right edge of the Scene. --> 6343 <enum name="right" value="0x05" /> 6344 <!-- Slide to and from the bottom edge of the Scene. --> 6345 <enum name="bottom" value="0x50" /> 6346 <!-- Slide to and from the x-axis position at the start of the Scene root. --> 6347 <enum name="start" value="0x00800003"/> 6348 <!-- Slide to and from the x-axis position at the end of the Scene root. --> 6349 <enum name="end" value="0x00800005"/> 6350 </attr> 6351 </declare-styleable> 6352 6353 <!-- Use with {@link android.transition.Visibility} transitions, such as 6354 <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which 6355 views are supported. --> 6356 <declare-styleable name="VisibilityTransition"> 6357 <!-- Changes whether the transition supports appearing and/or disappearing Views. 6358 Corresponds to {@link android.transition.Visibility#setMode(int)}. --> 6359 <attr name="transitionVisibilityMode"> 6360 <!-- Only appearing Views will be supported. --> 6361 <flag name="mode_in" value="1" /> 6362 <!-- Only disappearing Views will be supported. --> 6363 <flag name="mode_out" value="2" /> 6364 </attr> 6365 </declare-styleable> 6366 <!-- Use <code>target</code> as the root tag of the XML resource that 6367 describes a {@link android.transition.Transition#addTarget(int) 6368 targetId} of a transition. There can be one or more targets inside 6369 a <code>targets</code> tag, which is itself inside an appropriate 6370 {@link android.R.styleable#Transition Transition} tag. 6371 --> 6372 <declare-styleable name="TransitionTarget"> 6373 <!-- The id of a target on which this transition will animate changes. --> 6374 <attr name="targetId" format="reference" /> 6375 <!-- The id of a target to exclude from this transition. --> 6376 <attr name="excludeId" format="reference" /> 6377 <!-- The fully-qualified name of the Class to include in this transition. --> 6378 <attr name="targetClass" /> 6379 <!-- The fully-qualified name of the Class to exclude from this transition. --> 6380 <attr name="excludeClass" format="string" /> 6381 <!-- The transitionName of the target on which this transition will animation changes. --> 6382 <attr name="targetName" format="string" /> 6383 <!-- The transitionName of the target to exclude from this transition. --> 6384 <attr name="excludeName" format="string" /> 6385 </declare-styleable> 6386 6387 <!-- Use <code>set</code> as the root tag of the XML resource that 6388 describes a {@link android.transition.TransitionSet 6389 TransitionSet} transition. --> 6390 <declare-styleable name="TransitionSet"> 6391 <attr name="transitionOrdering"> 6392 <!-- child transitions should be played together. --> 6393 <enum name="together" value="0" /> 6394 <!-- child transitions should be played sequentially, in the same order 6395 as the xml. --> 6396 <enum name="sequential" value="1" /> 6397 </attr> 6398 </declare-styleable> 6399 6400 <!-- Use <code>changeTransform</code> as the root tag of the XML resource that 6401 describes a {@link android.transition.ChangeTransform} transition. --> 6402 <declare-styleable name="ChangeTransform"> 6403 <!-- A parent change should use an overlay or affect the transform of the 6404 transitionining View. Default is true. Corresponds to 6405 {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. --> 6406 <attr name="reparentWithOverlay" format="boolean"/> 6407 6408 <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to 6409 {@link android.transition.ChangeTransform#setReparent(boolean)}. --> 6410 <attr name="reparent" format="boolean"/> 6411 </declare-styleable> 6412 6413 <!-- Use <code>changeBounds</code>as the root tag of the XML resource that 6414 describes a {@link android.transition.ChangeBounds} transition. 6415 The attributes of the {@link android.R.styleable#Transition Transition} 6416 resource are available in addition to the specific attributes of ChangeBounds 6417 described here. --> 6418 <declare-styleable name="ChangeBounds"> 6419 <!-- Resize the view by adjusting the clipBounds rather than changing the 6420 dimensions of the view itself. The default value is false. --> 6421 <attr name="resizeClip" format="boolean"/> 6422 </declare-styleable> 6423 6424 <!-- Use <code>transitionManager</code> as the root tag of the XML resource that 6425 describes a {@link android.transition.TransitionManager 6426 TransitionManager}. --> 6427 <declare-styleable name="TransitionManager"> 6428 <!-- The id of a transition to be used in a particular scene change. --> 6429 <attr name="transition" format="reference" /> 6430 <!-- The originating scene in this scene change. --> 6431 <attr name="fromScene" format="reference" /> 6432 <!-- The destination scene in this scene change. --> 6433 <attr name="toScene" format="reference" /> 6434 </declare-styleable> 6435 6436 <!-- Use <code>arcMotion</code> as the root tag of the XML resource that 6437 describes a {@link android.transition.ArcMotion}. This must be used 6438 within a transition with which the PathMotion should be associated. --> 6439 <declare-styleable name="ArcMotion"> 6440 <!-- The minimum arc angle in degrees between the start and end points when 6441 they are close to horizontal. --> 6442 <attr name="minimumHorizontalAngle" format="float" /> 6443 <!-- The minimum arc angle in degrees between the start and end points when 6444 they are close to vertical. --> 6445 <attr name="minimumVerticalAngle" format="float" /> 6446 <!-- The maximum arc angle in degrees between the start and end points. --> 6447 <attr name="maximumAngle" format="float" /> 6448 </declare-styleable> 6449 6450 <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that 6451 describes a {@link android.transition.PatternPathMotion}. This must be used 6452 within a transition with which the PathMotion should be associated. --> 6453 <declare-styleable name="PatternPathMotion"> 6454 <!-- The path string describing the pattern to use for the PathPathMotion. --> 6455 <attr name="patternPathData" format="string" /> 6456 </declare-styleable> 6457 6458 <!-- ========================== --> 6459 <!-- ValueAnimator class attributes --> 6460 <!-- ========================== --> 6461 <eat-comment /> 6462 6463 <declare-styleable name="Animator"> 6464 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6465 <attr name="interpolator" /> 6466 <!-- Amount of time (in milliseconds) for the animation to run. --> 6467 <attr name="duration" /> 6468 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6469 <attr name="startOffset"/> 6470 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6471 <attr name="repeatCount"/> 6472 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6473 greater than 0 or infinite. The default value is restart. --> 6474 <attr name="repeatMode"/> 6475 <!-- Value the animation starts from. --> 6476 <attr name="valueFrom" format="float|integer|color|dimension|string"/> 6477 <!-- Value the animation animates to. --> 6478 <attr name="valueTo" format="float|integer|color|dimension|string"/> 6479 <!-- The type of valueFrom and valueTo. --> 6480 <attr name="valueType"> 6481 <!-- The given values are floats. This is the default value if valueType is 6482 unspecified. Note that if any value attribute has a color value 6483 (beginning with "#"), then this attribute is ignored and the color values are 6484 interpreted as integers. --> 6485 <enum name="floatType" value="0" /> 6486 <!-- values are integers. --> 6487 <enum name="intType" value="1" /> 6488 <!-- values are paths defined as strings. 6489 This type is used for path morphing in AnimatedVectorDrawable. --> 6490 <enum name="pathType" value="2" /> 6491 <!-- values are colors, which are integers starting with "#". --> 6492 <enum name="colorType" value="3" /> 6493 </attr> 6494 <!-- Placeholder for a deleted attribute. This should be removed before M release. --> 6495 <attr name="removeBeforeMRelease" format="integer" /> 6496 </declare-styleable> 6497 6498 <declare-styleable name="PropertyValuesHolder"> 6499 <attr name="valueType" /> 6500 <attr name="propertyName" /> 6501 <attr name="valueFrom" /> 6502 <attr name="valueTo" /> 6503 </declare-styleable> 6504 6505 <declare-styleable name="Keyframe"> 6506 <attr name="valueType" /> 6507 <attr name="value" /> 6508 <attr name="fraction" format="float" /> 6509 <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used 6510 to interpolate between this keyframe and the previous keyframe.--> 6511 <attr name="interpolator" /> 6512 </declare-styleable> 6513 6514 <!-- ========================== --> 6515 <!-- ObjectAnimator class attributes --> 6516 <!-- ========================== --> 6517 <eat-comment /> 6518 6519 <declare-styleable name="PropertyAnimator"> 6520 <!-- Name of the property being animated. --> 6521 <attr name="propertyName" format="string"/> 6522 <!-- Name of the property being animated as the X coordinate of the pathData. --> 6523 <attr name="propertyXName" format="string"/> 6524 <!-- Name of the property being animated as the Y coordinate of the pathData. --> 6525 <attr name="propertyYName" format="string"/> 6526 <!-- The path used to animate the properties in the ObjectAnimator --> 6527 <attr name="pathData"/> 6528 </declare-styleable> 6529 6530 6531 <!-- ========================== --> 6532 <!-- AnimatorSet class attributes --> 6533 <!-- ========================== --> 6534 <eat-comment /> 6535 6536 <declare-styleable name="AnimatorSet"> 6537 <!-- Name of the property being animated. --> 6538 <attr name="ordering"> 6539 <!-- child animations should be played together. --> 6540 <enum name="together" value="0" /> 6541 <!-- child animations should be played sequentially, in the same order as the xml. --> 6542 <enum name="sequentially" value="1" /> 6543 </attr> 6544 </declare-styleable> 6545 6546 <!-- ========================== --> 6547 <!-- State attributes --> 6548 <!-- ========================== --> 6549 <eat-comment /> 6550 6551 <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of 6552 states may vary between view implementations, as documented on the individual state 6553 attributes. --> 6554 <declare-styleable name="DrawableStates"> 6555 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6556 set when a view has input focus. --> 6557 <attr name="state_focused" format="boolean" /> 6558 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6559 set when a view's window has input focus. --> 6560 <attr name="state_window_focused" format="boolean" /> 6561 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6562 set when a view is enabled. --> 6563 <attr name="state_enabled" format="boolean" /> 6564 <!-- State identifier indicating that the object <var>may</var> display a check mark. See 6565 {@link android.R.attr#state_checked} for the identifier that indicates whether it is 6566 actually checked. --> 6567 <attr name="state_checkable" format="boolean"/> 6568 <!-- State identifier indicating that the object is currently checked. See 6569 {@link android.R.attr#state_checkable} for an additional identifier that can indicate 6570 if any object may ever display a check, regardless of whether state_checked is 6571 currently set. --> 6572 <attr name="state_checked" format="boolean"/> 6573 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6574 set when a view (or one of its parents) is currently selected. --> 6575 <attr name="state_selected" format="boolean" /> 6576 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6577 set when the user is pressing down in a view. --> 6578 <attr name="state_pressed" format="boolean" /> 6579 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6580 set when a view or its parent has been "activated" meaning the user has currently 6581 marked it as being of interest. This is an alternative representation of 6582 state_checked for when the state should be propagated down the view hierarchy. --> 6583 <attr name="state_activated" format="boolean" /> 6584 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6585 set when a view or drawable is considered "active" by its host. Actual usage may vary 6586 between views. Consult the host view documentation for details. --> 6587 <attr name="state_active" format="boolean" /> 6588 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6589 set when a view or drawable is considered "single" by its host. Actual usage may vary 6590 between views. Consult the host view documentation for details. --> 6591 <attr name="state_single" format="boolean" /> 6592 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6593 set when a view or drawable is in the first position in an ordered set. Actual usage 6594 may vary between views. Consult the host view documentation for details. --> 6595 <attr name="state_first" format="boolean" /> 6596 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6597 set when a view or drawable is in the middle position in an ordered set. Actual usage 6598 may vary between views. Consult the host view documentation for details. --> 6599 <attr name="state_middle" format="boolean" /> 6600 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6601 set when a view or drawable is in the last position in an ordered set. Actual usage 6602 may vary between views. Consult the host view documentation for details. --> 6603 <attr name="state_last" format="boolean" /> 6604 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6605 indicating that the Drawable is in a view that is hardware accelerated. 6606 This means that the device can at least render a full-screen scaled 6607 bitmap with one layer of text and bitmaps composited on top of it 6608 at 60fps. When this is set, the colorBackgroundCacheHint will be 6609 ignored even if it specifies a solid color, since that optimization 6610 is not needed. --> 6611 <attr name="state_accelerated" format="boolean" /> 6612 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6613 set when a pointer is hovering over the view. --> 6614 <attr name="state_hovered" format="boolean" /> 6615 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6616 indicating that the Drawable is in a view that is capable of accepting a drop of 6617 the content currently being manipulated in a drag-and-drop operation. --> 6618 <attr name="state_drag_can_accept" format="boolean" /> 6619 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6620 indicating that a drag operation (for which the Drawable's view is a valid recipient) 6621 is currently positioned over the Drawable. --> 6622 <attr name="state_drag_hovered" format="boolean" /> 6623 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6624 indicating that a View has accessibility focus. --> 6625 <attr name="state_accessibility_focused" format="boolean" /> 6626 </declare-styleable> 6627 <declare-styleable name="ViewDrawableStates"> 6628 <attr name="state_pressed" /> 6629 <attr name="state_focused" /> 6630 <attr name="state_selected" /> 6631 <attr name="state_window_focused" /> 6632 <attr name="state_enabled" /> 6633 <attr name="state_activated" /> 6634 <attr name="state_accelerated" /> 6635 <attr name="state_hovered" /> 6636 <attr name="state_drag_can_accept" /> 6637 <attr name="state_drag_hovered" /> 6638 </declare-styleable> 6639 <!-- State array representing a menu item that is currently checked. --> 6640 <declare-styleable name="MenuItemCheckedState"> 6641 <attr name="state_checkable" /> 6642 <attr name="state_checked" /> 6643 </declare-styleable> 6644 <!-- State array representing a menu item that is checkable but is not currently checked. --> 6645 <declare-styleable name="MenuItemUncheckedState"> 6646 <attr name="state_checkable" /> 6647 </declare-styleable> 6648 <!-- State array representing a menu item that is currently focused and checked. --> 6649 <declare-styleable name="MenuItemCheckedFocusedState"> 6650 <attr name="state_checkable" /> 6651 <attr name="state_checked" /> 6652 <attr name="state_focused" /> 6653 </declare-styleable> 6654 <!-- State array representing a menu item that is focused and checkable but is not currently checked. --> 6655 <declare-styleable name="MenuItemUncheckedFocusedState"> 6656 <attr name="state_checkable" /> 6657 <attr name="state_focused" /> 6658 </declare-styleable> 6659 <!-- State array representing an expandable list child's indicator. --> 6660 <declare-styleable name="ExpandableListChildIndicatorState"> 6661 <!-- State identifier indicating the child is the last child within its group. --> 6662 <attr name="state_last" /> 6663 </declare-styleable> 6664 <!-- State array representing an expandable list group's indicator. --> 6665 <declare-styleable name="ExpandableListGroupIndicatorState"> 6666 <!-- State identifier indicating the group is expanded. --> 6667 <attr name="state_expanded" format="boolean" /> 6668 <!-- State identifier indicating the group is empty (has no children). --> 6669 <attr name="state_empty" format="boolean" /> 6670 </declare-styleable> 6671 <declare-styleable name="PopupWindowBackgroundState"> 6672 <!-- State identifier indicating the popup will be above the anchor. --> 6673 <attr name="state_above_anchor" format="boolean" /> 6674 </declare-styleable> 6675 <declare-styleable name="TextViewMultiLineBackgroundState"> 6676 <!-- State identifier indicating a TextView has a multi-line layout. --> 6677 <attr name="state_multiline" format="boolean" /> 6678 </declare-styleable> 6679 6680 <!-- ***************************************************************** --> 6681 <!-- Support for Searchable activities. --> 6682 <!-- ***************************************************************** --> 6683 <eat-comment /> 6684 6685 <!-- Searchable activities and applications must provide search configuration information 6686 in an XML file, typically called searchable.xml. This file is referenced in your manifest. 6687 For a more in-depth discussion of search configuration, please refer to 6688 {@link android.app.SearchManager}. --> 6689 <declare-styleable name="Searchable"> 6690 <!--<strong>This is deprecated.</strong><br/>The default 6691 application icon is now always used, so this attribute is 6692 obsolete.--> 6693 <attr name="icon" /> 6694 <!-- This is the user-displayed name of the searchable activity. <i>Required 6695 attribute.</i> --> 6696 <attr name="label" /> 6697 <!-- If supplied, this string will be displayed as a hint to the user. <i>Optional 6698 attribute.</i> --> 6699 <attr name="hint" /> 6700 <!-- If supplied, this string will be displayed as the text of the "Search" button. 6701 <i>Optional attribute.</i> 6702 {@deprecated This will create a non-standard UI appearance, because the search bar UI is 6703 changing to use only icons for its buttons.}--> 6704 <attr name="searchButtonText" format="string" /> 6705 <attr name="inputType" /> 6706 <attr name="imeOptions" /> 6707 6708 <!-- Additional features are controlled by mode bits in this field. Omitting 6709 this field, or setting to zero, provides default behavior. <i>Optional attribute.</i> 6710 --> 6711 <attr name="searchMode"> 6712 <!-- If set, this flag enables the display of the search target (label) within the 6713 search bar. If neither bad mode is selected, no badge will be shown. --> 6714 <flag name="showSearchLabelAsBadge" value="0x04" /> 6715 <!--<strong>This is deprecated.</strong><br/>The default 6716 application icon is now always used, so this option is 6717 obsolete.--> 6718 <flag name="showSearchIconAsBadge" value="0x08" /> 6719 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to 6720 be considered as the text for suggestion query rewriting. This should only 6721 be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user 6722 inspection and editing - typically, HTTP/HTTPS Uri's. --> 6723 <flag name="queryRewriteFromData" value="0x10" /> 6724 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to 6725 be considered as the text for suggestion query rewriting. This should be used 6726 for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA 6727 values are not suitable for user inspection and editing. --> 6728 <flag name="queryRewriteFromText" value="0x20" /> 6729 </attr> 6730 6731 <!-- Voice search features are controlled by mode bits in this field. Omitting 6732 this field, or setting to zero, provides default behavior. 6733 If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must 6734 also be set. <i>Optional attribute.</i> 6735 --> 6736 <attr name="voiceSearchMode"> 6737 <!-- If set, display a voice search button. This only takes effect if voice search is 6738 available on the device. --> 6739 <flag name="showVoiceSearchButton" value="0x01" /> 6740 <!-- If set, the voice search button will take the user directly to a built-in 6741 voice web search activity. Most applications will not use this flag, as it 6742 will take the user away from the activity in which search was invoked. --> 6743 <flag name="launchWebSearch" value="0x02" /> 6744 <!-- If set, the voice search button will take the user directly to a built-in 6745 voice recording activity. This activity will prompt the user to speak, 6746 transcribe the spoken text, and forward the resulting query 6747 text to the searchable activity, just as if the user had typed it into 6748 the search UI and clicked the search button. --> 6749 <flag name="launchRecognizer" value="0x04" /> 6750 </attr> 6751 6752 <!-- If provided, this specifies the language model that should be used by the 6753 voice recognition system. See 6754 {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information. 6755 If not provided, the default value 6756 {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. --> 6757 <attr name="voiceLanguageModel" format="string" /> 6758 <!-- If provided, this specifies a prompt that will be displayed during voice input. --> 6759 <attr name="voicePromptText" format="string" /> 6760 <!-- If provided, this specifies the spoken language to be expected, and that it will be 6761 different than the one set in the {@link java.util.Locale#getDefault()}. --> 6762 <attr name="voiceLanguage" format="string" /> 6763 <!-- If provided, enforces the maximum number of results to return, including the "best" 6764 result which will always be provided as the SEARCH intent's primary query. Must be one 6765 or greater. If not provided, the recognizer will choose how many results to return. 6766 --> 6767 <attr name="voiceMaxResults" format="integer" /> 6768 6769 <!-- If provided, this is the trigger indicating that the searchable activity 6770 provides suggestions as well. The value must be a fully-qualified content provider 6771 authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the 6772 "android:authorities" tag in your content provider's manifest entry. <i>Optional 6773 attribute.</i> --> 6774 <attr name="searchSuggestAuthority" format="string" /> 6775 <!-- If provided, this will be inserted in the suggestions query Uri, after the authority 6776 you have provide but before the standard suggestions path. <i>Optional attribute.</i> 6777 --> 6778 <attr name="searchSuggestPath" format="string" /> 6779 <!-- If provided, suggestion queries will be passed into your query function 6780 as the <i>selection</i> parameter. Typically this will be a WHERE clause for your 6781 database, and will contain a single question mark, which represents the actual query 6782 string that has been typed by the user. If not provided, then the user query text 6783 will be appended to the query Uri (after an additional "/".) <i>Optional 6784 attribute.</i> --> 6785 <attr name="searchSuggestSelection" format="string" /> 6786 6787 <!-- If provided, and not overridden by an action in the selected suggestion, this 6788 string will be placed in the action field of the {@link android.content.Intent Intent} 6789 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6790 <attr name="searchSuggestIntentAction" format="string" /> 6791 <!-- If provided, and not overridden by an action in the selected suggestion, this 6792 string will be placed in the data field of the {@link android.content.Intent Intent} 6793 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6794 <attr name="searchSuggestIntentData" format="string" /> 6795 6796 <!-- If provided, this is the minimum number of characters needed to trigger 6797 search suggestions. The default value is 0. <i>Optional attribute.</i> --> 6798 <attr name="searchSuggestThreshold" format="integer" /> 6799 6800 <!-- If provided and <code>true</code>, this searchable activity will be 6801 included in any global lists of search targets. 6802 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6803 <attr name="includeInGlobalSearch" format="boolean" /> 6804 6805 <!-- If provided and <code>true</code>, this searchable activity will be invoked for all 6806 queries in a particular session. If set to <code>false</code> and the activity 6807 returned zero results for a query, it will not be invoked again in that session for 6808 supersets of that zero-results query. For example, if the activity returned zero 6809 results for "bo", it would not be queried again for "bob". 6810 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6811 <attr name="queryAfterZeroResults" format="boolean" /> 6812 <!-- If provided, this string will be used to describe the searchable item in the 6813 searchable items settings within system search settings. <i>Optional 6814 attribute.</i> --> 6815 <attr name="searchSettingsDescription" format="string" /> 6816 6817 <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching 6818 within this activity would be detected and treated as URLs (show a 'go' button in the 6819 keyboard and invoke the browser directly when user launches the URL instead of passing 6820 the URL to the activity). If set to <code>false</code> any URLs entered are treated as 6821 normal query text. 6822 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6823 <attr name="autoUrlDetect" format="boolean" /> 6824 6825 </declare-styleable> 6826 6827 <!-- In order to process special action keys during search, you must define them using 6828 one or more "ActionKey" elements in your Searchable metadata. For a more in-depth 6829 discussion of action code handling, please refer to {@link android.app.SearchManager}. 6830 --> 6831 <declare-styleable name="SearchableActionKey"> 6832 <!-- This attribute denotes the action key you wish to respond to. Note that not 6833 all action keys are actually supported using this mechanism, as many of them are 6834 used for typing, navigation, or system functions. This will be added to the 6835 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6836 searchable activity. To examine the key code, use 6837 {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}. 6838 <p>Note, in addition to the keycode, you must also provide one or more of the action 6839 specifier attributes. <i>Required attribute.</i> --> 6840 <attr name="keycode" /> 6841 6842 <!-- If you wish to handle an action key during normal search query entry, you 6843 must define an action string here. This will be added to the 6844 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6845 searchable activity. To examine the string, use 6846 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6847 <i>Optional attribute.</i> --> 6848 <attr name="queryActionMsg" format="string" /> 6849 6850 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6851 selected</i>, there are two ways to handle this. If <i>all</i> of your suggestions 6852 can handle the action key, you can simply define the action message using this 6853 attribute. This will be added to the 6854 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6855 searchable activity. To examine the string, use 6856 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6857 <i>Optional attribute.</i> --> 6858 <attr name="suggestActionMsg" format="string" /> 6859 6860 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6861 selected</i>, but you do not wish to enable this action key for every suggestion, 6862 then you can use this attribute to control it on a suggestion-by-suggestion basis. 6863 First, you must define a column (and name it here) where your suggestions will include 6864 the action string. Then, in your content provider, you must provide this column, and 6865 when desired, provide data in this column. 6866 The search manager will look at your suggestion cursor, using the string 6867 provided here in order to select a column, and will use that to select a string from 6868 the cursor. That string will be added to the 6869 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to 6870 your searchable activity. To examine the string, use 6871 {@link android.content.Intent#getStringExtra 6872 getStringExtra(SearchManager.ACTION_MSG)}. <i>If the data does not exist for the 6873 selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> --> 6874 <attr name="suggestActionMsgColumn" format="string" /> 6875 6876 </declare-styleable> 6877 6878 <!-- ***************************************************************** --> 6879 <!-- Support for MapView. --> 6880 <!-- ***************************************************************** --> 6881 <eat-comment /> 6882 6883 <!-- The set of attributes for a MapView. --> 6884 <declare-styleable name="MapView"> 6885 <!-- Value is a string that specifies the Maps API Key to use. --> 6886 <attr name="apiKey" format="string" /> 6887 </declare-styleable> 6888 6889 <!-- **************************************************************** --> 6890 <!-- Menu XML inflation. --> 6891 <!-- **************************************************************** --> 6892 <eat-comment /> 6893 6894 <!-- Base attributes that are available to all Menu objects. --> 6895 <declare-styleable name="Menu"> 6896 </declare-styleable> 6897 6898 <!-- Base attributes that are available to all groups. --> 6899 <declare-styleable name="MenuGroup"> 6900 6901 <!-- The ID of the group. --> 6902 <attr name="id" /> 6903 6904 <!-- The category applied to all items within this group. 6905 (This will be or'ed with the orderInCategory attribute.) --> 6906 <attr name="menuCategory"> 6907 <!-- Items are part of a container. --> 6908 <enum name="container" value="0x00010000" /> 6909 <!-- Items are provided by the system. --> 6910 <enum name="system" value="0x00020000" /> 6911 <!-- Items are user-supplied secondary (infrequently used). --> 6912 <enum name="secondary" value="0x00030000" /> 6913 <!-- Items are alternative actions. --> 6914 <enum name="alternative" value="0x00040000" /> 6915 </attr> 6916 6917 <!-- The order within the category applied to all items within this group. 6918 (This will be or'ed with the category attribute.) --> 6919 <attr name="orderInCategory" format="integer" /> 6920 6921 <!-- Whether the items are capable of displaying a check mark. --> 6922 <attr name="checkableBehavior"> 6923 <!-- The items are not checkable. --> 6924 <enum name="none" value="0" /> 6925 <!-- The items are all checkable. --> 6926 <enum name="all" value="1" /> 6927 <!-- The items are checkable and there will only be a single checked item in 6928 this group. --> 6929 <enum name="single" value="2" /> 6930 </attr> 6931 6932 <!-- Whether the items are shown/visible. --> 6933 <attr name="visible" /> 6934 6935 <!-- Whether the items are enabled. --> 6936 <attr name="enabled" /> 6937 6938 </declare-styleable> 6939 6940 <!-- Base attributes that are available to all Item objects. --> 6941 <declare-styleable name="MenuItem"> 6942 6943 <!-- The ID of the item. --> 6944 <attr name="id" /> 6945 6946 <!-- The category applied to the item. 6947 (This will be or'ed with the orderInCategory attribute.) --> 6948 <attr name="menuCategory" /> 6949 6950 <!-- The order within the category applied to the item. 6951 (This will be or'ed with the category attribute.) --> 6952 <attr name="orderInCategory" /> 6953 6954 <!-- The title associated with the item. --> 6955 <attr name="title" format="string" /> 6956 6957 <!-- The condensed title associated with the item. This is used in situations where the 6958 normal title may be too long to be displayed. --> 6959 <attr name="titleCondensed" format="string" /> 6960 6961 <!-- The icon associated with this item. This icon will not always be shown, so 6962 the title should be sufficient in describing this item. --> 6963 <attr name="icon" /> 6964 6965 <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard 6966 with alphabetic keys. --> 6967 <attr name="alphabeticShortcut" format="string" /> 6968 6969 <!-- The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) 6970 keyboard. --> 6971 <attr name="numericShortcut" format="string" /> 6972 6973 <!-- Whether the item is capable of displaying a check mark. --> 6974 <attr name="checkable" format="boolean" /> 6975 6976 <!-- Whether the item is checked. Note that you must first have enabled checking with 6977 the checkable attribute or else the check mark will not appear. --> 6978 <attr name="checked" /> 6979 6980 <!-- Whether the item is shown/visible. --> 6981 <attr name="visible" /> 6982 6983 <!-- Whether the item is enabled. --> 6984 <attr name="enabled" /> 6985 6986 <!-- Name of a method on the Context used to inflate the menu that will be 6987 called when the item is clicked. --> 6988 <attr name="onClick" /> 6989 6990 <!-- How this item should display in the Action Bar, if present. --> 6991 <attr name="showAsAction"> 6992 <!-- Never show this item in an action bar, show it in the overflow menu instead. 6993 Mutually exclusive with "ifRoom" and "always". --> 6994 <flag name="never" value="0" /> 6995 <!-- Show this item in an action bar if there is room for it as determined 6996 by the system. Favor this option over "always" where possible. 6997 Mutually exclusive with "never" and "always". --> 6998 <flag name="ifRoom" value="1" /> 6999 <!-- Always show this item in an actionbar, even if it would override 7000 the system's limits of how much stuff to put there. This may make 7001 your action bar look bad on some screens. In most cases you should 7002 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". --> 7003 <flag name="always" value="2" /> 7004 <!-- When this item is shown as an action in the action bar, show a text 7005 label with it even if it has an icon representation. --> 7006 <flag name="withText" value="4" /> 7007 <!-- This item's action view collapses to a normal menu 7008 item. When expanded, the action view takes over a 7009 larger segment of its container. --> 7010 <flag name="collapseActionView" value="8" /> 7011 </attr> 7012 7013 <!-- An optional layout to be used as an action view. 7014 See {@link android.view.MenuItem#setActionView(android.view.View)} 7015 for more info. --> 7016 <attr name="actionLayout" format="reference" /> 7017 7018 <!-- The name of an optional View class to instantiate and use as an 7019 action view. See {@link android.view.MenuItem#setActionView(android.view.View)} 7020 for more info. --> 7021 <attr name="actionViewClass" format="string" /> 7022 7023 <!-- The name of an optional ActionProvider class to instantiate an action view 7024 and perform operations such as default action for that menu item. 7025 See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)} 7026 for more info. --> 7027 <attr name="actionProviderClass" format="string" /> 7028 7029 <!-- The content description associated with the item. --> 7030 <attr name="contentDescription" format="string" /> 7031 7032 <!-- The tooltip text associated with the item. --> 7033 <attr name="tooltipText" format="string" /> 7034 7035 </declare-styleable> 7036 7037 <!-- Attrbitutes for a ActvityChooserView. --> 7038 <declare-styleable name="ActivityChooserView"> 7039 <!-- The maximal number of items initially shown in the activity list. --> 7040 <attr name="initialActivityCount" format="string" /> 7041 <!-- The drawable to show in the button for expanding the activities overflow popup. 7042 <strong>Note:</strong> Clients would like to set this drawable 7043 as a clue about the action the chosen activity will perform. For 7044 example, if share activity is to be chosen the drawable should 7045 give a clue that sharing is to be performed. 7046 --> 7047 <attr name="expandActivityOverflowButtonDrawable" format="reference" /> 7048 </declare-styleable> 7049 7050 <!-- **************************************************************** --> 7051 <!-- Preferences framework. --> 7052 <!-- **************************************************************** --> 7053 <eat-comment /> 7054 7055 <!-- Base attributes available to PreferenceGroup. --> 7056 <declare-styleable name="PreferenceGroup"> 7057 <!-- Whether to order the Preference under this group as they appear in the XML file. 7058 If this is false, the ordering will follow the Preference order attribute and 7059 default to alphabetic for those without the order attribute. --> 7060 <attr name="orderingFromXml" format="boolean" /> 7061 </declare-styleable> 7062 7063 <!-- Attribute for a header describing the item shown in the top-level list 7064 from which the selects the set of preference to dig in to. --> 7065 <declare-styleable name="PreferenceHeader"> 7066 <!-- Identifier value for the header. --> 7067 <attr name="id" /> 7068 <!-- The title of the item that is shown to the user. --> 7069 <attr name="title" /> 7070 <!-- The summary for the item. --> 7071 <attr name="summary" format="string" /> 7072 <!-- The title for the bread crumb of this item. --> 7073 <attr name="breadCrumbTitle" format="string" /> 7074 <!-- The short title for the bread crumb of this item. --> 7075 <attr name="breadCrumbShortTitle" format="string" /> 7076 <!-- An icon for the item. --> 7077 <attr name="icon" /> 7078 <!-- The fragment that is displayed when the user selects this item. --> 7079 <attr name="fragment" format="string" /> 7080 </declare-styleable> 7081 7082 <!-- WARNING: If adding attributes to Preference, make sure it does not conflict 7083 with a View's attributes. Some subclasses (e.g., EditTextPreference) 7084 proxy all attributes to its EditText widget. --> 7085 <eat-comment /> 7086 7087 <!-- Base attributes available to Preference. --> 7088 <declare-styleable name="Preference"> 7089 <!-- The optional icon for the preference --> 7090 <attr name="icon" /> 7091 <!-- The key to store the Preference value. --> 7092 <attr name="key" format="string" /> 7093 <!-- The title for the Preference. In API 25 and earlier, this value is read as a 7094 plain string with styling information stripped. --> 7095 <attr name="title" /> 7096 <!-- The summary for the Preference. In API 25 and earlier, this value is read as a 7097 plain string with styling information stripped. --> 7098 <attr name="summary" /> 7099 <!-- The order for the Preference (lower values are to be ordered first). If this is not 7100 specified, the default ordering will be alphabetic. --> 7101 <attr name="order" format="integer" /> 7102 <!-- When used inside of a modern PreferenceActivity, this declares 7103 a new PreferenceFragment to be shown when the user selects this item. --> 7104 <attr name="fragment" /> 7105 <!-- The layout for the Preference in a PreferenceActivity screen. This should 7106 rarely need to be changed, look at widgetLayout instead. --> 7107 <attr name="layout" /> 7108 <!-- The layout for the controllable widget portion of a Preference. This is inflated 7109 into the layout for a Preference and should be used more frequently than 7110 the layout attribute. For example, a checkbox preference would specify 7111 a custom layout (consisting of just the CheckBox) here. --> 7112 <attr name="widgetLayout" format="reference" /> 7113 <!-- Whether the Preference is enabled. --> 7114 <attr name="enabled" /> 7115 <!-- Whether the Preference is selectable. --> 7116 <attr name="selectable" format="boolean" /> 7117 <!-- The key of another Preference that this Preference will depend on. If the other 7118 Preference is not set or is off, this Preference will be disabled. --> 7119 <attr name="dependency" format="string" /> 7120 <!-- Whether the Preference stores its value to the shared preferences. --> 7121 <attr name="persistent" /> 7122 <!-- The default value for the preference, which will be set either if persistence 7123 is off or persistence is on and the preference is not found in the persistent 7124 storage. --> 7125 <attr name="defaultValue" format="string|boolean|integer|reference|float" /> 7126 <!-- Whether the view of this Preference should be disabled when 7127 this Preference is disabled. --> 7128 <attr name="shouldDisableView" format="boolean" /> 7129 </declare-styleable> 7130 7131 <!-- Base attributes available to CheckBoxPreference. --> 7132 <declare-styleable name="CheckBoxPreference"> 7133 <!-- The summary for the Preference in a PreferenceActivity screen when the 7134 CheckBoxPreference is checked. If separate on/off summaries are not 7135 needed, the summary attribute can be used instead. --> 7136 <attr name="summaryOn" format="string" /> 7137 <!-- The summary for the Preference in a PreferenceActivity screen when the 7138 CheckBoxPreference is unchecked. If separate on/off summaries are not 7139 needed, the summary attribute can be used instead. --> 7140 <attr name="summaryOff" format="string" /> 7141 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 7142 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 7143 <attr name="disableDependentsState" format="boolean" /> 7144 </declare-styleable> 7145 7146 <!-- Base attributes available to DialogPreference. --> 7147 <declare-styleable name="DialogPreference"> 7148 <!-- The title in the dialog. --> 7149 <attr name="dialogTitle" format="string" /> 7150 <!-- The message in the dialog. If a dialogLayout is provided and contains 7151 a TextView with ID android:id/message, this message will be placed in there. --> 7152 <attr name="dialogMessage" format="string" /> 7153 <!-- The icon for the dialog. --> 7154 <attr name="dialogIcon" format="reference" /> 7155 <!-- The positive button text for the dialog. Set to @null to hide the positive button. --> 7156 <attr name="positiveButtonText" format="string" /> 7157 <!-- The negative button text for the dialog. Set to @null to hide the negative button. --> 7158 <attr name="negativeButtonText" format="string" /> 7159 <!-- A layout to be used as the content View for the dialog. By default, this shouldn't 7160 be needed. If a custom DialogPreference is required, this should be set. For example, 7161 the EditTextPreference uses a layout with an EditText as this attribute. --> 7162 <attr name="dialogLayout" format="reference" /> 7163 </declare-styleable> 7164 7165 <!-- Base attributes available to ListPreference. --> 7166 <declare-styleable name="ListPreference"> 7167 <!-- The human-readable array to present as a list. Each entry must have a corresponding 7168 index in entryValues. --> 7169 <attr name="entries" /> 7170 <!-- The array to find the value to save for a preference when an entry from 7171 entries is selected. If a user clicks on the second item in entries, the 7172 second item in this array will be saved to the preference. --> 7173 <attr name="entryValues" format="reference" /> 7174 </declare-styleable> 7175 7176 <declare-styleable name="MultiSelectListPreference"> 7177 <!-- The human-readable array to present as a list. Each entry must have a corresponding 7178 index in entryValues. --> 7179 <attr name="entries" /> 7180 <!-- The array to find the value to save for a preference when an entry from 7181 entries is selected. If a user clicks the second item in entries, the 7182 second item in this array will be saved to the preference. --> 7183 <attr name="entryValues" /> 7184 </declare-styleable> 7185 7186 <!-- Base attributes available to RingtonePreference. --> 7187 <declare-styleable name="RingtonePreference"> 7188 <!-- Which ringtone type(s) to show in the picker. --> 7189 <attr name="ringtoneType"> 7190 <!-- Ringtones. --> 7191 <flag name="ringtone" value="1" /> 7192 <!-- Notification sounds. --> 7193 <flag name="notification" value="2" /> 7194 <!-- Alarm sounds. --> 7195 <flag name="alarm" value="4" /> 7196 <!-- All available ringtone sounds. --> 7197 <flag name="all" value="7" /> 7198 </attr> 7199 <!-- Whether to show an item for a default sound. --> 7200 <attr name="showDefault" format="boolean" /> 7201 <!-- Whether to show an item for 'Silent'. --> 7202 <attr name="showSilent" format="boolean" /> 7203 </declare-styleable> 7204 7205 <!-- Base attributes available to VolumePreference. --> 7206 <declare-styleable name="VolumePreference"> 7207 <!-- Different audio stream types. --> 7208 <attr name="streamType"> 7209 <enum name="voice" value="0" /> 7210 <enum name="system" value="1" /> 7211 <enum name="ring" value="2" /> 7212 <enum name="music" value="3" /> 7213 <enum name="alarm" value="4" /> 7214 </attr> 7215 </declare-styleable> 7216 7217 <declare-styleable name="InputMethodService"> 7218 <!-- Background to use for entire input method when it is being 7219 shown in fullscreen mode with the extract view, to ensure 7220 that it completely covers the application. This allows, 7221 for example, the candidate view to be hidden 7222 while in fullscreen mode without having the application show through 7223 behind it.--> 7224 <attr name="imeFullscreenBackground" format="reference|color" /> 7225 <!-- Animation to use when showing the fullscreen extract UI after 7226 it had previously been hidden. --> 7227 <attr name="imeExtractEnterAnimation" format="reference" /> 7228 <!-- Animation to use when hiding the fullscreen extract UI after 7229 it had previously been shown. --> 7230 <attr name="imeExtractExitAnimation" format="reference" /> 7231 </declare-styleable> 7232 7233 <declare-styleable name="VoiceInteractionSession"> 7234 </declare-styleable> 7235 7236 <declare-styleable name="KeyboardView"> 7237 <!-- Default KeyboardView style. --> 7238 <attr name="keyboardViewStyle" format="reference" /> 7239 7240 <!-- Image for the key. This image needs to be a StateListDrawable, with the following 7241 possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, 7242 checkable+checked+pressed. --> 7243 <attr name="keyBackground" format="reference" /> 7244 7245 <!-- Size of the text for character keys. --> 7246 <attr name="keyTextSize" format="dimension" /> 7247 7248 <!-- Size of the text for custom keys with some text and no icon. --> 7249 <attr name="labelTextSize" format="dimension" /> 7250 7251 <!-- Color to use for the label in a key. --> 7252 <attr name="keyTextColor" format="color" /> 7253 7254 <!-- Layout resource for key press feedback.--> 7255 <attr name="keyPreviewLayout" format="reference" /> 7256 7257 <!-- Vertical offset of the key press feedback from the key. --> 7258 <attr name="keyPreviewOffset" format="dimension" /> 7259 7260 <!-- Height of the key press feedback popup. --> 7261 <attr name="keyPreviewHeight" format="dimension" /> 7262 7263 <!-- Amount to offset the touch Y coordinate by, for bias correction. --> 7264 <attr name="verticalCorrection" format="dimension" /> 7265 7266 <!-- Layout resource for popup keyboards. --> 7267 <attr name="popupLayout" format="reference" /> 7268 7269 <attr name="shadowColor" /> 7270 <attr name="shadowRadius" /> 7271 </declare-styleable> 7272 7273 <declare-styleable name="KeyboardViewPreviewState"> 7274 <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView} 7275 key preview background. --> 7276 <attr name="state_long_pressable" format="boolean" /> 7277 </declare-styleable> 7278 7279 <declare-styleable name="Keyboard"> 7280 <!-- Default width of a key, in pixels or percentage of display width. --> 7281 <attr name="keyWidth" format="dimension|fraction" /> 7282 <!-- Default height of a key, in pixels or percentage of display width. --> 7283 <attr name="keyHeight" format="dimension|fraction" /> 7284 <!-- Default horizontal gap between keys. --> 7285 <attr name="horizontalGap" format="dimension|fraction" /> 7286 <!-- Default vertical gap between rows of keys. --> 7287 <attr name="verticalGap" format="dimension|fraction" /> 7288 </declare-styleable> 7289 7290 <declare-styleable name="Keyboard_Row"> 7291 <!-- Row edge flags. --> 7292 <attr name="rowEdgeFlags"> 7293 <!-- Row is anchored to the top of the keyboard. --> 7294 <flag name="top" value="4" /> 7295 <!-- Row is anchored to the bottom of the keyboard. --> 7296 <flag name="bottom" value="8" /> 7297 </attr> 7298 <!-- Mode of the keyboard. If the mode doesn't match the 7299 requested keyboard mode, the row will be skipped. --> 7300 <attr name="keyboardMode" format="reference" /> 7301 </declare-styleable> 7302 7303 <declare-styleable name="Keyboard_Key"> 7304 <!-- The unicode value or comma-separated values that this key outputs. --> 7305 <attr name="codes" format="integer|string" /> 7306 <!-- The XML keyboard layout of any popup keyboard. --> 7307 <attr name="popupKeyboard" format="reference" /> 7308 <!-- The characters to display in the popup keyboard. --> 7309 <attr name="popupCharacters" format="string" /> 7310 <!-- Key edge flags. --> 7311 <attr name="keyEdgeFlags"> 7312 <!-- Key is anchored to the left of the keyboard. --> 7313 <flag name="left" value="1" /> 7314 <!-- Key is anchored to the right of the keyboard. --> 7315 <flag name="right" value="2" /> 7316 </attr> 7317 <!-- Whether this is a modifier key such as Alt or Shift. --> 7318 <attr name="isModifier" format="boolean" /> 7319 <!-- Whether this is a toggle key. --> 7320 <attr name="isSticky" format="boolean" /> 7321 <!-- Whether long-pressing on this key will make it repeat. --> 7322 <attr name="isRepeatable" format="boolean" /> 7323 <!-- The icon to show in the popup preview. --> 7324 <attr name="iconPreview" format="reference" /> 7325 <!-- The string of characters to output when this key is pressed. --> 7326 <attr name="keyOutputText" format="string" /> 7327 <!-- The label to display on the key. --> 7328 <attr name="keyLabel" format="string" /> 7329 <!-- The icon to display on the key instead of the label. --> 7330 <attr name="keyIcon" format="reference" /> 7331 <!-- Mode of the keyboard. If the mode doesn't match the 7332 requested keyboard mode, the key will be skipped. --> 7333 <attr name="keyboardMode" /> 7334 </declare-styleable> 7335 7336 <!-- =============================== --> 7337 <!-- AppWidget package class attributes --> 7338 <!-- =============================== --> 7339 <eat-comment /> 7340 7341 <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that 7342 describes an AppWidget provider. See {@link android.appwidget android.appwidget} 7343 package for more info. 7344 --> 7345 <declare-styleable name="AppWidgetProviderInfo"> 7346 <!-- Minimum width of the AppWidget. --> 7347 <attr name="minWidth"/> 7348 <!-- Minimum height of the AppWidget. --> 7349 <attr name="minHeight"/> 7350 <!-- Minimum width that the AppWidget can be resized to. --> 7351 <attr name="minResizeWidth" format="dimension"/> 7352 <!-- Minimum height that the AppWidget can be resized to. --> 7353 <attr name="minResizeHeight" format="dimension"/> 7354 <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. --> 7355 <attr name="updatePeriodMillis" format="integer" /> 7356 <!-- A resource id of a layout. --> 7357 <attr name="initialLayout" format="reference" /> 7358 <!-- A resource id of a layout. --> 7359 <attr name="initialKeyguardLayout" format="reference" /> 7360 <!-- A class name in the AppWidget's package to be launched to configure. 7361 If not supplied, then no activity will be launched. --> 7362 <attr name="configure" format="string" /> 7363 <!-- A preview of what the AppWidget will look like after it's configured. 7364 If not supplied, the AppWidget's icon will be used. --> 7365 <attr name="previewImage" format="reference" /> 7366 <!-- The view id of the AppWidget subview which should be auto-advanced. 7367 by the widget's host. --> 7368 <attr name="autoAdvanceViewId" format="reference" /> 7369 <!-- Optional parameter which indicates if and how this widget can be 7370 resized. Supports combined values using | operator. --> 7371 <attr name="resizeMode" format="integer"> 7372 <flag name="none" value="0x0" /> 7373 <flag name="horizontal" value="0x1" /> 7374 <flag name="vertical" value="0x2" /> 7375 </attr> 7376 <!-- Optional parameter which indicates where this widget can be shown, 7377 ie. home screen, keyguard, search bar or any combination thereof. 7378 Supports combined values using | operator. --> 7379 <attr name="widgetCategory" format="integer"> 7380 <flag name="home_screen" value="0x1" /> 7381 <flag name="keyguard" value="0x2" /> 7382 <flag name="searchbox" value="0x4" /> 7383 </attr> 7384 </declare-styleable> 7385 7386 <!-- =============================== --> 7387 <!-- Wallpaper preview attributes --> 7388 <!-- =============================== --> 7389 <eat-comment /> 7390 7391 <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that 7392 describes a wallpaper preview. --> 7393 <declare-styleable name="WallpaperPreviewInfo"> 7394 <!-- A resource id of a static drawable. --> 7395 <attr name="staticWallpaperPreview" format="reference" /> 7396 </declare-styleable> 7397 7398 <!-- =============================== --> 7399 <!-- App package class attributes --> 7400 <!-- =============================== --> 7401 <eat-comment /> 7402 7403 <!-- ============================= --> 7404 <!-- View package class attributes --> 7405 <!-- ============================= --> 7406 <eat-comment /> 7407 7408 <!-- Attributes that can be used with <code><fragment></code> 7409 tags inside of the layout of an Activity. This instantiates 7410 the given {@link android.app.Fragment} and inserts its content 7411 view into the current location in the layout. --> 7412 <declare-styleable name="Fragment"> 7413 <!-- Supply the name of the fragment class to instantiate. --> 7414 <attr name="name" /> 7415 7416 <!-- Supply an identifier name for the top-level view, to later retrieve it 7417 with {@link android.view.View#findViewById View.findViewById()} or 7418 {@link android.app.Activity#findViewById Activity.findViewById()}. 7419 This must be a 7420 resource reference; typically you set this using the 7421 <code>@+</code> syntax to create a new ID resources. 7422 For example: <code>android:id="@+id/my_id"</code> which 7423 allows you to later retrieve the view 7424 with <code>findViewById(R.id.my_id)</code>. --> 7425 <attr name="id" /> 7426 7427 <!-- Supply a tag for the top-level view containing a String, to be retrieved 7428 later with {@link android.view.View#getTag View.getTag()} or 7429 searched for with {@link android.view.View#findViewWithTag 7430 View.findViewWithTag()}. It is generally preferable to use 7431 IDs (through the android:id attribute) instead of tags because 7432 they are faster and allow for compile-time type checking. --> 7433 <attr name="tag" /> 7434 7435 <!-- The Transition that will be used to move Views out of the scene when the 7436 fragment is removed, hidden, or detached when not popping the back stack. 7437 Corresponds to {@link android.app.Fragment#setExitTransition( 7438 android.transition.Transition)} --> 7439 <attr name="fragmentExitTransition" format="reference"/> 7440 7441 <!-- The Transition that will be used to move Views into the initial scene. 7442 Corresponds to {@link android.app.Fragment#setEnterTransition( 7443 android.transition.Transition)} --> 7444 <attr name="fragmentEnterTransition" format="reference"/> 7445 7446 <!-- The Transition that will be used for shared elements transferred into the content 7447 Scene. 7448 Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition( 7449 android.transition.Transition)} --> 7450 <attr name="fragmentSharedElementEnterTransition" format="reference"/> 7451 7452 <!-- The Transition that will be used to move Views out of the scene when the Fragment is 7453 preparing to be removed, hidden, or detached because of popping the back stack. 7454 Corresponds to {@link android.app.Fragment#setReturnTransition( 7455 android.transition.Transition)} --> 7456 <attr name="fragmentReturnTransition" format="reference"/> 7457 7458 <!-- The Transition that will be used for shared elements transferred back during a 7459 pop of the back stack. This Transition acts in the leaving Fragment. 7460 Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition( 7461 android.transition.Transition)} --> 7462 <attr name="fragmentSharedElementReturnTransition" format="reference"/> 7463 7464 <!-- The Transition that will be used to move Views in to the scene when returning due 7465 to popping a back stack. 7466 Corresponds to {@link android.app.Fragment#setReenterTransition( 7467 android.transition.Transition)} --> 7468 <attr name="fragmentReenterTransition" format="reference"/> 7469 7470 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7471 forward. 7472 Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap( 7473 boolean)} --> 7474 <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/> 7475 7476 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7477 because of popping the back stack. 7478 Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap( 7479 boolean)} --> 7480 <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/> 7481 </declare-styleable> 7482 7483 <!-- Use <code>device-admin</code> as the root tag of the XML resource that 7484 describes a 7485 {@link android.app.admin.DeviceAdminReceiver}, which is 7486 referenced from its 7487 {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA} 7488 meta-data entry. Described here are the attributes that can be 7489 included in that tag. --> 7490 <declare-styleable name="DeviceAdmin"> 7491 <!-- Control whether the admin is visible to the user, even when it 7492 is not enabled. This is true by default. You may want to make 7493 it false if your admin does not make sense to be turned on 7494 unless some explicit action happens in your app. --> 7495 <attr name="visible" /> 7496 </declare-styleable> 7497 7498 <!-- Use <code>wallpaper</code> as the root tag of the XML resource that 7499 describes an 7500 {@link android.service.wallpaper.WallpaperService}, which is 7501 referenced from its 7502 {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA} 7503 meta-data entry. Described here are the attributes that can be 7504 included in that tag. --> 7505 <declare-styleable name="Wallpaper"> 7506 <attr name="settingsActivity" /> 7507 7508 <!-- Reference to the wallpaper's thumbnail bitmap. --> 7509 <attr name="thumbnail" format="reference" /> 7510 7511 <!-- Name of the author and/or source/collection of this component, e.g. Art Collection, Picasso. --> 7512 <attr name="author" format="reference" /> 7513 7514 <!-- Short description of the component's purpose or behavior. --> 7515 <attr name="description" /> 7516 7517 <!-- Uri that specifies a link for further context of this wallpaper, e.g. http://www.picasso.org. --> 7518 <attr name="contextUri" format="reference" /> 7519 7520 <!-- Title of the uri that specifies a link for further context of this wallpaper, e.g. Explore collection. --> 7521 <attr name="contextDescription" format="reference" /> 7522 7523 <!-- Whether to show any metadata when previewing the wallpaper. If this value is 7524 set to true, any component that shows a preview of this live wallpaper should also show 7525 accompanying information like the title, the description, the author and the context 7526 description of this wallpaper so the user gets to know further information about this 7527 wallpaper. --> 7528 <attr name="showMetadataInPreview" format="boolean" /> 7529 7530 </declare-styleable> 7531 7532 <!-- Use <code>dream</code> as the root tag of the XML resource that 7533 describes an 7534 {@link android.service.dreams.DreamService}, which is 7535 referenced from its 7536 {@link android.service.dreams.DreamService#DREAM_META_DATA} 7537 meta-data entry. Described here are the attributes that can be 7538 included in that tag. --> 7539 <declare-styleable name="Dream"> 7540 <!-- Component name of an activity that allows the user to modify 7541 the settings for this dream. --> 7542 <attr name="settingsActivity" /> 7543 </declare-styleable> 7544 7545 <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that 7546 describes an {@link android.service.trust.TrustAgentService}, which is 7547 referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA} 7548 meta-data entry. Described here are the attributes that can be included in that tag. 7549 @hide --> 7550 <declare-styleable name="TrustAgent"> 7551 <!-- @SystemApi Component name of an activity that allows the user to modify 7552 the settings for this trust agent. @hide --> 7553 <attr name="settingsActivity" /> 7554 <!-- @SystemApi Title for a preference that allows that user to launch the 7555 activity to modify trust agent settings. @hide --> 7556 <attr name="title" /> 7557 <!-- @SystemApi Summary for the same preference as the title. @hide --> 7558 <attr name="summary" /> 7559 <!-- @SystemApi Whether trust agent can unlock a user profile @hide --> 7560 <attr name="unlockProfile" format="boolean"/> 7561 </declare-styleable> 7562 7563 <!-- =============================== --> 7564 <!-- Accounts package class attributes --> 7565 <!-- =============================== --> 7566 <eat-comment /> 7567 7568 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7569 describes an account authenticator. 7570 --> 7571 <declare-styleable name="AccountAuthenticator"> 7572 <!-- The account type this authenticator handles. --> 7573 <attr name="accountType" format="string"/> 7574 <!-- The user-visible name of the authenticator. --> 7575 <attr name="label"/> 7576 <!-- The icon of the authenticator. --> 7577 <attr name="icon"/> 7578 <!-- Smaller icon of the authenticator. --> 7579 <attr name="smallIcon" format="reference"/> 7580 <!-- A preferences.xml file for authenticator-specific settings. --> 7581 <attr name="accountPreferences" format="reference"/> 7582 <!-- Account handles its own token storage and permissions. 7583 Default to false 7584 --> 7585 <attr name="customTokens" format="boolean"/> 7586 </declare-styleable> 7587 7588 <!-- =============================== --> 7589 <!-- Accounts package class attributes --> 7590 <!-- =============================== --> 7591 <eat-comment /> 7592 7593 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7594 describes an account authenticator. 7595 --> 7596 <declare-styleable name="SyncAdapter"> 7597 <!-- the authority of a content provider. --> 7598 <attr name="contentAuthority" format="string"/> 7599 <attr name="accountType"/> 7600 <attr name="userVisible" format="boolean"/> 7601 <attr name="supportsUploading" format="boolean"/> 7602 <!-- Set to true to tell the SyncManager that this SyncAdapter supports 7603 multiple simultaneous syncs for the same account type and authority. 7604 Otherwise the SyncManager will be sure not to issue a start sync request 7605 to this SyncAdapter if the SyncAdapter is already syncing another account. 7606 Defaults to false. 7607 --> 7608 <attr name="allowParallelSyncs" format="boolean"/> 7609 <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) 7610 for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. 7611 Defaults to false. 7612 --> 7613 <attr name="isAlwaysSyncable" format="boolean"/> 7614 <!-- If provided, specifies the action of the settings 7615 activity for this SyncAdapter. 7616 --> 7617 <attr name="settingsActivity"/> 7618 </declare-styleable> 7619 7620 <!-- =============================== --> 7621 <!-- AutoFill attributes --> 7622 <!-- =============================== --> 7623 <eat-comment /> 7624 7625 <!-- Use <code>autofill-service</code> as the root tag of the XML resource that describes a 7626 {@link android.service.autofill.AutoFillService}, which is referenced from its 7627 {@link android.service.autofill#SERVICE_META_DATA} meta-data entry. 7628 --> 7629 <declare-styleable name="AutoFillService"> 7630 <!-- Fully qualified class name of an activity that allows the user to modify 7631 the settings for this service. --> 7632 <attr name="settingsActivity" /> 7633 </declare-styleable> 7634 7635 <!-- =============================== --> 7636 <!-- Contacts meta-data attributes --> 7637 <!-- =============================== --> 7638 <eat-comment /> 7639 7640 <!-- TODO: remove this deprecated styleable. --> 7641 <eat-comment /> 7642 <declare-styleable name="Icon"> 7643 <attr name="icon" /> 7644 <attr name="mimeType" /> 7645 </declare-styleable> 7646 7647 <!-- TODO: remove this deprecated styleable --> 7648 <eat-comment /> 7649 <declare-styleable name="IconDefault"> 7650 <attr name="icon" /> 7651 </declare-styleable> 7652 7653 <!-- Maps a specific contact data MIME-type to styling information. --> 7654 <declare-styleable name="ContactsDataKind"> 7655 <!-- Mime-type handled by this mapping. --> 7656 <attr name="mimeType" /> 7657 <!-- Icon used to represent data of this kind. --> 7658 <attr name="icon" /> 7659 <!-- Column in data table that summarizes this data. --> 7660 <attr name="summaryColumn" format="string" /> 7661 <!-- Column in data table that contains details for this data. --> 7662 <attr name="detailColumn" format="string" /> 7663 <!-- Flag indicating that detail should be built from SocialProvider. --> 7664 <attr name="detailSocialSummary" format="boolean" /> 7665 <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or 7666 "All connections"). Optional (Default is "All Contacts"). --> 7667 <attr name="allContactsName" format="string" /> 7668 </declare-styleable> 7669 7670 <!-- =============================== --> 7671 <!-- TabSelector class attributes --> 7672 <!-- =============================== --> 7673 <eat-comment /> 7674 7675 <declare-styleable name="SlidingTab"> 7676 <!-- Use "horizontal" for a row, "vertical" for a column. The default is horizontal. --> 7677 <attr name="orientation" /> 7678 </declare-styleable> 7679 7680 <!-- =============================== --> 7681 <!-- GlowPadView class attributes --> 7682 <!-- =============================== --> 7683 <eat-comment /> 7684 <declare-styleable name="GlowPadView"> 7685 <!-- Reference to an array resource that be used as description for the targets around the circle. 7686 {@deprecated Removed.} --> 7687 <attr name="targetDescriptions" format="reference" /> 7688 7689 <!-- Reference to an array resource that be used to announce the directions with targets around the circle. 7690 {@deprecated Removed.}--> 7691 <attr name="directionDescriptions" format="reference" /> 7692 </declare-styleable> 7693 7694 <!-- =============================== --> 7695 <!-- Location package class attributes --> 7696 <!-- =============================== --> 7697 <eat-comment /> 7698 7699 <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that 7700 describes an injected "Location services" setting. Note that the status value (subtitle) 7701 for the setting is specified dynamically by a subclass of SettingInjectorService. 7702 --> 7703 <declare-styleable name="SettingInjectorService"> 7704 <!-- The title for the preference. --> 7705 <attr name="title"/> 7706 <!-- The icon for the preference, should refer to all apps covered by the setting. Typically 7707 a generic icon for the developer. --> 7708 <attr name="icon"/> 7709 <!-- The activity to launch when the setting is clicked on. --> 7710 <attr name="settingsActivity"/> 7711 </declare-styleable> 7712 7713 <!-- =============================== --> 7714 <!-- LockPatternView class attributes --> 7715 <!-- =============================== --> 7716 <eat-comment /> 7717 7718 <declare-styleable name="LockPatternView"> 7719 <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width" 7720 or "lock_height" --> 7721 <attr name="aspect" format="string" /> 7722 <!-- Color to use when drawing LockPatternView paths. --> 7723 <attr name="pathColor" format="color|reference" /> 7724 <!-- The regular pattern color --> 7725 <attr name="regularColor" format="color|reference" /> 7726 <!-- The error color --> 7727 <attr name="errorColor" format="color|reference" /> 7728 <!-- The success color --> 7729 <attr name="successColor" format="color|reference"/> 7730 </declare-styleable> 7731 7732 <!-- Use <code>recognition-service</code> as the root tag of the XML resource that 7733 describes a {@link android.speech.RecognitionService}, which is referenced from 7734 its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry. 7735 Described here are the attributes that can be included in that tag. --> 7736 <declare-styleable name="RecognitionService"> 7737 <attr name="settingsActivity" /> 7738 </declare-styleable> 7739 7740 <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that 7741 describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from 7742 its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry. 7743 Described here are the attributes that can be included in that tag. --> 7744 <declare-styleable name="VoiceInteractionService"> 7745 <!-- The service that hosts active voice interaction sessions. This is required. --> 7746 <attr name="sessionService" format="string" /> 7747 <!-- The service that provides voice recognition. This is required. When the user 7748 selects this voice interaction service, they will also be implicitly selecting 7749 the component here for their recognition service. --> 7750 <attr name="recognitionService" format="string" /> 7751 <attr name="settingsActivity" /> 7752 <!-- Flag indicating whether this voice interaction service is capable of handling the 7753 assist action. --> 7754 <attr name="supportsAssist" format="boolean" /> 7755 <!-- Flag indicating whether this voice interaction service is capable of being launched 7756 from the keyguard. --> 7757 <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" /> 7758 <!-- Flag indicating whether this voice interaction service can handle local voice 7759 interaction requests from an Activity. This flag is new in 7760 {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. --> 7761 <attr name="supportsLocalInteraction" format="boolean" /> 7762 </declare-styleable> 7763 7764 <!-- Use <code>voice-enrollment-application</code> 7765 as the root tag of the XML resource that escribes the supported keyphrases (hotwords) 7766 by the enrollment application. 7767 Described here are the attributes that can be included in that tag. 7768 @hide 7769 @SystemApi --> 7770 <declare-styleable name="VoiceEnrollmentApplication"> 7771 <!-- A globally unique ID for the keyphrase. @hide @SystemApi --> 7772 <attr name="searchKeyphraseId" format="integer" /> 7773 <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi --> 7774 <attr name="searchKeyphrase" format="string" /> 7775 <!-- A comma separated list of BCP-47 language tag for locales that are supported 7776 for this keyphrase, or empty if not locale dependent. @hide @SystemApi --> 7777 <attr name="searchKeyphraseSupportedLocales" format="string" /> 7778 <!-- Flags for supported recognition modes. @hide @SystemApi --> 7779 <attr name="searchKeyphraseRecognitionFlags"> 7780 <flag name="none" value="0" /> 7781 <flag name="voiceTrigger" value="0x1" /> 7782 <flag name="userIdentification" value="0x2" /> 7783 </attr> 7784 </declare-styleable> 7785 7786 <!-- Attributes used to style the Action Bar. --> 7787 <declare-styleable name="ActionBar"> 7788 <!-- The type of navigation to use. --> 7789 <attr name="navigationMode"> 7790 <!-- Normal static title text --> 7791 <enum name="normal" value="0" /> 7792 <!-- The action bar will use a selection list for navigation. --> 7793 <enum name="listMode" value="1" /> 7794 <!-- The action bar will use a series of horizontal tabs for navigation. --> 7795 <enum name="tabMode" value="2" /> 7796 </attr> 7797 <!-- Options affecting how the action bar is displayed. --> 7798 <attr name="displayOptions"> 7799 <flag name="none" value="0" /> 7800 <flag name="useLogo" value="0x1" /> 7801 <flag name="showHome" value="0x2" /> 7802 <flag name="homeAsUp" value="0x4" /> 7803 <flag name="showTitle" value="0x8" /> 7804 <flag name="showCustom" value="0x10" /> 7805 <flag name="disableHome" value="0x20" /> 7806 </attr> 7807 <!-- Specifies title text used for navigationMode="normal" --> 7808 <attr name="title" /> 7809 <!-- Specifies subtitle text used for navigationMode="normal" --> 7810 <attr name="subtitle" format="string" /> 7811 <!-- Specifies a style to use for title text. --> 7812 <attr name="titleTextStyle" format="reference" /> 7813 <!-- Specifies a style to use for subtitle text. --> 7814 <attr name="subtitleTextStyle" format="reference" /> 7815 <!-- Specifies the drawable used for the application icon. --> 7816 <attr name="icon" /> 7817 <!-- Specifies the drawable used for the application logo. --> 7818 <attr name="logo" /> 7819 <!-- Specifies the drawable used for item dividers. --> 7820 <attr name="divider" /> 7821 <!-- Specifies a background drawable for the action bar. --> 7822 <attr name="background" /> 7823 <!-- Specifies a background drawable for a second stacked row of the action bar. --> 7824 <attr name="backgroundStacked" format="reference|color" /> 7825 <!-- Specifies a background drawable for the bottom component of a split action bar. --> 7826 <attr name="backgroundSplit" format="reference|color" /> 7827 <!-- Specifies a layout for custom navigation. Overrides navigationMode. --> 7828 <attr name="customNavigationLayout" format="reference" /> 7829 <!-- Specifies a fixed height. --> 7830 <attr name="height" /> 7831 <!-- Specifies a layout to use for the "home" section of the action bar. --> 7832 <attr name="homeLayout" format="reference" /> 7833 <!-- Specifies a style resource to use for an embedded progress bar. --> 7834 <attr name="progressBarStyle" /> 7835 <!-- Specifies a style resource to use for an indeterminate progress spinner. --> 7836 <attr name="indeterminateProgressStyle" format="reference" /> 7837 <!-- Specifies the horizontal padding on either end for an embedded progress bar. --> 7838 <attr name="progressBarPadding" format="dimension" /> 7839 <!-- Up navigation glyph --> 7840 <attr name="homeAsUpIndicator" /> 7841 <!-- Specifies padding that should be applied to the left and right sides of 7842 system-provided items in the bar. --> 7843 <attr name="itemPadding" format="dimension" /> 7844 <!-- Set true to hide the action bar on a vertical nested scroll of content. --> 7845 <attr name="hideOnContentScroll" format="boolean" /> 7846 <!-- Minimum inset for content views within a bar. Navigation buttons and 7847 menu views are excepted. Only valid for some themes and configurations. --> 7848 <attr name="contentInsetStart" format="dimension" /> 7849 <!-- Minimum inset for content views within a bar. Navigation buttons and 7850 menu views are excepted. Only valid for some themes and configurations. --> 7851 <attr name="contentInsetEnd" format="dimension" /> 7852 <!-- Minimum inset for content views within a bar. Navigation buttons and 7853 menu views are excepted. Only valid for some themes and configurations. --> 7854 <attr name="contentInsetLeft" format="dimension" /> 7855 <!-- Minimum inset for content views within a bar. Navigation buttons and 7856 menu views are excepted. Only valid for some themes and configurations. --> 7857 <attr name="contentInsetRight" format="dimension" /> 7858 <!-- Minimum inset for content views within a bar when a navigation button 7859 is present, such as the Up button. Only valid for some themes and configurations. --> 7860 <attr name="contentInsetStartWithNavigation" format="dimension" /> 7861 <!-- Minimum inset for content views within a bar when actions from a menu 7862 are present. Only valid for some themes and configurations. --> 7863 <attr name="contentInsetEndWithActions" format="dimension" /> 7864 <!-- Elevation for the action bar itself --> 7865 <attr name="elevation" /> 7866 <!-- Reference to a theme that should be used to inflate popups 7867 shown by widgets in the action bar. --> 7868 <attr name="popupTheme" /> 7869 </declare-styleable> 7870 7871 <declare-styleable name="ActionMode"> 7872 <!-- Specifies a style to use for title text. --> 7873 <attr name="titleTextStyle" /> 7874 <!-- Specifies a style to use for subtitle text. --> 7875 <attr name="subtitleTextStyle" /> 7876 <!-- Specifies a background for the action mode bar. --> 7877 <attr name="background" /> 7878 <!-- Specifies a background for the split action mode bar. --> 7879 <attr name="backgroundSplit" /> 7880 <!-- Specifies a fixed height for the action mode bar. --> 7881 <attr name="height" /> 7882 <!-- Specifies a layout to use for the "close" item at the starting edge. --> 7883 <attr name="closeItemLayout" format="reference" /> 7884 </declare-styleable> 7885 7886 <declare-styleable name="SearchView"> 7887 <!-- The layout to use for the search view. --> 7888 <attr name="layout" /> 7889 <!-- The default state of the SearchView. If true, it will be iconified when not in 7890 use and expanded when clicked. --> 7891 <attr name="iconifiedByDefault" format="boolean" /> 7892 <!-- An optional maximum width of the SearchView. --> 7893 <attr name="maxWidth" /> 7894 <!-- An optional query hint string to be displayed in the empty query field. --> 7895 <attr name="queryHint" format="string" /> 7896 <!-- Default query hint used when {@code queryHint} is undefined and 7897 the search view's {@code SearchableInfo} does not provide a hint. 7898 @hide --> 7899 <attr name="defaultQueryHint" format="string" /> 7900 <!-- The IME options to set on the query text field. --> 7901 <attr name="imeOptions" /> 7902 <!-- The input type to set on the query text field. --> 7903 <attr name="inputType" /> 7904 <!-- Close button icon --> 7905 <attr name="closeIcon" format="reference" /> 7906 <!-- Go button icon --> 7907 <attr name="goIcon" format="reference" /> 7908 <!-- Search icon --> 7909 <attr name="searchIcon" format="reference" /> 7910 <!-- Search icon displayed as a text field hint --> 7911 <attr name="searchHintIcon" format="reference" /> 7912 <!-- Voice button icon --> 7913 <attr name="voiceIcon" format="reference" /> 7914 <!-- Commit icon shown in the query suggestion row --> 7915 <attr name="commitIcon" format="reference" /> 7916 <!-- Layout for query suggestion rows --> 7917 <attr name="suggestionRowLayout" format="reference" /> 7918 <!-- Background for the section containing the search query --> 7919 <attr name="queryBackground" format="reference" /> 7920 <!-- Background for the section containing the action (e.g. voice search) --> 7921 <attr name="submitBackground" format="reference" /> 7922 <attr name="focusable" /> 7923 </declare-styleable> 7924 7925 <declare-styleable name="Switch"> 7926 <!-- Drawable to use as the "thumb" that switches back and forth. --> 7927 <attr name="thumb" /> 7928 <!-- Tint to apply to the thumb. --> 7929 <attr name="thumbTint" /> 7930 <!-- Blending mode used to apply the thumb tint. --> 7931 <attr name="thumbTintMode" /> 7932 <!-- Drawable to use as the "track" that the switch thumb slides within. --> 7933 <attr name="track" format="reference" /> 7934 <!-- Tint to apply to the track. --> 7935 <attr name="trackTint" format="color" /> 7936 <!-- Blending mode used to apply the track tint. --> 7937 <attr name="trackTintMode"> 7938 <!-- The tint is drawn on top of the drawable. 7939 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 7940 <enum name="src_over" value="3" /> 7941 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 7942 color channels are thrown out. [Sa * Da, Sc * Da] --> 7943 <enum name="src_in" value="5" /> 7944 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 7945 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 7946 <enum name="src_atop" value="9" /> 7947 <!-- Multiplies the color and alpha channels of the drawable with those of 7948 the tint. [Sa * Da, Sc * Dc] --> 7949 <enum name="multiply" value="14" /> 7950 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 7951 <enum name="screen" value="15" /> 7952 <!-- Combines the tint and drawable color and alpha channels, clamping the 7953 result to valid color values. Saturate(S + D) --> 7954 <enum name="add" value="16" /> 7955 </attr> 7956 <!-- Text to use when the switch is in the checked/"on" state. --> 7957 <attr name="textOn" /> 7958 <!-- Text to use when the switch is in the unchecked/"off" state. --> 7959 <attr name="textOff" /> 7960 <!-- Amount of padding on either side of text within the switch thumb. --> 7961 <attr name="thumbTextPadding" format="dimension" /> 7962 <!-- TextAppearance style for text displayed on the switch thumb. --> 7963 <attr name="switchTextAppearance" format="reference" /> 7964 <!-- Minimum width for the switch component --> 7965 <attr name="switchMinWidth" format="dimension" /> 7966 <!-- Minimum space between the switch and caption text --> 7967 <attr name="switchPadding" format="dimension" /> 7968 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 7969 <attr name="splitTrack" /> 7970 <!-- Whether to draw on/off text. --> 7971 <attr name="showText" format="boolean" /> 7972 </declare-styleable> 7973 7974 <declare-styleable name="Pointer"> 7975 <!-- Reference to a pointer icon drawable with STYLE_ARROW --> 7976 <attr name="pointerIconArrow" format="reference" /> 7977 <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER --> 7978 <attr name="pointerIconSpotHover" format="reference" /> 7979 <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH --> 7980 <attr name="pointerIconSpotTouch" format="reference" /> 7981 <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR --> 7982 <attr name="pointerIconSpotAnchor" format="reference" /> 7983 <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU --> 7984 <attr name="pointerIconContextMenu" format="reference"/> 7985 <!-- Reference to a pointer drawable with STYLE_HAND --> 7986 <attr name="pointerIconHand" format="reference"/> 7987 <!-- Reference to a pointer drawable with STYLE_HELP --> 7988 <attr name="pointerIconHelp" format="reference"/> 7989 <!-- Reference to a pointer drawable with STYLE_WAIT --> 7990 <attr name="pointerIconWait" format="reference"/> 7991 <!-- Reference to a pointer drawable with STYLE_CELL --> 7992 <attr name="pointerIconCell" format="reference"/> 7993 <!-- Reference to a pointer drawable with STYLE_CROSSHAIR --> 7994 <attr name="pointerIconCrosshair" format="reference"/> 7995 <!-- Reference to a pointer drawable with STYLE_TEXT --> 7996 <attr name="pointerIconText" format="reference"/> 7997 <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT --> 7998 <attr name="pointerIconVerticalText" format="reference"/> 7999 <!-- Reference to a pointer drawable with STYLE_ALIAS --> 8000 <attr name="pointerIconAlias" format="reference"/> 8001 <!-- Reference to a pointer drawable with STYLE_COPY --> 8002 <attr name="pointerIconCopy" format="reference"/> 8003 <!-- Reference to a pointer drawable with STYLE_NODROP --> 8004 <attr name="pointerIconNodrop" format="reference"/> 8005 <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL --> 8006 <attr name="pointerIconAllScroll" format="reference"/> 8007 <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW --> 8008 <attr name="pointerIconHorizontalDoubleArrow" format="reference"/> 8009 <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW --> 8010 <attr name="pointerIconVerticalDoubleArrow" format="reference"/> 8011 <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW --> 8012 <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/> 8013 <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW --> 8014 <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/> 8015 <!-- Reference to a pointer drawable with STYLE_ZOOM_IN --> 8016 <attr name="pointerIconZoomIn" format="reference"/> 8017 <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT --> 8018 <attr name="pointerIconZoomOut" format="reference"/> 8019 <!-- Reference to a pointer drawable with STYLE_GRAB --> 8020 <attr name="pointerIconGrab" format="reference"/> 8021 <!-- Reference to a pointer drawable with STYLE_GRABBING --> 8022 <attr name="pointerIconGrabbing" format="reference"/> 8023 </declare-styleable> 8024 8025 <declare-styleable name="PointerIcon"> 8026 <!-- Drawable to use as the icon bitmap. --> 8027 <attr name="bitmap" format="reference" /> 8028 <!-- X coordinate of the icon hot spot. --> 8029 <attr name="hotSpotX" format="dimension" /> 8030 <!-- Y coordinate of the icon hot spot. --> 8031 <attr name="hotSpotY" format="dimension" /> 8032 </declare-styleable> 8033 8034 <declare-styleable name="Storage"> 8035 <!-- path to mount point for the storage --> 8036 <attr name="mountPoint" format="string" /> 8037 <!-- user visible description of the storage --> 8038 <attr name="storageDescription" format="string" /> 8039 <!-- true if the storage is the primary external storage --> 8040 <attr name="primary" format="boolean" /> 8041 <!-- true if the storage is removable --> 8042 <attr name="removable" format="boolean" /> 8043 <!-- true if the storage is emulated via the FUSE sdcard daemon --> 8044 <attr name="emulated" format="boolean" /> 8045 <!-- number of megabytes of storage MTP should reserve for free storage 8046 (used for emulated storage that is shared with system's data partition) --> 8047 <attr name="mtpReserve" format="integer" /> 8048 <!-- true if the storage can be shared via USB mass storage --> 8049 <attr name="allowMassStorage" format="boolean" /> 8050 <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded --> 8051 <attr name="maxFileSize" format="integer" /> 8052 </declare-styleable> 8053 8054 <declare-styleable name="SwitchPreference"> 8055 <!-- The summary for the Preference in a PreferenceActivity screen when the 8056 SwitchPreference is checked. If separate on/off summaries are not 8057 needed, the summary attribute can be used instead. --> 8058 <attr name="summaryOn" /> 8059 <!-- The summary for the Preference in a PreferenceActivity screen when the 8060 SwitchPreference is unchecked. If separate on/off summaries are not 8061 needed, the summary attribute can be used instead. --> 8062 <attr name="summaryOff" /> 8063 <!-- The text used on the switch itself when in the "on" state. 8064 This should be a very SHORT string, as it appears in a small space. --> 8065 <attr name="switchTextOn" format="string" /> 8066 <!-- The text used on the switch itself when in the "off" state. 8067 This should be a very SHORT string, as it appears in a small space. --> 8068 <attr name="switchTextOff" format="string" /> 8069 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 8070 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 8071 <attr name="disableDependentsState" /> 8072 </declare-styleable> 8073 8074 <declare-styleable name="SeekBarPreference"> 8075 <attr name="layout" /> 8076 <!-- Attribute indicating whether the slider within this preference can be adjusted, that is 8077 pressing left/right keys when this preference is focused will move the slider accordingly (e.g. 8078 inline adjustable preferences). False, if the slider within the preference is read-only and 8079 cannot be adjusted. By default, the seekbar is adjustable. --> 8080 <attr name="adjustable" format="boolean" /> 8081 <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be 8082 displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. --> 8083 <attr name="showSeekBarValue" format="boolean" /> 8084 </declare-styleable> 8085 8086 <!-- Base attributes available to PreferenceFragment. --> 8087 <declare-styleable name="PreferenceFragment"> 8088 <!-- The layout for the PreferenceFragment. This should rarely need to be changed. --> 8089 <attr name="layout" /> 8090 <attr name="divider" /> 8091 </declare-styleable> 8092 8093 <!-- Base attributes available to PreferenceScreen. --> 8094 <declare-styleable name="PreferenceScreen"> 8095 <!-- The layout for the PreferenceScreen. This should rarely need to be changed. --> 8096 <attr name="screenLayout" format="reference" /> 8097 <attr name="divider" /> 8098 </declare-styleable> 8099 8100 <!-- Base attributes available to PreferenceActivity. --> 8101 <declare-styleable name="PreferenceActivity"> 8102 <!-- The layout for the Preference Activity. This should rarely need to be changed. --> 8103 <attr name="layout" /> 8104 <!-- The layout for the Preference Header. This should rarely need to be changed. --> 8105 <attr name="headerLayout" format="reference" /> 8106 <!-- true if the Icon view will be removed when there is none and thus not showing 8107 the fixed margins. --> 8108 <attr name="headerRemoveIconIfEmpty" format="boolean" /> 8109 </declare-styleable> 8110 8111 <!-- Use <code>tts-engine</code> as the root tag of the XML resource that 8112 describes a text to speech engine implemented as a subclass of 8113 {@link android.speech.tts.TextToSpeechService}. 8114 8115 The XML resource must be referenced from its 8116 {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data 8117 entry. --> 8118 <declare-styleable name="TextToSpeechEngine"> 8119 <attr name="settingsActivity" /> 8120 </declare-styleable> 8121 8122 <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that 8123 describes a collection of keyboard layouts provided by an application. 8124 Each keyboard layout is declared by a <code>keyboard-layout</code> tag 8125 with these attributes. 8126 8127 The XML resource that contains the keyboard layouts must be referenced from its 8128 {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS} 8129 meta-data entry used with broadcast receivers for 8130 {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. --> 8131 <declare-styleable name="KeyboardLayout"> 8132 <!-- The name of the keyboard layout, must be unique in the receiver. --> 8133 <attr name="name" /> 8134 <!-- The display label of the keyboard layout. --> 8135 <attr name="label" /> 8136 <!-- The key character map file resource. --> 8137 <attr name="keyboardLayout" format="reference" /> 8138 <!-- The locales the given keyboard layout corresponds to. --> 8139 <attr name="locale" format="string" /> 8140 <!-- The vendor ID of the hardware the given layout corresponds to. @hide --> 8141 <attr name="vendorId" format="integer" /> 8142 <!-- The product ID of the hardware the given layout corresponds to. @hide --> 8143 <attr name="productId" format="integer" /> 8144 </declare-styleable> 8145 8146 <declare-styleable name="MediaRouteButton"> 8147 <!-- This drawable is a state list where the "activated" state 8148 indicates active media routing. Non-activated indicates 8149 that media is playing to the local device only. 8150 @hide --> 8151 <attr name="externalRouteEnabledDrawable" format="reference" /> 8152 8153 <!-- The types of media routes the button and its resulting 8154 chooser will filter by. --> 8155 <attr name="mediaRouteTypes" format="integer"> 8156 <!-- Allow selection of live audio routes. --> 8157 <enum name="liveAudio" value="0x1" /> 8158 <!-- Allow selection of user (app-specified) routes. --> 8159 <enum name="user" value="0x800000" /> 8160 </attr> 8161 8162 <attr name="minWidth" /> 8163 <attr name="minHeight" /> 8164 </declare-styleable> 8165 8166 <!-- PagedView specific attributes. These attributes are used to customize 8167 a PagedView view in XML files. --> 8168 <declare-styleable name="PagedView"> 8169 <!-- The space between adjacent pages of the PagedView. --> 8170 <attr name="pageSpacing" format="dimension" /> 8171 <!-- The padding for the scroll indicator area --> 8172 <attr name="scrollIndicatorPaddingLeft" format="dimension" /> 8173 <attr name="scrollIndicatorPaddingRight" format="dimension" /> 8174 </declare-styleable> 8175 8176 <declare-styleable name="KeyguardGlowStripView"> 8177 <attr name="dotSize" format="dimension" /> 8178 <attr name="numDots" format="integer" /> 8179 <attr name="glowDot" format="reference" /> 8180 <attr name="leftToRight" format="boolean" /> 8181 </declare-styleable> 8182 8183 <!-- Some child types have special behavior. --> 8184 <attr name="layout_childType"> 8185 <!-- No special behavior. Layout will proceed as normal. --> 8186 <enum name="none" value="0" /> 8187 <!-- Widget container. 8188 This will be resized in response to certain events. --> 8189 <enum name="widget" value="1" /> 8190 <!-- Security challenge container. 8191 This will be dismissed/shown in response to certain events, 8192 possibly obscuring widget elements. --> 8193 <enum name="challenge" value="2" /> 8194 <!-- User switcher. 8195 This will consume space from the total layout area. --> 8196 <enum name="userSwitcher" value="3" /> 8197 <!-- Scrim. This will block access to child views that 8198 come before it in the child list in bouncer mode. --> 8199 <enum name="scrim" value="4" /> 8200 <!-- The home for widgets. All widgets will be descendents of this. --> 8201 <enum name="widgets" value="5" /> 8202 <!-- This is a handle that is used for expanding the 8203 security challenge container when it is collapsed. --> 8204 <enum name="expandChallengeHandle" value="6" /> 8205 <!-- Delete drop target. This will be the drop target to delete pages. --> 8206 <enum name="pageDeleteDropTarget" value="7" /> 8207 </attr> 8208 8209 <!-- Attributes that can be used with <code><FragmentBreadCrumbs></code> 8210 tags. --> 8211 <declare-styleable name="FragmentBreadCrumbs"> 8212 <attr name="gravity" /> 8213 <attr name="itemLayout" format="reference" /> 8214 <attr name="itemColor" format="color|reference" /> 8215 </declare-styleable> 8216 8217 <declare-styleable name="Toolbar"> 8218 <attr name="titleTextAppearance" format="reference" /> 8219 <attr name="subtitleTextAppearance" format="reference" /> 8220 <attr name="title" /> 8221 <attr name="subtitle" /> 8222 <attr name="gravity" /> 8223 <!-- Specifies extra space on the left, start, right and end sides 8224 of the toolbar's title. Margin values should be positive. --> 8225 <attr name="titleMargin" format="dimension" /> 8226 <!-- Specifies extra space on the start side of the toolbar's title. 8227 If both this attribute and titleMargin are specified, then this 8228 attribute takes precedence. Margin values should be positive. --> 8229 <attr name="titleMarginStart" format="dimension" /> 8230 <!-- Specifies extra space on the end side of the toolbar's title. 8231 If both this attribute and titleMargin are specified, then this 8232 attribute takes precedence. Margin values should be positive. --> 8233 <attr name="titleMarginEnd" format="dimension" /> 8234 <!-- Specifies extra space on the top side of the toolbar's title. 8235 If both this attribute and titleMargin are specified, then this 8236 attribute takes precedence. Margin values should be positive. --> 8237 <attr name="titleMarginTop" format="dimension" /> 8238 <!-- Specifies extra space on the bottom side of the toolbar's title. 8239 If both this attribute and titleMargin are specified, then this 8240 attribute takes precedence. Margin values should be positive. --> 8241 <attr name="titleMarginBottom" format="dimension" /> 8242 <attr name="contentInsetStart" /> 8243 <attr name="contentInsetEnd" /> 8244 <attr name="contentInsetLeft" /> 8245 <attr name="contentInsetRight" /> 8246 <attr name="contentInsetStartWithNavigation" /> 8247 <attr name="contentInsetEndWithActions" /> 8248 <attr name="maxButtonHeight" format="dimension" /> 8249 <attr name="navigationButtonStyle" format="reference" /> 8250 <attr name="buttonGravity"> 8251 <!-- Push object to the top of its container, not changing its size. --> 8252 <flag name="top" value="0x30" /> 8253 <!-- Push object to the bottom of its container, not changing its size. --> 8254 <flag name="bottom" value="0x50" /> 8255 </attr> 8256 <!-- Icon drawable to use for the collapse button. --> 8257 <attr name="collapseIcon" format="reference" /> 8258 <!-- Text to set as the content description for the collapse button. --> 8259 <attr name="collapseContentDescription" format="string" /> 8260 <!-- Reference to a theme that should be used to inflate popups 8261 shown by widgets in the toolbar. --> 8262 <attr name="popupTheme" format="reference" /> 8263 <!-- Icon drawable to use for the navigation button located at 8264 the start of the toolbar. --> 8265 <attr name="navigationIcon" format="reference" /> 8266 <!-- Text to set as the content description for the navigation button 8267 located at the start of the toolbar. --> 8268 <attr name="navigationContentDescription" format="string" /> 8269 <!-- Drawable to set as the logo that appears at the starting side of 8270 the Toolbar, just after the navigation button. --> 8271 <attr name="logo" /> 8272 <!-- A content description string to describe the appearance of the 8273 associated logo image. --> 8274 <attr name="logoDescription" format="string" /> 8275 <!-- A color to apply to the title string. --> 8276 <attr name="titleTextColor" format="color" /> 8277 <!-- A color to apply to the subtitle string. --> 8278 <attr name="subtitleTextColor" format="color" /> 8279 </declare-styleable> 8280 8281 <declare-styleable name="Toolbar_LayoutParams"> 8282 <attr name="layout_gravity" /> 8283 </declare-styleable> 8284 8285 <declare-styleable name="ActionBar_LayoutParams"> 8286 <attr name="layout_gravity" /> 8287 </declare-styleable> 8288 8289 <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. --> 8290 <declare-styleable name="EdgeEffect"> 8291 <attr name="colorEdgeEffect" /> 8292 </declare-styleable> 8293 8294 <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a 8295 {@link android.media.tv.TvInputService}, which is referenced from its 8296 {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry. 8297 Described here are the attributes that can be included in that tag. --> 8298 <declare-styleable name="TvInputService"> 8299 <!-- Component name of an activity that allows the user to set up this service. --> 8300 <attr name="setupActivity" format="string" /> 8301 <!-- Component name of an activity that allows the user to modify the settings for this 8302 service. --> 8303 <attr name="settingsActivity" /> 8304 <!-- Attribute whether the TV input service can record programs. This value can be changed 8305 at runtime by calling 8306 {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. --> 8307 <attr name="canRecord" format="boolean" /> 8308 <!-- The number of tuners that the TV input service is associated with. This value can be 8309 changed at runtime by calling 8310 {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. --> 8311 <attr name="tunerCount" format="integer" /> 8312 </declare-styleable> 8313 8314 <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the 8315 XML resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8316 which is referenced from its 8317 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8318 <declare-styleable name="RatingSystemDefinition"> 8319 <!-- The unique name of the content rating system. --> 8320 <attr name="name" /> 8321 <!-- The title of the content rating system which is shown to the user. --> 8322 <attr name="title" /> 8323 <!-- The short description of the content rating system. --> 8324 <attr name="description" /> 8325 <!-- The country code associated with the content rating system, which consists of two 8326 uppercase letters that conform to the ISO 3166 standard. --> 8327 <attr name="country" format="string" /> 8328 </declare-styleable> 8329 8330 <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML 8331 resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8332 which is referenced from its 8333 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8334 <declare-styleable name="RatingDefinition"> 8335 <!-- The unique name of the content rating. --> 8336 <attr name="name" /> 8337 <!-- The title of the content rating which is shown to the user. --> 8338 <attr name="title" /> 8339 <!-- The short description of the content rating. --> 8340 <attr name="description" /> 8341 <!-- The age associated with the content rating. The content of this rating is suitable for 8342 people of this age or above. --> 8343 <attr name="contentAgeHint" format="integer" /> 8344 </declare-styleable> 8345 8346 <declare-styleable name="ResolverDrawerLayout"> 8347 <attr name="maxWidth" /> 8348 <attr name="maxCollapsedHeight" format="dimension" /> 8349 <attr name="maxCollapsedHeightSmall" format="dimension" /> 8350 </declare-styleable> 8351 8352 <declare-styleable name="MessagingLinearLayout"> 8353 <attr name="maxHeight" /> 8354 <attr name="spacing" /> 8355 </declare-styleable> 8356 8357 <declare-styleable name="DateTimeView"> 8358 <attr name="showRelative" format="boolean" /> 8359 </declare-styleable> 8360 8361 <declare-styleable name="ResolverDrawerLayout_LayoutParams"> 8362 <attr name="layout_alwaysShow" format="boolean" /> 8363 <attr name="layout_ignoreOffset" format="boolean" /> 8364 <attr name="layout_gravity" /> 8365 <attr name="layout_hasNestedScrollIndicator" format="boolean" /> 8366 </declare-styleable> 8367 8368 <!-- @hide --> 8369 <declare-styleable name="Lighting"> 8370 <attr name="lightY" /> 8371 <attr name="lightZ" /> 8372 <attr name="lightRadius" /> 8373 <attr name="ambientShadowAlpha" /> 8374 <attr name="spotShadowAlpha" /> 8375 </declare-styleable> 8376 8377 <declare-styleable name="RestrictionEntry"> 8378 <attr name="key" /> 8379 <attr name="restrictionType"> 8380 <enum name="hidden" value="0" /> 8381 <enum name="bool" value="1" /> 8382 <enum name="choice" value="2" /> 8383 <enum name="multi-select" value="4" /> 8384 <enum name="integer" value="5" /> 8385 <enum name="string" value="6" /> 8386 <enum name="bundle" value="7" /> 8387 <enum name="bundle_array" value="8" /> 8388 </attr> 8389 <attr name="title" /> 8390 <attr name="description" /> 8391 <attr name="defaultValue" /> 8392 <attr name="entries" /> 8393 <attr name="entryValues" /> 8394 </declare-styleable> 8395 8396 <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. --> 8397 <declare-styleable name="GradientColor"> 8398 <!-- Start color of the gradient. --> 8399 <attr name="startColor" /> 8400 <!-- Optional center color. --> 8401 <attr name="centerColor" /> 8402 <!-- End color of the gradient. --> 8403 <attr name="endColor" /> 8404 <!-- Type of gradient. The default type is linear. --> 8405 <attr name="type" /> 8406 8407 <!-- Only applied to RadialGradient--> 8408 <!-- Radius of the gradient, used only with radial gradient. --> 8409 <attr name="gradientRadius" /> 8410 8411 <!-- Only applied to SweepGradient / RadialGradient--> 8412 <!-- X coordinate of the center of the gradient within the path. --> 8413 <attr name="centerX" /> 8414 <!-- Y coordinate of the center of the gradient within the path. --> 8415 <attr name="centerY" /> 8416 8417 <!-- LinearGradient specific --> 8418 <!-- X coordinate of the start point origin of the gradient. 8419 Defined in same coordinates as the path itself --> 8420 <attr name="startX" format="float" /> 8421 <!-- Y coordinate of the start point of the gradient within the shape. 8422 Defined in same coordinates as the path itself --> 8423 <attr name="startY" format="float" /> 8424 <!-- X coordinate of the end point origin of the gradient. 8425 Defined in same coordinates as the path itself --> 8426 <attr name="endX" format="float" /> 8427 <!-- Y coordinate of the end point of the gradient within the shape. 8428 Defined in same coordinates as the path itself --> 8429 <attr name="endY" format="float" /> 8430 8431 <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. --> 8432 <attr name="tileMode"/> 8433 </declare-styleable> 8434 8435 <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient 8436 Colors defined in <item> override the simple color attributes such as 8437 "startColor / centerColor / endColor" are ignored --> 8438 <declare-styleable name="GradientColorItem"> 8439 <!-- The offset (or ratio) of this current color item inside the gradient. 8440 The value is only meaningful when it is between 0 and 1. --> 8441 <attr name="offset" format="float" /> 8442 <!-- The current color for the offset inside the gradient. --> 8443 <attr name="color" /> 8444 </declare-styleable> 8445 8446 <!-- @hide Attributes which will be read by the Activity to intialize the 8447 base activity TaskDescription. --> 8448 <declare-styleable name="ActivityTaskDescription"> 8449 <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary 8450 color. --> 8451 <attr name="colorPrimary" /> 8452 <!-- @hide From Theme.colorBackground, used for the TaskDescription background 8453 color. --> 8454 <attr name="colorBackground" /> 8455 </declare-styleable> 8456 8457 <declare-styleable name="Shortcut"> 8458 <attr name="shortcutId" format="string" /> 8459 <attr name="enabled" /> 8460 <attr name="icon" /> 8461 <attr name="shortcutShortLabel" format="reference" /> 8462 <attr name="shortcutLongLabel" format="reference" /> 8463 <attr name="shortcutDisabledMessage" format="reference" /> 8464 </declare-styleable> 8465 8466 <declare-styleable name="ShortcutCategories"> 8467 <attr name="name" /> 8468 </declare-styleable> 8469 8470 <!-- Attributes that are read when parsing a <font> tag, which is a child of 8471 <font-family>. --> 8472 <declare-styleable name="FontFamilyFont"> 8473 <attr name="fontStyle"> 8474 <enum name="normal" value="0" /> 8475 <enum name="italic" value="1" /> 8476 </attr> 8477 <attr name="font" format="reference" /> 8478 <attr name="fontWeight" format="integer" /> 8479 </declare-styleable> 8480 8481 <!-- @hide --> 8482 <declare-styleable name="RecyclerView"> 8483 <attr name="layoutManager" format="string" /> 8484 <attr name="orientation" /> 8485 <attr name="descendantFocusability" /> 8486 <attr name="spanCount" format="integer"/> 8487 <attr name="reverseLayout" format="boolean" /> 8488 <attr name="stackFromEnd" format="boolean" /> 8489 </declare-styleable> 8490</resources> 8491