attrs.xml revision d0dfe3008da5985207c3c08be2c89f2c0bb0194d
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 <!-- The alpha applied to the foreground color to create the secondary text color. --> 68 <attr name="secondaryContentAlpha" format="float" /> 69 <!-- Color used for error states and things that need to be drawn to 70 the users attention.. --> 71 <attr name="colorError" format="reference|color" /> 72 <!-- Default background dim amount when a menu, dialog, or something similar pops up. --> 73 <attr name="backgroundDimAmount" format="float" /> 74 <!-- Control whether dimming behind the window is enabled. The default 75 theme does not set this value, meaning it is based on whether the 76 window is floating. --> 77 <attr name="backgroundDimEnabled" format="boolean" /> 78 79 <!-- =========== --> 80 <!-- Text styles --> 81 <!-- =========== --> 82 <eat-comment /> 83 84 <!-- Default appearance of text: color, typeface, size, and style. --> 85 <attr name="textAppearance" format="reference" /> 86 <!-- Default appearance of text against an inverted background: 87 color, typeface, size, and style. --> 88 <attr name="textAppearanceInverse" format="reference" /> 89 90 <!-- The most prominent text color. --> 91 <attr name="textColorPrimary" format="reference|color" /> 92 <!-- Secondary text color. --> 93 <attr name="textColorSecondary" format="reference|color" /> 94 <!-- Tertiary text color. --> 95 <attr name="textColorTertiary" format="reference|color" /> 96 97 <!-- Primary inverse text color, useful for inverted backgrounds. --> 98 <attr name="textColorPrimaryInverse" format="reference|color" /> 99 <!-- Secondary inverse text color, useful for inverted backgrounds. --> 100 <attr name="textColorSecondaryInverse" format="reference|color" /> 101 <!-- Tertiary inverse text color, useful for inverted backgrounds. --> 102 <attr name="textColorTertiaryInverse" format="reference|color" /> 103 104 <!-- Inverse hint text color. --> 105 <attr name="textColorHintInverse" format="reference|color" /> 106 107 <!-- Bright text color. Only differentiates based on the disabled state. --> 108 <attr name="textColorPrimaryDisableOnly" format="reference|color" /> 109 110 <!-- Bright inverse text color. Only differentiates based on the disabled state. --> 111 <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" /> 112 113 <!-- Bright text color. This does not differentiate the disabled state. As an example, 114 buttons use this since they display the disabled state via the background and not the 115 foreground text color. --> 116 <attr name="textColorPrimaryNoDisable" format="reference|color" /> 117 <!-- Dim text color. This does not differentiate the disabled state. --> 118 <attr name="textColorSecondaryNoDisable" format="reference|color" /> 119 120 <!-- Bright inverse text color. This does not differentiate the disabled state. --> 121 <attr name="textColorPrimaryInverseNoDisable" format="reference|color" /> 122 <!-- Dim inverse text color. This does not differentiate the disabled state. --> 123 <attr name="textColorSecondaryInverseNoDisable" format="reference|color" /> 124 125 <!-- Bright text color for use over activated backgrounds. --> 126 <attr name="textColorPrimaryActivated" format="reference|color" /> 127 <!-- Dim text color for use over activated backgrounds. --> 128 <attr name="textColorSecondaryActivated" format="reference|color" /> 129 130 <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide --> 131 <attr name="textColorSearchUrl" format="reference|color" /> 132 133 <!-- Color of highlighted text, when used in a light theme. --> 134 <attr name="textColorHighlightInverse" format="reference|color" /> 135 <!-- Color of link text (URLs), when used in a light theme. --> 136 <attr name="textColorLinkInverse" format="reference|color" /> 137 138 <!-- Color of list item text in alert dialogs. --> 139 <attr name="textColorAlertDialogListItem" format="reference|color" /> 140 141 <!-- Search widget more corpus result item background. --> 142 <attr name="searchWidgetCorpusItemBackground" format="reference|color" /> 143 144 <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. --> 145 <attr name="textAppearanceLarge" format="reference" /> 146 <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. --> 147 <attr name="textAppearanceMedium" format="reference" /> 148 <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. --> 149 <attr name="textAppearanceSmall" format="reference" /> 150 151 <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. --> 152 <attr name="textAppearanceLargeInverse" format="reference" /> 153 <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. --> 154 <attr name="textAppearanceMediumInverse" format="reference" /> 155 <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. --> 156 <attr name="textAppearanceSmallInverse" format="reference" /> 157 158 <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. --> 159 <attr name="textAppearanceSearchResultTitle" format="reference" /> 160 <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. --> 161 <attr name="textAppearanceSearchResultSubtitle" format="reference" /> 162 163 <!-- Text color, typeface, size, and style for the text inside of a button. --> 164 <attr name="textAppearanceButton" format="reference" /> 165 166 <!-- Text color, typeface, size, and style for the text inside of a popup menu. --> 167 <attr name="textAppearanceLargePopupMenu" format="reference" /> 168 169 <!-- Text color, typeface, size, and style for small text inside of a popup menu. --> 170 <attr name="textAppearanceSmallPopupMenu" format="reference" /> 171 172 <!-- Text color, typeface, size, and style for header text inside of a popup menu. --> 173 <attr name="textAppearancePopupMenuHeader" format="reference" /> 174 175 <!-- The underline color and thickness for easy correct suggestion --> 176 <attr name="textAppearanceEasyCorrectSuggestion" format="reference" /> 177 178 <!-- The underline color and thickness for misspelled suggestion --> 179 <attr name="textAppearanceMisspelledSuggestion" format="reference" /> 180 181 <!-- The underline color and thickness for auto correction suggestion --> 182 <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" /> 183 184 <!-- The underline color --> 185 <attr name="textUnderlineColor" format="reference|color" /> 186 <!-- The underline thickness --> 187 <attr name="textUnderlineThickness" format="reference|dimension" /> 188 189 <!-- EditText text foreground color. --> 190 <attr name="editTextColor" format="reference|color" /> 191 <!-- EditText background drawable. --> 192 <attr name="editTextBackground" format="reference" /> 193 194 <!-- Popup text displayed in TextView when setError is used. --> 195 <attr name="errorMessageBackground" format="reference" /> 196 <!-- Background used instead of errorMessageBackground when the popup has to be above. --> 197 <attr name="errorMessageAboveBackground" format="reference" /> 198 199 <!-- A styled string, specifying the style to be used for showing 200 inline candidate text when composing with an input method. The 201 text itself will be ignored, but the style spans will be applied 202 to the candidate text as it is edited. --> 203 <attr name="candidatesTextStyleSpans" format="reference|string" /> 204 205 <!-- Drawable to use for check marks. --> 206 <attr name="textCheckMark" format="reference" /> 207 <attr name="textCheckMarkInverse" format="reference" /> 208 209 <!-- Drawable to use for multiple choice indicators. --> 210 <attr name="listChoiceIndicatorMultiple" format="reference" /> 211 212 <!-- Drawable to use for single choice indicators. --> 213 <attr name="listChoiceIndicatorSingle" format="reference" /> 214 215 <!-- Drawable used as a background for selected list items. --> 216 <attr name="listChoiceBackgroundIndicator" format="reference" /> 217 218 <!-- Drawable used as a background for activated items. --> 219 <attr name="activatedBackgroundIndicator" format="reference" /> 220 221 <!-- ============= --> 222 <!-- Button styles --> 223 <!-- ============= --> 224 <eat-comment /> 225 226 <!-- Normal Button style. --> 227 <attr name="buttonStyle" format="reference" /> 228 229 <!-- Small Button style. --> 230 <attr name="buttonStyleSmall" format="reference" /> 231 232 <!-- Button style to inset into an EditText. --> 233 <attr name="buttonStyleInset" format="reference" /> 234 235 <!-- ToggleButton style. --> 236 <attr name="buttonStyleToggle" format="reference" /> 237 238 <!-- ============== --> 239 <!-- Gallery styles --> 240 <!-- ============== --> 241 <eat-comment /> 242 243 <!-- The preferred background for gallery items. This should be set 244 as the background of any Views you provide from the Adapter. --> 245 <attr name="galleryItemBackground" format="reference" /> 246 247 <!-- =========== --> 248 <!-- List styles --> 249 <!-- =========== --> 250 <eat-comment /> 251 252 <!-- The preferred list item height. --> 253 <attr name="listPreferredItemHeight" format="dimension" /> 254 <!-- A smaller, sleeker list item height. --> 255 <attr name="listPreferredItemHeightSmall" format="dimension" /> 256 <!-- A larger, more robust list item height. --> 257 <attr name="listPreferredItemHeightLarge" format="dimension" /> 258 <!-- The list item height for search results. @hide --> 259 <attr name="searchResultListItemHeight" format="dimension" /> 260 261 <!-- The preferred padding along the left edge of list items. --> 262 <attr name="listPreferredItemPaddingLeft" format="dimension" /> 263 <!-- The preferred padding along the right edge of list items. --> 264 <attr name="listPreferredItemPaddingRight" format="dimension" /> 265 266 <!-- The preferred TextAppearance for the primary text of list items. --> 267 <attr name="textAppearanceListItem" format="reference" /> 268 <!-- The preferred TextAppearance for the secondary text of list items. --> 269 <attr name="textAppearanceListItemSecondary" format="reference" /> 270 <!-- The preferred TextAppearance for the primary text of small list items. --> 271 <attr name="textAppearanceListItemSmall" format="reference" /> 272 273 <!-- The drawable for the list divider. --> 274 <attr name="listDivider" format="reference" /> 275 <!-- The list divider used in alert dialogs. --> 276 <attr name="listDividerAlertDialog" format="reference" /> 277 <!-- TextView style for list separators. --> 278 <attr name="listSeparatorTextViewStyle" format="reference" /> 279 <!-- The preferred left padding for an expandable list item (for child-specific layouts, 280 use expandableListPreferredChildPaddingLeft). This takes into account 281 the indicator that will be shown to next to the item. --> 282 <attr name="expandableListPreferredItemPaddingLeft" format="dimension" /> 283 <!-- The preferred left padding for an expandable list item that is a child. 284 If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. --> 285 <attr name="expandableListPreferredChildPaddingLeft" format="dimension" /> 286 <!-- The preferred left bound for an expandable list item's indicator. For a child-specific 287 indicator, use expandableListPreferredChildIndicatorLeft. --> 288 <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" /> 289 <!-- The preferred right bound for an expandable list item's indicator. For a child-specific 290 indicator, use expandableListPreferredChildIndicatorRight. --> 291 <attr name="expandableListPreferredItemIndicatorRight" format="dimension" /> 292 <!-- The preferred left bound for an expandable list child's indicator. --> 293 <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" /> 294 <!-- The preferred right bound for an expandable list child's indicator. --> 295 <attr name="expandableListPreferredChildIndicatorRight" format="dimension" /> 296 297 <!-- The preferred item height for dropdown lists. --> 298 <attr name="dropdownListPreferredItemHeight" format="dimension" /> 299 300 <!-- The preferred padding along the start edge of list items. --> 301 <attr name="listPreferredItemPaddingStart" format="dimension" /> 302 <!-- The preferred padding along the end edge of list items. --> 303 <attr name="listPreferredItemPaddingEnd" format="dimension" /> 304 305 <!-- ============= --> 306 <!-- Window styles --> 307 <!-- ============= --> 308 <eat-comment /> 309 310 <!-- Drawable to use as the overall window background. As of 311 {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may 312 be a selector that uses state_accelerated to pick a non-solid 313 color when running on devices that can draw such a bitmap 314 with complex compositing on top at 60fps. 315 316 <p>There are a few special considerations to use when setting this 317 drawable: 318 <ul> 319 <li> This information will be used to infer the pixel format 320 for your window's surface. If the drawable has any 321 non-opaque pixels, your window will be translucent 322 (32 bpp). 323 <li> If you want to draw the entire background 324 yourself, you should set this drawable to some solid 325 color that closely matches that background (so the 326 system's preview of your window will match), and 327 then in code manually set your window's background to 328 null so it will not be drawn. 329 </ul> --> 330 <attr name="windowBackground" format="reference" /> 331 <!-- Drawable to draw selectively within the inset areas when the windowBackground 332 has been set to null. This protects against seeing visual garbage in the 333 surface when the app has not drawn any content into this area. One example is 334 when the user is resizing a window of an activity that has 335 {@link android.R.attr#resizeableActivity} set for multi-window mode. --> 336 <attr name="windowBackgroundFallback" format="reference" /> 337 <!-- Drawable to use as a frame around the window. --> 338 <attr name="windowFrame" format="reference" /> 339 <!-- Flag indicating whether there should be no title on this window. --> 340 <attr name="windowNoTitle" format="boolean" /> 341 <!-- Flag indicating whether this window should fill the entire screen. Corresponds 342 to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. --> 343 <attr name="windowFullscreen" format="boolean" /> 344 <!-- Flag indicating whether this window should extend into overscan region. Corresponds 345 to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. --> 346 <attr name="windowOverscan" format="boolean" /> 347 <!-- Flag indicating whether this is a floating window. --> 348 <attr name="windowIsFloating" format="boolean" /> 349 <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but 350 not if set to false), the window might still be considered translucent, if 351 windowSwipeToDismiss is set to true. --> 352 <attr name="windowIsTranslucent" format="boolean" /> 353 <!-- Flag indicating that this window's background should be the 354 user's current wallpaper. Corresponds 355 to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. --> 356 <attr name="windowShowWallpaper" format="boolean" /> 357 <!-- This Drawable is overlaid over the foreground of the Window's content area, usually 358 to place a shadow below the title. --> 359 <attr name="windowContentOverlay" format="reference" /> 360 <!-- The style resource to use for a window's title bar height. --> 361 <attr name="windowTitleSize" format="dimension" /> 362 <!-- The style resource to use for a window's title text. --> 363 <attr name="windowTitleStyle" format="reference" /> 364 <!-- The style resource to use for a window's title area. --> 365 <attr name="windowTitleBackgroundStyle" format="reference" /> 366 367 <!-- Reference to a style resource holding 368 the set of window animations to use, which can be 369 any of the attributes defined by 370 {@link android.R.styleable#WindowAnimation}. --> 371 <attr name="windowAnimationStyle" format="reference" /> 372 373 <!-- Flag indicating whether this window should have an Action Bar 374 in place of the usual title bar. --> 375 <attr name="windowActionBar" format="boolean" /> 376 377 <!-- Flag indicating whether this window's Action Bar should overlay 378 application content. Does nothing if the window would not 379 have an Action Bar. --> 380 <attr name="windowActionBarOverlay" format="boolean" /> 381 382 <!-- Flag indicating whether action modes should overlay window content 383 when there is not reserved space for their UI (such as an Action Bar). --> 384 <attr name="windowActionModeOverlay" format="boolean" /> 385 386 <!-- Defines the default soft input state that this window would 387 like when it is displayed. Corresponds 388 to {@link android.view.WindowManager.LayoutParams#softInputMode}. --> 389 <attr name="windowSoftInputMode"> 390 <!-- Not specified, use what the system thinks is best. This 391 is the default. --> 392 <flag name="stateUnspecified" value="0" /> 393 <!-- Leave the soft input window as-is, in whatever state it 394 last was. --> 395 <flag name="stateUnchanged" value="1" /> 396 <!-- Make the soft input area hidden when normally appropriate 397 (when the user is navigating forward to your window). --> 398 <flag name="stateHidden" value="2" /> 399 <!-- Always make the soft input area hidden when this window 400 has input focus. --> 401 <flag name="stateAlwaysHidden" value="3" /> 402 <!-- Make the soft input area visible when normally appropriate 403 (when the user is navigating forward to your window). --> 404 <flag name="stateVisible" value="4" /> 405 <!-- Always make the soft input area visible when this window 406 has input focus. --> 407 <flag name="stateAlwaysVisible" value="5" /> 408 409 <!-- The window resize/pan adjustment has not been specified, 410 the system will automatically select between resize and pan 411 modes, depending 412 on whether the content of the window has any layout views 413 that can scroll their contents. If there is such a view, 414 then the window will be resized, with the assumption being 415 that the resizeable area can be reduced to make room for 416 the input UI. --> 417 <flag name="adjustUnspecified" value="0x00" /> 418 <!-- Always resize the window: the content area of the window is 419 reduced to make room for the soft input area. --> 420 <flag name="adjustResize" value="0x10" /> 421 <!-- Don't resize the window to make room for the soft input area; 422 instead pan the contents of the window as focus moves inside 423 of it so that the user can see what they are typing. This is 424 generally less desireable than panning because the user may 425 need to close the input area to get at and interact with 426 parts of the window. --> 427 <flag name="adjustPan" value="0x20" /> 428 <!-- Don't resize <em>or</em> pan the window to make room for the 429 soft input area; the window is never adjusted for it. --> 430 <flag name="adjustNothing" value="0x30" /> 431 </attr> 432 433 <!-- Flag allowing you to disable the preview animation for a window. 434 The default value is false; if set to true, the system can never 435 use the window's theme to show a preview of it before your 436 actual instance is shown to the user. --> 437 <attr name="windowDisablePreview" format="boolean" /> 438 439 <!-- Flag indicating that this window should not be displayed at all. 440 The default value is false; if set to true, and this window is 441 the main window of an Activity, then it will never actually 442 be added to the window manager. This means that your activity 443 must immediately quit without waiting for user interaction, 444 because there will be no such interaction coming. --> 445 <attr name="windowNoDisplay" format="boolean" /> 446 447 <!-- Flag indicating that this window should allow touches to be split 448 across other windows that also support split touch. 449 The default value is true for applications with a targetSdkVersion 450 of Honeycomb or newer; false otherwise. 451 When this flag is false, the first pointer that goes down determines 452 the window to which all subsequent touches go until all pointers go up. 453 When this flag is true, each pointer (not necessarily the first) that 454 goes down determines the window to which all subsequent touches of that 455 pointer will go until that pointers go up thereby enabling touches 456 with multiple pointers to be split across multiple windows. --> 457 <attr name="windowEnableSplitTouch" format="boolean" /> 458 459 <!-- Control whether a container should automatically close itself if 460 the user touches outside of it. This only applies to activities 461 and dialogs. 462 463 <p>Note: this attribute will only be respected for applications 464 that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB} 465 or later. --> 466 <attr name="windowCloseOnTouchOutside" format="boolean" /> 467 468 <!-- Flag indicating whether this window requests a translucent status bar. Corresponds 469 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. --> 470 <attr name="windowTranslucentStatus" format="boolean" /> 471 472 <!-- Flag indicating whether this window requests a translucent navigation bar. Corresponds 473 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. --> 474 <attr name="windowTranslucentNavigation" format="boolean" /> 475 476 <!-- Flag to indicate that a window can be swiped away to be dismissed. 477 Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also 478 dynamically change translucency of the window, if the windowIsTranslucent is not set. 479 If windowIsTranslucent is set (to either true or false) it will obey that setting. --> 480 <attr name="windowSwipeToDismiss" format="boolean" /> 481 482 <!-- Flag indicating whether this window requests that content changes be performed 483 as scene changes with transitions. Corresponds to 484 {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. --> 485 <attr name="windowContentTransitions" format="boolean" /> 486 487 <!-- Reference to a TransitionManager XML resource defining the desired 488 transitions between different window content. --> 489 <attr name="windowContentTransitionManager" format="reference" /> 490 491 <!-- Flag indicating whether this window allows Activity Transitions. 492 Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. --> 493 <attr name="windowActivityTransitions" format="boolean" /> 494 495 <!-- Reference to a Transition XML resource defining the desired Transition 496 used to move Views into the initial Window's content Scene. Corresponds to 497 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 498 <attr name="windowEnterTransition" format="reference"/> 499 500 <!-- Reference to a Transition XML resource defining the desired Transition 501 used to move Views out of the scene when the Window is 502 preparing to close. Corresponds to 503 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 504 <attr name="windowReturnTransition" format="reference"/> 505 506 <!-- Reference to a Transition XML resource defining the desired Transition 507 used to move Views out of the Window's content Scene when launching a new Activity. 508 Corresponds to 509 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 510 <attr name="windowExitTransition" format="reference"/> 511 512 <!-- Reference to a Transition XML resource defining the desired Transition 513 used to move Views in to the scene when returning from a previously-started Activity. 514 Corresponds to 515 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 516 <attr name="windowReenterTransition" format="reference"/> 517 518 <!-- Reference to a Transition XML resource defining the desired Transition 519 used to move shared elements transferred into the Window's initial content Scene. 520 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 521 android.transition.Transition)}. --> 522 <attr name="windowSharedElementEnterTransition" format="reference"/> 523 524 <!-- Reference to a Transition XML resource defining the desired Transition 525 used to move shared elements transferred back to a calling Activity. 526 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 527 android.transition.Transition)}. --> 528 <attr name="windowSharedElementReturnTransition" format="reference"/> 529 530 <!-- Reference to a Transition XML resource defining the desired Transition 531 used when starting a new Activity to move shared elements prior to transferring 532 to the called Activity. 533 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 534 android.transition.Transition)}. --> 535 <attr name="windowSharedElementExitTransition" format="reference"/> 536 537 <!-- Reference to a Transition XML resource defining the desired Transition 538 used for shared elements transferred back to a calling Activity. 539 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 540 android.transition.Transition)}. --> 541 <attr name="windowSharedElementReenterTransition" format="reference"/> 542 543 <!-- Flag indicating whether this Window's transition should overlap with 544 the exiting transition of the calling Activity. Corresponds to 545 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. 546 The default value is true. --> 547 <attr name="windowAllowEnterTransitionOverlap" format="boolean"/> 548 549 <!-- Flag indicating whether this Window's transition should overlap with 550 the exiting transition of the called Activity when the called Activity 551 finishes. Corresponds to 552 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. 553 The default value is true. --> 554 <attr name="windowAllowReturnTransitionOverlap" format="boolean"/> 555 556 <!-- Indicates whether or not shared elements should use an overlay 557 during transitions. The default value is true. --> 558 <attr name="windowSharedElementsUseOverlay" format="boolean"/> 559 560 <!-- Internal layout used internally for window decor --> 561 <attr name="windowActionBarFullscreenDecorLayout" format="reference" /> 562 563 <!-- The duration, in milliseconds, of the window background fade duration 564 when transitioning into or away from an Activity when called with an 565 Activity Transition. Corresponds to 566 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 567 <attr name="windowTransitionBackgroundFadeDuration" format="integer"/> 568 569 <!-- ============ --> 570 <!-- Floating toolbar styles --> 571 <!-- ============ --> 572 <eat-comment /> 573 <attr name="floatingToolbarCloseDrawable" format="reference" /> 574 <attr name="floatingToolbarForegroundColor" format="reference|color" /> 575 <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" /> 576 <attr name="floatingToolbarItemBackgroundDrawable" format="reference" /> 577 <attr name="floatingToolbarOpenDrawable" format="reference" /> 578 <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" /> 579 <attr name="floatingToolbarDividerColor" format="reference" /> 580 581 <!-- ============ --> 582 <!-- Alert Dialog styles --> 583 <!-- ============ --> 584 <eat-comment /> 585 <attr name="alertDialogStyle" format="reference" /> 586 <attr name="alertDialogButtonGroupStyle" format="reference" /> 587 <attr name="alertDialogCenterButtons" format="boolean" /> 588 589 <!-- ============== --> 590 <!-- Image elements --> 591 <!-- ============== --> 592 <eat-comment /> 593 594 <!-- Background that can be used behind parts of a UI that provide 595 details on data the user is selecting. For example, this is 596 the background element of PreferenceActivity's embedded 597 preference fragment. --> 598 <attr name="detailsElementBackground" format="reference" /> 599 600 <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan. 601 This should be used whenever an app is requesting the user to place a finger on the 602 fingerprint sensor. It can be combined with other drawables such as colored circles, so 603 the appearance matches the branding of the app requesting the fingerprint scan.--> 604 <attr name="fingerprintAuthDrawable" format="reference" /> 605 606 <!-- ============ --> 607 <!-- Panel styles --> 608 <!-- ============ --> 609 <eat-comment /> 610 611 <!-- The background of a panel when it is inset from the left and right edges of the screen. --> 612 <attr name="panelBackground" format="reference|color" /> 613 <!-- The background of a panel when it extends to the left and right edges of the screen. --> 614 <attr name="panelFullBackground" format="reference|color" /> 615 <!-- Default color of foreground panel imagery. --> 616 <attr name="panelColorForeground" format="reference|color" /> 617 <!-- Color that matches (as closely as possible) the panel background. --> 618 <attr name="panelColorBackground" format="reference|color" /> 619 <!-- Default appearance of panel text. --> 620 <attr name="panelTextAppearance" format="reference" /> 621 622 <attr name="panelMenuIsCompact" format="boolean" /> 623 <attr name="panelMenuListWidth" format="dimension" /> 624 <attr name="panelMenuListTheme" format="reference" /> 625 626 <!-- =================== --> 627 <!-- Other widget styles --> 628 <!-- =================== --> 629 <eat-comment /> 630 631 <!-- Default AbsListView style. --> 632 <attr name="absListViewStyle" format="reference" /> 633 <!-- Default AutoCompleteTextView style. --> 634 <attr name="autoCompleteTextViewStyle" format="reference" /> 635 <!-- Default Checkbox style. --> 636 <attr name="checkboxStyle" format="reference" /> 637 <!-- Default CheckedTextView style. --> 638 <attr name="checkedTextViewStyle" format="reference" /> 639 <!-- Default ListView style for drop downs. --> 640 <attr name="dropDownListViewStyle" format="reference" /> 641 <!-- Default EditText style. --> 642 <attr name="editTextStyle" format="reference" /> 643 <!-- Default ExpandableListView style. --> 644 <attr name="expandableListViewStyle" format="reference" /> 645 <!-- ExpandableListView with white background. --> 646 <attr name="expandableListViewWhiteStyle" format="reference" /> 647 <!-- Default Gallery style. --> 648 <attr name="galleryStyle" format="reference" /> 649 <!-- Default GestureOverlayView style. --> 650 <attr name="gestureOverlayViewStyle" format="reference" /> 651 <!-- Default GridView style. --> 652 <attr name="gridViewStyle" format="reference" /> 653 <!-- The style resource to use for an ImageButton. --> 654 <attr name="imageButtonStyle" format="reference" /> 655 <!-- The style resource to use for an ImageButton that is an image well. --> 656 <attr name="imageWellStyle" format="reference" /> 657 <!-- Default menu-style ListView style. --> 658 <attr name="listMenuViewStyle" format="reference" /> 659 <!-- Default ListView style. --> 660 <attr name="listViewStyle" format="reference" /> 661 <!-- ListView with white background. --> 662 <attr name="listViewWhiteStyle" format="reference" /> 663 <!-- Default PopupWindow style. --> 664 <attr name="popupWindowStyle" format="reference" /> 665 <!-- Default ProgressBar style. This is a medium circular progress bar. --> 666 <attr name="progressBarStyle" format="reference" /> 667 <!-- Horizontal ProgressBar style. This is a horizontal progress bar. --> 668 <attr name="progressBarStyleHorizontal" format="reference" /> 669 <!-- Small ProgressBar style. This is a small circular progress bar. --> 670 <attr name="progressBarStyleSmall" format="reference" /> 671 <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. --> 672 <attr name="progressBarStyleSmallTitle" format="reference" /> 673 <!-- Large ProgressBar style. This is a large circular progress bar. --> 674 <attr name="progressBarStyleLarge" format="reference" /> 675 <!-- Inverse ProgressBar style. This is a medium circular progress bar. --> 676 <attr name="progressBarStyleInverse" format="reference" /> 677 <!-- Small inverse ProgressBar style. This is a small circular progress bar. --> 678 <attr name="progressBarStyleSmallInverse" format="reference" /> 679 <!-- Large inverse ProgressBar style. This is a large circular progress bar. --> 680 <attr name="progressBarStyleLargeInverse" format="reference" /> 681 <!-- Default SeekBar style. --> 682 <attr name="seekBarStyle" format="reference" /> 683 <!-- Default RatingBar style. --> 684 <attr name="ratingBarStyle" format="reference" /> 685 <!-- Indicator RatingBar style. --> 686 <attr name="ratingBarStyleIndicator" format="reference" /> 687 <!-- Small indicator RatingBar style. --> 688 <attr name="ratingBarStyleSmall" format="reference" /> 689 <!-- Default RadioButton style. --> 690 <attr name="radioButtonStyle" format="reference" /> 691 <!-- Default ScrollView style. --> 692 <attr name="scrollViewStyle" format="reference" /> 693 <!-- Default HorizontalScrollView style. --> 694 <attr name="horizontalScrollViewStyle" format="reference" /> 695 <!-- Default Spinner style. --> 696 <attr name="spinnerStyle" format="reference" /> 697 <!-- Default dropdown Spinner style. --> 698 <attr name="dropDownSpinnerStyle" format="reference" /> 699 <!-- Default ActionBar dropdown style. --> 700 <attr name="actionDropDownStyle" format="reference" /> 701 <!-- Default action button style. --> 702 <attr name="actionButtonStyle" format="reference" /> 703 <!-- Default Star style. --> 704 <attr name="starStyle" format="reference" /> 705 <!-- Default TabWidget style. --> 706 <attr name="tabWidgetStyle" format="reference" /> 707 <!-- Default TextView style. --> 708 <attr name="textViewStyle" format="reference" /> 709 <!-- Default WebTextView style. --> 710 <attr name="webTextViewStyle" format="reference" /> 711 <!-- Default WebView style. --> 712 <attr name="webViewStyle" format="reference" /> 713 <!-- Default style for drop down items. --> 714 <attr name="dropDownItemStyle" format="reference" /> 715 <!-- Default style for spinner drop down items. --> 716 <attr name="spinnerDropDownItemStyle" format="reference" /> 717 <!-- Default style for drop down hints. --> 718 <attr name="dropDownHintAppearance" format="reference" /> 719 <!-- Default spinner item style. --> 720 <attr name="spinnerItemStyle" format="reference" /> 721 <!-- Default MapView style. --> 722 <attr name="mapViewStyle" format="reference" /> 723 <!-- Drawable used as an overlay on top of quickcontact photos. --> 724 <attr name="quickContactBadgeOverlay" format="reference" /> 725 <!-- Default quickcontact badge style with small quickcontact window. --> 726 <attr name="quickContactBadgeStyleWindowSmall" format="reference" /> 727 <!-- Default quickcontact badge style with medium quickcontact window. --> 728 <attr name="quickContactBadgeStyleWindowMedium" format="reference" /> 729 <!-- Default quickcontact badge style with large quickcontact window. --> 730 <attr name="quickContactBadgeStyleWindowLarge" format="reference" /> 731 <!-- Default quickcontact badge style with small quickcontact window. --> 732 <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" /> 733 <!-- Default quickcontact badge style with medium quickcontact window. --> 734 <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" /> 735 <!-- Default quickcontact badge style with large quickcontact window. --> 736 <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" /> 737 <!-- Reference to a style that will be used for the window containing a text 738 selection anchor. --> 739 <attr name="textSelectHandleWindowStyle" format="reference" /> 740 <!-- Reference to a style that will be used for the window containing a list of possible 741 text suggestions in an EditText. --> 742 <attr name="textSuggestionsWindowStyle" format="reference" /> 743 <!-- Default ListPopupWindow style. --> 744 <attr name="listPopupWindowStyle" format="reference" /> 745 <!-- Default PopupMenu style. --> 746 <attr name="popupMenuStyle" format="reference" /> 747 <!-- Default context menu PopupMenu style. --> 748 <attr name="contextPopupMenuStyle" format="reference" /> 749 <!-- Default StackView style. --> 750 <attr name="stackViewStyle" format="reference" /> 751 752 <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated 753 starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). --> 754 <attr name="fragmentBreadCrumbsStyle" format="reference" /> 755 756 <!-- NumberPicker style. --> 757 <attr name="numberPickerStyle" format="reference" /> 758 759 <!-- The CalendarView style. --> 760 <attr name="calendarViewStyle" format="reference" /> 761 762 <!-- The TimePicker style. --> 763 <attr name="timePickerStyle" format="reference" /> 764 765 <!-- The TimePicker dialog theme. --> 766 <attr name="timePickerDialogTheme" format="reference" /> 767 768 <!-- The DatePicker style. --> 769 <attr name="datePickerStyle" format="reference" /> 770 771 <!-- The DatePicker dialog theme. --> 772 <attr name="datePickerDialogTheme" format="reference" /> 773 774 <!-- Default ActivityChooserView style. --> 775 <attr name="activityChooserViewStyle" format="reference" /> 776 777 <!-- Default Toolbar style. --> 778 <attr name="toolbarStyle" format="reference" /> 779 780 <!-- Fast scroller styles --> 781 <eat-comment /> 782 783 <!-- Drawable to use as the fast scroll thumb. --> 784 <attr name="fastScrollThumbDrawable" format="reference" /> 785 <!-- Drawable to use as the fast scroll index preview window background 786 when shown on the right. --> 787 <attr name="fastScrollPreviewBackgroundRight" format="reference" /> 788 <!-- Drawable to use as the fast scroll index preview window background 789 when shown on the left. --> 790 <attr name="fastScrollPreviewBackgroundLeft" format="reference" /> 791 <!-- Drawable to use as the track for the fast scroll thumb. 792 This may be null. --> 793 <attr name="fastScrollTrackDrawable" format="reference" /> 794 <!-- Position of the fast scroll index overlay window. --> 795 <attr name="fastScrollOverlayPosition"> 796 <enum name="floating" value="0" /> 797 <enum name="atThumb" value="1" /> 798 <enum name="aboveThumb" value="2" /> 799 </attr> 800 <!-- Text color for the fast scroll index overlay. Make sure it 801 plays nicely with fastScrollPreviewBackground[Left|Right]. --> 802 <attr name="fastScrollTextColor" format="color" /> 803 804 <!-- =================== --> 805 <!-- Action bar styles --> 806 <!-- =================== --> 807 <eat-comment /> 808 <!-- Default style for tabs within an action bar. --> 809 <attr name="actionBarTabStyle" format="reference" /> 810 <!-- Reference to a style for the Action Bar Tab Bar. --> 811 <attr name="actionBarTabBarStyle" format="reference" /> 812 <!-- Reference to a style for the Action Bar Tab text. --> 813 <attr name="actionBarTabTextStyle" format="reference" /> 814 <!-- Reference to a style for Action Bar overflow buttons. --> 815 <attr name="actionOverflowButtonStyle" format="reference" /> 816 <!-- Reference to a style for the Action Bar menu. --> 817 <attr name="actionOverflowMenuStyle" format="reference" /> 818 <!-- Reference to a theme that should be used to inflate popups 819 shown by widgets in the action bar. --> 820 <attr name="actionBarPopupTheme" format="reference" /> 821 <!-- Reference to a style for the Action Bar. --> 822 <attr name="actionBarStyle" format="reference" /> 823 <!-- Reference to a style for the split Action Bar. This style 824 controls the split component that holds the menu/action 825 buttons. actionBarStyle is still used for the primary 826 bar. --> 827 <attr name="actionBarSplitStyle" format="reference" /> 828 <!-- Reference to a theme that should be used to inflate the 829 action bar. This will be inherited by any widget inflated 830 into the action bar. --> 831 <attr name="actionBarTheme" format="reference" /> 832 <!-- Reference to a theme that should be used to inflate widgets 833 and layouts destined for the action bar. Most of the time 834 this will be a reference to the current theme, but when 835 the action bar has a significantly different contrast 836 profile than the rest of the activity the difference 837 can become important. If this is set to @null the current 838 theme will be used.--> 839 <attr name="actionBarWidgetTheme" format="reference" /> 840 <!-- Size of the Action Bar, including the contextual 841 bar used to present Action Modes. --> 842 <attr name="actionBarSize" format="dimension" > 843 <enum name="wrap_content" value="0" /> 844 </attr> 845 <!-- Custom divider drawable to use for elements in the action bar. --> 846 <attr name="actionBarDivider" format="reference" /> 847 <!-- Custom item state list drawable background for action bar items. --> 848 <attr name="actionBarItemBackground" format="reference" /> 849 <!-- TextAppearance style that will be applied to text that 850 appears within action menu items. --> 851 <attr name="actionMenuTextAppearance" format="reference" /> 852 <!-- Color for text that appears within action menu items. --> 853 <attr name="actionMenuTextColor" format="color|reference" /> 854 855 <!-- =================== --> 856 <!-- Action mode styles --> 857 <!-- =================== --> 858 <eat-comment /> 859 <!-- Reference to a style for the Action Mode. --> 860 <attr name="actionModeStyle" format="reference" /> 861 <!-- Reference to a style for the Action Mode close button. --> 862 <attr name="actionModeCloseButtonStyle" format="reference" /> 863 <!-- Background drawable to use for action mode UI. --> 864 <attr name="actionModeBackground" format="reference" /> 865 <!-- Background drawable to use for action mode UI in the lower split bar. --> 866 <attr name="actionModeSplitBackground" format="reference" /> 867 <!-- Drawable to use for the close action mode button. --> 868 <attr name="actionModeCloseDrawable" format="reference" /> 869 870 <!-- Drawable to use for the Cut action button in Contextual Action Bar. --> 871 <attr name="actionModeCutDrawable" format="reference" /> 872 <!-- Drawable to use for the Copy action button in Contextual Action Bar. --> 873 <attr name="actionModeCopyDrawable" format="reference" /> 874 <!-- Drawable to use for the Paste action button in Contextual Action Bar. --> 875 <attr name="actionModePasteDrawable" format="reference" /> 876 <!-- Drawable to use for the Select all action button in Contextual Action Bar. --> 877 <attr name="actionModeSelectAllDrawable" format="reference" /> 878 <!-- Drawable to use for the Share action button in WebView selection action modes. --> 879 <attr name="actionModeShareDrawable" format="reference" /> 880 <!-- Drawable to use for the Find action button in WebView selection action modes. --> 881 <attr name="actionModeFindDrawable" format="reference" /> 882 <!-- Drawable to use for the Web Search action button in WebView selection action modes. --> 883 <attr name="actionModeWebSearchDrawable" format="reference" /> 884 885 <!-- PopupWindow style to use for action modes when showing as a window overlay. --> 886 <attr name="actionModePopupWindowStyle" format="reference" /> 887 888 <!-- =================== --> 889 <!-- Preference styles --> 890 <!-- =================== --> 891 <eat-comment /> 892 893 <!-- Default style for PreferenceScreen. --> 894 <attr name="preferenceScreenStyle" format="reference" /> 895 <!-- Default style for the PreferenceActivity. --> 896 <attr name="preferenceActivityStyle" format="reference" /> 897 <!-- Default style for Headers pane in PreferenceActivity. --> 898 <attr name="preferenceFragmentStyle" format="reference" /> 899 <!-- Default style for PreferenceCategory. --> 900 <attr name="preferenceCategoryStyle" format="reference" /> 901 <!-- Default style for Preference. --> 902 <attr name="preferenceStyle" format="reference" /> 903 <!-- Default style for informational Preference. --> 904 <attr name="preferenceInformationStyle" format="reference" /> 905 <!-- Default style for CheckBoxPreference. --> 906 <attr name="checkBoxPreferenceStyle" format="reference" /> 907 <!-- Default style for YesNoPreference. --> 908 <attr name="yesNoPreferenceStyle" format="reference" /> 909 <!-- Default style for DialogPreference. --> 910 <attr name="dialogPreferenceStyle" format="reference" /> 911 <!-- Default style for EditTextPreference. --> 912 <attr name="editTextPreferenceStyle" format="reference" /> 913 <!-- @hide Default style for SeekBarDialogPreference. --> 914 <attr name="seekBarDialogPreferenceStyle" format="reference" /> 915 <!-- Default style for RingtonePreference. --> 916 <attr name="ringtonePreferenceStyle" format="reference" /> 917 <!-- The preference layout that has the child/tabbed effect. --> 918 <attr name="preferenceLayoutChild" format="reference" /> 919 <!-- Preference panel style --> 920 <attr name="preferencePanelStyle" format="reference" /> 921 <!-- Preference headers panel style --> 922 <attr name="preferenceHeaderPanelStyle" format="reference" /> 923 <!-- Preference list style --> 924 <attr name="preferenceListStyle" format="reference" /> 925 <!-- Preference fragment list style --> 926 <attr name="preferenceFragmentListStyle" format="reference" /> 927 <!-- Preference fragment padding side --> 928 <attr name="preferenceFragmentPaddingSide" format="dimension" /> 929 <!-- Default style for switch preferences. --> 930 <attr name="switchPreferenceStyle" format="reference" /> 931 <!-- Default style for seekbar preferences. --> 932 <attr name="seekBarPreferenceStyle" format="reference" /> 933 934 <!-- ============================ --> 935 <!-- Text selection handle styles --> 936 <!-- ============================ --> 937 <eat-comment /> 938 939 <!-- Reference to a drawable that will be used to display a text selection 940 anchor on the left side of a selection region. --> 941 <attr name="textSelectHandleLeft" format="reference" /> 942 <!-- Reference to a drawable that will be used to display a text selection 943 anchor on the right side of a selection region. --> 944 <attr name="textSelectHandleRight" format="reference" /> 945 <!-- Reference to a drawable that will be used to display a text selection 946 anchor for positioning the cursor within text. --> 947 <attr name="textSelectHandle" format="reference" /> 948 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 949 TextEdit field. --> 950 <attr name="textEditPasteWindowLayout" format="reference" /> 951 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 952 <attr name="textEditNoPasteWindowLayout" format="reference" /> 953 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 954 insertion cursor because it would be clipped if it were positioned on top. --> 955 <attr name="textEditSidePasteWindowLayout" format="reference" /> 956 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 957 <attr name="textEditSideNoPasteWindowLayout" format="reference" /> 958 959 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 960 <attr name="textEditSuggestionItemLayout" format="reference" /> 961 <!-- Layout of the container of the suggestion popup window. --> 962 <attr name="textEditSuggestionContainerLayout" format="reference" /> 963 <!-- Text appearance of the focused words to be replaced by suggested word. --> 964 <attr name="textEditSuggestionHighlightStyle" format="reference" /> 965 966 <!-- Theme to use for dialogs spawned from this theme. --> 967 <attr name="dialogTheme" format="reference" /> 968 <!-- Window decor layout to use in dialog mode with icons. --> 969 <attr name="dialogTitleIconsDecorLayout" format="reference" /> 970 <!-- Window decor layout to use in dialog mode with custom titles. --> 971 <attr name="dialogCustomTitleDecorLayout" format="reference" /> 972 <!-- Window decor layout to use in dialog mode with title only. --> 973 <attr name="dialogTitleDecorLayout" format="reference" /> 974 <!-- Preferred padding for dialog content. --> 975 <attr name="dialogPreferredPadding" format="dimension" /> 976 977 <!-- Theme to use for alert dialogs spawned from this theme. --> 978 <attr name="alertDialogTheme" format="reference" /> 979 <!-- Icon drawable to use for alerts. --> 980 <attr name="alertDialogIcon" format="reference" /> 981 982 <!-- Theme to use for presentations spawned from this theme. --> 983 <attr name="presentationTheme" format="reference" /> 984 985 <!-- Drawable to use for generic vertical dividers. --> 986 <attr name="dividerVertical" format="reference" /> 987 988 <!-- Drawable to use for generic horizontal dividers. --> 989 <attr name="dividerHorizontal" format="reference" /> 990 991 <!-- Style for button bars. --> 992 <attr name="buttonBarStyle" format="reference" /> 993 994 <!-- Style for buttons within button bars. --> 995 <attr name="buttonBarButtonStyle" format="reference" /> 996 997 <!-- Style for the "positive" buttons within button bars. --> 998 <attr name="buttonBarPositiveButtonStyle" format="reference" /> 999 1000 <!-- Style for the "negative" buttons within button bars. --> 1001 <attr name="buttonBarNegativeButtonStyle" format="reference" /> 1002 1003 <!-- Style for the "neutral" buttons within button bars. --> 1004 <attr name="buttonBarNeutralButtonStyle" format="reference" /> 1005 1006 <!-- Style for the search query widget. --> 1007 <attr name="searchViewStyle" format="reference" /> 1008 1009 <!-- Style for segmented buttons - a container that houses several buttons 1010 with the appearance of a singel button broken into segments. --> 1011 <attr name="segmentedButtonStyle" format="reference" /> 1012 1013 <!-- Background drawable for bordered standalone items that need focus/pressed states. --> 1014 <attr name="selectableItemBackground" format="reference" /> 1015 1016 <!-- Background drawable for borderless standalone items that need focus/pressed states. --> 1017 <attr name="selectableItemBackgroundBorderless" format="reference" /> 1018 1019 <!-- Style for buttons without an explicit border, often used in groups. --> 1020 <attr name="borderlessButtonStyle" format="reference" /> 1021 1022 <!-- Background to use for toasts. --> 1023 <attr name="toastFrameBackground" format="reference" /> 1024 1025 <!-- Background to use for tooltip popups. --> 1026 <attr name="tooltipFrameBackground" format="reference" /> 1027 1028 <!-- Foreground color to use for tooltip popups. --> 1029 <attr name="tooltipForegroundColor" format="reference|color" /> 1030 1031 <!-- Background color to use for tooltip popups. --> 1032 <attr name="tooltipBackgroundColor" format="reference|color" /> 1033 1034 <!-- Theme to use for Search Dialogs. --> 1035 <attr name="searchDialogTheme" format="reference" /> 1036 1037 <!-- Specifies a drawable to use for the 'home as up' indicator. --> 1038 <attr name="homeAsUpIndicator" format="reference" /> 1039 1040 <!-- Preference frame layout styles. --> 1041 <attr name="preferenceFrameLayoutStyle" format="reference" /> 1042 1043 <!-- Default style for the Switch widget. --> 1044 <attr name="switchStyle" format="reference" /> 1045 1046 <!-- Default style for the MediaRouteButton widget. --> 1047 <attr name="mediaRouteButtonStyle" format="reference" /> 1048 1049 <!-- ============== --> 1050 <!-- Pointer styles --> 1051 <!-- ============== --> 1052 <eat-comment /> 1053 1054 <!-- The drawable for accessibility focused views. --> 1055 <attr name="accessibilityFocusedDrawable" format="reference" /> 1056 1057 <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide --> 1058 <attr name="findOnPageNextDrawable" format="reference" /> 1059 1060 <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide --> 1061 <attr name="findOnPagePreviousDrawable" format="reference" /> 1062 1063 <!-- ============= --> 1064 <!-- Color palette --> 1065 <!-- ============= --> 1066 <eat-comment /> 1067 1068 <!-- The primary branding color for the app. By default, this is the color applied to the 1069 action bar background. --> 1070 <attr name="colorPrimary" format="color" /> 1071 1072 <!-- Dark variant of the primary branding color. By default, this is the color applied to 1073 the status bar (via statusBarColor) and navigation bar (via navigationBarColor). --> 1074 <attr name="colorPrimaryDark" format="color" /> 1075 1076 <!-- The secondary branding color for the app. --> 1077 <attr name="colorSecondary" format="color" /> 1078 1079 <!-- Bright complement to the primary branding color. By default, this is the color applied 1080 to framework controls (via colorControlActivated). --> 1081 <attr name="colorAccent" format="color" /> 1082 1083 <!-- The color applied to framework controls in their normal state. --> 1084 <attr name="colorControlNormal" format="color" /> 1085 1086 <!-- The color applied to framework controls in their activated (ex. checked) state. --> 1087 <attr name="colorControlActivated" format="color" /> 1088 1089 <!-- The color applied to framework control highlights (ex. ripples, list selectors). --> 1090 <attr name="colorControlHighlight" format="color" /> 1091 1092 <!-- The color applied to framework buttons in their normal state. --> 1093 <attr name="colorButtonNormal" format="color" /> 1094 1095 <!-- The color applied to framework switch thumbs in their normal state. --> 1096 <attr name="colorSwitchThumbNormal" format="color" /> 1097 1098 <!-- The color applied to the edge effect on scrolling containers. --> 1099 <attr name="colorEdgeEffect" format="color" /> 1100 1101 <!-- =================== --> 1102 <!-- Lighting properties --> 1103 <!-- =================== --> 1104 <eat-comment /> 1105 1106 <!-- @hide The default Y position of the light used to project view shadows. --> 1107 <attr name="lightY" format="dimension" /> 1108 1109 <!-- @hide The default Z position of the light used to project view shadows. --> 1110 <attr name="lightZ" format="dimension" /> 1111 1112 <!-- @hide The default radius of the light used to project view shadows. --> 1113 <attr name="lightRadius" format="dimension" /> 1114 1115 <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. --> 1116 <attr name="ambientShadowAlpha" format="float" /> 1117 1118 <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. --> 1119 <attr name="spotShadowAlpha" format="float" /> 1120 </declare-styleable> 1121 1122 <!-- **************************************************************** --> 1123 <!-- Other non-theme attributes. --> 1124 <!-- **************************************************************** --> 1125 <eat-comment /> 1126 1127 <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). 1128 Supported values include the following:<p/> 1129 <ul> 1130 <li><b>px</b> Pixels</li> 1131 <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li> 1132 <li><b>pt</b> Points</li> 1133 <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li> 1134 </ul> 1135 --> 1136 <attr name="textSize" format="dimension" /> 1137 1138 <!-- Default font family. --> 1139 <attr name="fontFamily" format="string" /> 1140 1141 <!-- Default text typeface. --> 1142 <attr name="typeface"> 1143 <enum name="normal" value="0" /> 1144 <enum name="sans" value="1" /> 1145 <enum name="serif" value="2" /> 1146 <enum name="monospace" value="3" /> 1147 </attr> 1148 1149 <!-- Default text typeface style. --> 1150 <attr name="textStyle"> 1151 <flag name="normal" value="0" /> 1152 <flag name="bold" value="1" /> 1153 <flag name="italic" value="2" /> 1154 </attr> 1155 1156 <!-- Color of text (usually same as colorForeground). --> 1157 <attr name="textColor" format="reference|color" /> 1158 1159 <!-- Color of highlighted text. --> 1160 <attr name="textColorHighlight" format="reference|color" /> 1161 1162 <!-- Color of hint text (displayed when the field is empty). --> 1163 <attr name="textColorHint" format="reference|color" /> 1164 1165 <!-- Color of link text (URLs). --> 1166 <attr name="textColorLink" format="reference|color" /> 1167 1168 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 1169 <attr name="textCursorDrawable" format="reference" /> 1170 1171 <!-- Indicates that the content of a non-editable TextView can be selected. 1172 Default value is false. EditText content is always selectable. --> 1173 <attr name="textIsSelectable" format="boolean" /> 1174 1175 <!-- Where to ellipsize text. --> 1176 <attr name="ellipsize"> 1177 <enum name="none" value="0" /> 1178 <enum name="start" value="1" /> 1179 <enum name="middle" value="2" /> 1180 <enum name="end" value="3" /> 1181 <enum name="marquee" value="4" /> 1182 </attr> 1183 1184 <!-- The type of data being placed in a text field, used to help an 1185 input method decide how to let the user enter text. The constants 1186 here correspond to those defined by 1187 {@link android.text.InputType}. Generally you can select 1188 a single value, though some can be combined together as 1189 indicated. Setting this attribute to anything besides 1190 <var>none</var> also implies that the text is editable. --> 1191 <attr name="inputType"> 1192 <!-- There is no content type. The text is not editable. --> 1193 <flag name="none" value="0x00000000" /> 1194 <!-- Just plain old text. Corresponds to 1195 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1196 {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. --> 1197 <flag name="text" value="0x00000001" /> 1198 <!-- Can be combined with <var>text</var> and its variations to 1199 request capitalization of all characters. Corresponds to 1200 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. --> 1201 <flag name="textCapCharacters" value="0x00001001" /> 1202 <!-- Can be combined with <var>text</var> and its variations to 1203 request capitalization of the first character of every word. Corresponds to 1204 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. --> 1205 <flag name="textCapWords" value="0x00002001" /> 1206 <!-- Can be combined with <var>text</var> and its variations to 1207 request capitalization of the first character of every sentence. Corresponds to 1208 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. --> 1209 <flag name="textCapSentences" value="0x00004001" /> 1210 <!-- Can be combined with <var>text</var> and its variations to 1211 request auto-correction of text being input. Corresponds to 1212 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. --> 1213 <flag name="textAutoCorrect" value="0x00008001" /> 1214 <!-- Can be combined with <var>text</var> and its variations to 1215 specify that this field will be doing its own auto-completion and 1216 talking with the input method appropriately. Corresponds to 1217 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. --> 1218 <flag name="textAutoComplete" value="0x00010001" /> 1219 <!-- Can be combined with <var>text</var> and its variations to 1220 allow multiple lines of text in the field. If this flag is not set, 1221 the text field will be constrained to a single line. Corresponds to 1222 {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. --> 1223 <flag name="textMultiLine" value="0x00020001" /> 1224 <!-- Can be combined with <var>text</var> and its variations to 1225 indicate that though the regular text view should not be multiple 1226 lines, the IME should provide multiple lines if it can. Corresponds to 1227 {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. --> 1228 <flag name="textImeMultiLine" value="0x00040001" /> 1229 <!-- Can be combined with <var>text</var> and its variations to 1230 indicate that the IME should not show any 1231 dictionary-based word suggestions. Corresponds to 1232 {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. --> 1233 <flag name="textNoSuggestions" value="0x00080001" /> 1234 <!-- Text that will be used as a URI. Corresponds to 1235 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1236 {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. --> 1237 <flag name="textUri" value="0x00000011" /> 1238 <!-- Text that will be used as an e-mail address. Corresponds to 1239 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1240 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. --> 1241 <flag name="textEmailAddress" value="0x00000021" /> 1242 <!-- Text that is being supplied as the subject of an e-mail. Corresponds to 1243 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1244 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. --> 1245 <flag name="textEmailSubject" value="0x00000031" /> 1246 <!-- Text that is the content of a short message. Corresponds to 1247 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1248 {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. --> 1249 <flag name="textShortMessage" value="0x00000041" /> 1250 <!-- Text that is the content of a long message. Corresponds to 1251 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1252 {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. --> 1253 <flag name="textLongMessage" value="0x00000051" /> 1254 <!-- Text that is the name of a person. Corresponds to 1255 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1256 {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. --> 1257 <flag name="textPersonName" value="0x00000061" /> 1258 <!-- Text that is being supplied as a postal mailing address. Corresponds to 1259 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1260 {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. --> 1261 <flag name="textPostalAddress" value="0x00000071" /> 1262 <!-- Text that is a password. Corresponds to 1263 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1264 {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. --> 1265 <flag name="textPassword" value="0x00000081" /> 1266 <!-- Text that is a password that should be visible. Corresponds to 1267 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1268 {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. --> 1269 <flag name="textVisiblePassword" value="0x00000091" /> 1270 <!-- Text that is being supplied as text in a web form. Corresponds to 1271 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1272 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. --> 1273 <flag name="textWebEditText" value="0x000000a1" /> 1274 <!-- Text that is filtering some other data. Corresponds to 1275 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1276 {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. --> 1277 <flag name="textFilter" value="0x000000b1" /> 1278 <!-- Text that is for phonetic pronunciation, such as a phonetic name 1279 field in a contact entry. Corresponds to 1280 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1281 {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. --> 1282 <flag name="textPhonetic" value="0x000000c1" /> 1283 <!-- Text that will be used as an e-mail address on a web form. Corresponds to 1284 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1285 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. --> 1286 <flag name="textWebEmailAddress" value="0x000000d1" /> 1287 <!-- Text that will be used as a password on a web form. Corresponds to 1288 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1289 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. --> 1290 <flag name="textWebPassword" value="0x000000e1" /> 1291 <!-- A numeric only field. Corresponds to 1292 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1293 {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. --> 1294 <flag name="number" value="0x00000002" /> 1295 <!-- Can be combined with <var>number</var> and its other options to 1296 allow a signed number. Corresponds to 1297 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1298 {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. --> 1299 <flag name="numberSigned" value="0x00001002" /> 1300 <!-- Can be combined with <var>number</var> and its other options to 1301 allow a decimal (fractional) number. Corresponds to 1302 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1303 {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. --> 1304 <flag name="numberDecimal" value="0x00002002" /> 1305 <!-- A numeric password field. Corresponds to 1306 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1307 {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. --> 1308 <flag name="numberPassword" value="0x00000012" /> 1309 <!-- For entering a phone number. Corresponds to 1310 {@link android.text.InputType#TYPE_CLASS_PHONE}. --> 1311 <flag name="phone" value="0x00000003" /> 1312 <!-- For entering a date and time. Corresponds to 1313 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1314 {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. --> 1315 <flag name="datetime" value="0x00000004" /> 1316 <!-- For entering a date. Corresponds to 1317 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1318 {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. --> 1319 <flag name="date" value="0x00000014" /> 1320 <!-- For entering a time. Corresponds to 1321 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1322 {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. --> 1323 <flag name="time" value="0x00000024" /> 1324 </attr> 1325 1326 <!-- Additional features you can enable in an IME associated with an editor 1327 to improve the integration with your application. The constants 1328 here correspond to those defined by 1329 {@link android.view.inputmethod.EditorInfo#imeOptions}. --> 1330 <attr name="imeOptions"> 1331 <!-- There are no special semantics associated with this editor. --> 1332 <flag name="normal" value="0x00000000" /> 1333 <!-- There is no specific action associated with this editor, let the 1334 editor come up with its own if it can. 1335 Corresponds to 1336 {@link android.view.inputmethod.EditorInfo#IME_NULL}. --> 1337 <flag name="actionUnspecified" value="0x00000000" /> 1338 <!-- This editor has no action associated with it. 1339 Corresponds to 1340 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. --> 1341 <flag name="actionNone" value="0x00000001" /> 1342 <!-- The action key performs a "go" 1343 operation to take the user to the target of the text they typed. 1344 Typically used, for example, when entering a URL. 1345 Corresponds to 1346 {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. --> 1347 <flag name="actionGo" value="0x00000002" /> 1348 <!-- The action key performs a "search" 1349 operation, taking the user to the results of searching for the text 1350 the have typed (in whatever context is appropriate). 1351 Corresponds to 1352 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. --> 1353 <flag name="actionSearch" value="0x00000003" /> 1354 <!-- The action key performs a "send" 1355 operation, delivering the text to its target. This is typically used 1356 when composing a message. 1357 Corresponds to 1358 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. --> 1359 <flag name="actionSend" value="0x00000004" /> 1360 <!-- The action key performs a "next" 1361 operation, taking the user to the next field that will accept text. 1362 Corresponds to 1363 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. --> 1364 <flag name="actionNext" value="0x00000005" /> 1365 <!-- The action key performs a "done" 1366 operation, closing the soft input method. 1367 Corresponds to 1368 {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. --> 1369 <flag name="actionDone" value="0x00000006" /> 1370 <!-- The action key performs a "previous" 1371 operation, taking the user to the previous field that will accept text. 1372 Corresponds to 1373 {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. --> 1374 <flag name="actionPrevious" value="0x00000007" /> 1375 <!-- Used to request that the IME never go 1376 into fullscreen mode. Applications need to be aware that the flag is not 1377 a guarantee, and not all IMEs will respect it. 1378 <p>Corresponds to 1379 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1380 <flag name="flagNoFullscreen" value="0x2000000" /> 1381 <!-- Like flagNavigateNext, but 1382 specifies there is something interesting that a backward navigation 1383 can focus on. If the user selects the IME's facility to backward 1384 navigate, this will show up in the application as an actionPrevious 1385 at {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1386 InputConnection.performEditorAction(int)}. 1387 <p>Corresponds to 1388 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1389 <flag name="flagNavigatePrevious" value="0x4000000" /> 1390 <!-- Used to specify that there is something 1391 interesting that a forward navigation can focus on. This is like using 1392 actionNext, except allows the IME to be multiline (with 1393 an enter key) as well as provide forward navigation. Note that some 1394 IMEs may not be able to do this, especially when running on a small 1395 screen where there is little space. In that case it does not need to 1396 present a UI for this option. Like actionNext, if the 1397 user selects the IME's facility to forward navigate, this will show up 1398 in the application at 1399 {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1400 InputConnection.performEditorAction(int)}. 1401 <p>Corresponds to 1402 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. --> 1403 <flag name="flagNavigateNext" value="0x8000000" /> 1404 <!-- Used to specify that the IME does not need 1405 to show its extracted text UI. For input methods that may be fullscreen, 1406 often when in landscape mode, this allows them to be smaller and let part 1407 of the application be shown behind. Though there will likely be limited 1408 access to the application available from the user, it can make the 1409 experience of a (mostly) fullscreen IME less jarring. Note that when 1410 this flag is specified the IME may <em>not</em> be set up to be able 1411 to display text, so it should only be used in situations where this is 1412 not needed. 1413 <p>Corresponds to 1414 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. --> 1415 <flag name="flagNoExtractUi" value="0x10000000" /> 1416 <!-- Used in conjunction with a custom action, this indicates that the 1417 action should not be available as an accessory button when the 1418 input method is full-screen. 1419 Note that by setting this flag, there can be cases where the action 1420 is simply never available to the user. Setting this generally means 1421 that you think showing text being edited is more important than the 1422 action you have supplied. 1423 <p>Corresponds to 1424 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. --> 1425 <flag name="flagNoAccessoryAction" value="0x20000000" /> 1426 <!-- Used in conjunction with a custom action, 1427 this indicates that the action should not be available in-line as 1428 a replacement for the "enter" key. Typically this is 1429 because the action has such a significant impact or is not recoverable 1430 enough that accidentally hitting it should be avoided, such as sending 1431 a message. Note that {@link android.widget.TextView} will 1432 automatically set this flag for you on multi-line text views. 1433 <p>Corresponds to 1434 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. --> 1435 <flag name="flagNoEnterAction" value="0x40000000" /> 1436 <!-- Used to request that the IME should be capable of inputting ASCII 1437 characters. The intention of this flag is to ensure that the user 1438 can type Roman alphabet characters in a {@link android.widget.TextView} 1439 used for, typically, account ID or password input. It is expected that IMEs 1440 normally are able to input ASCII even without being told so (such IMEs 1441 already respect this flag in a sense), but there could be some cases they 1442 aren't when, for instance, only non-ASCII input languagaes like Arabic, 1443 Greek, Hebrew, Russian are enabled in the IME. Applications need to be 1444 aware that the flag is not a guarantee, and not all IMEs will respect it. 1445 However, it is strongly recommended for IME authors to respect this flag 1446 especially when their IME could end up with a state that has only non-ASCII 1447 input languages enabled. 1448 <p>Corresponds to 1449 {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. --> 1450 <flag name="flagForceAscii" value="0x80000000" /> 1451 </attr> 1452 1453 <!-- A coordinate in the X dimension. --> 1454 <attr name="x" format="dimension" /> 1455 <!-- A coordinate in the Y dimension. --> 1456 <attr name="y" format="dimension" /> 1457 1458 <!-- Specifies how an object should position its content, on both the X and Y axes, 1459 within its own bounds. --> 1460 <attr name="gravity"> 1461 <!-- Push object to the top of its container, not changing its size. --> 1462 <flag name="top" value="0x30" /> 1463 <!-- Push object to the bottom of its container, not changing its size. --> 1464 <flag name="bottom" value="0x50" /> 1465 <!-- Push object to the left of its container, not changing its size. --> 1466 <flag name="left" value="0x03" /> 1467 <!-- Push object to the right of its container, not changing its size. --> 1468 <flag name="right" value="0x05" /> 1469 <!-- Place object in the vertical center of its container, not changing its size. --> 1470 <flag name="center_vertical" value="0x10" /> 1471 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1472 <flag name="fill_vertical" value="0x70" /> 1473 <!-- Place object in the horizontal center of its container, not changing its size. --> 1474 <flag name="center_horizontal" value="0x01" /> 1475 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1476 <flag name="fill_horizontal" value="0x07" /> 1477 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1478 <flag name="center" value="0x11" /> 1479 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1480 <flag name="fill" value="0x77" /> 1481 <!-- Additional option that can be set to have the top and/or bottom edges of 1482 the child clipped to its container's bounds. 1483 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1484 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1485 <flag name="clip_vertical" value="0x80" /> 1486 <!-- Additional option that can be set to have the left and/or right edges of 1487 the child clipped to its container's bounds. 1488 The clip will be based on the horizontal gravity: a left gravity will clip the right 1489 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1490 <flag name="clip_horizontal" value="0x08" /> 1491 <!-- Push object to the beginning of its container, not changing its size. --> 1492 <flag name="start" value="0x00800003" /> 1493 <!-- Push object to the end of its container, not changing its size. --> 1494 <flag name="end" value="0x00800005" /> 1495 </attr> 1496 1497 <!-- Controls whether links such as urls and email addresses are 1498 automatically found and converted to clickable links. The default 1499 value is "none", disabling this feature. --> 1500 <attr name="autoLink"> 1501 <!-- Match no patterns (default). --> 1502 <flag name="none" value="0x00" /> 1503 <!-- Match Web URLs. --> 1504 <flag name="web" value="0x01" /> 1505 <!-- Match email addresses. --> 1506 <flag name="email" value="0x02" /> 1507 <!-- Match phone numbers. --> 1508 <flag name="phone" value="0x04" /> 1509 <!-- Match map addresses. --> 1510 <flag name="map" value="0x08" /> 1511 <!-- Match all patterns (equivalent to web|email|phone|map). --> 1512 <flag name="all" value="0x0f" /> 1513 </attr> 1514 1515 <!-- Reference to an array resource that will populate a list/adapter. --> 1516 <attr name="entries" format="reference" /> 1517 1518 <!-- Standard gravity constant that a child supplies to its parent. 1519 Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. --> 1520 <attr name="layout_gravity"> 1521 <!-- Push object to the top of its container, not changing its size. --> 1522 <flag name="top" value="0x30" /> 1523 <!-- Push object to the bottom of its container, not changing its size. --> 1524 <flag name="bottom" value="0x50" /> 1525 <!-- Push object to the left of its container, not changing its size. --> 1526 <flag name="left" value="0x03" /> 1527 <!-- Push object to the right of its container, not changing its size. --> 1528 <flag name="right" value="0x05" /> 1529 <!-- Place object in the vertical center of its container, not changing its size. --> 1530 <flag name="center_vertical" value="0x10" /> 1531 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1532 <flag name="fill_vertical" value="0x70" /> 1533 <!-- Place object in the horizontal center of its container, not changing its size. --> 1534 <flag name="center_horizontal" value="0x01" /> 1535 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1536 <flag name="fill_horizontal" value="0x07" /> 1537 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1538 <flag name="center" value="0x11" /> 1539 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1540 <flag name="fill" value="0x77" /> 1541 <!-- Additional option that can be set to have the top and/or bottom edges of 1542 the child clipped to its container's bounds. 1543 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1544 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1545 <flag name="clip_vertical" value="0x80" /> 1546 <!-- Additional option that can be set to have the left and/or right edges of 1547 the child clipped to its container's bounds. 1548 The clip will be based on the horizontal gravity: a left gravity will clip the right 1549 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1550 <flag name="clip_horizontal" value="0x08" /> 1551 <!-- Push object to the beginning of its container, not changing its size. --> 1552 <flag name="start" value="0x00800003" /> 1553 <!-- Push object to the end of its container, not changing its size. --> 1554 <flag name="end" value="0x00800005" /> 1555 </attr> 1556 1557 <!-- Standard orientation constant. --> 1558 <attr name="orientation"> 1559 <!-- Defines an horizontal widget. --> 1560 <enum name="horizontal" value="0" /> 1561 <!-- Defines a vertical widget. --> 1562 <enum name="vertical" value="1" /> 1563 </attr> 1564 1565 <!-- Alignment constants. --> 1566 <attr name="alignmentMode"> 1567 <!-- Align the bounds of the children. 1568 See {@link android.widget.GridLayout#ALIGN_BOUNDS}. --> 1569 <enum name="alignBounds" value="0" /> 1570 <!-- Align the margins of the children. 1571 See {@link android.widget.GridLayout#ALIGN_MARGINS}. --> 1572 <enum name="alignMargins" value="1" /> 1573 </attr> 1574 1575 <!-- ========================== --> 1576 <!-- Key Codes --> 1577 <!-- ========================== --> 1578 <eat-comment /> 1579 1580 <!-- This enum provides the same keycode values as can be found in 1581 {@link android.view.KeyEvent}. --> 1582 <attr name="keycode"> 1583 <enum name="KEYCODE_UNKNOWN" value="0" /> 1584 <enum name="KEYCODE_SOFT_LEFT" value="1" /> 1585 <enum name="KEYCODE_SOFT_RIGHT" value="2" /> 1586 <enum name="KEYCODE_HOME" value="3" /> 1587 <enum name="KEYCODE_BACK" value="4" /> 1588 <enum name="KEYCODE_CALL" value="5" /> 1589 <enum name="KEYCODE_ENDCALL" value="6" /> 1590 <enum name="KEYCODE_0" value="7" /> 1591 <enum name="KEYCODE_1" value="8" /> 1592 <enum name="KEYCODE_2" value="9" /> 1593 <enum name="KEYCODE_3" value="10" /> 1594 <enum name="KEYCODE_4" value="11" /> 1595 <enum name="KEYCODE_5" value="12" /> 1596 <enum name="KEYCODE_6" value="13" /> 1597 <enum name="KEYCODE_7" value="14" /> 1598 <enum name="KEYCODE_8" value="15" /> 1599 <enum name="KEYCODE_9" value="16" /> 1600 <enum name="KEYCODE_STAR" value="17" /> 1601 <enum name="KEYCODE_POUND" value="18" /> 1602 <enum name="KEYCODE_DPAD_UP" value="19" /> 1603 <enum name="KEYCODE_DPAD_DOWN" value="20" /> 1604 <enum name="KEYCODE_DPAD_LEFT" value="21" /> 1605 <enum name="KEYCODE_DPAD_RIGHT" value="22" /> 1606 <enum name="KEYCODE_DPAD_CENTER" value="23" /> 1607 <enum name="KEYCODE_VOLUME_UP" value="24" /> 1608 <enum name="KEYCODE_VOLUME_DOWN" value="25" /> 1609 <enum name="KEYCODE_POWER" value="26" /> 1610 <enum name="KEYCODE_CAMERA" value="27" /> 1611 <enum name="KEYCODE_CLEAR" value="28" /> 1612 <enum name="KEYCODE_A" value="29" /> 1613 <enum name="KEYCODE_B" value="30" /> 1614 <enum name="KEYCODE_C" value="31" /> 1615 <enum name="KEYCODE_D" value="32" /> 1616 <enum name="KEYCODE_E" value="33" /> 1617 <enum name="KEYCODE_F" value="34" /> 1618 <enum name="KEYCODE_G" value="35" /> 1619 <enum name="KEYCODE_H" value="36" /> 1620 <enum name="KEYCODE_I" value="37" /> 1621 <enum name="KEYCODE_J" value="38" /> 1622 <enum name="KEYCODE_K" value="39" /> 1623 <enum name="KEYCODE_L" value="40" /> 1624 <enum name="KEYCODE_M" value="41" /> 1625 <enum name="KEYCODE_N" value="42" /> 1626 <enum name="KEYCODE_O" value="43" /> 1627 <enum name="KEYCODE_P" value="44" /> 1628 <enum name="KEYCODE_Q" value="45" /> 1629 <enum name="KEYCODE_R" value="46" /> 1630 <enum name="KEYCODE_S" value="47" /> 1631 <enum name="KEYCODE_T" value="48" /> 1632 <enum name="KEYCODE_U" value="49" /> 1633 <enum name="KEYCODE_V" value="50" /> 1634 <enum name="KEYCODE_W" value="51" /> 1635 <enum name="KEYCODE_X" value="52" /> 1636 <enum name="KEYCODE_Y" value="53" /> 1637 <enum name="KEYCODE_Z" value="54" /> 1638 <enum name="KEYCODE_COMMA" value="55" /> 1639 <enum name="KEYCODE_PERIOD" value="56" /> 1640 <enum name="KEYCODE_ALT_LEFT" value="57" /> 1641 <enum name="KEYCODE_ALT_RIGHT" value="58" /> 1642 <enum name="KEYCODE_SHIFT_LEFT" value="59" /> 1643 <enum name="KEYCODE_SHIFT_RIGHT" value="60" /> 1644 <enum name="KEYCODE_TAB" value="61" /> 1645 <enum name="KEYCODE_SPACE" value="62" /> 1646 <enum name="KEYCODE_SYM" value="63" /> 1647 <enum name="KEYCODE_EXPLORER" value="64" /> 1648 <enum name="KEYCODE_ENVELOPE" value="65" /> 1649 <enum name="KEYCODE_ENTER" value="66" /> 1650 <enum name="KEYCODE_DEL" value="67" /> 1651 <enum name="KEYCODE_GRAVE" value="68" /> 1652 <enum name="KEYCODE_MINUS" value="69" /> 1653 <enum name="KEYCODE_EQUALS" value="70" /> 1654 <enum name="KEYCODE_LEFT_BRACKET" value="71" /> 1655 <enum name="KEYCODE_RIGHT_BRACKET" value="72" /> 1656 <enum name="KEYCODE_BACKSLASH" value="73" /> 1657 <enum name="KEYCODE_SEMICOLON" value="74" /> 1658 <enum name="KEYCODE_APOSTROPHE" value="75" /> 1659 <enum name="KEYCODE_SLASH" value="76" /> 1660 <enum name="KEYCODE_AT" value="77" /> 1661 <enum name="KEYCODE_NUM" value="78" /> 1662 <enum name="KEYCODE_HEADSETHOOK" value="79" /> 1663 <enum name="KEYCODE_FOCUS" value="80" /> 1664 <enum name="KEYCODE_PLUS" value="81" /> 1665 <enum name="KEYCODE_MENU" value="82" /> 1666 <enum name="KEYCODE_NOTIFICATION" value="83" /> 1667 <enum name="KEYCODE_SEARCH" value="84" /> 1668 <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" /> 1669 <enum name="KEYCODE_MEDIA_STOP" value="86" /> 1670 <enum name="KEYCODE_MEDIA_NEXT" value="87" /> 1671 <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" /> 1672 <enum name="KEYCODE_MEDIA_REWIND" value="89" /> 1673 <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" /> 1674 <enum name="KEYCODE_MUTE" value="91" /> 1675 <enum name="KEYCODE_PAGE_UP" value="92" /> 1676 <enum name="KEYCODE_PAGE_DOWN" value="93" /> 1677 <enum name="KEYCODE_PICTSYMBOLS" value="94" /> 1678 <enum name="KEYCODE_SWITCH_CHARSET" value="95" /> 1679 <enum name="KEYCODE_BUTTON_A" value="96" /> 1680 <enum name="KEYCODE_BUTTON_B" value="97" /> 1681 <enum name="KEYCODE_BUTTON_C" value="98" /> 1682 <enum name="KEYCODE_BUTTON_X" value="99" /> 1683 <enum name="KEYCODE_BUTTON_Y" value="100" /> 1684 <enum name="KEYCODE_BUTTON_Z" value="101" /> 1685 <enum name="KEYCODE_BUTTON_L1" value="102" /> 1686 <enum name="KEYCODE_BUTTON_R1" value="103" /> 1687 <enum name="KEYCODE_BUTTON_L2" value="104" /> 1688 <enum name="KEYCODE_BUTTON_R2" value="105" /> 1689 <enum name="KEYCODE_BUTTON_THUMBL" value="106" /> 1690 <enum name="KEYCODE_BUTTON_THUMBR" value="107" /> 1691 <enum name="KEYCODE_BUTTON_START" value="108" /> 1692 <enum name="KEYCODE_BUTTON_SELECT" value="109" /> 1693 <enum name="KEYCODE_BUTTON_MODE" value="110" /> 1694 <enum name="KEYCODE_ESCAPE" value="111" /> 1695 <enum name="KEYCODE_FORWARD_DEL" value="112" /> 1696 <enum name="KEYCODE_CTRL_LEFT" value="113" /> 1697 <enum name="KEYCODE_CTRL_RIGHT" value="114" /> 1698 <enum name="KEYCODE_CAPS_LOCK" value="115" /> 1699 <enum name="KEYCODE_SCROLL_LOCK" value="116" /> 1700 <enum name="KEYCODE_META_LEFT" value="117" /> 1701 <enum name="KEYCODE_META_RIGHT" value="118" /> 1702 <enum name="KEYCODE_FUNCTION" value="119" /> 1703 <enum name="KEYCODE_SYSRQ" value="120" /> 1704 <enum name="KEYCODE_BREAK" value="121" /> 1705 <enum name="KEYCODE_MOVE_HOME" value="122" /> 1706 <enum name="KEYCODE_MOVE_END" value="123" /> 1707 <enum name="KEYCODE_INSERT" value="124" /> 1708 <enum name="KEYCODE_FORWARD" value="125" /> 1709 <enum name="KEYCODE_MEDIA_PLAY" value="126" /> 1710 <enum name="KEYCODE_MEDIA_PAUSE" value="127" /> 1711 <enum name="KEYCODE_MEDIA_CLOSE" value="128" /> 1712 <enum name="KEYCODE_MEDIA_EJECT" value="129" /> 1713 <enum name="KEYCODE_MEDIA_RECORD" value="130" /> 1714 <enum name="KEYCODE_F1" value="131" /> 1715 <enum name="KEYCODE_F2" value="132" /> 1716 <enum name="KEYCODE_F3" value="133" /> 1717 <enum name="KEYCODE_F4" value="134" /> 1718 <enum name="KEYCODE_F5" value="135" /> 1719 <enum name="KEYCODE_F6" value="136" /> 1720 <enum name="KEYCODE_F7" value="137" /> 1721 <enum name="KEYCODE_F8" value="138" /> 1722 <enum name="KEYCODE_F9" value="139" /> 1723 <enum name="KEYCODE_F10" value="140" /> 1724 <enum name="KEYCODE_F11" value="141" /> 1725 <enum name="KEYCODE_F12" value="142" /> 1726 <enum name="KEYCODE_NUM_LOCK" value="143" /> 1727 <enum name="KEYCODE_NUMPAD_0" value="144" /> 1728 <enum name="KEYCODE_NUMPAD_1" value="145" /> 1729 <enum name="KEYCODE_NUMPAD_2" value="146" /> 1730 <enum name="KEYCODE_NUMPAD_3" value="147" /> 1731 <enum name="KEYCODE_NUMPAD_4" value="148" /> 1732 <enum name="KEYCODE_NUMPAD_5" value="149" /> 1733 <enum name="KEYCODE_NUMPAD_6" value="150" /> 1734 <enum name="KEYCODE_NUMPAD_7" value="151" /> 1735 <enum name="KEYCODE_NUMPAD_8" value="152" /> 1736 <enum name="KEYCODE_NUMPAD_9" value="153" /> 1737 <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" /> 1738 <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" /> 1739 <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" /> 1740 <enum name="KEYCODE_NUMPAD_ADD" value="157" /> 1741 <enum name="KEYCODE_NUMPAD_DOT" value="158" /> 1742 <enum name="KEYCODE_NUMPAD_COMMA" value="159" /> 1743 <enum name="KEYCODE_NUMPAD_ENTER" value="160" /> 1744 <enum name="KEYCODE_NUMPAD_EQUALS" value="161" /> 1745 <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" /> 1746 <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" /> 1747 <enum name="KEYCODE_VOLUME_MUTE" value="164" /> 1748 <enum name="KEYCODE_INFO" value="165" /> 1749 <enum name="KEYCODE_CHANNEL_UP" value="166" /> 1750 <enum name="KEYCODE_CHANNEL_DOWN" value="167" /> 1751 <enum name="KEYCODE_ZOOM_IN" value="168" /> 1752 <enum name="KEYCODE_ZOOM_OUT" value="169" /> 1753 <enum name="KEYCODE_TV" value="170" /> 1754 <enum name="KEYCODE_WINDOW" value="171" /> 1755 <enum name="KEYCODE_GUIDE" value="172" /> 1756 <enum name="KEYCODE_DVR" value="173" /> 1757 <enum name="KEYCODE_BOOKMARK" value="174" /> 1758 <enum name="KEYCODE_CAPTIONS" value="175" /> 1759 <enum name="KEYCODE_SETTINGS" value="176" /> 1760 <enum name="KEYCODE_TV_POWER" value="177" /> 1761 <enum name="KEYCODE_TV_INPUT" value="178" /> 1762 <enum name="KEYCODE_STB_POWER" value="179" /> 1763 <enum name="KEYCODE_STB_INPUT" value="180" /> 1764 <enum name="KEYCODE_AVR_POWER" value="181" /> 1765 <enum name="KEYCODE_AVR_INPUT" value="182" /> 1766 <enum name="KEYCODE_PROG_GRED" value="183" /> 1767 <enum name="KEYCODE_PROG_GREEN" value="184" /> 1768 <enum name="KEYCODE_PROG_YELLOW" value="185" /> 1769 <enum name="KEYCODE_PROG_BLUE" value="186" /> 1770 <enum name="KEYCODE_APP_SWITCH" value="187" /> 1771 <enum name="KEYCODE_BUTTON_1" value="188" /> 1772 <enum name="KEYCODE_BUTTON_2" value="189" /> 1773 <enum name="KEYCODE_BUTTON_3" value="190" /> 1774 <enum name="KEYCODE_BUTTON_4" value="191" /> 1775 <enum name="KEYCODE_BUTTON_5" value="192" /> 1776 <enum name="KEYCODE_BUTTON_6" value="193" /> 1777 <enum name="KEYCODE_BUTTON_7" value="194" /> 1778 <enum name="KEYCODE_BUTTON_8" value="195" /> 1779 <enum name="KEYCODE_BUTTON_9" value="196" /> 1780 <enum name="KEYCODE_BUTTON_10" value="197" /> 1781 <enum name="KEYCODE_BUTTON_11" value="198" /> 1782 <enum name="KEYCODE_BUTTON_12" value="199" /> 1783 <enum name="KEYCODE_BUTTON_13" value="200" /> 1784 <enum name="KEYCODE_BUTTON_14" value="201" /> 1785 <enum name="KEYCODE_BUTTON_15" value="202" /> 1786 <enum name="KEYCODE_BUTTON_16" value="203" /> 1787 <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" /> 1788 <enum name="KEYCODE_MANNER_MODE" value="205" /> 1789 <enum name="KEYCODE_3D_MODE" value="206" /> 1790 <enum name="KEYCODE_CONTACTS" value="207" /> 1791 <enum name="KEYCODE_CALENDAR" value="208" /> 1792 <enum name="KEYCODE_MUSIC" value="209" /> 1793 <enum name="KEYCODE_CALCULATOR" value="210" /> 1794 <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" /> 1795 <enum name="KEYCODE_EISU" value="212" /> 1796 <enum name="KEYCODE_MUHENKAN" value="213" /> 1797 <enum name="KEYCODE_HENKAN" value="214" /> 1798 <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" /> 1799 <enum name="KEYCODE_YEN" value="216" /> 1800 <enum name="KEYCODE_RO" value="217" /> 1801 <enum name="KEYCODE_KANA" value="218" /> 1802 <enum name="KEYCODE_ASSIST" value="219" /> 1803 <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" /> 1804 <enum name="KEYCODE_BRIGHTNESS_UP" value="221" /> 1805 <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" /> 1806 <enum name="KEYCODE_MEDIA_SLEEP" value="223" /> 1807 <enum name="KEYCODE_MEDIA_WAKEUP" value="224" /> 1808 <enum name="KEYCODE_PAIRING" value="225" /> 1809 <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" /> 1810 <enum name="KEYCODE_11" value="227" /> 1811 <enum name="KEYCODE_12" value="228" /> 1812 <enum name="KEYCODE_LAST_CHANNEL" value="229" /> 1813 <enum name="KEYCODE_TV_DATA_SERVICE" value="230" /> 1814 <enum name="KEYCODE_VOICE_ASSIST" value="231" /> 1815 <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" /> 1816 <enum name="KEYCODE_TV_TELETEXT" value="233" /> 1817 <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" /> 1818 <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" /> 1819 <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" /> 1820 <enum name="KEYCODE_TV_SATELLITE" value="237" /> 1821 <enum name="KEYCODE_TV_SATELLITE_BS" value="238" /> 1822 <enum name="KEYCODE_TV_SATELLITE_CS" value="239" /> 1823 <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" /> 1824 <enum name="KEYCODE_TV_NETWORK" value="241" /> 1825 <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" /> 1826 <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" /> 1827 <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" /> 1828 <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" /> 1829 <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" /> 1830 <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" /> 1831 <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" /> 1832 <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" /> 1833 <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" /> 1834 <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" /> 1835 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" /> 1836 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" /> 1837 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" /> 1838 <enum name="KEYCODE_TV_ZOOM_MODE" value="255" /> 1839 <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" /> 1840 <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" /> 1841 <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" /> 1842 <enum name="KEYCODE_HELP" value="259" /> 1843 <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" /> 1844 <enum name="KEYCODE_NAVIGATE_NEXT" value="261" /> 1845 <enum name="KEYCODE_NAVIGATE_IN" value="262" /> 1846 <enum name="KEYCODE_NAVIGATE_OUT" value="263" /> 1847 <enum name="KEYCODE_STEM_PRIMARY" value="264" /> 1848 <enum name="KEYCODE_STEM_1" value="265" /> 1849 <enum name="KEYCODE_STEM_2" value="266" /> 1850 <enum name="KEYCODE_STEM_3" value="267" /> 1851 <enum name="KEYCODE_DPAD_UP_LEFT" value="268" /> 1852 <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" /> 1853 <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" /> 1854 <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" /> 1855 <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" /> 1856 <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" /> 1857 <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" /> 1858 <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" /> 1859 <enum name="KEYCODE_SOFT_SLEEP" value="276" /> 1860 <enum name="KEYCODE_CUT" value="277" /> 1861 <enum name="KEYCODE_COPY" value="278" /> 1862 <enum name="KEYCODE_PASTE" value="279" /> 1863 <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" /> 1864 <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" /> 1865 <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" /> 1866 <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" /> 1867 </attr> 1868 1869 <!-- ***************************************************************** --> 1870 <!-- These define collections of attributes that can are with classes. --> 1871 <!-- ***************************************************************** --> 1872 1873 <!-- ========================== --> 1874 <!-- Special attribute classes. --> 1875 <!-- ========================== --> 1876 <eat-comment /> 1877 1878 <!-- The set of attributes that describe a Windows's theme. --> 1879 <declare-styleable name="Window"> 1880 <attr name="windowBackground" /> 1881 <attr name="windowBackgroundFallback" /> 1882 <attr name="windowContentOverlay" /> 1883 <attr name="windowFrame" /> 1884 <attr name="windowNoTitle" /> 1885 <attr name="windowFullscreen" /> 1886 <attr name="windowOverscan" /> 1887 <attr name="windowIsFloating" /> 1888 <attr name="windowIsTranslucent" /> 1889 <attr name="windowShowWallpaper" /> 1890 <attr name="windowAnimationStyle" /> 1891 <attr name="windowSoftInputMode" /> 1892 <attr name="windowDisablePreview" /> 1893 <attr name="windowNoDisplay" /> 1894 <attr name="textColor" /> 1895 <attr name="backgroundDimEnabled" /> 1896 <attr name="backgroundDimAmount" /> 1897 <attr name="windowActionBar" /> 1898 <attr name="windowActionModeOverlay" /> 1899 <attr name="windowActionBarOverlay" /> 1900 <attr name="windowEnableSplitTouch" /> 1901 <attr name="windowCloseOnTouchOutside" /> 1902 <attr name="windowTranslucentStatus" /> 1903 <attr name="windowTranslucentNavigation" /> 1904 <attr name="windowSwipeToDismiss" /> 1905 <attr name="windowContentTransitions" /> 1906 <attr name="windowActivityTransitions" /> 1907 <attr name="windowContentTransitionManager" /> 1908 <attr name="windowActionBarFullscreenDecorLayout" /> 1909 1910 <!-- The minimum width the window is allowed to be, along the major 1911 axis of the screen. That is, when in landscape. Can be either 1912 an absolute dimension or a fraction of the screen size in that 1913 dimension. --> 1914 <attr name="windowMinWidthMajor" format="dimension|fraction" /> 1915 <!-- The minimum width the window is allowed to be, along the minor 1916 axis of the screen. That is, when in portrait. Can be either 1917 an absolute dimension or a fraction of the screen size in that 1918 dimension. --> 1919 <attr name="windowMinWidthMinor" format="dimension|fraction" /> 1920 1921 <!-- A fixed width for the window along the major axis of the screen, 1922 that is, when in landscape. Can be either an absolute dimension 1923 or a fraction of the screen size in that dimension. --> 1924 <attr name="windowFixedWidthMajor" format="dimension|fraction" /> 1925 <!-- A fixed height for the window along the minor axis of the screen, 1926 that is, when in landscape. Can be either an absolute dimension 1927 or a fraction of the screen size in that dimension. --> 1928 <attr name="windowFixedHeightMinor" format="dimension|fraction" /> 1929 1930 <!-- A fixed width for the window along the minor axis of the screen, 1931 that is, when in portrait. Can be either an absolute dimension 1932 or a fraction of the screen size in that dimension. --> 1933 <attr name="windowFixedWidthMinor" format="dimension|fraction" /> 1934 <!-- A fixed height for the window along the major axis of the screen, 1935 that is, when in portrait. Can be either an absolute dimension 1936 or a fraction of the screen size in that dimension. --> 1937 <attr name="windowFixedHeightMajor" format="dimension|fraction" /> 1938 <attr name="windowOutsetBottom" format="dimension" /> 1939 <!-- Reference to a Transition XML resource defining the desired Transition 1940 used to move Views into the initial Window's content Scene. Corresponds to 1941 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 1942 <attr name="windowEnterTransition"/> 1943 1944 <!-- Reference to a Transition XML resource defining the desired Transition 1945 used to move Views out of the scene when the Window is 1946 preparing to close. Corresponds to 1947 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 1948 <attr name="windowReturnTransition"/> 1949 1950 <!-- Reference to a Transition XML resource defining the desired Transition 1951 used to move Views out of the Window's content Scene when launching a new Activity. 1952 Corresponds to 1953 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 1954 <attr name="windowExitTransition"/> 1955 1956 <!-- Reference to a Transition XML resource defining the desired Transition 1957 used to move Views in to the scene when returning from a previously-started Activity. 1958 Corresponds to 1959 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 1960 <attr name="windowReenterTransition"/> 1961 1962 <!-- Reference to a Transition XML resource defining the desired Transition 1963 used to move shared elements transferred into the Window's initial content Scene. 1964 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 1965 android.transition.Transition)}. --> 1966 <attr name="windowSharedElementEnterTransition"/> 1967 1968 <!-- Reference to a Transition XML resource defining the desired Transition 1969 used to move shared elements transferred back to a calling Activity. 1970 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 1971 android.transition.Transition)}. --> 1972 <attr name="windowSharedElementReturnTransition"/> 1973 1974 <!-- Reference to a Transition XML resource defining the desired Transition 1975 used when starting a new Activity to move shared elements prior to transferring 1976 to the called Activity. 1977 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 1978 android.transition.Transition)}. --> 1979 <attr name="windowSharedElementExitTransition"/> 1980 1981 <!-- Reference to a Transition XML resource defining the desired Transition 1982 used for shared elements transferred back to a calling Activity. 1983 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 1984 android.transition.Transition)}. --> 1985 <attr name="windowSharedElementReenterTransition"/> 1986 1987 1988 <!-- Flag indicating whether this Window's transition should overlap with 1989 the exiting transition of the calling Activity. Corresponds to 1990 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> 1991 <attr name="windowAllowEnterTransitionOverlap"/> 1992 1993 <!-- Flag indicating whether this Window's transition should overlap with 1994 the exiting transition of the called Activity when the called Activity 1995 finishes. Corresponds to 1996 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. --> 1997 <attr name="windowAllowReturnTransitionOverlap"/> 1998 1999 <!-- Indicates whether or not shared elements should use an overlay 2000 during transitions. The default value is true. --> 2001 <attr name="windowSharedElementsUseOverlay"/> 2002 2003 <!-- Flag indicating whether this Window is responsible for drawing the background for the 2004 system bars. If true and the window is not floating, the system bars are drawn with a 2005 transparent background and the corresponding areas in this window are filled with the 2006 colors specified in {@link android.R.attr#statusBarColor} and 2007 {@link android.R.attr#navigationBarColor}. Corresponds to 2008 {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. --> 2009 <attr name="windowDrawsSystemBarBackgrounds" format="boolean" /> 2010 2011 <!-- The color for the status bar. If the color is not opaque, consider setting 2012 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 2013 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}. 2014 For this to take effect, the window must be drawing the system bar backgrounds with 2015 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2016 have been requested to be translucent with 2017 {@link android.R.attr#windowTranslucentStatus}. 2018 Corresponds to {@link android.view.Window#setStatusBarColor(int)}. --> 2019 <attr name="statusBarColor" format="color" /> 2020 2021 <!-- The color for the navigation bar. If the color is not opaque, consider setting 2022 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 2023 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}. 2024 For this to take effect, the window must be drawing the system bar backgrounds with 2025 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 2026 have been requested to be translucent with 2027 {@link android.R.attr#windowTranslucentNavigation}. 2028 Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. --> 2029 <attr name="navigationBarColor" format="color" /> 2030 2031 <!-- The duration, in milliseconds, of the window background fade duration 2032 when transitioning into or away from an Activity when called with an 2033 Activity Transition. Corresponds to 2034 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 2035 <attr name="windowTransitionBackgroundFadeDuration" /> 2036 2037 <!-- Elevation to use for the window. --> 2038 <attr name="windowElevation" format="dimension" /> 2039 2040 <!-- Whether to clip window content to the outline of the window background. --> 2041 <attr name="windowClipToOutline" format="boolean" /> 2042 2043 <!-- If set, the status bar will be drawn such that it is compatible with a light 2044 status bar background. 2045 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2046 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2047 have been requested to be translucent with 2048 {@link android.R.attr#windowTranslucentStatus}. 2049 Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on 2050 the decor view. --> 2051 <attr name="windowLightStatusBar" format="boolean" /> 2052 </declare-styleable> 2053 2054 <!-- The set of attributes that describe a AlertDialog's theme. --> 2055 <declare-styleable name="AlertDialog"> 2056 <attr name="fullDark" format="reference|color" /> 2057 <attr name="topDark" format="reference|color" /> 2058 <attr name="centerDark" format="reference|color" /> 2059 <attr name="bottomDark" format="reference|color" /> 2060 <attr name="fullBright" format="reference|color" /> 2061 <attr name="topBright" format="reference|color" /> 2062 <attr name="centerBright" format="reference|color" /> 2063 <attr name="bottomBright" format="reference|color" /> 2064 <attr name="bottomMedium" format="reference|color" /> 2065 <attr name="centerMedium" format="reference|color" /> 2066 <attr name="layout" /> 2067 <attr name="buttonPanelSideLayout" format="reference" /> 2068 <attr name="listLayout" format="reference" /> 2069 <attr name="multiChoiceItemLayout" format="reference" /> 2070 <attr name="singleChoiceItemLayout" format="reference" /> 2071 <attr name="listItemLayout" format="reference" /> 2072 <attr name="progressLayout" format="reference" /> 2073 <attr name="horizontalProgressLayout" format="reference" /> 2074 <!-- @hide Not ready for public use. --> 2075 <attr name="showTitle" format="boolean" /> 2076 <!-- @hide Whether fullDark, etc. should use default values if null. --> 2077 <attr name="needsDefaultBackgrounds" format="boolean" /> 2078 <!-- @hide Workaround until we replace AlertController with custom layout. --> 2079 <attr name="controllerType"> 2080 <!-- The default controller. --> 2081 <enum name="normal" value="0" /> 2082 <!-- Controller for micro specific layout. --> 2083 <enum name="micro" value="1" /> 2084 </attr> 2085 <!-- @hide Offset when scrolling to a selection. --> 2086 <attr name="selectionScrollOffset" format="dimension" /> 2087 </declare-styleable> 2088 2089 <!-- @hide --> 2090 <declare-styleable name="ButtonBarLayout"> 2091 <!-- Whether to automatically stack the buttons when there is not 2092 enough space to lay them out side-by-side. --> 2093 <attr name="allowStacking" format="boolean" /> 2094 </declare-styleable> 2095 2096 <!-- Fragment animation class attributes. --> 2097 <declare-styleable name="FragmentAnimation"> 2098 <attr name="fragmentOpenEnterAnimation" format="reference" /> 2099 <attr name="fragmentOpenExitAnimation" format="reference" /> 2100 <attr name="fragmentCloseEnterAnimation" format="reference" /> 2101 <attr name="fragmentCloseExitAnimation" format="reference" /> 2102 <attr name="fragmentFadeEnterAnimation" format="reference" /> 2103 <attr name="fragmentFadeExitAnimation" format="reference" /> 2104 </declare-styleable> 2105 2106 <!-- Window animation class attributes. --> 2107 <declare-styleable name="WindowAnimation"> 2108 <!-- The animation used when a window is being added. --> 2109 <attr name="windowEnterAnimation" format="reference" /> 2110 <!-- The animation used when a window is being removed. --> 2111 <attr name="windowExitAnimation" format="reference" /> 2112 <!-- The animation used when a window is going from INVISIBLE to VISIBLE. --> 2113 <attr name="windowShowAnimation" format="reference" /> 2114 <!-- The animation used when a window is going from VISIBLE to INVISIBLE. --> 2115 <attr name="windowHideAnimation" format="reference" /> 2116 2117 <!-- When opening a new activity, this is the animation that is 2118 run on the next activity (which is entering the screen). --> 2119 <attr name="activityOpenEnterAnimation" format="reference" /> 2120 <!-- When opening a new activity, this is the animation that is 2121 run on the previous activity (which is exiting the screen). --> 2122 <attr name="activityOpenExitAnimation" format="reference" /> 2123 <!-- When closing the current activity, this is the animation that is 2124 run on the next activity (which is entering the screen). --> 2125 <attr name="activityCloseEnterAnimation" format="reference" /> 2126 <!-- When closing the current activity, this is the animation that is 2127 run on the current activity (which is exiting the screen). --> 2128 <attr name="activityCloseExitAnimation" format="reference" /> 2129 <!-- When opening an activity in a new task, this is the animation that is 2130 run on the activity of the new task (which is entering the screen). --> 2131 <attr name="taskOpenEnterAnimation" format="reference" /> 2132 <!-- When opening an activity in a new task, this is the animation that is 2133 run on the activity of the old task (which is exiting the screen). --> 2134 <attr name="taskOpenExitAnimation" format="reference" /> 2135 <!-- When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, 2136 this is the animation that is run on the activity of the new task (which is 2137 entering the screen and then leaving). --> 2138 <attr name="launchTaskBehindTargetAnimation" format="reference" /> 2139 <!-- When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, 2140 this is the animation that is run on the activity of the old task (which is 2141 already on the screen and then stays on). --> 2142 <attr name="launchTaskBehindSourceAnimation" format="reference" /> 2143 <!-- When closing the last activity of a task, this is the animation that is 2144 run on the activity of the next task (which is entering the screen). --> 2145 <attr name="taskCloseEnterAnimation" format="reference" /> 2146 <!-- When opening an activity in a new task, this is the animation that is 2147 run on the activity of the old task (which is exiting the screen). --> 2148 <attr name="taskCloseExitAnimation" format="reference" /> 2149 <!-- When bringing an existing task to the foreground, this is the 2150 animation that is run on the top activity of the task being brought 2151 to the foreground (which is entering the screen). --> 2152 <attr name="taskToFrontEnterAnimation" format="reference" /> 2153 <!-- When bringing an existing task to the foreground, this is the 2154 animation that is run on the current foreground activity 2155 (which is exiting the screen). --> 2156 <attr name="taskToFrontExitAnimation" format="reference" /> 2157 <!-- When sending the current task to the background, this is the 2158 animation that is run on the top activity of the task behind 2159 it (which is entering the screen). --> 2160 <attr name="taskToBackEnterAnimation" format="reference" /> 2161 <!-- When sending the current task to the background, this is the 2162 animation that is run on the top activity of the current task 2163 (which is exiting the screen). --> 2164 <attr name="taskToBackExitAnimation" format="reference" /> 2165 2166 <!-- When opening a new activity that shows the wallpaper, while 2167 currently not showing the wallpaper, this is the animation that 2168 is run on the new wallpaper activity (which is entering the screen). --> 2169 <attr name="wallpaperOpenEnterAnimation" format="reference" /> 2170 <!-- When opening a new activity that shows the wallpaper, while 2171 currently not showing the wallpaper, this is the animation that 2172 is run on the current activity (which is exiting the screen). --> 2173 <attr name="wallpaperOpenExitAnimation" format="reference" /> 2174 <!-- When opening a new activity that hides the wallpaper, while 2175 currently showing the wallpaper, this is the animation that 2176 is run on the new activity (which is entering the screen). --> 2177 <attr name="wallpaperCloseEnterAnimation" format="reference" /> 2178 <!-- When opening a new activity that hides the wallpaper, while 2179 currently showing the wallpaper, this is the animation that 2180 is run on the old wallpaper activity (which is exiting the screen). --> 2181 <attr name="wallpaperCloseExitAnimation" format="reference" /> 2182 2183 <!-- When opening a new activity that is on top of the wallpaper 2184 when the current activity is also on top of the wallpaper, 2185 this is the animation that is run on the new activity 2186 (which is entering the screen). The wallpaper remains 2187 static behind the animation. --> 2188 <attr name="wallpaperIntraOpenEnterAnimation" format="reference" /> 2189 <!-- When opening a new activity that is on top of the wallpaper 2190 when the current activity is also on top of the wallpaper, 2191 this is the animation that is run on the current activity 2192 (which is exiting the screen). The wallpaper remains 2193 static behind the animation. --> 2194 <attr name="wallpaperIntraOpenExitAnimation" format="reference" /> 2195 <!-- When closing a foreround activity that is on top of the wallpaper 2196 when the previous activity is also on top of the wallpaper, 2197 this is the animation that is run on the previous activity 2198 (which is entering the screen). The wallpaper remains 2199 static behind the animation. --> 2200 <attr name="wallpaperIntraCloseEnterAnimation" format="reference" /> 2201 <!-- When closing a foreround activity that is on top of the wallpaper 2202 when the previous activity is also on top of the wallpaper, 2203 this is the animation that is run on the current activity 2204 (which is exiting the screen). The wallpaper remains 2205 static behind the animation. --> 2206 <attr name="wallpaperIntraCloseExitAnimation" format="reference" /> 2207 2208 <!-- When opening a new activity from a RemoteViews, this is the 2209 animation that is run on the next activity (which is entering the 2210 screen). Requires config_overrideRemoteViewsActivityTransition to 2211 be true. --> 2212 <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" /> 2213 2214 </declare-styleable> 2215 2216 <!-- ============================= --> 2217 <!-- View package class attributes --> 2218 <!-- ============================= --> 2219 <eat-comment /> 2220 2221 <!-- Attributes that can be used with {@link android.view.View} or 2222 any of its subclasses. Also see {@link #ViewGroup_Layout} for 2223 attributes that are processed by the view's parent. --> 2224 <declare-styleable name="View"> 2225 <!-- Supply an identifier name for this view, to later retrieve it 2226 with {@link android.view.View#findViewById View.findViewById()} or 2227 {@link android.app.Activity#findViewById Activity.findViewById()}. 2228 This must be a 2229 resource reference; typically you set this using the 2230 <code>@+</code> syntax to create a new ID resources. 2231 For example: <code>android:id="@+id/my_id"</code> which 2232 allows you to later retrieve the view 2233 with <code>findViewById(R.id.my_id)</code>. --> 2234 <attr name="id" format="reference" /> 2235 2236 <!-- Supply a tag for this view containing a String, to be retrieved 2237 later with {@link android.view.View#getTag View.getTag()} or 2238 searched for with {@link android.view.View#findViewWithTag 2239 View.findViewWithTag()}. It is generally preferable to use 2240 IDs (through the android:id attribute) instead of tags because 2241 they are faster and allow for compile-time type checking. --> 2242 <attr name="tag" format="string" /> 2243 2244 <!-- The initial horizontal scroll offset, in pixels.--> 2245 <attr name="scrollX" format="dimension" /> 2246 2247 <!-- The initial vertical scroll offset, in pixels. --> 2248 <attr name="scrollY" format="dimension" /> 2249 2250 <!-- A drawable to use as the background. This can be either a reference 2251 to a full drawable resource (such as a PNG image, 9-patch, 2252 XML state list description, etc), or a solid color such as "#ff000000" 2253 (black). --> 2254 <attr name="background" format="reference|color" /> 2255 2256 <!-- Sets the padding, in pixels, of all four edges. Padding is defined as 2257 space between the edges of the view and the view's content. This value will take 2258 precedence over any of the edge-specific values, including 2259 paddingHorizontal and paddingVertical, if set. A view's size 2260 will include its padding. If a {@link android.R.attr#background} 2261 is provided, the padding will initially be set to that (0 if the 2262 drawable does not have padding). Explicitly setting a padding value 2263 will override the corresponding padding found in the background. --> 2264 <attr name="padding" format="dimension" /> 2265 <!-- Sets the padding, in pixels, of the left and right edges; see 2266 {@link android.R.attr#padding}. This value will take precedence over 2267 paddingLeft, paddingRight, paddingStart, and paddingEnd, if set. --> 2268 <attr name="paddingHorizontal" format="dimension" /> 2269 <!-- Sets the padding, in pixels, of the top and bottom edges; see 2270 {@link android.R.attr#padding}. This value will take precedence over 2271 paddingTop and paddingBottom, if set. --> 2272 <attr name="paddingVertical" format="dimension" /> 2273 <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. --> 2274 <attr name="paddingLeft" format="dimension" /> 2275 <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. --> 2276 <attr name="paddingTop" format="dimension" /> 2277 <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. --> 2278 <attr name="paddingRight" format="dimension" /> 2279 <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. --> 2280 <attr name="paddingBottom" format="dimension" /> 2281 <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. --> 2282 <attr name="paddingStart" format="dimension" /> 2283 <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. --> 2284 <attr name="paddingEnd" format="dimension" /> 2285 2286 <!-- Controls whether a view can take focus. By default, this is "auto" which lets the 2287 framework determine whether a user can move focus to a view. By setting this attribute 2288 to true the view is allowed to take focus. By setting it to "false" the view will not 2289 take focus. This value does not impact the behavior of 2290 directly calling {@link android.view.View#requestFocus}, which will 2291 always request focus regardless of this view. It only impacts where 2292 focus navigation will try to move focus. --> 2293 <attr name="focusable" format="boolean|enum"> 2294 <enum name="auto" value="0x00000010" /> 2295 </attr> 2296 2297 <!-- Controls the autofill behavior for this view. --> 2298 <attr name="autofillMode"> 2299 <!-- Inherit the behavior from the parent. If there is no parent it is auto. This is the 2300 default value for this attribute.--> 2301 <enum name="inherit" value="0" /> 2302 <!-- Allows this view to automatically trigger an autofill request when it get focus. 2303 --> 2304 <enum name="auto" value="1" /> 2305 <!-- Do not trigger an autofill request when this view is focused. The user can still 2306 manually force an autofill request for this view. --> 2307 <enum name="manual" value="2" /> 2308 </attr> 2309 2310 <!-- Describes the content of a view so that a autofill service can fill in the appropriate 2311 data. Multiple hints can be combined in a comma separated list or an array of strings 2312 to mean e.g. emailAddress or postalAddress. --> 2313 <attr name="autofillHints" format="string|reference" /> 2314 2315 <!-- Hints the Android System whether the view node associated with this View should be 2316 included in a view structure used for autofill purposes. --> 2317 <attr name="importantForAutofill"> 2318 <!-- Let the Android System use its heuristics to determine if the view is important for autofill. --> 2319 <flag name="auto" value="0" /> 2320 <!-- Hint the Android System that this view is important for autofill. --> 2321 <flag name="yes" value="0x1" /> 2322 <!-- Hint the Android System that this view is *not* important for autofill. --> 2323 <flag name="no" value="0x2" /> 2324 </attr> 2325 2326 <!-- Boolean that controls whether a view can take focus while in touch mode. 2327 If this is true for a view, that view can gain focus when clicked on, and can keep 2328 focus if another view is clicked on that doesn't have this attribute set to true. --> 2329 <attr name="focusableInTouchMode" format="boolean" /> 2330 2331 <!-- Controls the initial visibility of the view. --> 2332 <attr name="visibility"> 2333 <!-- Visible on screen; the default value. --> 2334 <enum name="visible" value="0" /> 2335 <!-- Not displayed, but taken into account during layout (space is left for it). --> 2336 <enum name="invisible" value="1" /> 2337 <!-- Completely hidden, as if the view had not been added. --> 2338 <enum name="gone" value="2" /> 2339 </attr> 2340 2341 <!-- Boolean internal attribute to adjust view layout based on 2342 system windows such as the status bar. 2343 If true, adjusts the padding of this view to leave space for the system windows. 2344 Will only take effect if this view is in a non-embedded activity. --> 2345 <attr name="fitsSystemWindows" format="boolean" /> 2346 2347 <!-- Defines which scrollbars should be displayed on scrolling or not. --> 2348 <attr name="scrollbars"> 2349 <!-- No scrollbar is displayed. --> 2350 <flag name="none" value="0x00000000" /> 2351 <!-- Displays horizontal scrollbar only. --> 2352 <flag name="horizontal" value="0x00000100" /> 2353 <!-- Displays vertical scrollbar only. --> 2354 <flag name="vertical" value="0x00000200" /> 2355 </attr> 2356 2357 <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or 2358 inset. When inset, they add to the padding of the view. And the 2359 scrollbars can be drawn inside the padding area or on the edge of 2360 the view. For example, if a view has a background drawable and you 2361 want to draw the scrollbars inside the padding specified by the 2362 drawable, you can use insideOverlay or insideInset. If you want them 2363 to appear at the edge of the view, ignoring the padding, then you can 2364 use outsideOverlay or outsideInset.--> 2365 <attr name="scrollbarStyle"> 2366 <!-- Inside the padding and overlaid. --> 2367 <enum name="insideOverlay" value="0x0" /> 2368 <!-- Inside the padding and inset. --> 2369 <enum name="insideInset" value="0x01000000" /> 2370 <!-- Edge of the view and overlaid. --> 2371 <enum name="outsideOverlay" value="0x02000000" /> 2372 <!-- Edge of the view and inset. --> 2373 <enum name="outsideInset" value="0x03000000" /> 2374 </attr> 2375 2376 <!-- Set this if the view will serve as a scrolling container, meaning 2377 that it can be resized to shrink its overall window so that there 2378 will be space for an input method. If not set, the default 2379 value will be true if "scrollbars" has the vertical scrollbar 2380 set, else it will be false. --> 2381 <attr name="isScrollContainer" format="boolean" /> 2382 2383 <!-- Defines whether to fade out scrollbars when they are not in use. --> 2384 <attr name="fadeScrollbars" format="boolean" /> 2385 <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. --> 2386 <attr name="scrollbarFadeDuration" format="integer" /> 2387 <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. --> 2388 <attr name="scrollbarDefaultDelayBeforeFade" format="integer" /> 2389 <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. --> 2390 <attr name="scrollbarSize" format="dimension" /> 2391 <!-- Defines the horizontal scrollbar thumb drawable. --> 2392 <attr name="scrollbarThumbHorizontal" format="reference" /> 2393 <!-- Defines the vertical scrollbar thumb drawable. --> 2394 <attr name="scrollbarThumbVertical" format="reference" /> 2395 <!-- Defines the horizontal scrollbar track drawable. --> 2396 <attr name="scrollbarTrackHorizontal" format="reference" /> 2397 <!-- Defines the vertical scrollbar track drawable. --> 2398 <attr name="scrollbarTrackVertical" format="reference" /> 2399 <!-- Defines whether the horizontal scrollbar track should always be drawn. --> 2400 <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" /> 2401 <!-- Defines whether the vertical scrollbar track should always be drawn. --> 2402 <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" /> 2403 2404 <!-- This attribute is ignored in API level 14 2405 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher. 2406 Using fading edges may introduce noticeable performance 2407 degradations and should be used only when required by the application's 2408 visual design. To request fading edges with API level 14 and above, 2409 use the <code>android:requiresFadingEdge</code> attribute instead. --> 2410 <attr name="fadingEdge"> 2411 <!-- No edge is faded. --> 2412 <flag name="none" value="0x00000000" /> 2413 <!-- Fades horizontal edges only. --> 2414 <flag name="horizontal" value="0x00001000" /> 2415 <!-- Fades vertical edges only. --> 2416 <flag name="vertical" value="0x00002000" /> 2417 </attr> 2418 <!-- Defines which edges should be faded on scrolling. --> 2419 <attr name="requiresFadingEdge"> 2420 <!-- No edge is faded. --> 2421 <flag name="none" value="0x00000000" /> 2422 <!-- Fades horizontal edges only. --> 2423 <flag name="horizontal" value="0x00001000" /> 2424 <!-- Fades vertical edges only. --> 2425 <flag name="vertical" value="0x00002000" /> 2426 </attr> 2427 <!-- Defines the length of the fading edges. --> 2428 <attr name="fadingEdgeLength" format="dimension" /> 2429 2430 <!-- Defines the next view to give focus to when the next focus is 2431 {@link android.view.View#FOCUS_LEFT}. 2432 2433 If the reference refers to a view that does not exist or is part 2434 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2435 will result when the reference is accessed.--> 2436 <attr name="nextFocusLeft" format="reference"/> 2437 2438 <!-- Defines the next view to give focus to when the next focus is 2439 {@link android.view.View#FOCUS_RIGHT} 2440 2441 If the reference refers to a view that does not exist or is part 2442 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2443 will result when the reference is accessed.--> 2444 <attr name="nextFocusRight" format="reference"/> 2445 2446 <!-- Defines the next view to give focus to when the next focus is 2447 {@link android.view.View#FOCUS_UP} 2448 2449 If the reference refers to a view that does not exist or is part 2450 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2451 will result when the reference is accessed.--> 2452 <attr name="nextFocusUp" format="reference"/> 2453 2454 <!-- Defines the next view to give focus to when the next focus is 2455 {@link android.view.View#FOCUS_DOWN} 2456 2457 If the reference refers to a view that does not exist or is part 2458 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2459 will result when the reference is accessed.--> 2460 <attr name="nextFocusDown" format="reference"/> 2461 2462 <!-- Defines the next view to give focus to when the next focus is 2463 {@link android.view.View#FOCUS_FORWARD} 2464 2465 If the reference refers to a view that does not exist or is part 2466 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2467 will result when the reference is accessed.--> 2468 <attr name="nextFocusForward" format="reference"/> 2469 2470 <!-- Defines whether this view reacts to click events. --> 2471 <attr name="clickable" format="boolean" /> 2472 2473 <!-- Defines whether this view reacts to long click events. --> 2474 <attr name="longClickable" format="boolean" /> 2475 2476 <!-- Defines whether this view reacts to context click events. --> 2477 <attr name="contextClickable" format="boolean" /> 2478 2479 <!-- If false, no state will be saved for this view when it is being 2480 frozen. The default is true, allowing the view to be saved 2481 (however it also must have an ID assigned to it for its 2482 state to be saved). Setting this to false only disables the 2483 state for this view, not for its children which may still 2484 be saved. --> 2485 <attr name="saveEnabled" format="boolean" /> 2486 2487 <!-- Specifies whether to filter touches when the view's window is obscured by 2488 another visible window. When set to true, the view will not receive touches 2489 whenever a toast, dialog or other window appears above the view's window. 2490 Refer to the {@link android.view.View} security documentation for more details. --> 2491 <attr name="filterTouchesWhenObscured" format="boolean" /> 2492 2493 <!-- Defines the quality of translucent drawing caches. This property is used 2494 only when the drawing cache is enabled and translucent. The default value is auto. --> 2495 <attr name="drawingCacheQuality"> 2496 <!-- Lets the framework decide what quality level should be used 2497 for the drawing cache. --> 2498 <enum name="auto" value="0" /> 2499 <!-- Low quality. When set to low quality, the drawing cache uses a lower color 2500 depth, thus losing precision in rendering gradients, but uses less memory. --> 2501 <enum name="low" value="1" /> 2502 <!-- High quality. When set to high quality, the drawing cache uses a higher 2503 color depth but uses more memory. --> 2504 <enum name="high" value="2" /> 2505 </attr> 2506 2507 <!-- Controls whether the view's window should keep the screen on 2508 while visible. --> 2509 <attr name="keepScreenOn" format="boolean" /> 2510 2511 <!-- When this attribute is set to true, the view gets its drawable state 2512 (focused, pressed, etc.) from its direct parent rather than from itself. --> 2513 <attr name="duplicateParentState" format="boolean" /> 2514 2515 <!-- Defines the minimum height of the view. It is not guaranteed 2516 the view will be able to achieve this minimum height (for example, 2517 if its parent layout constrains it with less available height). --> 2518 <attr name="minHeight" /> 2519 2520 <!-- Defines the minimum width of the view. It is not guaranteed 2521 the view will be able to achieve this minimum width (for example, 2522 if its parent layout constrains it with less available width). --> 2523 <attr name="minWidth" /> 2524 2525 <!-- Boolean that controls whether a view should have sound effects 2526 enabled for events such as clicking and touching. --> 2527 <attr name="soundEffectsEnabled" format="boolean" /> 2528 2529 <!-- Boolean that controls whether a view should have haptic feedback 2530 enabled for events such as long presses. --> 2531 <attr name="hapticFeedbackEnabled" format="boolean" /> 2532 2533 <!-- Defines text that briefly describes content of the view. This property is used 2534 primarily for accessibility. Since some views do not have textual 2535 representation this attribute can be used for providing such. --> 2536 <attr name="contentDescription" format="string" localization="suggested" /> 2537 2538 <!-- Sets the id of a view before which this one is visited in accessibility traversal. 2539 A screen-reader must visit the content of this view before the content of the one 2540 it precedes. 2541 {@see android.view.View#setAccessibilityTraversalBefore(int)} --> 2542 <attr name="accessibilityTraversalBefore" format="integer" /> 2543 2544 <!-- Sets the id of a view after which this one is visited in accessibility traversal. 2545 A screen-reader must visit the content of the other view before the content of 2546 this one. 2547 {@see android.view.View#setAccessibilityTraversalAfter(int)} --> 2548 <attr name="accessibilityTraversalAfter" format="integer" /> 2549 2550 <!-- Name of the method in this View's context to invoke when the view is 2551 clicked. This name must correspond to a public method that takes 2552 exactly one parameter of type View. For instance, if you specify 2553 <code>android:onClick="sayHello"</code>, you must declare a 2554 <code>public void sayHello(View v)</code> method of your context 2555 (typically, your Activity). --> 2556 <attr name="onClick" format="string" /> 2557 2558 <!-- Defines over-scrolling behavior. This property is used only if the 2559 View is scrollable. Over-scrolling is the ability for the user to 2560 receive feedback when attempting to scroll beyond meaningful content. --> 2561 <attr name="overScrollMode"> 2562 <!-- Always show over-scroll effects, even if the content fits entirely 2563 within the available space. --> 2564 <enum name="always" value="0" /> 2565 <!-- Only show over-scroll effects if the content is large 2566 enough to meaningfully scroll. --> 2567 <enum name="ifContentScrolls" value="1" /> 2568 <!-- Never show over-scroll effects. --> 2569 <enum name="never" value="2" /> 2570 </attr> 2571 2572 <!-- alpha property of the view, as a value between 0 (completely transparent) and 1 2573 (completely opaque). --> 2574 <attr name="alpha" format="float" /> 2575 2576 <!-- base z depth of the view. --> 2577 <attr name="elevation" format="dimension" /> 2578 2579 <!-- translation in x of the view. This value is added post-layout to the left 2580 property of the view, which is set by its layout. --> 2581 <attr name="translationX" format="dimension" /> 2582 2583 <!-- translation in y of the view. This value is added post-layout to the top 2584 property of the view, which is set by its layout. --> 2585 <attr name="translationY" format="dimension" /> 2586 2587 <!-- translation in z of the view. This value is added to its elevation. --> 2588 <attr name="translationZ" format="dimension" /> 2589 2590 <!-- x location of the pivot point around which the view will rotate and scale. 2591 This xml attribute sets the pivotX property of the View. --> 2592 <attr name="transformPivotX" format="dimension" /> 2593 2594 <!-- y location of the pivot point around which the view will rotate and scale. 2595 This xml attribute sets the pivotY property of the View. --> 2596 <attr name="transformPivotY" format="dimension" /> 2597 2598 <!-- rotation of the view, in degrees. --> 2599 <attr name="rotation" format="float" /> 2600 2601 <!-- rotation of the view around the x axis, in degrees. --> 2602 <attr name="rotationX" format="float" /> 2603 2604 <!-- rotation of the view around the y axis, in degrees. --> 2605 <attr name="rotationY" format="float" /> 2606 2607 <!-- scale of the view in the x direction. --> 2608 <attr name="scaleX" format="float" /> 2609 2610 <!-- scale of the view in the y direction. --> 2611 <attr name="scaleY" format="float" /> 2612 2613 <!-- Determines which side the vertical scroll bar should be placed on. --> 2614 <attr name="verticalScrollbarPosition"> 2615 <!-- Place the scroll bar wherever the system default determines. --> 2616 <enum name="defaultPosition" value="0" /> 2617 <!-- Place the scroll bar on the left. --> 2618 <enum name="left" value="1" /> 2619 <!-- Place the scroll bar on the right. --> 2620 <enum name="right" value="2" /> 2621 </attr> 2622 2623 <!-- Specifies the type of layer backing this view. The default value is none. 2624 Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)} 2625 for more information.--> 2626 <attr name="layerType"> 2627 <!-- Don't use a layer. --> 2628 <enum name="none" value="0" /> 2629 <!-- Use a software layer. Refer to 2630 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2631 more information. --> 2632 <enum name="software" value="1" /> 2633 <!-- Use a hardware layer. Refer to 2634 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2635 more information. --> 2636 <enum name="hardware" value="2" /> 2637 </attr> 2638 2639 <!-- Defines the direction of layout drawing. This typically is associated with writing 2640 direction of the language script used. The possible values are "ltr" for Left-to-Right, 2641 "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing 2642 to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction 2643 used in "en-US". The default for this attribute is "inherit". --> 2644 <attr name="layoutDirection"> 2645 <!-- Left-to-Right. --> 2646 <enum name="ltr" value="0" /> 2647 <!-- Right-to-Left. --> 2648 <enum name="rtl" value="1" /> 2649 <!-- Inherit from parent. --> 2650 <enum name="inherit" value="2" /> 2651 <!-- Locale. --> 2652 <enum name="locale" value="3" /> 2653 </attr> 2654 2655 <!-- Defines the direction of the text. --> 2656 <attr name="textDirection" format="integer"> 2657 <!-- Default. --> 2658 <enum name="inherit" value="0" /> 2659 <!-- Default for the root view. The first strong directional character determines the 2660 paragraph direction. If there is no strong directional character, the paragraph 2661 direction is the view’s resolved layout direction. --> 2662 <enum name="firstStrong" value="1" /> 2663 <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise 2664 it is LTR if it contains any strong LTR characters. If there are neither, the 2665 paragraph direction is the view’s resolved layout direction. --> 2666 <enum name="anyRtl" value="2" /> 2667 <!-- The paragraph direction is left to right. --> 2668 <enum name="ltr" value="3" /> 2669 <!-- The paragraph direction is right to left. --> 2670 <enum name="rtl" value="4" /> 2671 <!-- The paragraph direction is coming from the system Locale. --> 2672 <enum name="locale" value="5" /> 2673 <!-- The first strong directional character determines the paragraph direction. If 2674 there is no strong directional character, the paragraph direction is LTR. --> 2675 <enum name="firstStrongLtr" value="6" /> 2676 <!-- The first strong directional character determines the paragraph direction. If 2677 there is no strong directional character, the paragraph direction is RTL. --> 2678 <enum name="firstStrongRtl" value="7" /> 2679 </attr> 2680 2681 <!-- Defines the alignment of the text. --> 2682 <attr name="textAlignment" format="integer"> 2683 <!-- Default. --> 2684 <enum name="inherit" value="0" /> 2685 <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, 2686 ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s 2687 text direction. --> 2688 <enum name="gravity" value="1" /> 2689 <!-- Align to the start of the paragraph, for example: ALIGN_NORMAL. --> 2690 <enum name="textStart" value="2" /> 2691 <!-- Align to the end of the paragraph, for example: ALIGN_OPPOSITE. --> 2692 <enum name="textEnd" value="3" /> 2693 <!-- Center the paragraph, for example: ALIGN_CENTER. --> 2694 <enum name="center" value="4" /> 2695 <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved 2696 layoutDirection is LTR, and ALIGN_RIGHT otherwise. --> 2697 <enum name="viewStart" value="5" /> 2698 <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved 2699 layoutDirection is LTR, and ALIGN_LEFT otherwise. --> 2700 <enum name="viewEnd" value="6" /> 2701 </attr> 2702 2703 <!-- Describes whether or not this view is important for accessibility. 2704 If it is important, the view fires accessibility events and is 2705 reported to accessibility services that query the screen. Note: 2706 While not recommended, an accessibility service may decide to 2707 ignore this attribute and operate on all views in the view tree. --> 2708 <attr name="importantForAccessibility" format="integer"> 2709 <!-- The system determines whether the view is important for accessibility - default 2710 (recommended). --> 2711 <enum name="auto" value="0" /> 2712 <!-- The view is important for accessibility. --> 2713 <enum name="yes" value="1" /> 2714 <!-- The view is not important for accessibility. --> 2715 <enum name="no" value="2" /> 2716 <!-- The view is not important for accessibility, nor are any of its descendant 2717 views. --> 2718 <enum name="noHideDescendants" value="4" /> 2719 </attr> 2720 2721 <!-- Indicates to accessibility services whether the user should be notified when 2722 this view changes. --> 2723 <attr name="accessibilityLiveRegion" format="integer"> 2724 <!-- Accessibility services should not announce changes to this view. --> 2725 <enum name="none" value="0" /> 2726 <!-- Accessibility services should announce changes to this view. --> 2727 <enum name="polite" value="1" /> 2728 <!-- Accessibility services should interrupt ongoing speech to immediately 2729 announce changes to this view. --> 2730 <enum name="assertive" value="2" /> 2731 </attr> 2732 2733 <!-- Specifies the id of a view for which this view serves as a label for 2734 accessibility purposes. For example, a TextView before an EditText in 2735 the UI usually specifies what infomation is contained in the EditText. 2736 Hence, the TextView is a label for the EditText. --> 2737 <attr name="labelFor" format="reference" /> 2738 2739 <!-- Specifies a theme override for a view. When a theme override is set, the 2740 view will be inflated using a {@link android.content.Context} themed with 2741 the specified resource. During XML inflation, any child views under the 2742 view with a theme override will inherit the themed context. --> 2743 <attr name="theme" /> 2744 2745 <!-- Names a View such that it can be identified for Transitions. Names should be 2746 unique in the View hierarchy. --> 2747 <attr name="transitionName" format="string" /> 2748 2749 <!-- Specifies that this view should permit nested scrolling within a compatible 2750 ancestor view. --> 2751 <attr name="nestedScrollingEnabled" format="boolean" /> 2752 2753 <!-- Sets the state-based animator for the View. --> 2754 <attr name="stateListAnimator" format="reference"/> 2755 2756 <!-- Tint to apply to the background. --> 2757 <attr name="backgroundTint" format="color" /> 2758 2759 <!-- Blending mode used to apply the background tint. --> 2760 <attr name="backgroundTintMode"> 2761 <!-- The tint is drawn on top of the drawable. 2762 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2763 <enum name="src_over" value="3" /> 2764 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2765 color channels are thrown out. [Sa * Da, Sc * Da] --> 2766 <enum name="src_in" value="5" /> 2767 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2768 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2769 <enum name="src_atop" value="9" /> 2770 <!-- Multiplies the color and alpha channels of the drawable with those of 2771 the tint. [Sa * Da, Sc * Dc] --> 2772 <enum name="multiply" value="14" /> 2773 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2774 <enum name="screen" value="15" /> 2775 <!-- Combines the tint and drawable color and alpha channels, clamping the 2776 result to valid color values. Saturate(S + D) --> 2777 <enum name="add" value="16" /> 2778 </attr> 2779 2780 <!-- ViewOutlineProvider used to determine the View's Outline. --> 2781 <attr name="outlineProvider"> 2782 <!-- Default, background drawable-driven outline. --> 2783 <enum name="background" value="0" /> 2784 <!-- No outline provider. --> 2785 <enum name="none" value="1" /> 2786 <!-- Generates an opaque outline for the bounds of the view. --> 2787 <enum name="bounds" value="2" /> 2788 <!-- Generates an opaque outline for the padded bounds of the view. --> 2789 <enum name="paddedBounds" value="3" /> 2790 </attr> 2791 2792 <!-- Defines the drawable to draw over the content. This can be used as an overlay. 2793 The foreground drawable participates in the padding of the content if the gravity 2794 is set to fill. --> 2795 <attr name="foreground" format="reference|color" /> 2796 <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults 2797 to fill. --> 2798 <attr name="foregroundGravity"> 2799 <!-- Push object to the top of its container, not changing its size. --> 2800 <flag name="top" value="0x30" /> 2801 <!-- Push object to the bottom of its container, not changing its size. --> 2802 <flag name="bottom" value="0x50" /> 2803 <!-- Push object to the left of its container, not changing its size. --> 2804 <flag name="left" value="0x03" /> 2805 <!-- Push object to the right of its container, not changing its size. --> 2806 <flag name="right" value="0x05" /> 2807 <!-- Place object in the vertical center of its container, not changing its size. --> 2808 <flag name="center_vertical" value="0x10" /> 2809 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 2810 <flag name="fill_vertical" value="0x70" /> 2811 <!-- Place object in the horizontal center of its container, not changing its size. --> 2812 <flag name="center_horizontal" value="0x01" /> 2813 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 2814 <flag name="fill_horizontal" value="0x07" /> 2815 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 2816 <flag name="center" value="0x11" /> 2817 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 2818 <flag name="fill" value="0x77" /> 2819 <!-- Additional option that can be set to have the top and/or bottom edges of 2820 the child clipped to its container's bounds. 2821 The clip will be based on the vertical gravity: a top gravity will clip the bottom 2822 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 2823 <flag name="clip_vertical" value="0x80" /> 2824 <!-- Additional option that can be set to have the left and/or right edges of 2825 the child clipped to its container's bounds. 2826 The clip will be based on the horizontal gravity: a left gravity will clip the right 2827 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 2828 <flag name="clip_horizontal" value="0x08" /> 2829 </attr> 2830 <!-- Defines whether the foreground drawable should be drawn inside the padding. 2831 This property is turned on by default. --> 2832 <attr name="foregroundInsidePadding" format="boolean" /> 2833 <!-- Tint to apply to the foreground. --> 2834 <attr name="foregroundTint" format="color" /> 2835 <!-- Blending mode used to apply the foreground tint. --> 2836 <attr name="foregroundTintMode"> 2837 <!-- The tint is drawn on top of the drawable. 2838 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2839 <enum name="src_over" value="3" /> 2840 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2841 color channels are thrown out. [Sa * Da, Sc * Da] --> 2842 <enum name="src_in" value="5" /> 2843 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2844 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2845 <enum name="src_atop" value="9" /> 2846 <!-- Multiplies the color and alpha channels of the drawable with those of 2847 the tint. [Sa * Da, Sc * Dc] --> 2848 <enum name="multiply" value="14" /> 2849 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2850 <enum name="screen" value="15" /> 2851 <!-- Combines the tint and drawable color and alpha channels, clamping the 2852 result to valid color values. Saturate(S + D) --> 2853 <enum name="add" value="16" /> 2854 </attr> 2855 2856 <!-- Defines which scroll indicators should be displayed when the view 2857 can be scrolled. Multiple values may be combined using logical OR, 2858 for example "top|bottom". --> 2859 <attr name="scrollIndicators"> 2860 <!-- No scroll indicators are displayed. --> 2861 <flag name="none" value="0x00" /> 2862 <!-- Displays top scroll indicator when view can be scrolled up. --> 2863 <flag name="top" value="0x01" /> 2864 <!-- Displays bottom scroll indicator when vew can be scrolled down. --> 2865 <flag name="bottom" value="0x02" /> 2866 <!-- Displays left scroll indicator when vew can be scrolled left. --> 2867 <flag name="left" value="0x04" /> 2868 <!-- Displays right scroll indicator when vew can be scrolled right. --> 2869 <flag name="right" value="0x08" /> 2870 <!-- Displays right scroll indicator when vew can be scrolled in the 2871 start direction. --> 2872 <flag name="start" value="0x10" /> 2873 <!-- Displays right scroll indicator when vew can be scrolled in the 2874 end direction. --> 2875 <flag name="end" value="0x20" /> 2876 </attr> 2877 2878 <attr name="pointerIcon"> 2879 <!-- Null icon, pointer becomes invisible. --> 2880 <enum name="none" value="0" /> 2881 <!-- The default icon of arrow pointer. --> 2882 <enum name="arrow" value="1000" /> 2883 <!-- Pointer icon indicating context-menu will appear. --> 2884 <enum name="context_menu" value="1001" /> 2885 <!-- Pointer icon of a hand with the index finger. --> 2886 <enum name="hand" value="1002" /> 2887 <!-- Pointer icon indicating help. --> 2888 <enum name="help" value="1003" /> 2889 <!-- Pointer icon indicating something is going on and waiting. --> 2890 <enum name="wait" value="1004" /> 2891 <!-- Pointer icon for cell and grid. --> 2892 <enum name="cell" value="1006" /> 2893 <!-- Pointer icon of crosshair, indicating to spot a location. --> 2894 <enum name="crosshair" value="1007" /> 2895 <!-- Pointer icon of I-beam, usually for text. --> 2896 <enum name="text" value="1008" /> 2897 <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. --> 2898 <enum name="vertical_text" value="1009" /> 2899 <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be 2900 created. --> 2901 <enum name="alias" value="1010" /> 2902 <!-- Pointer icon of 'copy', used for drag/drop. --> 2903 <enum name="copy" value="1011" /> 2904 <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the 2905 current location. --> 2906 <enum name="no_drop" value="1012" /> 2907 <!-- Pointer icon of four-way arrows, indicating scrolling all direction. --> 2908 <enum name="all_scroll" value="1013" /> 2909 <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. --> 2910 <enum name="horizontal_double_arrow" value="1014" /> 2911 <!-- Pointer icon of vertical double arrow, indicating vertical resize. --> 2912 <enum name="vertical_double_arrow" value="1015" /> 2913 <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left. 2914 Indicating freeform resize. --> 2915 <enum name="top_right_diagonal_double_arrow" value="1016" /> 2916 <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right. 2917 Indicating freeform resize. --> 2918 <enum name="top_left_diagonal_double_arrow" value="1017" /> 2919 <!-- Pointer icon indicating zoom-in. --> 2920 <enum name="zoom_in" value="1018" /> 2921 <!-- Pointer icon indicating zoom-out. --> 2922 <enum name="zoom_out" value="1019" /> 2923 <!-- Pointer icon of a hand sign to grab something. --> 2924 <enum name="grab" value="1020" /> 2925 <!-- Pointer icon of a hand sign while grabbing something. --> 2926 <enum name="grabbing" value="1021" /> 2927 </attr> 2928 2929 <!-- Whether this view has elements that may overlap when drawn. See 2930 {@link android.view.View#forceHasOverlappingRendering(boolean)}. --> 2931 <attr name="forceHasOverlappingRendering" format="boolean" /> 2932 2933 <!-- Defines text displayed in a small popup window on hover or long press. --> 2934 <attr name="tooltipText" format="string" localization="suggested" /> 2935 2936 <!-- Whether this view is a root of a keyboard navigation cluster. 2937 See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. --> 2938 <attr name="keyboardNavigationCluster" format="boolean" /> 2939 2940 <attr name="__removed0" format="boolean" /> 2941 2942 <!-- Defines the next keyboard navigation cluster. 2943 2944 If the reference refers to a view that does not exist or is part 2945 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2946 will result when the reference is accessed.--> 2947 <attr name="nextClusterForward" format="reference"/> 2948 2949 <attr name="__removed1" format="reference"/> 2950 2951 <!-- Whether this view is a default-focus view. 2952 Only one view per keyboard navigation cluster can have this attribute set to true. 2953 See {@link android.view.View#setFocusedByDefault(boolean)}. --> 2954 <attr name="focusedByDefault" format="boolean" /> 2955 2956 <!-- Whether this View should use a default focus highlight when it gets focused but 2957 doesn't have {@link android.R.attr#state_focused} defined in its background. --> 2958 <attr name="defaultFocusHighlightEnabled" format="boolean" /> 2959 </declare-styleable> 2960 2961 <!-- Attributes that can be assigned to a tag for a particular View. --> 2962 <declare-styleable name="ViewTag"> 2963 <!-- Specifies the key identifying a tag. This must be a resource reference. --> 2964 <attr name="id" /> 2965 <!-- Specifies the value with which to tag the view. --> 2966 <attr name="value" /> 2967 </declare-styleable> 2968 2969 <!-- Attributes that can be assigned to an <include> tag. 2970 @hide --> 2971 <declare-styleable name="Include"> 2972 <attr name="id" /> 2973 <attr name="visibility" /> 2974 </declare-styleable> 2975 2976 <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any 2977 of its subclasses. Also see {@link #ViewGroup_Layout} for 2978 attributes that this class processes in its children. --> 2979 <declare-styleable name="ViewGroup"> 2980 <!-- Defines whether changes in layout (caused by adding and removing items) should 2981 cause a LayoutTransition to run. When this flag is set to true, a default 2982 LayoutTransition object will be set on the ViewGroup container and default 2983 animations will run when these layout changes occur.--> 2984 <attr name="animateLayoutChanges" format="boolean" /> 2985 <!-- Defines whether a child is limited to draw inside of its bounds or not. 2986 This is useful with animations that scale the size of the children to more 2987 than 100% for instance. In such a case, this property should be set to false 2988 to allow the children to draw outside of their bounds. The default value of 2989 this property is true. --> 2990 <attr name="clipChildren" format="boolean" /> 2991 <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any 2992 EdgeEffect to its padding, if padding is not zero. This property is set to true by 2993 default. --> 2994 <attr name="clipToPadding" format="boolean" /> 2995 <!-- Defines the layout animation to use the first time the ViewGroup is laid out. 2996 Layout animations can also be started manually after the first layout. --> 2997 <attr name="layoutAnimation" format="reference" /> 2998 <!-- Defines whether layout animations should create a drawing cache for their 2999 children. Enabling the animation cache consumes more memory and requires 3000 a longer initialization but provides better performance. The animation 3001 cache is enabled by default. --> 3002 <attr name="animationCache" format="boolean" /> 3003 <!-- Defines the persistence of the drawing cache. The drawing cache might be 3004 enabled by a ViewGroup for all its children in specific situations (for 3005 instance during a scrolling.) This property lets you persist the cache 3006 in memory after its initial usage. Persisting the cache consumes more 3007 memory but may prevent frequent garbage collection is the cache is created 3008 over and over again. By default the persistence is set to scrolling. --> 3009 <attr name="persistentDrawingCache"> 3010 <!-- The drawing cache is not persisted after use. --> 3011 <flag name="none" value="0x0" /> 3012 <!-- The drawing cache is persisted after a layout animation. --> 3013 <flag name="animation" value="0x1" /> 3014 <!-- The drawing cache is persisted after a scroll. --> 3015 <flag name="scrolling" value="0x2" /> 3016 <!-- The drawing cache is always persisted. --> 3017 <flag name="all" value="0x3" /> 3018 </attr> 3019 <!-- Defines whether the ViewGroup should always draw its children using their 3020 drawing cache or not. The default value is true. --> 3021 <attr name="alwaysDrawnWithCache" format="boolean" /> 3022 <!-- Sets whether this ViewGroup's drawable states also include 3023 its children's drawable states. This is used, for example, to 3024 make a group appear to be focused when its child EditText or button 3025 is focused. --> 3026 <attr name="addStatesFromChildren" format="boolean" /> 3027 3028 <!-- Defines the relationship between the ViewGroup and its descendants 3029 when looking for a View to take focus. --> 3030 <attr name="descendantFocusability"> 3031 <!-- The ViewGroup will get focus before any of its descendants. --> 3032 <enum name="beforeDescendants" value="0" /> 3033 <!-- The ViewGroup will get focus only if none of its descendants want it. --> 3034 <enum name="afterDescendants" value="1" /> 3035 <!-- The ViewGroup will block its descendants from receiving focus. --> 3036 <enum name="blocksDescendants" value="2" /> 3037 </attr> 3038 3039 <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. --> 3040 <attr name="touchscreenBlocksFocus" format="boolean" /> 3041 3042 <!-- Sets whether this ViewGroup should split MotionEvents 3043 to separate child views during touch event dispatch. 3044 If false (default), touch events will be dispatched to 3045 the child view where the first pointer went down until 3046 the last pointer goes up. 3047 If true, touch events may be dispatched to multiple children. 3048 MotionEvents for each pointer will be dispatched to the child 3049 view where the initial ACTION_DOWN event happened. 3050 See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)} 3051 for more information. --> 3052 <attr name="splitMotionEvents" format="boolean" /> 3053 3054 <!-- Defines the layout mode of this ViewGroup. --> 3055 <attr name="layoutMode"> 3056 <!-- Use the children's clip bounds when laying out this container. --> 3057 <enum name="clipBounds" value="0" /> 3058 <!-- Use the children's optical bounds when laying out this container. --> 3059 <enum name="opticalBounds" value="1" /> 3060 </attr> 3061 3062 <!-- Sets whether or not this ViewGroup should be treated as a single entity 3063 when doing an Activity transition. Typically, the elements inside a 3064 ViewGroup are each transitioned from the scene individually. The default 3065 for a ViewGroup is false unless it has a background. See 3066 {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity, 3067 android.view.View, String)} for more information. Corresponds to 3068 {@link android.view.ViewGroup#setTransitionGroup(boolean)}.--> 3069 <attr name="transitionGroup" format="boolean" /> 3070 </declare-styleable> 3071 3072 <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts 3073 inside your application at runtime. --> 3074 <declare-styleable name="ViewStub"> 3075 <!-- Supply an identifier name for this view. --> 3076 <attr name="id" /> 3077 <!-- Supply an identifier for the layout resource to inflate when the ViewStub 3078 becomes visible or when forced to do so. The layout resource must be a 3079 valid reference to a layout. --> 3080 <attr name="layout" format="reference" /> 3081 <!-- Overrides the id of the inflated View with this value. --> 3082 <attr name="inflatedId" format="reference" /> 3083 </declare-styleable> 3084 3085 <!-- ===================================== --> 3086 <!-- View package parent layout attributes --> 3087 <!-- ===================================== --> 3088 <eat-comment /> 3089 3090 <!-- This is the basic set of layout attributes that are common to all 3091 layout managers. These attributes are specified with the rest of 3092 a view's normal attributes (such as {@link android.R.attr#background}, 3093 but will be parsed by the view's parent and ignored by the child. 3094 <p>The values defined here correspond to the base layout attribute 3095 class {@link android.view.ViewGroup.LayoutParams}. --> 3096 <declare-styleable name="ViewGroup_Layout"> 3097 <!-- Specifies the basic width of the view. This is a required attribute 3098 for any view inside of a containing layout manager. Its value may 3099 be a dimension (such as "12dip") for a constant width or one of 3100 the special constants. --> 3101 <attr name="layout_width" format="dimension"> 3102 <!-- The view should be as big as its parent (minus padding). 3103 This constant is deprecated starting from API Level 8 and 3104 is replaced by {@code match_parent}. --> 3105 <enum name="fill_parent" value="-1" /> 3106 <!-- The view should be as big as its parent (minus padding). 3107 Introduced in API Level 8. --> 3108 <enum name="match_parent" value="-1" /> 3109 <!-- The view should be only big enough to enclose its content (plus padding). --> 3110 <enum name="wrap_content" value="-2" /> 3111 </attr> 3112 3113 <!-- Specifies the basic height of the view. This is a required attribute 3114 for any view inside of a containing layout manager. Its value may 3115 be a dimension (such as "12dip") for a constant height or one of 3116 the special constants. --> 3117 <attr name="layout_height" format="dimension"> 3118 <!-- The view should be as big as its parent (minus padding). 3119 This constant is deprecated starting from API Level 8 and 3120 is replaced by {@code match_parent}. --> 3121 <enum name="fill_parent" value="-1" /> 3122 <!-- The view should be as big as its parent (minus padding). 3123 Introduced in API Level 8. --> 3124 <enum name="match_parent" value="-1" /> 3125 <!-- The view should be only big enough to enclose its content (plus padding). --> 3126 <enum name="wrap_content" value="-2" /> 3127 </attr> 3128 </declare-styleable> 3129 3130 <!-- This is the basic set of layout attributes for layout managers that 3131 wish to place margins around their child views. 3132 These attributes are specified with the rest of 3133 a view's normal attributes (such as {@link android.R.attr#background}, 3134 but will be parsed by the view's parent and ignored by the child. 3135 <p>The values defined here correspond to the base layout attribute 3136 class {@link android.view.ViewGroup.MarginLayoutParams}. --> 3137 <declare-styleable name="ViewGroup_MarginLayout"> 3138 <attr name="layout_width" /> 3139 <attr name="layout_height" /> 3140 <!-- Specifies extra space on the left, top, right and bottom 3141 sides of this view. If both layout_margin and any of layout_marginLeft, 3142 layout_marginRight, layout_marginStart, layout_marginEnd, 3143 layout_marginTop, and layout_marginBottom are 3144 also specified, the layout_margin value will take precedence over the 3145 edge-specific values. This space is outside this view's bounds. 3146 Margin values should be positive. --> 3147 <attr name="layout_margin" format="dimension" /> 3148 <!-- Specifies extra space on the left side of this view. 3149 This space is outside this view's bounds. 3150 Margin values should be positive. --> 3151 <attr name="layout_marginLeft" format="dimension" /> 3152 <!-- Specifies extra space on the top side of this view. 3153 This space is outside this view's bounds. 3154 Margin values should be positive.--> 3155 <attr name="layout_marginTop" format="dimension" /> 3156 <!-- Specifies extra space on the right side of this view. 3157 This space is outside this view's bounds. 3158 Margin values should be positive.--> 3159 <attr name="layout_marginRight" format="dimension" /> 3160 <!-- Specifies extra space on the bottom side of this view. 3161 This space is outside this view's bounds. 3162 Margin values should be positive.--> 3163 <attr name="layout_marginBottom" format="dimension" /> 3164 <!-- Specifies extra space on the start side of this view. 3165 This space is outside this view's bounds. 3166 Margin values should be positive.--> 3167 <attr name="layout_marginStart" format="dimension" /> 3168 <!-- Specifies extra space on the end side of this view. 3169 This space is outside this view's bounds. 3170 Margin values should be positive.--> 3171 <attr name="layout_marginEnd" format="dimension" /> 3172 <!-- Specifies extra space on the left and right sides of this view. 3173 Specifying layout_marginHorizontal is equivalent to specifying 3174 either layout_marginLeft and layout_marginRight or 3175 layout_marginStart and layout_marginEnd with that same value. 3176 If both layout_marginHorizontal and any of layout_marginLeft, 3177 layout_marginRight, layout_marginStart, and layout_marginEnd are 3178 also specified, the layout_marginHorizontal value will take precedence over the 3179 edge-specific values. Also, layout_margin will always take precedence over 3180 any of these values, including layout_marginHorizontal. 3181 This space is outside this view's bounds. 3182 Margin values should be positive.--> 3183 <attr name="layout_marginHorizontal" format="dimension" /> 3184 <!-- Specifies extra space on the top and bottom sides of this view. 3185 Specifying layout_marginVertical is equivalent to specifying 3186 layout_marginTop and layout_marginBottom with that same value. 3187 If both layout_marginVertical and either/both layout_marginTop and 3188 layout_marginBottom are also specified, the layout_marginVertical value 3189 will take precedence over the edge-specific values. 3190 Also, layout_margin will always take precedence over 3191 any of these values, including layout_marginVertical. 3192 This space is outside this view's bounds. 3193 Margin values should be positive.--> 3194 <attr name="layout_marginVertical" format="dimension" /> 3195 </declare-styleable> 3196 3197 <!-- Use <code>input-method</code> as the root tag of the XML resource that 3198 describes an 3199 {@link android.view.inputmethod.InputMethod} service, which is 3200 referenced from its 3201 {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA} 3202 meta-data entry. Described here are the attributes that can be 3203 included in that tag. --> 3204 <declare-styleable name="InputMethod"> 3205 <!-- Component name of an activity that allows the user to modify 3206 the settings for this service. --> 3207 <attr name="settingsActivity" format="string" /> 3208 <!-- Set to true in all of the configurations for which this input 3209 method should be considered an option as the default. --> 3210 <attr name="isDefault" format="boolean" /> 3211 <!-- Set to true if this input method supports ways to switch to 3212 a next input method (for example, a globe key.). When this is true and 3213 InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true, 3214 the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod() 3215 accordingly. 3216 <p> Note that the system determines the most appropriate next input method 3217 and subtype in order to provide the consistent user experience in switching 3218 between IMEs and subtypes. --> 3219 <attr name="supportsSwitchingToNextInputMethod" format="boolean" /> 3220 <attr name="__removed2" format="boolean" /> 3221 </declare-styleable> 3222 3223 <!-- This is the subtype of InputMethod. Subtype can describe locales (for example, en_US and 3224 fr_FR) and modes (for example, voice and keyboard), and is used for IME switch. This 3225 subtype allows the system to call the specified subtype of the IME directly. --> 3226 <declare-styleable name="InputMethod_Subtype"> 3227 <!-- The name of the subtype. --> 3228 <attr name="label" /> 3229 <!-- The icon of the subtype. --> 3230 <attr name="icon" /> 3231 <!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR) 3232 and will be passed to the IME when the framework calls the IME 3233 with the subtype. This is also used by the framework to know the supported locales 3234 of the IME. --> 3235 <attr name="imeSubtypeLocale" format="string" /> 3236 <!-- The mode of the subtype. This string can be a mode (for example, voice and keyboard) 3237 and this string will be passed to the IME when the framework calls the IME with the 3238 subtype. {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the 3239 value specified in this attribute. --> 3240 <attr name="imeSubtypeMode" format="string" /> 3241 <!-- Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the 3242 input method selection list in the settings app. 3243 InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it 3244 chooses a target subtype. --> 3245 <attr name="isAuxiliary" format="boolean" /> 3246 <!-- Set true when this subtype should be selected by default if no other subtypes are 3247 selected explicitly. Note that a subtype with this parameter being true will 3248 not be shown in the subtypes list. --> 3249 <attr name="overridesImplicitlyEnabledSubtype" format="boolean" /> 3250 <!-- The extra value of the subtype. This string can be any string and will be passed to 3251 the IME when the framework calls the IME with the subtype. --> 3252 <attr name="imeSubtypeExtraValue" format="string" /> 3253 <!-- The unique id for the subtype. The input method framework keeps track of enabled 3254 subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even 3255 if other attributes are different. If the ID is unspecified (by calling the other 3256 constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue, 3257 isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. --> 3258 <attr name="subtypeId" format="integer"/> 3259 <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII 3260 capable, it should guarantee that the user can input ASCII characters with 3261 this subtype. This is important because many password fields only allow 3262 ASCII-characters. --> 3263 <attr name="isAsciiCapable" format="boolean" /> 3264 <!-- The BCP-47 Language Tag of the subtype. This replaces 3265 {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}. --> 3266 <attr name="languageTag" format="string" /> 3267 </declare-styleable> 3268 3269 <!-- Use <code>spell-checker</code> as the root tag of the XML resource that 3270 describes an 3271 {@link android.service.textservice.SpellCheckerService} service, which is 3272 referenced from its 3273 {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA} 3274 meta-data entry. Described here are the attributes that can be 3275 included in that tag. --> 3276 <declare-styleable name="SpellChecker"> 3277 <!-- The name of the spell checker. --> 3278 <attr name="label" /> 3279 <!-- Component name of an activity that allows the user to modify 3280 the settings for this service. --> 3281 <attr name="settingsActivity"/> 3282 </declare-styleable> 3283 3284 <!-- This is the subtype of the spell checker. Subtype can describe locales (for example, 3285 en_US and fr_FR). --> 3286 <declare-styleable name="SpellChecker_Subtype"> 3287 <!-- The name of the subtype. --> 3288 <attr name="label" /> 3289 <!-- The locale of the subtype. This string should be a locale (for example, en_US and 3290 fr_FR). This is also used by the framework to know the supported locales 3291 of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()} 3292 returns the value specified in this attribute. --> 3293 <attr name="subtypeLocale" format="string" /> 3294 <!-- The extra value of the subtype. This string can be any string and will be passed to 3295 the SpellChecker. --> 3296 <attr name="subtypeExtraValue" format="string" /> 3297 <!-- The unique id for the subtype. The text service (spell checker) framework keeps track 3298 of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs 3299 will stay enabled even if other attributes are different. If the ID is unspecified or 3300 explicitly specified to 0 in XML resources, 3301 {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue})} will be used instead. 3302 --> 3303 <attr name="subtypeId" /> 3304 <!-- The BCP-47 Language Tag of the subtype. This replaces 3305 {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}. --> 3306 <attr name="languageTag" /> 3307 </declare-styleable> 3308 3309 <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that 3310 describes an {@link android.accessibilityservice.AccessibilityService} service, 3311 which is referenced from its 3312 {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA} 3313 meta-data entry. --> 3314 <declare-styleable name="AccessibilityService"> 3315 <!-- The event types this service would like to receive as specified in 3316 {@link android.view.accessibility.AccessibilityEvent}. This setting 3317 can be changed at runtime by calling 3318 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3319 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3320 <attr name="accessibilityEventTypes"> 3321 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.--> 3322 <flag name="typeViewClicked" value="0x00000001" /> 3323 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. --> 3324 <flag name="typeViewLongClicked" value="0x00000002" /> 3325 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. --> 3326 <flag name="typeViewSelected" value="0x00000004" /> 3327 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. --> 3328 <flag name="typeViewFocused" value="0x00000008" /> 3329 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. --> 3330 <flag name="typeViewTextChanged" value="0x00000010" /> 3331 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. --> 3332 <flag name="typeWindowStateChanged" value="0x00000020" /> 3333 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. --> 3334 <flag name="typeNotificationStateChanged" value="0x00000040" /> 3335 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. --> 3336 <flag name="typeViewHoverEnter" value="0x00000080" /> 3337 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. --> 3338 <flag name="typeViewHoverExit" value="0x00000100" /> 3339 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. --> 3340 <flag name="typeTouchExplorationGestureStart" value="0x00000200" /> 3341 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. --> 3342 <flag name="typeTouchExplorationGestureEnd" value="0x00000400" /> 3343 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. --> 3344 <flag name="typeWindowContentChanged" value="0x00000800" /> 3345 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. --> 3346 <flag name="typeViewScrolled" value="0x000001000" /> 3347 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. --> 3348 <flag name="typeViewTextSelectionChanged" value="0x000002000" /> 3349 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. --> 3350 <flag name="typeAnnouncement" value="0x00004000" /> 3351 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. --> 3352 <flag name="typeViewAccessibilityFocused" value="0x00008000" /> 3353 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. --> 3354 <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" /> 3355 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. --> 3356 <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" /> 3357 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. --> 3358 <flag name="typeGestureDetectionStart" value="0x00040000" /> 3359 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. --> 3360 <flag name="typeGestureDetectionEnd" value="0x00080000" /> 3361 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. --> 3362 <flag name="typeTouchInteractionStart" value="0x00100000" /> 3363 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. --> 3364 <flag name="typeTouchInteractionEnd" value="0x00200000" /> 3365 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. --> 3366 <flag name="typeWindowsChanged" value="0x00400000" /> 3367 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. --> 3368 <flag name="typeContextClicked" value="0x00800000" /> 3369 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. --> 3370 <flag name="typeAssistReadingContext" value="0x01000000" /> 3371 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. --> 3372 <flag name="typeAllMask" value="0xffffffff" /> 3373 </attr> 3374 <!-- Comma separated package names from which this service would like to receive events (leave out for all packages). 3375 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3376 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3377 <attr name="packageNames" format="string" /> 3378 <!-- The feedback types this service provides as specified in 3379 {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting 3380 can be changed at runtime by calling 3381 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3382 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3383 <attr name="accessibilityFeedbackType"> 3384 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. --> 3385 <flag name="feedbackSpoken" value="0x00000001" /> 3386 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. --> 3387 <flag name="feedbackHaptic" value="0x00000002" /> 3388 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. --> 3389 <flag name="feedbackAudible" value="0x00000004" /> 3390 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. --> 3391 <flag name="feedbackVisual" value="0x00000008" /> 3392 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. --> 3393 <flag name="feedbackGeneric" value="0x00000010" /> 3394 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. --> 3395 <flag name="feedbackAllMask" value="0xffffffff" /> 3396 </attr> 3397 <!-- The minimal period in milliseconds between two accessibility events of the same type 3398 are sent to this service. This setting can be changed at runtime by calling 3399 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3400 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3401 <attr name="notificationTimeout" format="integer" /> 3402 <!-- Additional flags as specified in 3403 {@link android.accessibilityservice.AccessibilityServiceInfo}. 3404 This setting can be changed at runtime by calling 3405 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3406 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3407 <attr name="accessibilityFlags"> 3408 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT}. --> 3409 <flag name="flagDefault" value="0x00000001" /> 3410 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS}. --> 3411 <flag name="flagIncludeNotImportantViews" value="0x00000002" /> 3412 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE}. --> 3413 <flag name="flagRequestTouchExplorationMode" value="0x00000004" /> 3414 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY}. --> 3415 <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" /> 3416 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS}. --> 3417 <flag name="flagReportViewIds" value="0x00000010" /> 3418 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS}. --> 3419 <flag name="flagRequestFilterKeyEvents" value="0x00000020" /> 3420 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS}. --> 3421 <flag name="flagRetrieveInteractiveWindows" value="0x00000040" /> 3422 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME}. --> 3423 <flag name="flagEnableAccessibilityVolume" value="0x00000080" /> 3424 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON}. --> 3425 <flag name="flagRequestAccessibilityButton" value="0x00000100" /> 3426 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_CAPTURE_FINGERPRINT_GESTURES}. --> 3427 <flag name="flagCaptureFingerprintGestures" value="0x00000200" /> 3428 </attr> 3429 <!-- Component name of an activity that allows the user to modify 3430 the settings for this service. This setting cannot be changed at runtime. --> 3431 <attr name="settingsActivity" /> 3432 <!-- Attribute whether the accessibility service wants to be able to retrieve the 3433 active window content. This setting cannot be changed at runtime. --> 3434 <attr name="canRetrieveWindowContent" format="boolean" /> 3435 <!-- Attribute whether the accessibility service wants to be able to request touch 3436 exploration mode in which touched items are spoken aloud and the UI can be 3437 explored via gestures. 3438 <p> 3439 Required to allow setting the {@link android.accessibilityservice 3440 #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag. 3441 </p> 3442 --> 3443 <attr name="canRequestTouchExplorationMode" format="boolean" /> 3444 <!-- Attribute whether the accessibility service wants to be able to request enhanced 3445 web accessibility enhancements. For example, installing scripts to make app 3446 content more accessible. 3447 <p> 3448 Required to allow setting the {@link android.accessibilityservice 3449 #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag. 3450 </p> 3451 --> 3452 <attr name="canRequestEnhancedWebAccessibility" format="boolean" /> 3453 <!-- Attribute whether the accessibility service wants to be able to request to 3454 filter key events. 3455 <p> 3456 Required to allow setting the {@link android.accessibilityservice 3457 #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag. 3458 </p> 3459 --> 3460 <attr name="canRequestFilterKeyEvents" format="boolean" /> 3461 <!-- Attribute whether the accessibility service wants to be able to control 3462 display magnification. 3463 --> 3464 <attr name="canControlMagnification" format="boolean" /> 3465 <!-- Attribute whether the accessibility service wants to be able to perform gestures. --> 3466 <attr name="canPerformGestures" format="boolean" /> 3467 <!-- Attribute whether the accessibility service wants to be able to capture gestures from 3468 the fingerprint sensor. 3469 <p> 3470 Required to allow setting the {@link android.accessibilityservice 3471 #AccessibilityServiceInfo#FLAG_CAN_CAPTURE_FINGERPRINT_GESTURES} flag. 3472 </p> 3473 --> 3474 <attr name="canCaptureFingerprintGestures" format="boolean" /> 3475 <!-- Short description of the accessibility service purpose or behavior.--> 3476 <attr name="description" /> 3477 <!-- Brief summary of the accessibility service purpose or behavior. --> 3478 <attr name="summary" /> 3479 </declare-styleable> 3480 3481 <!-- Use <code>print-service</code> as the root tag of the XML resource that 3482 describes an {@link android.printservice.PrintService} service, which is 3483 referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA} 3484 meta-data entry. --> 3485 <declare-styleable name="PrintService"> 3486 <!-- Fully qualified class name of an activity that allows the user to modify 3487 the settings for this service. --> 3488 <attr name="settingsActivity" /> 3489 <!-- Fully qualified class name of an activity that allows the user to manually 3490 add printers to this print service. --> 3491 <attr name="addPrintersActivity" format="string"/> 3492 <!-- Fully qualified class name of an activity with advanced print options 3493 specific to this print service. --> 3494 <attr name="advancedPrintOptionsActivity" format="string"/> 3495 <!-- The vendor name if this print service is vendor specific. --> 3496 <attr name="vendor" format="string"/> 3497 </declare-styleable> 3498 3499 <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that 3500 describes an {@link android.nfc.cardemulation.HostApduService} service, which 3501 is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA} 3502 entry. --> 3503 <declare-styleable name="HostApduService"> 3504 <!-- Short description of the functionality the service implements. This attribute 3505 is mandatory.--> 3506 <attr name="description" /> 3507 <!-- Whether the device must be unlocked before routing data to this service. 3508 The default is false.--> 3509 <attr name="requireDeviceUnlock" format="boolean"/> 3510 <!-- A drawable that can be rendered in Android's system UI for representing 3511 the service. --> 3512 <attr name="apduServiceBanner" format="reference"/> 3513 <!-- Component name of an activity that allows the user to modify 3514 the settings for this service. --> 3515 <attr name="settingsActivity"/> 3516 </declare-styleable> 3517 3518 <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that 3519 describes an {@link android.nfc.cardemulation.OffHostApduService} 3520 service, which is referenced from its 3521 {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. --> 3522 <declare-styleable name="OffHostApduService"> 3523 <!-- Short description of the functionality the service implements. This attribute 3524 is mandatory.--> 3525 <attr name="description" /> 3526 <!-- A drawable that can be rendered in Android's system UI for representing 3527 the service. --> 3528 <attr name="apduServiceBanner"/> 3529 <!-- Component name of an activity that allows the user to modify 3530 the settings for this service. --> 3531 <attr name="settingsActivity"/> 3532 </declare-styleable> 3533 3534 <!-- Specify one or more <code>aid-group</code> elements inside a 3535 <code>host-apdu-service</code> or <code>offhost-apdu-service</code> 3536 element to define a group of ISO7816 Application ID (AIDs) that 3537 your service can handle.--> 3538 <declare-styleable name="AidGroup"> 3539 <!-- Short description of what the AID group implements. This attribute is mandatory.--> 3540 <attr name="description" /> 3541 <!-- The category attribute will be used by the Android platform to present 3542 multiple applications that register ISO 7816 Application IDs (AIDs) in the 3543 same category uniformly. 3544 Additionally, when a category is specified, Android will ensure that either 3545 all AIDs in this group are routed to this application, or none at all. 3546 This attribute is optional.--> 3547 <attr name="category" format="string" /> 3548 </declare-styleable> 3549 3550 <!-- Specify one or more <code>aid-filter</code> elements inside a 3551 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3552 your service can handle. --> 3553 <declare-styleable name="AidFilter"> 3554 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3555 <attr name="name" /> 3556 </declare-styleable> 3557 3558 <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a 3559 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3560 prefix your service can handle. --> 3561 <declare-styleable name="AidPrefixFilter"> 3562 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3563 <attr name="name" /> 3564 </declare-styleable> 3565 3566 <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that 3567 describes an {@link android.nfc.cardemulation.HostNfcFService} service, which 3568 is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA} 3569 entry. --> 3570 <declare-styleable name="HostNfcFService"> 3571 <!-- Short description of the functionality the service implements. This attribute 3572 is mandatory.--> 3573 <attr name="description" /> 3574 </declare-styleable> 3575 3576 <!-- Specify one or more <code>system-code-filter</code> elements inside a 3577 <code>host-nfcf-service</code> element to specify a System Code 3578 your service can handle. --> 3579 <declare-styleable name="SystemCodeFilter"> 3580 <!-- The System Code. This attribute is mandatory. --> 3581 <attr name="name" /> 3582 </declare-styleable> 3583 3584 <!-- Specify one or more <code>nfcid2-filter</code> elements inside a 3585 <code>host-nfcf-service</code> element to specify a NFCID2 3586 your service can handle. --> 3587 <declare-styleable name="Nfcid2Filter"> 3588 <!-- The NFCID2. This attribute is mandatory. --> 3589 <attr name="name" /> 3590 </declare-styleable> 3591 3592 <declare-styleable name="ActionMenuItemView"> 3593 <attr name="minWidth" /> 3594 </declare-styleable> 3595 3596 <!-- =============================== --> 3597 <!-- Widget package class attributes --> 3598 <!-- =============================== --> 3599 <eat-comment /> 3600 3601 <declare-styleable name="AbsListView"> 3602 <!-- Drawable used to indicate the currently selected item in the list. --> 3603 <attr name="listSelector" format="color|reference" /> 3604 <!-- When set to true, the selector will be drawn over the selected item. 3605 Otherwise the selector is drawn behind the selected item. The default 3606 value is false. --> 3607 <attr name="drawSelectorOnTop" format="boolean" /> 3608 <!-- Used by ListView and GridView to stack their content from the bottom. --> 3609 <attr name="stackFromBottom" format="boolean" /> 3610 <!-- When set to true, the list uses a drawing cache during scrolling. 3611 This makes the rendering faster but uses more memory. The default 3612 value is true. --> 3613 <attr name="scrollingCache" format="boolean" /> 3614 <!-- When set to true, the list will filter results as the user types. The 3615 List's adapter must support the Filterable interface for this to work. --> 3616 <attr name="textFilterEnabled" format="boolean" /> 3617 <!-- Sets the transcript mode for the list. In transcript mode, the list 3618 scrolls to the bottom to make new items visible when they are added. --> 3619 <attr name="transcriptMode"> 3620 <!-- Disables transcript mode. This is the default value. --> 3621 <enum name="disabled" value="0"/> 3622 <!-- The list will automatically scroll to the bottom when 3623 a data set change notification is received and only if the last item is 3624 already visible on screen. --> 3625 <enum name="normal" value="1" /> 3626 <!-- The list will automatically scroll to the bottom, no matter what items 3627 are currently visible. --> 3628 <enum name="alwaysScroll" value="2" /> 3629 </attr> 3630 <!-- Indicates that this list will always be drawn on top of solid, single-color 3631 opaque background. This allows the list to optimize drawing. --> 3632 <attr name="cacheColorHint" format="color" /> 3633 <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through 3634 the list. --> 3635 <attr name="fastScrollEnabled" format="boolean" /> 3636 <!-- Specifies the style of the fast scroll decorations. --> 3637 <attr name="fastScrollStyle" format="reference" /> 3638 <!-- When set to true, the list will use a more refined calculation 3639 method based on the pixels height of the items visible on screen. This 3640 property is set to true by default but should be set to false if your adapter 3641 will display items of varying heights. When this property is set to true and 3642 your adapter displays items of varying heights, the scrollbar thumb will 3643 change size as the user scrolls through the list. When set to false, the list 3644 will use only the number of items in the adapter and the number of items visible 3645 on screen to determine the scrollbar's properties. --> 3646 <attr name="smoothScrollbar" format="boolean" /> 3647 <!-- Defines the choice behavior for the view. By default, lists do not have 3648 any choice behavior. By setting the choiceMode to singleChoice, the list 3649 allows up to one item to be in a chosen state. By setting the choiceMode to 3650 multipleChoice, the list allows any number of items to be chosen. 3651 Finally, by setting the choiceMode to multipleChoiceModal the list allows 3652 any number of items to be chosen in a special selection mode. 3653 The application will supply a 3654 {@link android.widget.AbsListView.MultiChoiceModeListener} using 3655 {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the 3656 selection mode. This uses the {@link android.view.ActionMode} API. --> 3657 <attr name="choiceMode"> 3658 <!-- Normal list that does not indicate choices. --> 3659 <enum name="none" value="0" /> 3660 <!-- The list allows up to one choice. --> 3661 <enum name="singleChoice" value="1" /> 3662 <!-- The list allows multiple choices. --> 3663 <enum name="multipleChoice" value="2" /> 3664 <!-- The list allows multiple choices in a custom selection mode. --> 3665 <enum name="multipleChoiceModal" value="3" /> 3666 </attr> 3667 3668 <!-- When set to true, the list will always show the fast scroll interface. 3669 This setting implies fastScrollEnabled. --> 3670 <attr name="fastScrollAlwaysVisible" format="boolean" /> 3671 </declare-styleable> 3672 <!-- @hide --> 3673 <declare-styleable name="RecycleListView"> 3674 <!-- Bottom padding to use when no buttons are present. --> 3675 <attr name="paddingBottomNoButtons" format="dimension" /> 3676 <!-- Top padding to use when no title is present. --> 3677 <attr name="paddingTopNoTitle" format="dimension" /> 3678 </declare-styleable> 3679 <declare-styleable name="AbsSpinner"> 3680 <!-- Reference to an array resource that will populate the Spinner. For static content, 3681 this is simpler than populating the Spinner programmatically. --> 3682 <attr name="entries" /> 3683 </declare-styleable> 3684 <declare-styleable name="AnalogClock"> 3685 <attr name="dial" format="reference"/> 3686 <attr name="hand_hour" format="reference"/> 3687 <attr name="hand_minute" format="reference"/> 3688 </declare-styleable> 3689 <declare-styleable name="Button"> 3690 </declare-styleable> 3691 <declare-styleable name="Chronometer"> 3692 <!-- Format string: if specified, the Chronometer will display this 3693 string, with the first "%s" replaced by the current timer value 3694 in "MM:SS" or "H:MM:SS" form. 3695 If no format string is specified, the Chronometer will simply display 3696 "MM:SS" or "H:MM:SS". --> 3697 <attr name="format" format="string" localization="suggested" /> 3698 <!-- Specifies whether this Chronometer counts down or counts up from the base. 3699 If not specified this is false and the Chronometer counts up. --> 3700 <attr name="countDown" format="boolean" /> 3701 </declare-styleable> 3702 <declare-styleable name="CompoundButton"> 3703 <!-- Indicates the initial checked state of this button. --> 3704 <attr name="checked" format="boolean" /> 3705 <!-- Drawable used for the button graphic (for example, checkbox and radio button). --> 3706 <attr name="button" format="reference" /> 3707 <!-- Tint to apply to the button graphic. --> 3708 <attr name="buttonTint" format="color" /> 3709 <!-- Blending mode used to apply the button graphic tint. --> 3710 <attr name="buttonTintMode"> 3711 <!-- The tint is drawn on top of the drawable. 3712 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3713 <enum name="src_over" value="3" /> 3714 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3715 color channels are thrown out. [Sa * Da, Sc * Da] --> 3716 <enum name="src_in" value="5" /> 3717 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3718 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3719 <enum name="src_atop" value="9" /> 3720 <!-- Multiplies the color and alpha channels of the drawable with those of 3721 the tint. [Sa * Da, Sc * Dc] --> 3722 <enum name="multiply" value="14" /> 3723 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3724 <enum name="screen" value="15" /> 3725 <!-- Combines the tint and drawable color and alpha channels, clamping the 3726 result to valid color values. Saturate(S + D) --> 3727 <enum name="add" value="16" /> 3728 </attr> 3729 </declare-styleable> 3730 <declare-styleable name="CheckedTextView"> 3731 <!-- Indicates the initial checked state of this text. --> 3732 <attr name="checked" /> 3733 <!-- Drawable used for the check mark graphic. --> 3734 <attr name="checkMark" format="reference"/> 3735 <!-- Tint to apply to the check mark. --> 3736 <attr name="checkMarkTint" format="color" /> 3737 <!-- Blending mode used to apply the check mark tint. --> 3738 <attr name="checkMarkTintMode"> 3739 <!-- The tint is drawn on top of the drawable. 3740 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3741 <enum name="src_over" value="3" /> 3742 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3743 color channels are thrown out. [Sa * Da, Sc * Da] --> 3744 <enum name="src_in" value="5" /> 3745 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3746 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3747 <enum name="src_atop" value="9" /> 3748 <!-- Multiplies the color and alpha channels of the drawable with those of 3749 the tint. [Sa * Da, Sc * Dc] --> 3750 <enum name="multiply" value="14" /> 3751 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3752 <enum name="screen" value="15" /> 3753 <!-- Combines the tint and drawable color and alpha channels, clamping the 3754 result to valid color values. Saturate(S + D) --> 3755 <enum name="add" value="16" /> 3756 </attr> 3757 <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. --> 3758 <attr name="checkMarkGravity"> 3759 <!-- Push object to the left of its container, not changing its size. --> 3760 <flag name="left" value="0x03" /> 3761 <!-- Push object to the right of its container, not changing its size. --> 3762 <flag name="right" value="0x05" /> 3763 <!-- Push object to the beginning of its container, not changing its size. --> 3764 <flag name="start" value="0x00800003" /> 3765 <!-- Push object to the end of its container, not changing its size. --> 3766 <flag name="end" value="0x00800005" /> 3767 </attr> 3768 </declare-styleable> 3769 <declare-styleable name="EditText"> 3770 </declare-styleable> 3771 <declare-styleable name="FastScroll"> 3772 <!-- Drawable used for the scroll bar thumb. --> 3773 <attr name="thumbDrawable" format="reference" /> 3774 <!-- Minimum width of the thumb. --> 3775 <attr name="thumbMinWidth" format="dimension" /> 3776 <!-- Minimum height of the thumb. --> 3777 <attr name="thumbMinHeight" format="dimension" /> 3778 <!-- Drawable used for the scroll bar track. --> 3779 <attr name="trackDrawable" format="reference" /> 3780 <!-- Drawable used for the section header preview when right-aligned. --> 3781 <attr name="backgroundRight" format="reference" /> 3782 <!-- Drawable used for the section header preview when left-aligned. --> 3783 <attr name="backgroundLeft" format="reference" /> 3784 <!-- Position of section header preview. --> 3785 <attr name="position"> 3786 <!-- Floating at the top of the content. --> 3787 <enum name="floating" value="0" /> 3788 <!-- Pinned to the thumb, vertically centered with the middle of the thumb. --> 3789 <enum name="atThumb" value="1" /> 3790 <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. --> 3791 <enum name="aboveThumb" value="2" /> 3792 </attr> 3793 <attr name="textAppearance" /> 3794 <attr name="textColor" /> 3795 <attr name="textSize" /> 3796 <!-- Minimum width of the section header preview. --> 3797 <attr name="minWidth" /> 3798 <!-- Minimum height of the section header preview. --> 3799 <attr name="minHeight" /> 3800 <!-- Padding for the section header preview. --> 3801 <attr name="padding" /> 3802 <!-- Position of thumb in relation to the track. --> 3803 <attr name="thumbPosition"> 3804 <!-- The thumb's midpoint is anchored to the track. At its 3805 extremes, the thumb will extend half-way outside the 3806 track. --> 3807 <enum name="midpoint" value="0" /> 3808 <!-- The thumb is entirely inside the track. At its extremes, 3809 the thumb will be contained entirely within the track. --> 3810 <enum name="inside" value="1" /> 3811 </attr> 3812 </declare-styleable> 3813 <declare-styleable name="FrameLayout"> 3814 <!-- Determines whether to measure all children or just those in 3815 the VISIBLE or INVISIBLE state when measuring. Defaults to false. --> 3816 <attr name="measureAllChildren" format="boolean" /> 3817 </declare-styleable> 3818 <declare-styleable name="ExpandableListView"> 3819 <!-- Indicator shown beside the group View. This can be a stateful Drawable. --> 3820 <attr name="groupIndicator" format="reference" /> 3821 <!-- Indicator shown beside the child View. This can be a stateful Drawable. --> 3822 <attr name="childIndicator" format="reference" /> 3823 <!-- The left bound for an item's indicator. To specify a left bound specific to children, 3824 use childIndicatorLeft. --> 3825 <attr name="indicatorLeft" format="dimension" /> 3826 <!-- The right bound for an item's indicator. To specify a right bound specific to children, 3827 use childIndicatorRight. --> 3828 <attr name="indicatorRight" format="dimension" /> 3829 <!-- The left bound for a child's indicator. --> 3830 <attr name="childIndicatorLeft" format="dimension" /> 3831 <!-- The right bound for a child's indicator. --> 3832 <attr name="childIndicatorRight" format="dimension" /> 3833 <!-- Drawable or color that is used as a divider for children. (It will drawn 3834 below and above child items.) The height of this will be the same as 3835 the height of the normal list item divider. --> 3836 <attr name="childDivider" format="reference|color" /> 3837 <!-- The start bound for an item's indicator. To specify a start bound specific to children, 3838 use childIndicatorStart. --> 3839 <attr name="indicatorStart" format="dimension" /> 3840 <!-- The end bound for an item's indicator. To specify a right bound specific to children, 3841 use childIndicatorEnd. --> 3842 <attr name="indicatorEnd" format="dimension" /> 3843 <!-- The start bound for a child's indicator. --> 3844 <attr name="childIndicatorStart" format="dimension" /> 3845 <!-- The end bound for a child's indicator. --> 3846 <attr name="childIndicatorEnd" format="dimension" /> 3847 </declare-styleable> 3848 <declare-styleable name="Gallery"> 3849 <attr name="gravity" /> 3850 <!-- Sets how long a transition animation should run (in milliseconds) 3851 when layout has changed. Only relevant if animation is turned on. --> 3852 <attr name="animationDuration" format="integer" min="0" /> 3853 <attr name="spacing" format="dimension" /> 3854 <!-- Sets the alpha on the items that are not selected. --> 3855 <attr name="unselectedAlpha" format="float" /> 3856 </declare-styleable> 3857 <declare-styleable name="GridView"> 3858 <!-- Defines the default horizontal spacing between columns. --> 3859 <attr name="horizontalSpacing" format="dimension" /> 3860 <!-- Defines the default vertical spacing between rows. --> 3861 <attr name="verticalSpacing" format="dimension" /> 3862 <!-- Defines how columns should stretch to fill the available empty space, if any. --> 3863 <attr name="stretchMode"> 3864 <!-- Stretching is disabled. --> 3865 <enum name="none" value="0"/> 3866 <!-- The spacing between each column is stretched. --> 3867 <enum name="spacingWidth" value="1" /> 3868 <!-- Each column is stretched equally. --> 3869 <enum name="columnWidth" value="2" /> 3870 <!-- The spacing between each column is uniformly stretched.. --> 3871 <enum name="spacingWidthUniform" value="3" /> 3872 </attr> 3873 <!-- Specifies the fixed width for each column. --> 3874 <attr name="columnWidth" format="dimension" /> 3875 <!-- Defines how many columns to show. --> 3876 <attr name="numColumns" format="integer" min="0"> 3877 <!-- Display as many columns as possible to fill the available space. --> 3878 <enum name="auto_fit" value="-1" /> 3879 </attr> 3880 <!-- Specifies the gravity within each cell. --> 3881 <attr name="gravity" /> 3882 </declare-styleable> 3883 <declare-styleable name="ImageSwitcher"> 3884 </declare-styleable> 3885 <declare-styleable name="ImageView"> 3886 <!-- Sets a drawable as the content of this ImageView. --> 3887 <attr name="src" format="reference|color" /> 3888 <!-- Controls how the image should be resized or moved to match the size 3889 of this ImageView. See {@link android.widget.ImageView.ScaleType} --> 3890 <attr name="scaleType"> 3891 <!-- Scale using the image matrix when drawing. See 3892 {@link android.widget.ImageView#setImageMatrix(Matrix)}. --> 3893 <enum name="matrix" value="0" /> 3894 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. --> 3895 <enum name="fitXY" value="1" /> 3896 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. --> 3897 <enum name="fitStart" value="2" /> 3898 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. --> 3899 <enum name="fitCenter" value="3" /> 3900 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. --> 3901 <enum name="fitEnd" value="4" /> 3902 <!-- Center the image in the view, but perform no scaling. --> 3903 <enum name="center" value="5" /> 3904 <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions 3905 (width and height) of the image will be equal to or larger than the corresponding 3906 dimension of the view (minus padding). The image is then centered in the view. --> 3907 <enum name="centerCrop" value="6" /> 3908 <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both 3909 dimensions (width and height) of the image will be equal to or less than the 3910 corresponding dimension of the view (minus padding). The image is then centered in 3911 the view. --> 3912 <enum name="centerInside" value="7" /> 3913 </attr> 3914 <!-- Set this to true if you want the ImageView to adjust its bounds 3915 to preserve the aspect ratio of its drawable. --> 3916 <attr name="adjustViewBounds" format="boolean" /> 3917 <!-- An optional argument to supply a maximum width for this view. 3918 See {see android.widget.ImageView#setMaxWidth} for details. --> 3919 <attr name="maxWidth" format="dimension" /> 3920 <!-- An optional argument to supply a maximum height for this view. 3921 See {see android.widget.ImageView#setMaxHeight} for details. --> 3922 <attr name="maxHeight" format="dimension" /> 3923 <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode. 3924 Please note that for compatibility reasons, this is NOT consistent with the default 3925 SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by 3926 similar tint attributes on other views. --> 3927 <attr name="tint" format="color" /> 3928 <!-- If true, the image view will be baseline aligned with based on its 3929 bottom edge. --> 3930 <attr name="baselineAlignBottom" format="boolean" /> 3931 <!-- If true, the image will be cropped to fit within its padding. --> 3932 <attr name="cropToPadding" format="boolean" /> 3933 <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline} 3934 for details --> 3935 <attr name="baseline" format="dimension" /> 3936 <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent 3937 to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). --> 3938 <attr name="drawableAlpha" format="integer" /> 3939 <!-- Blending mode used to apply the image tint. --> 3940 <attr name="tintMode" /> 3941 </declare-styleable> 3942 <declare-styleable name="ToggleButton"> 3943 <!-- The text for the button when it is checked. --> 3944 <attr name="textOn" format="string" /> 3945 <!-- The text for the button when it is not checked. --> 3946 <attr name="textOff" format="string" /> 3947 <!-- The alpha to apply to the indicator when disabled. --> 3948 <attr name="disabledAlpha" /> 3949 </declare-styleable> 3950 <declare-styleable name="RelativeLayout"> 3951 <attr name="gravity" /> 3952 <!-- Indicates what view should not be affected by gravity. --> 3953 <attr name="ignoreGravity" format="reference" /> 3954 </declare-styleable> 3955 <declare-styleable name="LinearLayout"> 3956 <!-- Should the layout be a column or a row? Use "horizontal" 3957 for a row, "vertical" for a column. The default is 3958 horizontal. --> 3959 <attr name="orientation" /> 3960 <attr name="gravity" /> 3961 <!-- When set to false, prevents the layout from aligning its children's 3962 baselines. This attribute is particularly useful when the children 3963 use different values for gravity. The default value is true. --> 3964 <attr name="baselineAligned" format="boolean" /> 3965 <!-- When a linear layout is part of another layout that is baseline 3966 aligned, it can specify which of its children to baseline align to 3967 (that is, which child TextView).--> 3968 <attr name="baselineAlignedChildIndex" format="integer" min="0"/> 3969 <!-- Defines the maximum weight sum. If unspecified, the sum is computed 3970 by adding the layout_weight of all of the children. This can be 3971 used for instance to give a single child 50% of the total available 3972 space by giving it a layout_weight of 0.5 and setting the weightSum 3973 to 1.0. --> 3974 <attr name="weightSum" format="float" /> 3975 <!-- When set to true, all children with a weight will be considered having 3976 the minimum size of the largest child. If false, all children are 3977 measured normally. --> 3978 <attr name="measureWithLargestChild" format="boolean" /> 3979 <!-- Drawable to use as a vertical divider between buttons. --> 3980 <attr name="divider" /> 3981 <!-- Setting for which dividers to show. --> 3982 <attr name="showDividers"> 3983 <flag name="none" value="0" /> 3984 <flag name="beginning" value="1" /> 3985 <flag name="middle" value="2" /> 3986 <flag name="end" value="4" /> 3987 </attr> 3988 <!-- Size of padding on either end of a divider. --> 3989 <attr name="dividerPadding" format="dimension" /> 3990 </declare-styleable> 3991 <declare-styleable name="GridLayout"> 3992 <!-- The orientation property is not used during layout. It is only used to 3993 allocate row and column parameters when they are not specified by its children's 3994 layout paramters. GridLayout works like LinearLayout in this case; 3995 putting all the components either in a single row or in a single column - 3996 depending on the value of this flag. In the horizontal case, a columnCount 3997 property may be additionally supplied to force new rows to be created when a 3998 row is full. The rowCount attribute may be used similarly in the vertical case. 3999 The default is horizontal. --> 4000 <attr name="orientation" /> 4001 <!-- The maxmimum number of rows to create when automatically positioning children. --> 4002 <attr name="rowCount" format="integer" /> 4003 <!-- The maxmimum number of columns to create when automatically positioning children. --> 4004 <attr name="columnCount" format="integer" /> 4005 <!-- When set to true, tells GridLayout to use default margins when none are specified 4006 in a view's layout parameters. 4007 The default value is false. 4008 See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.--> 4009 <attr name="useDefaultMargins" format="boolean" /> 4010 <!-- When set to alignMargins, causes alignment to take place between the outer 4011 boundary of a view, as defined by its margins. When set to alignBounds, 4012 causes alignment to take place between the edges of the view. 4013 The default is alignMargins. 4014 See {@link android.widget.GridLayout#setAlignmentMode(int)}.--> 4015 <attr name="alignmentMode" /> 4016 <!-- When set to true, forces row boundaries to appear in the same order 4017 as row indices. 4018 The default is true. 4019 See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.--> 4020 <attr name="rowOrderPreserved" format="boolean" /> 4021 <!-- When set to true, forces column boundaries to appear in the same order 4022 as column indices. 4023 The default is true. 4024 See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.--> 4025 <attr name="columnOrderPreserved" format="boolean" /> 4026 </declare-styleable> 4027 <declare-styleable name="ListView"> 4028 <!-- Reference to an array resource that will populate the ListView. For static content, 4029 this is simpler than populating the ListView programmatically. --> 4030 <attr name="entries" /> 4031 <!-- Drawable or color to draw between list items. --> 4032 <attr name="divider" format="reference|color" /> 4033 <!-- Height of the divider. Will use the intrinsic height of the divider if this 4034 is not specified. --> 4035 <attr name="dividerHeight" format="dimension" /> 4036 <!-- When set to false, the ListView will not draw the divider after each header view. 4037 The default value is true. --> 4038 <attr name="headerDividersEnabled" format="boolean" /> 4039 <!-- When set to false, the ListView will not draw the divider before each footer view. 4040 The default value is true. --> 4041 <attr name="footerDividersEnabled" format="boolean" /> 4042 <!-- Drawable to draw above list content. --> 4043 <attr name="overScrollHeader" format="reference|color" /> 4044 <!-- Drawable to draw below list content. --> 4045 <attr name="overScrollFooter" format="reference|color" /> 4046 </declare-styleable> 4047 <declare-styleable name="PreferenceFrameLayout"> 4048 <!-- Padding to use at the top of the prefs content. --> 4049 <attr name="borderTop" format="dimension" /> 4050 <!-- Padding to use at the bottom of the prefs content. --> 4051 <attr name="borderBottom" format="dimension" /> 4052 <!-- Padding to use at the left of the prefs content. --> 4053 <attr name="borderLeft" format="dimension" /> 4054 <!-- Padding to use at the right of the prefs content. --> 4055 <attr name="borderRight" format="dimension" /> 4056 </declare-styleable> 4057 <declare-styleable name="PreferenceFrameLayout_Layout"> 4058 <!-- Padding to use at the top of the prefs content. --> 4059 <attr name="layout_removeBorders" format="boolean" /> 4060 </declare-styleable> 4061 <declare-styleable name="MenuView"> 4062 <!-- Default appearance of menu item text. --> 4063 <attr name="itemTextAppearance" format="reference" /> 4064 <!-- Default horizontal divider between rows of menu items. --> 4065 <attr name="horizontalDivider" format="reference" /> 4066 <!-- Default vertical divider between menu items. --> 4067 <attr name="verticalDivider" format="reference" /> 4068 <!-- Default background for the menu header. --> 4069 <attr name="headerBackground" format="color|reference" /> 4070 <!-- Default background for each menu item. --> 4071 <attr name="itemBackground" format="color|reference" /> 4072 <!-- Default animations for the menu. --> 4073 <attr name="windowAnimationStyle" /> 4074 <!-- Default disabled icon alpha for each menu item that shows an icon. --> 4075 <attr name="itemIconDisabledAlpha" format="float" /> 4076 <!-- Whether space should be reserved in layout when an icon is missing. --> 4077 <attr name="preserveIconSpacing" format="boolean" /> 4078 <!-- Drawable for the arrow icon indicating a particular item is a submenu. --> 4079 <attr name="subMenuArrow" format="reference" /> 4080 </declare-styleable> 4081 <declare-styleable name="IconMenuView"> 4082 <!-- Defines the height of each row. --> 4083 <attr name="rowHeight" format="dimension" /> 4084 <!-- Defines the maximum number of rows displayed. --> 4085 <attr name="maxRows" format="integer" /> 4086 <!-- Defines the maximum number of items per row. --> 4087 <attr name="maxItemsPerRow" format="integer" /> 4088 <!-- Defines the maximum number of items to show. --> 4089 <attr name="maxItems" format="integer" /> 4090 <!-- 'More' icon. --> 4091 <attr name="moreIcon" format="reference" /> 4092 </declare-styleable> 4093 4094 <declare-styleable name="ProgressBar"> 4095 <!-- Defines the minimum value. --> 4096 <attr name="min" format="integer" /> 4097 <!-- Defines the maximum value. --> 4098 <attr name="max" format="integer" /> 4099 <!-- Defines the default progress value, between 0 and max. --> 4100 <attr name="progress" format="integer" /> 4101 <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between 4102 the primary progress and the background. It can be ideal for media scenarios such as 4103 showing the buffering progress while the default progress shows the play progress. --> 4104 <attr name="secondaryProgress" format="integer" /> 4105 <!-- Allows to enable the indeterminate mode. In this mode the progress 4106 bar plays an infinite looping animation. --> 4107 <attr name="indeterminate" format="boolean" /> 4108 <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). --> 4109 <attr name="indeterminateOnly" format="boolean" /> 4110 <!-- Drawable used for the indeterminate mode. --> 4111 <attr name="indeterminateDrawable" format="reference" /> 4112 <!-- Drawable used for the progress mode. --> 4113 <attr name="progressDrawable" format="reference" /> 4114 <!-- Duration of the indeterminate animation. --> 4115 <attr name="indeterminateDuration" format="integer" min="1" /> 4116 <!-- Defines how the indeterminate mode should behave when the progress 4117 reaches max. --> 4118 <attr name="indeterminateBehavior"> 4119 <!-- Progress starts over from 0. --> 4120 <enum name="repeat" value="1" /> 4121 <!-- Progress keeps the current value and goes back to 0. --> 4122 <enum name="cycle" value="2" /> 4123 </attr> 4124 <attr name="minWidth" format="dimension" /> 4125 <attr name="maxWidth" /> 4126 <attr name="minHeight" format="dimension" /> 4127 <attr name="maxHeight" /> 4128 <attr name="interpolator" format="reference" /> 4129 <!-- Timeout between frames of animation in milliseconds. 4130 {@deprecated Not used by the framework}. --> 4131 <attr name="animationResolution" format="integer" /> 4132 <!-- Defines if the associated drawables need to be mirrored when in RTL mode. 4133 Default is false. --> 4134 <attr name="mirrorForRtl" format="boolean" /> 4135 <!-- Tint to apply to the progress indicator. --> 4136 <attr name="progressTint" format="color" /> 4137 <!-- Blending mode used to apply the progress indicator tint. --> 4138 <attr name="progressTintMode"> 4139 <!-- The tint is drawn on top of the drawable. 4140 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4141 <enum name="src_over" value="3" /> 4142 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4143 color channels are thrown out. [Sa * Da, Sc * Da] --> 4144 <enum name="src_in" value="5" /> 4145 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4146 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4147 <enum name="src_atop" value="9" /> 4148 <!-- Multiplies the color and alpha channels of the drawable with those of 4149 the tint. [Sa * Da, Sc * Dc] --> 4150 <enum name="multiply" value="14" /> 4151 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4152 <enum name="screen" value="15" /> 4153 <!-- Combines the tint and drawable color and alpha channels, clamping the 4154 result to valid color values. Saturate(S + D) --> 4155 <enum name="add" value="16" /> 4156 </attr> 4157 <!-- Tint to apply to the progress indicator background. --> 4158 <attr name="progressBackgroundTint" format="color" /> 4159 <!-- Blending mode used to apply the progress indicator background tint. --> 4160 <attr name="progressBackgroundTintMode"> 4161 <!-- The tint is drawn on top of the drawable. 4162 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4163 <enum name="src_over" value="3" /> 4164 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4165 color channels are thrown out. [Sa * Da, Sc * Da] --> 4166 <enum name="src_in" value="5" /> 4167 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4168 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4169 <enum name="src_atop" value="9" /> 4170 <!-- Multiplies the color and alpha channels of the drawable with those of 4171 the tint. [Sa * Da, Sc * Dc] --> 4172 <enum name="multiply" value="14" /> 4173 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4174 <enum name="screen" value="15" /> 4175 <!-- Combines the tint and drawable color and alpha channels, clamping the 4176 result to valid color values. Saturate(S + D) --> 4177 <enum name="add" value="16" /> 4178 </attr> 4179 <!-- Tint to apply to the secondary progress indicator. --> 4180 <attr name="secondaryProgressTint" format="color" /> 4181 <!-- Blending mode used to apply the secondary progress indicator tint. --> 4182 <attr name="secondaryProgressTintMode"> 4183 <!-- The tint is drawn on top of the drawable. 4184 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4185 <enum name="src_over" value="3" /> 4186 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4187 color channels are thrown out. [Sa * Da, Sc * Da] --> 4188 <enum name="src_in" value="5" /> 4189 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4190 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4191 <enum name="src_atop" value="9" /> 4192 <!-- Multiplies the color and alpha channels of the drawable with those of 4193 the tint. [Sa * Da, Sc * Dc] --> 4194 <enum name="multiply" value="14" /> 4195 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4196 <enum name="screen" value="15" /> 4197 <!-- Combines the tint and drawable color and alpha channels, clamping the 4198 result to valid color values. Saturate(S + D) --> 4199 <enum name="add" value="16" /> 4200 </attr> 4201 <!-- Tint to apply to the indeterminate progress indicator. --> 4202 <attr name="indeterminateTint" format="color" /> 4203 <!-- Blending mode used to apply the indeterminate progress indicator tint. --> 4204 <attr name="indeterminateTintMode"> 4205 <!-- The tint is drawn on top of the drawable. 4206 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4207 <enum name="src_over" value="3" /> 4208 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4209 color channels are thrown out. [Sa * Da, Sc * Da] --> 4210 <enum name="src_in" value="5" /> 4211 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4212 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4213 <enum name="src_atop" value="9" /> 4214 <!-- Multiplies the color and alpha channels of the drawable with those of 4215 the tint. [Sa * Da, Sc * Dc] --> 4216 <enum name="multiply" value="14" /> 4217 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4218 <enum name="screen" value="15" /> 4219 <!-- Combines the tint and drawable color and alpha channels, clamping the 4220 result to valid color values. Saturate(S + D) --> 4221 <enum name="add" value="16" /> 4222 </attr> 4223 <!-- Tint to apply to the background. --> 4224 <attr name="backgroundTint" /> 4225 <!-- Blending mode used to apply the background tint. --> 4226 <attr name="backgroundTintMode" /> 4227 </declare-styleable> 4228 4229 <declare-styleable name="SeekBar"> 4230 <!-- Draws the thumb on a seekbar. --> 4231 <attr name="thumb" format="reference" /> 4232 <!-- An offset for the thumb that allows it to extend out of the range of the track. --> 4233 <attr name="thumbOffset" format="dimension" /> 4234 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 4235 <attr name="splitTrack" format="boolean" /> 4236 <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha 4237 when disabled. This is required for Holo and Gingerbread, but 4238 should always be false for Material and beyond. 4239 @hide Developers shouldn't need to change this. --> 4240 <attr name="useDisabledAlpha" format="boolean" /> 4241 <!-- Tint to apply to the thumb drawable. --> 4242 <attr name="thumbTint" format="color" /> 4243 <!-- Blending mode used to apply the thumb tint. --> 4244 <attr name="thumbTintMode"> 4245 <!-- The tint is drawn on top of the drawable. 4246 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4247 <enum name="src_over" value="3" /> 4248 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4249 color channels are thrown out. [Sa * Da, Sc * Da] --> 4250 <enum name="src_in" value="5" /> 4251 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4252 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4253 <enum name="src_atop" value="9" /> 4254 <!-- Multiplies the color and alpha channels of the drawable with those of 4255 the tint. [Sa * Da, Sc * Dc] --> 4256 <enum name="multiply" value="14" /> 4257 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4258 <enum name="screen" value="15" /> 4259 <!-- Combines the tint and drawable color and alpha channels, clamping the 4260 result to valid color values. Saturate(S + D) --> 4261 <enum name="add" value="16" /> 4262 </attr> 4263 <!-- Drawable displayed at each progress position on a seekbar. --> 4264 <attr name="tickMark" format="reference" /> 4265 <!-- Tint to apply to the tick mark drawable. --> 4266 <attr name="tickMarkTint" format="color" /> 4267 <!-- Blending mode used to apply the tick mark tint. --> 4268 <attr name="tickMarkTintMode"> 4269 <!-- The tint is drawn on top of the drawable. 4270 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4271 <enum name="src_over" value="3" /> 4272 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4273 color channels are thrown out. [Sa * Da, Sc * Da] --> 4274 <enum name="src_in" value="5" /> 4275 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4276 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4277 <enum name="src_atop" value="9" /> 4278 <!-- Multiplies the color and alpha channels of the drawable with those of 4279 the tint. [Sa * Da, Sc * Dc] --> 4280 <enum name="multiply" value="14" /> 4281 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4282 <enum name="screen" value="15" /> 4283 <!-- Combines the tint and drawable color and alpha channels, clamping the 4284 result to valid color values. Saturate(S + D) --> 4285 <enum name="add" value="16" /> 4286 </attr> 4287 </declare-styleable> 4288 4289 <declare-styleable name="StackView"> 4290 <!-- Color of the res-out outline. --> 4291 <attr name="resOutColor" format="color" /> 4292 <!-- Color of the outline of click feedback. --> 4293 <attr name="clickColor" format="color" /> 4294 </declare-styleable> 4295 4296 <declare-styleable name="RatingBar"> 4297 <!-- The number of stars (or rating items) to show. --> 4298 <attr name="numStars" format="integer" /> 4299 <!-- The rating to set by default. --> 4300 <attr name="rating" format="float" /> 4301 <!-- The step size of the rating. --> 4302 <attr name="stepSize" format="float" /> 4303 <!-- Whether this rating bar is an indicator (and non-changeable by the user). --> 4304 <attr name="isIndicator" format="boolean" /> 4305 </declare-styleable> 4306 4307 <declare-styleable name="RadioGroup"> 4308 <!-- The id of the child radio button that should be checked by default 4309 within this radio group. --> 4310 <attr name="checkedButton" format="integer" /> 4311 <!-- Should the radio group be a column or a row? Use "horizontal" 4312 for a row, "vertical" for a column. The default is 4313 vertical. --> 4314 <attr name="orientation" /> 4315 </declare-styleable> 4316 <declare-styleable name="TableLayout"> 4317 <!-- The zero-based index of the columns to stretch. The column indices 4318 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4319 indices are ignored. You can stretch all columns by using the 4320 value "*" instead. Note that a column can be marked stretchable 4321 and shrinkable at the same time. --> 4322 <attr name="stretchColumns" format="string" /> 4323 <!-- The zero-based index of the columns to shrink. The column indices 4324 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4325 indices are ignored. You can shrink all columns by using the 4326 value "*" instead. Note that a column can be marked stretchable 4327 and shrinkable at the same time. --> 4328 <attr name="shrinkColumns" format="string" /> 4329 <!-- The zero-based index of the columns to collapse. The column indices 4330 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4331 indices are ignored. --> 4332 <attr name="collapseColumns" format="string" /> 4333 </declare-styleable> 4334 <declare-styleable name="TableRow"> 4335 4336 </declare-styleable> 4337 <declare-styleable name="TableRow_Cell"> 4338 <!-- The index of the column in which this child should be. --> 4339 <attr name="layout_column" format="integer" /> 4340 <!-- Defines how many columns this child should span. Must be >= 1.--> 4341 <attr name="layout_span" format="integer" /> 4342 </declare-styleable> 4343 <declare-styleable name="TabWidget"> 4344 <!-- Drawable used to draw the divider between tabs. --> 4345 <attr name="divider" /> 4346 <!-- Determines whether the strip under the tab indicators is drawn or not. --> 4347 <attr name="tabStripEnabled" format="boolean" /> 4348 <!-- Drawable used to draw the left part of the strip underneath the tabs. --> 4349 <attr name="tabStripLeft" format="reference" /> 4350 <!-- Drawable used to draw the right part of the strip underneath the tabs. --> 4351 <attr name="tabStripRight" format="reference" /> 4352 <!-- Layout used to organize each tab's content. --> 4353 <attr name="tabLayout" format="reference" /> 4354 </declare-styleable> 4355 <declare-styleable name="TextAppearance"> 4356 <!-- Text color. --> 4357 <attr name="textColor" /> 4358 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4359 <attr name="textSize" /> 4360 <!-- Style (bold, italic, bolditalic) for the text. --> 4361 <attr name="textStyle" /> 4362 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4363 <attr name="typeface" /> 4364 <!-- Font family (named by string) for the text. --> 4365 <attr name="fontFamily" /> 4366 <!-- Color of the text selection highlight. --> 4367 <attr name="textColorHighlight" /> 4368 <!-- Color of the hint text. --> 4369 <attr name="textColorHint" /> 4370 <!-- Color of the links. --> 4371 <attr name="textColorLink" /> 4372 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4373 <attr name="textAllCaps" format="boolean" /> 4374 <!-- Place a blurred shadow of text underneath the text, drawn with the 4375 specified color. The text shadow produced does not interact with 4376 properties on View that are responsible for real time shadows, 4377 {@link android.R.styleable#View_elevation elevation} and 4378 {@link android.R.styleable#View_translationZ translationZ}. --> 4379 <attr name="shadowColor" format="color" /> 4380 <!-- Horizontal offset of the text shadow. --> 4381 <attr name="shadowDx" format="float" /> 4382 <!-- Vertical offset of the text shadow. --> 4383 <attr name="shadowDy" format="float" /> 4384 <!-- Blur radius of the text shadow. --> 4385 <attr name="shadowRadius" format="float" /> 4386 <!-- Elegant text height, especially for less compacted complex script text. --> 4387 <attr name="elegantTextHeight" format="boolean" /> 4388 <!-- Text letter-spacing. --> 4389 <attr name="letterSpacing" format="float" /> 4390 <!-- Font feature settings. --> 4391 <attr name="fontFeatureSettings" format="string" /> 4392 </declare-styleable> 4393 <declare-styleable name="TextClock"> 4394 <!-- Specifies the formatting pattern used to show the time and/or date 4395 in 12-hour mode. Please refer to {@link android.text.format.DateFormat} 4396 for a complete description of accepted formatting patterns. 4397 The default pattern is a locale-appropriate equivalent of "h:mm a". --> 4398 <attr name="format12Hour" format="string"/> 4399 <!-- Specifies the formatting pattern used to show the time and/or date 4400 in 24-hour mode. Please refer to {@link android.text.format.DateFormat} 4401 for a complete description of accepted formatting patterns. 4402 The default pattern is a locale-appropriate equivalent of "H:mm". --> 4403 <attr name="format24Hour" format="string"/> 4404 <!-- Specifies the time zone to use. When this attribute is specified, the 4405 TextClock will ignore the time zone of the system. To use the user's 4406 time zone, do not specify this attribute. The default value is the 4407 user's time zone. Please refer to {@link java.util.TimeZone} for more 4408 information about time zone ids. --> 4409 <attr name="timeZone" format="string"/> 4410 </declare-styleable> 4411 <declare-styleable name="TextSwitcher"> 4412 </declare-styleable> 4413 <declare-styleable name="TextView"> 4414 <!-- Determines the minimum type that getText() will return. 4415 The default is "normal". 4416 Note that EditText and LogTextBox always return Editable, 4417 even if you specify something less powerful here. --> 4418 <attr name="bufferType"> 4419 <!-- Can return any CharSequence, possibly a 4420 Spanned one if the source text was Spanned. --> 4421 <enum name="normal" value="0" /> 4422 <!-- Can only return Spannable. --> 4423 <enum name="spannable" value="1" /> 4424 <!-- Can only return Spannable and Editable. --> 4425 <enum name="editable" value="2" /> 4426 </attr> 4427 <!-- Text to display. --> 4428 <attr name="text" format="string" localization="suggested" /> 4429 <!-- Hint text to display when the text is empty. --> 4430 <attr name="hint" format="string" /> 4431 <!-- Text color. --> 4432 <attr name="textColor" /> 4433 <!-- Color of the text selection highlight. --> 4434 <attr name="textColorHighlight" /> 4435 <!-- Color of the hint text. --> 4436 <attr name="textColorHint" /> 4437 <!-- Base text color, typeface, size, and style. --> 4438 <attr name="textAppearance" /> 4439 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4440 <attr name="textSize" /> 4441 <!-- Sets the horizontal scaling factor for the text. --> 4442 <attr name="textScaleX" format="float" /> 4443 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4444 <attr name="typeface" /> 4445 <!-- Style (bold, italic, bolditalic) for the text. --> 4446 <attr name="textStyle" /> 4447 <!-- Font family (named by string) for the text. --> 4448 <attr name="fontFamily" /> 4449 <!-- Text color for links. --> 4450 <attr name="textColorLink" /> 4451 <!-- Makes the cursor visible (the default) or invisible. --> 4452 <attr name="cursorVisible" format="boolean" /> 4453 <!-- Makes the TextView be at most this many lines tall. 4454 4455 When used on an editable text, the <code>inputType</code> attribute's value must be 4456 combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. --> 4457 <attr name="maxLines" format="integer" min="0" /> 4458 <!-- Makes the TextView be at most this many pixels tall. --> 4459 <attr name="maxHeight" /> 4460 <!-- Makes the TextView be exactly this many lines tall. --> 4461 <attr name="lines" format="integer" min="0" /> 4462 <!-- Makes the TextView be exactly this many pixels tall. 4463 You could get the same effect by specifying this number in the 4464 layout parameters. --> 4465 <attr name="height" format="dimension" /> 4466 <!-- Makes the TextView be at least this many lines tall. 4467 4468 When used on an editable text, the <code>inputType</code> attribute's value must be 4469 combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. --> 4470 <attr name="minLines" format="integer" min="0" /> 4471 <!-- Makes the TextView be at least this many pixels tall. --> 4472 <attr name="minHeight" /> 4473 <!-- Makes the TextView be at most this many ems wide. --> 4474 <attr name="maxEms" format="integer" min="0" /> 4475 <!-- Makes the TextView be at most this many pixels wide. --> 4476 <attr name="maxWidth" /> 4477 <!-- Makes the TextView be exactly this many ems wide. --> 4478 <attr name="ems" format="integer" min="0" /> 4479 <!-- Makes the TextView be exactly this many pixels wide. 4480 You could get the same effect by specifying this number in the 4481 layout parameters. --> 4482 <attr name="width" format="dimension" /> 4483 <!-- Makes the TextView be at least this many ems wide. --> 4484 <attr name="minEms" format="integer" min="0" /> 4485 <!-- Makes the TextView be at least this many pixels wide. --> 4486 <attr name="minWidth" /> 4487 <!-- Specifies how to align the text by the view's x- and/or y-axis 4488 when the text is smaller than the view. --> 4489 <attr name="gravity" /> 4490 <!-- Whether the text is allowed to be wider than the view (and 4491 therefore can be scrolled horizontally). --> 4492 <attr name="scrollHorizontally" format="boolean" /> 4493 <!-- Whether the characters of the field are displayed as 4494 password dots instead of themselves. 4495 {@deprecated Use inputType instead.} --> 4496 <attr name="password" format="boolean" /> 4497 <!-- Constrains the text to a single horizontally scrolling line 4498 instead of letting it wrap onto multiple lines, and advances 4499 focus instead of inserting a newline when you press the 4500 enter key. 4501 4502 The default value is false (multi-line wrapped text mode) for non-editable text, but if 4503 you specify any value for inputType, the default is true (single-line input field mode). 4504 4505 {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change 4506 the layout of a static text, and use the <code>textMultiLine</code> flag in the 4507 inputType attribute instead for editable text views (if both singleLine and inputType 4508 are supplied, the inputType flags will override the value of singleLine). } --> 4509 <attr name="singleLine" format="boolean" /> 4510 <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. 4511 For example, a non-enabled EditText prevents the user from editing the contained text, and 4512 a non-enabled Button prevents the user from tapping the button. 4513 The appearance of enabled and non-enabled widgets may differ, if the drawables referenced 4514 from evaluating state_enabled differ. --> 4515 <attr name="enabled" format="boolean" /> 4516 <!-- If the text is selectable, select it all when the view takes 4517 focus. --> 4518 <attr name="selectAllOnFocus" format="boolean" /> 4519 <!-- Leave enough room for ascenders and descenders instead of 4520 using the font ascent and descent strictly. (Normally true). --> 4521 <attr name="includeFontPadding" format="boolean" /> 4522 <!-- Set an input filter to constrain the text length to the 4523 specified number. --> 4524 <attr name="maxLength" format="integer" min="0" /> 4525 <!-- Place a blurred shadow of text underneath the text, drawn with the 4526 specified color. The text shadow produced does not interact with 4527 properties on View that are responsible for real time shadows, 4528 {@link android.R.styleable#View_elevation elevation} and 4529 {@link android.R.styleable#View_translationZ translationZ}. --> 4530 <attr name="shadowColor" /> 4531 <!-- Horizontal offset of the text shadow. --> 4532 <attr name="shadowDx" /> 4533 <!-- Vertical offset of the text shadow. --> 4534 <attr name="shadowDy" /> 4535 <!-- Blur radius of the text shadow. --> 4536 <attr name="shadowRadius" /> 4537 <attr name="autoLink" /> 4538 <!-- If set to false, keeps the movement method from being set 4539 to the link movement method even if autoLink causes links 4540 to be found. --> 4541 <attr name="linksClickable" format="boolean" /> 4542 <!-- If set, specifies that this TextView has a numeric input method. 4543 The default is false. 4544 {@deprecated Use inputType instead.} --> 4545 <attr name="numeric"> 4546 <!-- Input is numeric. --> 4547 <flag name="integer" value="0x01" /> 4548 <!-- Input is numeric, with sign allowed. --> 4549 <flag name="signed" value="0x03" /> 4550 <!-- Input is numeric, with decimals allowed. --> 4551 <flag name="decimal" value="0x05" /> 4552 </attr> 4553 <!-- If set, specifies that this TextView has a numeric input method 4554 and that these specific characters are the ones that it will 4555 accept. 4556 If this is set, numeric is implied to be true. 4557 The default is false. --> 4558 <attr name="digits" format="string" /> 4559 <!-- If set, specifies that this TextView has a phone number input 4560 method. The default is false. 4561 {@deprecated Use inputType instead.} --> 4562 <attr name="phoneNumber" format="boolean" /> 4563 <!-- If set, specifies that this TextView should use the specified 4564 input method (specified by fully-qualified class name). 4565 {@deprecated Use inputType instead.} --> 4566 <attr name="inputMethod" format="string" /> 4567 <!-- If set, specifies that this TextView has a textual input method 4568 and should automatically capitalize what the user types. 4569 The default is "none". 4570 {@deprecated Use inputType instead.} --> 4571 <attr name="capitalize"> 4572 <!-- Don't automatically capitalize anything. --> 4573 <enum name="none" value="0" /> 4574 <!-- Capitalize the first word of each sentence. --> 4575 <enum name="sentences" value="1" /> 4576 <!-- Capitalize the first letter of every word. --> 4577 <enum name="words" value="2" /> 4578 <!-- Capitalize every character. --> 4579 <enum name="characters" value="3" /> 4580 </attr> 4581 <!-- If set, specifies that this TextView has a textual input method 4582 and automatically corrects some common spelling errors. 4583 The default is "false". 4584 {@deprecated Use inputType instead.} --> 4585 <attr name="autoText" format="boolean" /> 4586 <!-- If set, specifies that this TextView has an input method. 4587 It will be a textual one unless it has otherwise been specified. 4588 For TextView, this is false by default. For EditText, it is 4589 true by default. 4590 {@deprecated Use inputType instead.} --> 4591 <attr name="editable" format="boolean" /> 4592 <!-- If set, the text view will include its current complete text 4593 inside of its frozen icicle in addition to meta-data such as 4594 the current cursor position. By default this is disabled; 4595 it can be useful when the contents of a text view is not stored 4596 in a persistent place such as a content provider. For 4597 {@link android.widget.EditText} it is always enabled, regardless 4598 of the value of the attribute. --> 4599 <attr name="freezesText" format="boolean" /> 4600 <!-- If set, causes words that are longer than the view is wide 4601 to be ellipsized instead of broken in the middle. 4602 You will often also want to set scrollHorizontally or singleLine 4603 as well so that the text as a whole is also constrained to 4604 a single line instead of still allowed to be broken onto 4605 multiple lines. --> 4606 <attr name="ellipsize" /> 4607 <!-- The drawable to be drawn above the text. --> 4608 <attr name="drawableTop" format="reference|color" /> 4609 <!-- The drawable to be drawn below the text. --> 4610 <attr name="drawableBottom" format="reference|color" /> 4611 <!-- The drawable to be drawn to the left of the text. --> 4612 <attr name="drawableLeft" format="reference|color" /> 4613 <!-- The drawable to be drawn to the right of the text. --> 4614 <attr name="drawableRight" format="reference|color" /> 4615 <!-- The drawable to be drawn to the start of the text. --> 4616 <attr name="drawableStart" format="reference|color" /> 4617 <!-- The drawable to be drawn to the end of the text. --> 4618 <attr name="drawableEnd" format="reference|color" /> 4619 <!-- The padding between the drawables and the text. --> 4620 <attr name="drawablePadding" format="dimension" /> 4621 <!-- Tint to apply to the compound (left, top, etc.) drawables. --> 4622 <attr name="drawableTint" format="color" /> 4623 <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. --> 4624 <attr name="drawableTintMode"> 4625 <!-- The tint is drawn on top of the drawable. 4626 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4627 <enum name="src_over" value="3" /> 4628 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4629 color channels are thrown out. [Sa * Da, Sc * Da] --> 4630 <enum name="src_in" value="5" /> 4631 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4632 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4633 <enum name="src_atop" value="9" /> 4634 <!-- Multiplies the color and alpha channels of the drawable with those of 4635 the tint. [Sa * Da, Sc * Dc] --> 4636 <enum name="multiply" value="14" /> 4637 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4638 <enum name="screen" value="15" /> 4639 <!-- Combines the tint and drawable color and alpha channels, clamping the 4640 result to valid color values. Saturate(S + D) --> 4641 <enum name="add" value="16" /> 4642 </attr> 4643 <!-- Extra spacing between lines of text. --> 4644 <attr name="lineSpacingExtra" format="dimension" /> 4645 <!-- Extra spacing between lines of text, as a multiplier. --> 4646 <attr name="lineSpacingMultiplier" format="float" /> 4647 <!-- The number of times to repeat the marquee animation. Only applied if the 4648 TextView has marquee enabled. --> 4649 <attr name="marqueeRepeatLimit" format="integer"> 4650 <!-- Indicates that marquee should repeat indefinitely. --> 4651 <enum name="marquee_forever" value="-1" /> 4652 </attr> 4653 <attr name="inputType" /> 4654 <!-- Whether undo should be allowed for editable text. Defaults to true. --> 4655 <attr name="allowUndo" format="boolean" /> 4656 <attr name="imeOptions" /> 4657 <!-- An addition content type description to supply to the input 4658 method attached to the text view, which is private to the 4659 implementation of the input method. This simply fills in 4660 the {@link android.view.inputmethod.EditorInfo#privateImeOptions 4661 EditorInfo.privateImeOptions} field when the input 4662 method is connected. --> 4663 <attr name="privateImeOptions" format="string" /> 4664 <!-- Supply a value for 4665 {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel} 4666 used when an input method is connected to the text view. --> 4667 <attr name="imeActionLabel" format="string" /> 4668 <!-- Supply a value for 4669 {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId} 4670 used when an input method is connected to the text view. --> 4671 <attr name="imeActionId" format="integer" /> 4672 <!-- Reference to an 4673 {@link android.R.styleable#InputExtras <input-extras>} 4674 XML resource containing additional data to 4675 supply to an input method, which is private to the implementation 4676 of the input method. This simply fills in 4677 the {@link android.view.inputmethod.EditorInfo#extras 4678 EditorInfo.extras} field when the input 4679 method is connected. --> 4680 <attr name="editorExtras" format="reference" /> 4681 4682 <!-- Reference to a drawable that will be used to display a text selection 4683 anchor on the left side of a selection region. --> 4684 <attr name="textSelectHandleLeft" /> 4685 <!-- Reference to a drawable that will be used to display a text selection 4686 anchor on the right side of a selection region. --> 4687 <attr name="textSelectHandleRight" /> 4688 <!-- Reference to a drawable that will be used to display a text selection 4689 anchor for positioning the cursor within text. --> 4690 <attr name="textSelectHandle" /> 4691 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 4692 TextEdit field. --> 4693 <attr name="textEditPasteWindowLayout" /> 4694 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 4695 <attr name="textEditNoPasteWindowLayout" /> 4696 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 4697 insertion cursor because it would be clipped if it were positioned on top. --> 4698 <attr name="textEditSidePasteWindowLayout" /> 4699 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 4700 <attr name="textEditSideNoPasteWindowLayout" /> 4701 4702 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 4703 <attr name="textEditSuggestionItemLayout" /> 4704 <!-- Layout of the container of the suggestion popup window. --> 4705 <attr name="textEditSuggestionContainerLayout" /> 4706 <!-- Style of the highlighted string in the suggestion popup window. --> 4707 <attr name="textEditSuggestionHighlightStyle" /> 4708 4709 4710 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 4711 <attr name="textCursorDrawable" /> 4712 4713 <!-- Indicates that the content of a non-editable text can be selected. --> 4714 <attr name="textIsSelectable" /> 4715 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4716 <attr name="textAllCaps" /> 4717 <!-- Elegant text height, especially for less compacted complex script text. --> 4718 <attr name="elegantTextHeight" /> 4719 <!-- Text letter-spacing. --> 4720 <attr name="letterSpacing" /> 4721 <!-- Font feature settings. --> 4722 <attr name="fontFeatureSettings" /> 4723 <!-- Break strategy (control over paragraph layout). --> 4724 <attr name="breakStrategy"> 4725 <!-- Line breaking uses simple strategy. --> 4726 <enum name="simple" value="0" /> 4727 <!-- Line breaking uses high-quality strategy, including hyphenation. --> 4728 <enum name="high_quality" value="1" /> 4729 <!-- Line breaking strategy balances line lengths. --> 4730 <enum name="balanced" value="2" /> 4731 </attr> 4732 <!-- Frequency of automatic hyphenation. --> 4733 <attr name="hyphenationFrequency"> 4734 <!-- No hyphenation. --> 4735 <enum name="none" value="0" /> 4736 <!-- Less frequent hyphenation, useful for informal use cases, such 4737 as chat messages. --> 4738 <enum name="normal" value="1" /> 4739 <!-- Standard amount of hyphenation, useful for running text and for 4740 screens with limited space for text. --> 4741 <enum name="full" value="2" /> 4742 </attr> 4743 <!-- Specify the type of auto-size. Note that this feature is not supported by EditText, 4744 works only for TextView. --> 4745 <attr name="autoSizeTextType" format="enum"> 4746 <!-- No auto-sizing (default). --> 4747 <enum name="none" value="0" /> 4748 <!-- Uniform horizontal and vertical text size scaling to fit within the 4749 container. --> 4750 <enum name="uniform" value="1" /> 4751 </attr> 4752 <!-- Specify the auto-size step size if <code>autoSizeTextType</code> is set to 4753 <code>uniform</code>. The default is 1px. Overwrites 4754 <code>autoSizePresetSizes</code> if set. --> 4755 <attr name="autoSizeStepGranularity" format="dimension" /> 4756 <!-- Resource array of dimensions to be used in conjunction with 4757 <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides 4758 <code>autoSizeStepGranularity</code> if set. --> 4759 <attr name="autoSizePresetSizes"/> 4760 <!-- The minimum text size constraint to be used when auto-sizing text. --> 4761 <attr name="autoSizeMinTextSize" format="dimension" /> 4762 <!-- The maximum text size constraint to be used when auto-sizing text. --> 4763 <attr name="autoSizeMaxTextSize" format="dimension" /> 4764 </declare-styleable> 4765 <declare-styleable name="TextViewAppearance"> 4766 <!-- Base text color, typeface, size, and style. --> 4767 <attr name="textAppearance" /> 4768 </declare-styleable> 4769 <declare-styleable name="SelectionModeDrawables"> 4770 <attr name="actionModeSelectAllDrawable" /> 4771 <attr name="actionModeCutDrawable" /> 4772 <attr name="actionModeCopyDrawable" /> 4773 <attr name="actionModePasteDrawable" /> 4774 </declare-styleable> 4775 <declare-styleable name="SuggestionSpan"> 4776 <attr name="textUnderlineColor" /> 4777 <attr name="textUnderlineThickness" /> 4778 </declare-styleable> 4779 <!-- An <code>input-extras</code> is a container for extra data to supply to 4780 an input method. Contains 4781 one more more {@link #Extra <extra>} tags. --> 4782 <declare-styleable name="InputExtras"> 4783 </declare-styleable> 4784 <declare-styleable name="AutoCompleteTextView"> 4785 <!-- Defines the hint displayed in the drop down menu. --> 4786 <attr name="completionHint" format="string" /> 4787 <!-- Defines the hint view displayed in the drop down menu. --> 4788 <attr name="completionHintView" format="reference" /> 4789 <!-- Defines the number of characters that the user must type before 4790 completion suggestions are displayed in a drop down menu. --> 4791 <attr name="completionThreshold" format="integer" min="1" /> 4792 <!-- Selector in a drop down list. --> 4793 <attr name="dropDownSelector" format="reference|color" /> 4794 <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself 4795 is used. --> 4796 <attr name="dropDownAnchor" format="reference" /> 4797 <!-- Specifies the basic width of the dropdown. Its value may 4798 be a dimension (such as "12dip") for a constant width, 4799 fill_parent or match_parent to match the width of the 4800 screen, or wrap_content to match the width of 4801 the anchored view. --> 4802 <attr name="dropDownWidth" format="dimension"> 4803 <!-- The dropdown should fill the width of the screen. 4804 This constant is deprecated starting from API Level 8 and 4805 is replaced by {@code match_parent}. --> 4806 <enum name="fill_parent" value="-1" /> 4807 <!-- The dropdown should fit the width of the screen. 4808 Introduced in API Level 8. --> 4809 <enum name="match_parent" value="-1" /> 4810 <!-- The dropdown should fit the width of its anchor. --> 4811 <enum name="wrap_content" value="-2" /> 4812 </attr> 4813 <!-- Specifies the basic height of the dropdown. Its value may 4814 be a dimension (such as "12dip") for a constant height, 4815 fill_parent or match_parent to fill the height of the 4816 screen, or wrap_content to match the height of 4817 the content of the drop down. --> 4818 <attr name="dropDownHeight" format="dimension"> 4819 <!-- The dropdown should fit the height of the screen. 4820 This constant is deprecated starting from API Level 8 and 4821 is replaced by {@code match_parent}. --> 4822 <enum name="fill_parent" value="-1" /> 4823 <!-- The dropdown should fit the height of the screen. 4824 Introduced in API Level 8. --> 4825 <enum name="match_parent" value="-1" /> 4826 <!-- The dropdown should fit the height of the content. --> 4827 <enum name="wrap_content" value="-2" /> 4828 </attr> 4829 <attr name="inputType" /> 4830 <!-- Theme to use for the completion popup window. --> 4831 <attr name="popupTheme" /> 4832 </declare-styleable> 4833 <declare-styleable name="PopupWindow"> 4834 <!-- The background to use for the popup window. --> 4835 <attr name="popupBackground" format="reference|color" /> 4836 <!-- Window elevation to use for the popup window. --> 4837 <attr name="popupElevation" format="dimension" /> 4838 <!-- The animation style to use for the popup window. --> 4839 <attr name="popupAnimationStyle" format="reference" /> 4840 <!-- Whether the popup window should overlap its anchor view. --> 4841 <attr name="overlapAnchor" format="boolean" /> 4842 <!-- Transition used to move views into the popup window. --> 4843 <attr name="popupEnterTransition" format="reference" /> 4844 <!-- Transition used to move views out of the popup window. --> 4845 <attr name="popupExitTransition" format="reference" /> 4846 </declare-styleable> 4847 <declare-styleable name="ListPopupWindow"> 4848 <!-- Amount of pixels by which the drop down should be offset vertically. --> 4849 <attr name="dropDownVerticalOffset" format="dimension" /> 4850 <!-- Amount of pixels by which the drop down should be offset horizontally. --> 4851 <attr name="dropDownHorizontalOffset" format="dimension" /> 4852 </declare-styleable> 4853 <declare-styleable name="ViewAnimator"> 4854 <!-- Identifier for the animation to use when a view is shown. --> 4855 <attr name="inAnimation" format="reference" /> 4856 <!-- Identifier for the animation to use when a view is hidden. --> 4857 <attr name="outAnimation" format="reference" /> 4858 <!-- Defines whether to animate the current View when the ViewAnimation 4859 is first displayed. --> 4860 <attr name="animateFirstView" format="boolean" /> 4861 </declare-styleable> 4862 <declare-styleable name="ViewFlipper"> 4863 <attr name="flipInterval" format="integer" min="0" /> 4864 <!-- When true, automatically start animating. --> 4865 <attr name="autoStart" format="boolean" /> 4866 </declare-styleable> 4867 <declare-styleable name="AdapterViewAnimator"> 4868 <!-- Identifier for the animation to use when a view is shown. --> 4869 <attr name="inAnimation" /> 4870 <!-- Identifier for the animation to use when a view is hidden. --> 4871 <attr name="outAnimation" /> 4872 <!--Defines whether the animator loops to the first view once it 4873 has reached the end of the list. --> 4874 <attr name="loopViews" format="boolean" /> 4875 <!-- Defines whether to animate the current View when the ViewAnimation 4876 is first displayed. --> 4877 <attr name="animateFirstView" /> 4878 </declare-styleable> 4879 <declare-styleable name="AdapterViewFlipper"> 4880 <attr name="flipInterval" /> 4881 <!-- When true, automatically start animating. --> 4882 <attr name="autoStart" /> 4883 </declare-styleable> 4884 <declare-styleable name="ViewSwitcher"> 4885 </declare-styleable> 4886 <declare-styleable name="ScrollView"> 4887 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4888 <attr name="fillViewport" format="boolean" /> 4889 </declare-styleable> 4890 <declare-styleable name="HorizontalScrollView"> 4891 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4892 <attr name="fillViewport" /> 4893 </declare-styleable> 4894 <declare-styleable name="Spinner"> 4895 <!-- The prompt to display when the spinner's dialog is shown. --> 4896 <attr name="prompt" format="reference" /> 4897 <!-- Display mode for spinner options. --> 4898 <attr name="spinnerMode" format="enum"> 4899 <!-- Spinner options will be presented to the user as a dialog window. --> 4900 <enum name="dialog" value="0" /> 4901 <!-- Spinner options will be presented to the user as an inline dropdown 4902 anchored to the spinner widget itself. --> 4903 <enum name="dropdown" value="1" /> 4904 </attr> 4905 <!-- List selector to use for spinnerMode="dropdown" display. --> 4906 <attr name="dropDownSelector" /> 4907 <!-- Theme to use for the drop-down or dialog popup window. --> 4908 <attr name="popupTheme" /> 4909 <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". --> 4910 <attr name="popupBackground" /> 4911 <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". --> 4912 <attr name="popupElevation" /> 4913 <!-- Width of the dropdown in spinnerMode="dropdown". --> 4914 <attr name="dropDownWidth" /> 4915 <!-- Reference to a layout to use for displaying a prompt in the dropdown for 4916 spinnerMode="dropdown". This layout must contain a TextView with the id 4917 {@code @android:id/text1} to be populated with the prompt text. --> 4918 <attr name="popupPromptView" format="reference" /> 4919 <!-- Gravity setting for positioning the currently selected item. --> 4920 <attr name="gravity" /> 4921 <!-- Whether this spinner should mark child views as enabled/disabled when 4922 the spinner itself is enabled/disabled. --> 4923 <attr name="disableChildrenWhenDisabled" format="boolean" /> 4924 </declare-styleable> 4925 4926 <declare-styleable name="DatePicker"> 4927 <!-- The first day of week according to {@link java.util.Calendar}. --> 4928 <attr name="firstDayOfWeek" /> 4929 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4930 <attr name="minDate" format="string" /> 4931 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 4932 <attr name="maxDate" format="string" /> 4933 4934 <!-- Whether the spinners are shown. Only valid for "spinner" mode. --> 4935 <attr name="spinnersShown" format="boolean" /> 4936 <!-- Whether the calendar view is shown. Only valid for "spinner" mode. --> 4937 <attr name="calendarViewShown" format="boolean" /> 4938 4939 <!-- @hide The layout of the date picker. --> 4940 <attr name="internalLayout" format="reference" /> 4941 <!-- @hide The layout of the legacy DatePicker. --> 4942 <attr name="legacyLayout" /> 4943 4944 <!-- The text color for the selected date header text, ex. "2014" or 4945 "Tue, Mar 18". This should be a color state list where the 4946 activated state will be used when the year picker or day picker is 4947 active.--> 4948 <attr name="headerTextColor" format="color" /> 4949 <!-- The background for the selected date header. --> 4950 <attr name="headerBackground" /> 4951 4952 <!-- The list year's text appearance in the list. 4953 {@deprecated Use yearListTextColor. }--> 4954 <attr name="yearListItemTextAppearance" format="reference" /> 4955 <!-- @hide The list year's text appearance in the list when activated. --> 4956 <attr name="yearListItemActivatedTextAppearance" format="reference" /> 4957 <!-- The text color list of the calendar. --> 4958 <attr name="calendarTextColor" format="color" /> 4959 4960 <!-- Defines the look of the widget. Prior to the L release, the only choice was 4961 spinner. As of L, with the Material theme selected, the default layout is calendar, 4962 but this attribute can be used to force spinner to be used instead. --> 4963 <attr name="datePickerMode"> 4964 <!-- Date picker with spinner controls to select the date. --> 4965 <enum name="spinner" value="1" /> 4966 <!-- Date picker with calendar to select the date. --> 4967 <enum name="calendar" value="2" /> 4968 </attr> 4969 4970 <!-- The first year (inclusive), for example "1940". 4971 {@deprecated Use minDate instead.} --> 4972 <attr name="startYear" format="integer" /> 4973 <!-- The last year (inclusive), for example "2010". 4974 {@deprecated Use maxDate instead.} --> 4975 <attr name="endYear" format="integer" /> 4976 <!-- The text appearance for the month (ex. May) in the selected date header. 4977 {@deprecated Use headerTextColor instead.} --> 4978 <attr name="headerMonthTextAppearance" format="reference" /> 4979 <!-- The text appearance for the day of month (ex. 28) in the selected date header. 4980 {@deprecated Use headerTextColor instead.} --> 4981 <attr name="headerDayOfMonthTextAppearance" format="reference" /> 4982 <!-- The text appearance for the year (ex. 2014) in the selected date header. 4983 {@deprecated Use headerTextColor instead.} --> 4984 <attr name="headerYearTextAppearance" format="reference" /> 4985 <!-- The background color for the header's day of week. 4986 {@deprecated No longer displayed.} --> 4987 <attr name="dayOfWeekBackground" format="color" /> 4988 <!-- The text color for the header's day of week. 4989 {@deprecated No longer displayed.} --> 4990 <attr name="dayOfWeekTextAppearance" format="reference" /> 4991 <!-- The list year's selected circle color in the list. 4992 {@deprecated No longer displayed.} --> 4993 <attr name="yearListSelectorColor" format="color" /> 4994 4995 <!-- @hide Whether this time picker is being displayed within a dialog, 4996 in which case it may ignore the requested time picker mode due to 4997 space considerations. --> 4998 <attr name="dialogMode" format="boolean" /> 4999 </declare-styleable> 5000 5001 <declare-styleable name="TwoLineListItem"> 5002 <attr name="mode"> 5003 <!-- Always show only the first line. --> 5004 <enum name="oneLine" value="1" /> 5005 <!-- When selected show both lines, otherwise show only the first line. 5006 This is the default mode. --> 5007 <enum name="collapsing" value="2" /> 5008 <!-- Always show both lines. --> 5009 <enum name="twoLine" value="3" /> 5010 </attr> 5011 </declare-styleable> 5012 5013 <!-- SlidingDrawer specific attributes. These attributes are used to configure 5014 a SlidingDrawer from XML. --> 5015 <declare-styleable name="SlidingDrawer"> 5016 <!-- Identifier for the child that represents the drawer's handle. --> 5017 <attr name="handle" format="reference" /> 5018 <!-- Identifier for the child that represents the drawer's content. --> 5019 <attr name="content" format="reference" /> 5020 <!-- Orientation of the SlidingDrawer. --> 5021 <attr name="orientation" /> 5022 <!-- Extra offset for the handle at the bottom of the SlidingDrawer. --> 5023 <attr name="bottomOffset" format="dimension" /> 5024 <!-- Extra offset for the handle at the top of the SlidingDrawer. --> 5025 <attr name="topOffset" format="dimension" /> 5026 <!-- Indicates whether the drawer can be opened/closed by a single tap 5027 on the handle. (If false, the user must drag or fling, or click 5028 using the trackball, to open/close the drawer.) Default is true. --> 5029 <attr name="allowSingleTap" format="boolean" /> 5030 <!-- Indicates whether the drawer should be opened/closed with an animation 5031 when the user clicks the handle. Default is true. --> 5032 <attr name="animateOnClick" format="boolean" /> 5033 </declare-styleable> 5034 5035 <!-- GestureOverlayView specific attributes. These attributes are used to configure 5036 a GestureOverlayView from XML. --> 5037 <declare-styleable name="GestureOverlayView"> 5038 <!-- Width of the stroke used to draw the gesture. --> 5039 <attr name="gestureStrokeWidth" format="float" /> 5040 <!-- Color used to draw a gesture. --> 5041 <attr name="gestureColor" format="color" /> 5042 <!-- Color used to draw the user's strokes until we are sure it's a gesture. --> 5043 <attr name="uncertainGestureColor" format="color" /> 5044 <!-- Time, in milliseconds, to wait before the gesture fades out after the user 5045 is done drawing it. --> 5046 <attr name="fadeOffset" format="integer" /> 5047 <!-- Duration, in milliseconds, of the fade out effect after the user is done 5048 drawing a gesture. --> 5049 <attr name="fadeDuration" format="integer" /> 5050 <!-- Defines the type of strokes that define a gesture. --> 5051 <attr name="gestureStrokeType"> 5052 <!-- A gesture is made of only one stroke. --> 5053 <enum name="single" value="0" /> 5054 <!-- A gesture is made of multiple strokes. --> 5055 <enum name="multiple" value="1" /> 5056 </attr> 5057 <!-- Minimum length of a stroke before it is recognized as a gesture. --> 5058 <attr name="gestureStrokeLengthThreshold" format="float" /> 5059 <!-- Squareness threshold of a stroke before it is recognized as a gesture. --> 5060 <attr name="gestureStrokeSquarenessThreshold" format="float" /> 5061 <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. --> 5062 <attr name="gestureStrokeAngleThreshold" format="float" /> 5063 <!-- Defines whether the overlay should intercept the motion events when a gesture 5064 is recognized. --> 5065 <attr name="eventsInterceptionEnabled" format="boolean" /> 5066 <!-- Defines whether the gesture will automatically fade out after being recognized. --> 5067 <attr name="fadeEnabled" format="boolean" /> 5068 <!-- Indicates whether horizontal (when the orientation is vertical) or vertical 5069 (when orientation is horizontal) strokes automatically define a gesture. --> 5070 <attr name="orientation" /> 5071 </declare-styleable> 5072 5073 <declare-styleable name="QuickContactBadge"> 5074 <attr name="quickContactWindowSize"> 5075 <enum name="modeSmall" value="1" /> 5076 <enum name="modeMedium" value="2" /> 5077 <enum name="modeLarge" value="3" /> 5078 </attr> 5079 </declare-styleable> 5080 5081 <!-- ======================================= --> 5082 <!-- Widget package parent layout attributes --> 5083 <!-- ======================================= --> 5084 <eat-comment /> 5085 5086 <declare-styleable name="AbsoluteLayout_Layout"> 5087 <attr name="layout_x" format="dimension" /> 5088 <attr name="layout_y" format="dimension" /> 5089 </declare-styleable> 5090 <declare-styleable name="LinearLayout_Layout"> 5091 <attr name="layout_width" /> 5092 <attr name="layout_height" /> 5093 <!-- Indicates how much of the extra space in the LinearLayout is 5094 allocated to the view associated with these LayoutParams. Specify 5095 0 if the view should not be stretched. Otherwise the extra pixels 5096 will be pro-rated among all views whose weight is greater than 0. --> 5097 <attr name="layout_weight" format="float" /> 5098 <!-- Gravity specifies how a component should be placed in its group of cells. 5099 The default is {@link android.view.Gravity#TOP}. 5100 See {@link android.widget.LinearLayout#setGravity(int)}. --> 5101 <attr name="layout_gravity" /> 5102 </declare-styleable> 5103 <declare-styleable name="GridLayout_Layout"> 5104 <!-- The row boundary delimiting the top of the group of cells 5105 occupied by this view. --> 5106 <attr name="layout_row" format="integer" /> 5107 <!-- The row span: the difference between the top and bottom 5108 boundaries delimiting the group of cells occupied by this view. 5109 The default is one. 5110 See {@link android.widget.GridLayout.Spec}. --> 5111 <attr name="layout_rowSpan" format="integer" min="1" /> 5112 <!-- The relative proportion of vertical space that should be allocated to this view 5113 during excess space distribution. --> 5114 <attr name="layout_rowWeight" format="float" /> 5115 <!-- The column boundary delimiting the left of the group of cells 5116 occupied by this view. --> 5117 <attr name="layout_column" /> 5118 <!-- The column span: the difference between the right and left 5119 boundaries delimiting the group of cells occupied by this view. 5120 The default is one. 5121 See {@link android.widget.GridLayout.Spec}. --> 5122 <attr name="layout_columnSpan" format="integer" min="1" /> 5123 <!-- The relative proportion of horizontal space that should be allocated to this view 5124 during excess space distribution. --> 5125 <attr name="layout_columnWeight" format="float" /> 5126 <!-- Gravity specifies how a component should be placed in its group of cells. 5127 The default is LEFT | BASELINE. 5128 See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. --> 5129 <attr name="layout_gravity" /> 5130 </declare-styleable> 5131 <declare-styleable name="FrameLayout_Layout"> 5132 <attr name="layout_gravity" /> 5133 </declare-styleable> 5134 <declare-styleable name="RelativeLayout_Layout"> 5135 <!-- Positions the right edge of this view to the left of the given anchor view ID. 5136 Accommodates right margin of this view and left margin of anchor view. --> 5137 <attr name="layout_toLeftOf" format="reference" /> 5138 <!-- Positions the left edge of this view to the right of the given anchor view ID. 5139 Accommodates left margin of this view and right margin of anchor view. --> 5140 <attr name="layout_toRightOf" format="reference" /> 5141 <!-- Positions the bottom edge of this view above the given anchor view ID. 5142 Accommodates bottom margin of this view and top margin of anchor view. --> 5143 <attr name="layout_above" format="reference" /> 5144 <!-- Positions the top edge of this view below the given anchor view ID. 5145 Accommodates top margin of this view and bottom margin of anchor view. --> 5146 <attr name="layout_below" format="reference" /> 5147 <!-- Positions the baseline of this view on the baseline of the given anchor view ID. --> 5148 <attr name="layout_alignBaseline" format="reference" /> 5149 <!-- Makes the left edge of this view match the left edge of the given anchor view ID. 5150 Accommodates left margin. --> 5151 <attr name="layout_alignLeft" format="reference" /> 5152 <!-- Makes the top edge of this view match the top edge of the given anchor view ID. 5153 Accommodates top margin. --> 5154 <attr name="layout_alignTop" format="reference" /> 5155 <!-- Makes the right edge of this view match the right edge of the given anchor view ID. 5156 Accommodates right margin. --> 5157 <attr name="layout_alignRight" format="reference" /> 5158 <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID. 5159 Accommodates bottom margin. --> 5160 <attr name="layout_alignBottom" format="reference" /> 5161 <!-- If true, makes the left edge of this view match the left edge of the parent. 5162 Accommodates left margin. --> 5163 <attr name="layout_alignParentLeft" format="boolean" /> 5164 <!-- If true, makes the top edge of this view match the top edge of the parent. 5165 Accommodates top margin. --> 5166 <attr name="layout_alignParentTop" format="boolean" /> 5167 <!-- If true, makes the right edge of this view match the right edge of the parent. 5168 Accommodates right margin. --> 5169 <attr name="layout_alignParentRight" format="boolean" /> 5170 <!-- If true, makes the bottom edge of this view match the bottom edge of the parent. 5171 Accommodates bottom margin. --> 5172 <attr name="layout_alignParentBottom" format="boolean" /> 5173 <!-- If true, centers this child horizontally and vertically within its parent. --> 5174 <attr name="layout_centerInParent" format="boolean" /> 5175 <!-- If true, centers this child horizontally within its parent. --> 5176 <attr name="layout_centerHorizontal" format="boolean" /> 5177 <!-- If true, centers this child vertically within its parent. --> 5178 <attr name="layout_centerVertical" format="boolean" /> 5179 <!-- If set to true, the parent will be used as the anchor when the anchor cannot be 5180 be found for layout_toLeftOf, layout_toRightOf, etc. --> 5181 <attr name="layout_alignWithParentIfMissing" format="boolean" /> 5182 <!-- Positions the end edge of this view to the start of the given anchor view ID. 5183 Accommodates end margin of this view and start margin of anchor view. --> 5184 <attr name="layout_toStartOf" format="reference" /> 5185 <!-- Positions the start edge of this view to the end of the given anchor view ID. 5186 Accommodates start margin of this view and end margin of anchor view. --> 5187 <attr name="layout_toEndOf" format="reference" /> 5188 <!-- Makes the start edge of this view match the start edge of the given anchor view ID. 5189 Accommodates start margin. --> 5190 <attr name="layout_alignStart" format="reference" /> 5191 <!-- Makes the end edge of this view match the end edge of the given anchor view ID. 5192 Accommodates end margin. --> 5193 <attr name="layout_alignEnd" format="reference" /> 5194 <!-- If true, makes the start edge of this view match the start edge of the parent. 5195 Accommodates start margin. --> 5196 <attr name="layout_alignParentStart" format="boolean" /> 5197 <!-- If true, makes the end edge of this view match the end edge of the parent. 5198 Accommodates end margin. --> 5199 <attr name="layout_alignParentEnd" format="boolean" /> 5200 </declare-styleable> 5201 <declare-styleable name="VerticalSlider_Layout"> 5202 <attr name="layout_scale" format="float" /> 5203 </declare-styleable> 5204 5205 <!-- @hide --> 5206 <declare-styleable name="WeightedLinearLayout"> 5207 <attr name="majorWeightMin" format="float" /> 5208 <attr name="minorWeightMin" format="float" /> 5209 <attr name="majorWeightMax" format="float" /> 5210 <attr name="minorWeightMax" format="float" /> 5211 </declare-styleable> 5212 5213 <declare-styleable name="CalendarView"> 5214 <!-- The first day of week according to {@link java.util.Calendar}. --> 5215 <attr name="firstDayOfWeek" format="integer" /> 5216 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 5217 <attr name="minDate" /> 5218 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 5219 <attr name="maxDate" /> 5220 <!-- The text appearance for the month and year in the calendar header. --> 5221 <attr name="monthTextAppearance" format="reference" /> 5222 <!-- The text appearance for the week day abbreviation in the calendar header. --> 5223 <attr name="weekDayTextAppearance" format="reference" /> 5224 <!-- The text appearance for the day numbers in the calendar grid. --> 5225 <attr name="dateTextAppearance" format="reference" /> 5226 <!-- @hide The background color used for the day selection indicator. --> 5227 <attr name="daySelectorColor" format="color" /> 5228 <!-- @hide The background color used for the day highlight indicator. --> 5229 <attr name="dayHighlightColor" format="color" /> 5230 <!-- @hide Which style of calendar delegate to use. --> 5231 <attr name="calendarViewMode"> 5232 <enum name="holo" value="0" /> 5233 <enum name="material" value="1" /> 5234 </attr> 5235 5236 <!-- @deprecated Whether do show week numbers. --> 5237 <attr name="showWeekNumber" format="boolean" /> 5238 <!-- @deprecated The number of weeks to be shown. --> 5239 <attr name="shownWeekCount" format="integer"/> 5240 <!-- @deprecated The background color for the selected week. --> 5241 <attr name="selectedWeekBackgroundColor" format="color|reference" /> 5242 <!-- @deprecated The color for the dates of the focused month. --> 5243 <attr name="focusedMonthDateColor" format="color|reference" /> 5244 <!-- @deprecated The color for the dates of an unfocused month. --> 5245 <attr name="unfocusedMonthDateColor" format="color|reference" /> 5246 <!-- @deprecated The color for the week numbers. --> 5247 <attr name="weekNumberColor" format="color|reference" /> 5248 <!-- @deprecated The color for the separator line between weeks. --> 5249 <attr name="weekSeparatorLineColor" format="color|reference" /> 5250 <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. --> 5251 <attr name="selectedDateVerticalBar" format="reference" /> 5252 </declare-styleable> 5253 5254 <declare-styleable name="NumberPicker"> 5255 <!-- @hide Color for the solid color background if such for optimized rendering. --> 5256 <attr name="solidColor" format="color|reference" /> 5257 <!-- @hide The divider for making the selection area. --> 5258 <attr name="selectionDivider" format="reference" /> 5259 <!-- @hide The height of the selection divider. --> 5260 <attr name="selectionDividerHeight" format="dimension" /> 5261 <!-- @hide The distance between the two selection dividers. --> 5262 <attr name="selectionDividersDistance" format="dimension" /> 5263 <!-- @hide The min height of the NumberPicker. --> 5264 <attr name="internalMinHeight" format="dimension" /> 5265 <!-- @hide The max height of the NumberPicker. --> 5266 <attr name="internalMaxHeight" format="dimension" /> 5267 <!-- @hide The min width of the NumberPicker. --> 5268 <attr name="internalMinWidth" format="dimension" /> 5269 <!-- @hide The max width of the NumberPicker. --> 5270 <attr name="internalMaxWidth" format="dimension" /> 5271 <!-- @hide The layout of the number picker. --> 5272 <attr name="internalLayout" /> 5273 <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. --> 5274 <attr name="virtualButtonPressedDrawable" format="reference"/> 5275 <!-- @hide If true then the selector wheel is hidden until the picker has focus. --> 5276 <attr name="hideWheelUntilFocused" format="boolean"/> 5277 </declare-styleable> 5278 5279 <declare-styleable name="TimePicker"> 5280 <!-- @hide The layout of the legacy time picker. --> 5281 <attr name="legacyLayout" format="reference" /> 5282 <!-- @hide The layout of the time picker. --> 5283 <attr name="internalLayout" /> 5284 5285 <!-- The text color for the selected time header text, ex. "12" or 5286 "PM". This should be a color state list where the activated state 5287 will be used when the minute picker or hour picker is active.--> 5288 <attr name="headerTextColor" /> 5289 <!-- The background for the header containing the currently selected time. --> 5290 <attr name="headerBackground" /> 5291 5292 <!-- The color for the hours/minutes numbers. This should be a color 5293 state list where the activated state will be used when the number 5294 is active.--> 5295 <attr name="numbersTextColor" format="color" /> 5296 <!-- The color for the inner hours numbers used in 24-hour mode. This 5297 should be a color state list where the activated state will be 5298 used when the number is active.--> 5299 <attr name="numbersInnerTextColor" format="color" /> 5300 <!-- The background color for the hours/minutes numbers. --> 5301 <attr name="numbersBackgroundColor" format="color" /> 5302 <!-- The color for the hours/minutes selector. --> 5303 <attr name="numbersSelectorColor" format="color" /> 5304 5305 <!-- Defines the look of the widget. Prior to the L release, the only choice was 5306 spinner. As of L, with the Material theme selected, the default layout is clock, 5307 but this attribute can be used to force spinner to be used instead. --> 5308 <attr name="timePickerMode"> 5309 <!-- Time picker with spinner controls to select the time. --> 5310 <enum name="spinner" value="1" /> 5311 <!-- Time picker with clock face to select the time. --> 5312 <enum name="clock" value="2" /> 5313 </attr> 5314 5315 <!-- The text appearance for the AM/PM header. 5316 @deprecated Use headerTextColor instead. --> 5317 <attr name="headerAmPmTextAppearance" format="reference" /> 5318 <!-- The text appearance for the time header. 5319 @deprecated Use headerTextColor instead. --> 5320 <attr name="headerTimeTextAppearance" format="reference" /> 5321 <!-- The color for the AM/PM selectors. 5322 {@deprecated Use headerTextColor instead.}--> 5323 <attr name="amPmTextColor" format="color" /> 5324 <!-- The background color state list for the AM/PM selectors. 5325 {@deprecated Use headerBackground instead.}--> 5326 <attr name="amPmBackgroundColor" format="color" /> 5327 5328 <!-- @hide Whether this time picker is being displayed within a dialog, 5329 in which case it may ignore the requested time picker mode due to 5330 space considerations. --> 5331 <attr name="dialogMode" /> 5332 </declare-styleable> 5333 5334 <!-- ========================= --> 5335 <!-- Drawable class attributes --> 5336 <!-- ========================= --> 5337 <eat-comment /> 5338 5339 <!-- Base attributes that are available to all Drawable objects. --> 5340 <declare-styleable name="Drawable"> 5341 <!-- Provides initial visibility state of the drawable; the default 5342 value is false. See 5343 {@link android.graphics.drawable.Drawable#setVisible}. --> 5344 <attr name="visible" format="boolean" /> 5345 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5346 RTL (right-to-left). See 5347 {@link android.graphics.drawable.Drawable#setAutoMirrored}. --> 5348 <attr name="autoMirrored" format="boolean" /> 5349 </declare-styleable> 5350 5351 <!-- Drawable class used to wrap other drawables. --> 5352 <declare-styleable name="DrawableWrapper"> 5353 <!-- The wrapped drawable. --> 5354 <attr name="drawable" /> 5355 </declare-styleable> 5356 5357 <!-- Drawable used to render several states. Each state is represented by 5358 a child drawable. --> 5359 <declare-styleable name="StateListDrawable"> 5360 <!-- Indicates whether the drawable should be initially visible. --> 5361 <attr name="visible" /> 5362 <!-- If true, allows the drawable's padding to change based on the 5363 current state that is selected. If false, the padding will 5364 stay the same (based on the maximum padding of all the states). 5365 Enabling this feature requires that the owner of the drawable 5366 deal with performing layout when the state changes, which is 5367 often not supported. --> 5368 <attr name="variablePadding" format="boolean" /> 5369 <!-- If true, the drawable's reported internal size will remain 5370 constant as the state changes; the size is the maximum of all 5371 of the states. If false, the size will vary based on the 5372 current state. --> 5373 <attr name="constantSize" format="boolean" /> 5374 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5375 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5376 an RGB 565 screen). --> 5377 <attr name="dither" format="boolean" /> 5378 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5379 <attr name="enterFadeDuration" format="integer" /> 5380 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5381 <attr name="exitFadeDuration" format="integer" /> 5382 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5383 RTL (right-to-left). --> 5384 <attr name="autoMirrored"/> 5385 </declare-styleable> 5386 5387 <!-- Drawable used to render several states with animated transitions. Each state 5388 is represented by a child drawable with an optional keyframe ID. --> 5389 <declare-styleable name="AnimatedStateListDrawable"> 5390 <!-- Indicates whether the drawable should be initially visible. --> 5391 <attr name="visible" /> 5392 <!-- If true, allows the drawable's padding to change based on the 5393 current state that is selected. If false, the padding will 5394 stay the same (based on the maximum padding of all the states). 5395 Enabling this feature requires that the owner of the drawable 5396 deal with performing layout when the state changes, which is 5397 often not supported. --> 5398 <attr name="variablePadding" /> 5399 <!-- If true, the drawable's reported internal size will remain 5400 constant as the state changes; the size is the maximum of all 5401 of the states. If false, the size will vary based on the 5402 current state. --> 5403 <attr name="constantSize" /> 5404 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5405 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5406 an RGB 565 screen). --> 5407 <attr name="dither" /> 5408 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5409 <attr name="enterFadeDuration" /> 5410 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5411 <attr name="exitFadeDuration" /> 5412 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5413 RTL (right-to-left). --> 5414 <attr name="autoMirrored"/> 5415 </declare-styleable> 5416 5417 <!-- Represents a single state inside a StateListDrawable. --> 5418 <declare-styleable name="StateListDrawableItem"> 5419 <!-- Reference to a drawable resource to use for the state. If not 5420 given, the drawable must be defined by the first child tag. --> 5421 <attr name="drawable" /> 5422 </declare-styleable> 5423 5424 <!-- Transition used to animate between states with keyframe IDs. --> 5425 <declare-styleable name="AnimatedStateListDrawableItem"> 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" /> 5429 <!-- Keyframe identifier for use in specifying transitions. --> 5430 <attr name="id" /> 5431 </declare-styleable> 5432 5433 <!-- Transition used to animate between states with keyframe IDs. --> 5434 <declare-styleable name="AnimatedStateListDrawableTransition"> 5435 <!-- Keyframe identifier for the starting state. --> 5436 <attr name="fromId" format="reference" /> 5437 <!-- Keyframe identifier for the ending state. --> 5438 <attr name="toId" format="reference" /> 5439 <!-- Reference to a animation drawable resource to use for the frame. If not 5440 given, the animation drawable must be defined by the first child tag. --> 5441 <attr name="drawable" /> 5442 <!-- Whether this transition is reversible. --> 5443 <attr name="reversible" format="boolean" /> 5444 </declare-styleable> 5445 5446 <!-- Drawable used to render several animated frames. --> 5447 <declare-styleable name="AnimationDrawable"> 5448 <attr name="visible" /> 5449 <attr name="variablePadding" /> 5450 <!-- If true, the animation will only run a single time and then 5451 stop. If false (the default), it will continually run, 5452 restarting at the first frame after the last has finished. --> 5453 <attr name="oneshot" format="boolean" /> 5454 </declare-styleable> 5455 5456 <!-- Represents a single frame inside an AnimationDrawable. --> 5457 <declare-styleable name="AnimationDrawableItem"> 5458 <!-- Amount of time (in milliseconds) to display this frame. --> 5459 <attr name="duration" format="integer" /> 5460 <!-- Reference to a drawable resource to use for the frame. If not 5461 given, the drawable must be defined by the first child tag. --> 5462 <attr name="drawable" format="reference" /> 5463 </declare-styleable> 5464 5465 <!-- Attributes that can be assigned to a StateListAnimator item. --> 5466 <declare-styleable name="StateListAnimatorItem"> 5467 <attr name="animation"/> 5468 </declare-styleable> 5469 5470 <!-- Attributes that can be assigned to a ColorStateList item. --> 5471 <declare-styleable name="ColorStateListItem"> 5472 <!-- Base color for this state. --> 5473 <attr name="color" /> 5474 <!-- Alpha multiplier applied to the base color. --> 5475 <attr name="alpha" /> 5476 </declare-styleable> 5477 5478 <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery 5479 saver mode. It should contain one animatable drawable and one static drawable. 5480 @hide --> 5481 <declare-styleable name="AnimationScaleListDrawable"> 5482 </declare-styleable> 5483 5484 <!-- Attributes that can be assigned to a AnimationScaleListDrawable item. 5485 @hide --> 5486 <declare-styleable name="AnimationScaleListDrawableItem"> 5487 <!-- Reference to a drawable resource to use for the state. If not 5488 given, the drawable must be defined by the first child tag. --> 5489 <attr name="drawable" /> 5490 </declare-styleable> 5491 5492 5493 <!-- Drawable used to render a geometric shape, with a gradient or a solid color. --> 5494 <declare-styleable name="GradientDrawable"> 5495 <!-- Indicates whether the drawable should intially be visible. --> 5496 <attr name="visible" /> 5497 <!-- Enables or disables dithering. --> 5498 <attr name="dither" /> 5499 <!-- Indicates what shape to fill with a gradient. --> 5500 <attr name="shape"> 5501 <!-- Rectangle shape, with optional rounder corners. --> 5502 <enum name="rectangle" value="0" /> 5503 <!-- Oval shape. --> 5504 <enum name="oval" value="1" /> 5505 <!-- Line shape. --> 5506 <enum name="line" value="2" /> 5507 <!-- Ring shape. --> 5508 <enum name="ring" value="3" /> 5509 </attr> 5510 <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance, 5511 if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. 5512 This value is ignored if innerRadius is defined. Default value is 9. --> 5513 <attr name="innerRadiusRatio" format="float" /> 5514 <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance, 5515 if thicknessRatio=3, then the thickness equals the ring's width divided by 3. 5516 This value is ignored if innerRadius is defined. Default value is 3. --> 5517 <attr name="thicknessRatio" format="float" /> 5518 <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. --> 5519 <attr name="innerRadius" format="dimension" /> 5520 <!-- Thickness of the ring. When defined, thicknessRatio is ignored. --> 5521 <attr name="thickness" format="dimension" /> 5522 <!-- Whether the drawable level value (see 5523 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape. 5524 Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to 5525 360. For all other types, there is no effect. The default value is true. --> 5526 <attr name="useLevel" /> 5527 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5528 no tint is applied. May be a color state list. --> 5529 <attr name="tint" /> 5530 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5531 default value is src_in, which treats the drawable as an alpha mask. --> 5532 <attr name="tintMode" /> 5533 <!-- Left optical inset. 5534 @hide Until optical insets are fully supported. --> 5535 <attr name="opticalInsetLeft" /> 5536 <!-- Top optical inset. 5537 @hide Until optical insets are fully supported. --> 5538 <attr name="opticalInsetTop" /> 5539 <!-- Right optical inset. 5540 @hide Until optical insets are fully supported. --> 5541 <attr name="opticalInsetRight" /> 5542 <!-- Bottom optical inset. 5543 @hide Until optical insets are fully supported. --> 5544 <attr name="opticalInsetBottom" /> 5545 </declare-styleable> 5546 5547 <!-- Used to specify the size of the shape for GradientDrawable. --> 5548 <declare-styleable name="GradientDrawableSize"> 5549 <!-- Width of the gradient shape. --> 5550 <attr name="width" /> 5551 <!-- Height of the gradient shape. --> 5552 <attr name="height" /> 5553 </declare-styleable> 5554 5555 <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. --> 5556 <declare-styleable name="GradientDrawableGradient"> 5557 <!-- Start color of the gradient. --> 5558 <attr name="startColor" format="color" /> 5559 <!-- Optional center color. For linear gradients, use centerX or centerY to place the center 5560 color. --> 5561 <attr name="centerColor" format="color" /> 5562 <!-- End color of the gradient. --> 5563 <attr name="endColor" format="color" /> 5564 <!-- Whether the drawable level value (see 5565 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient. 5566 Scaling behavior varies based on gradient type. For "linear", adjusts the ending 5567 position along the gradient's axis of orientation. For "radial", adjusts the outer 5568 radius. For "sweep", adjusts the ending angle. The default value is false. --> 5569 <attr name="useLevel" format="boolean" /> 5570 <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the 5571 range [0, 315]. --> 5572 <attr name="angle" format="float" /> 5573 <!-- Type of gradient. The default type is linear. --> 5574 <attr name="type"> 5575 <!-- Linear gradient extending across the center point. --> 5576 <enum name="linear" value="0" /> 5577 <!-- Radial gradient extending from the center point outward. --> 5578 <enum name="radial" value="1" /> 5579 <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. --> 5580 <enum name="sweep" value="2" /> 5581 </attr> 5582 <!-- X-position of the center point of the gradient within the shape as a fraction of the 5583 width. The default value is 0.5. --> 5584 <attr name="centerX" format="float|fraction" /> 5585 <!-- Y-position of the center point of the gradient within the shape as a fraction of the 5586 height. The default value is 0.5. --> 5587 <attr name="centerY" format="float|fraction" /> 5588 <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension 5589 or a fractional value relative to the shape's minimum dimension. --> 5590 <attr name="gradientRadius" format="float|fraction|dimension" /> 5591 </declare-styleable> 5592 5593 <!-- Used to fill the shape of GradientDrawable with a solid color. --> 5594 <declare-styleable name="GradientDrawableSolid"> 5595 <!-- Solid color for the gradient shape. --> 5596 <attr name="color" format="color" /> 5597 </declare-styleable> 5598 5599 <!-- Used to describe the optional stroke of a GradientDrawable. --> 5600 <declare-styleable name="GradientDrawableStroke"> 5601 <!-- Width of the gradient shape's stroke. --> 5602 <attr name="width" /> 5603 <!-- Color of the gradient shape's stroke. --> 5604 <attr name="color" /> 5605 <!-- Length of a dash in the stroke. --> 5606 <attr name="dashWidth" format="dimension" /> 5607 <!-- Gap between dashes in the stroke. --> 5608 <attr name="dashGap" format="dimension" /> 5609 </declare-styleable> 5610 5611 <!-- Describes the corners for the rectangle shape of a GradientDrawable. 5612 This can be used to render rounded corners. --> 5613 <declare-styleable name="DrawableCorners"> 5614 <!-- Defines the radius of the four corners. --> 5615 <attr name="radius" format="dimension" /> 5616 <!-- Radius of the top left corner. --> 5617 <attr name="topLeftRadius" format="dimension" /> 5618 <!-- Radius of the top right corner. --> 5619 <attr name="topRightRadius" format="dimension" /> 5620 <!-- Radius of the bottom left corner. --> 5621 <attr name="bottomLeftRadius" format="dimension" /> 5622 <!-- Radius of the bottom right corner. --> 5623 <attr name="bottomRightRadius" format="dimension" /> 5624 </declare-styleable> 5625 5626 <!-- Used to specify the optional padding of a GradientDrawable. --> 5627 <declare-styleable name="GradientDrawablePadding"> 5628 <!-- Amount of left padding inside the gradient shape. --> 5629 <attr name="left" format="dimension" /> 5630 <!-- Amount of top padding inside the gradient shape. --> 5631 <attr name="top" format="dimension" /> 5632 <!-- Amount of right padding inside the gradient shape. --> 5633 <attr name="right" format="dimension" /> 5634 <!-- Amount of bottom padding inside the gradient shape. --> 5635 <attr name="bottom" format="dimension" /> 5636 </declare-styleable> 5637 5638 <!-- Drawable used to render several drawables stacked on top of each other. 5639 Each child drawable can be controlled individually. --> 5640 <declare-styleable name="LayerDrawable"> 5641 <!-- Indicates the opacity of the layer. This can be useful to allow the 5642 system to enable drawing optimizations. The default value is 5643 translucent. --> 5644 <attr name="opacity"> 5645 <!-- Indicates that the layer is opaque and contains no transparent 5646 nor translucent pixels. --> 5647 <enum name="opaque" value="-1" /> 5648 <!-- The layer is completely transparent (no pixel will be drawn). --> 5649 <enum name="transparent" value="-2" /> 5650 <!-- The layer has translucent pixels. --> 5651 <enum name="translucent" value="-3" /> 5652 </attr> 5653 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5654 RTL (right-to-left). --> 5655 <attr name="autoMirrored" /> 5656 <!-- Indicates how layer padding should affect the bounds of subsequent layers. 5657 The default padding mode value is nest. --> 5658 <attr name="paddingMode"> 5659 <!-- Nest each layer inside the padding of the previous layer. --> 5660 <enum name="nest" value="0" /> 5661 <!-- Stack each layer directly atop the previous layer. --> 5662 <enum name="stack" value="1" /> 5663 </attr> 5664 <!-- Explicit top padding. Overrides child padding. --> 5665 <attr name="paddingTop" /> 5666 <!-- Explicit bottom padding. Overrides child padding. --> 5667 <attr name="paddingBottom" /> 5668 <!-- Explicit left padding. Overrides child padding. --> 5669 <attr name="paddingLeft" /> 5670 <!-- Explicit right padding. Overrides child padding. --> 5671 <attr name="paddingRight" /> 5672 <!-- Explicit start padding. Overrides child padding. Takes precedence 5673 over absolute padding (for example, left when layout direction is LTR). --> 5674 <attr name="paddingStart" /> 5675 <!-- Explicit end padding. Overrides child padding. Takes precedence 5676 over absolute padding (for example, right when layout direction is LTR). --> 5677 <attr name="paddingEnd" /> 5678 </declare-styleable> 5679 5680 <!-- Describes an item (or child) of a LayerDrawable. --> 5681 <declare-styleable name="LayerDrawableItem"> 5682 <!-- Left inset to apply to the layer. --> 5683 <attr name="left" /> 5684 <!-- Top inset to apply to the layer. --> 5685 <attr name="top" /> 5686 <!-- Right inset to apply to the layer. --> 5687 <attr name="right" /> 5688 <!-- Bottom inset to apply to the layer. --> 5689 <attr name="bottom" /> 5690 <!-- Start inset to apply to the layer. Overrides {@code left} or 5691 {@code right} depending on layout direction. --> 5692 <attr name="start" format="dimension" /> 5693 <!-- End inset to apply to the layer. Overrides {@code left} or 5694 {@code right} depending on layout direction. --> 5695 <attr name="end" format="dimension" /> 5696 <!-- Width of the layer. Defaults to the layer's intrinsic width. --> 5697 <attr name="width" /> 5698 <!-- Height of the layer. Defaults to the layer's intrinsic height. --> 5699 <attr name="height" /> 5700 <!-- Gravity used to align the layer within its container. If no value 5701 is specified, the default behavior depends on whether an explicit 5702 width or height has been set, If no dimension is set, gravity in 5703 that direction defaults to {@code fill_horizontal} or 5704 {@code fill_vertical}; otherwise, it defaults to {@code left} or 5705 {@code top}. --> 5706 <attr name="gravity" /> 5707 <!-- Drawable used to render the layer. --> 5708 <attr name="drawable" /> 5709 <!-- Identifier of the layer. This can be used to retrieve the layer 5710 from a drawable container. --> 5711 <attr name="id" /> 5712 </declare-styleable> 5713 5714 <declare-styleable name="LevelListDrawableItem"> 5715 <!-- The minimum level allowed for this item. --> 5716 <attr name="minLevel" format="integer" /> 5717 <!-- The maximum level allowed for this item. --> 5718 <attr name="maxLevel" format="integer" /> 5719 <attr name="drawable" /> 5720 </declare-styleable> 5721 5722 <!-- Drawable used to rotate another drawable. --> 5723 <declare-styleable name="RotateDrawable"> 5724 <attr name="visible" /> 5725 <attr name="fromDegrees" format="float" /> 5726 <attr name="toDegrees" format="float" /> 5727 <attr name="pivotX" format="float|fraction" /> 5728 <attr name="pivotY" format="float|fraction" /> 5729 <attr name="drawable" /> 5730 </declare-styleable> 5731 5732 <declare-styleable name="AnimatedRotateDrawable"> 5733 <attr name="visible" /> 5734 <attr name="frameDuration" format="integer" /> 5735 <attr name="framesCount" format="integer" /> 5736 <attr name="pivotX" /> 5737 <attr name="pivotY" /> 5738 <attr name="drawable" /> 5739 </declare-styleable> 5740 5741 <!-- Drawable used to render the Material progress indicator. --> 5742 <declare-styleable name="MaterialProgressDrawable"> 5743 <attr name="visible" /> 5744 <attr name="thickness" /> 5745 <attr name="innerRadius" /> 5746 <attr name="width" /> 5747 <attr name="height" /> 5748 <attr name="color" /> 5749 </declare-styleable> 5750 5751 <!-- Drawable used to wrap and inset another drawable. --> 5752 <declare-styleable name="InsetDrawable"> 5753 <attr name="visible" /> 5754 <attr name="drawable" /> 5755 <attr name="inset" format="fraction|dimension"/> 5756 <attr name="insetLeft" format="fraction|dimension" /> 5757 <attr name="insetRight" format="fraction|dimension" /> 5758 <attr name="insetTop" format="fraction|dimension" /> 5759 <attr name="insetBottom" format="fraction|dimension" /> 5760 </declare-styleable> 5761 5762 <!-- Drawable used to draw bitmaps. --> 5763 <declare-styleable name="BitmapDrawable"> 5764 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5765 <attr name="src" /> 5766 <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the 5767 edges of a bitmap when rotated. Default value is false. --> 5768 <attr name="antialias" format="boolean" /> 5769 <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is 5770 shrunk or stretched to smooth its apperance. Default value is true. --> 5771 <attr name="filter" format="boolean" /> 5772 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5773 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5774 an RGB 565 screen). Default value is true. --> 5775 <attr name="dither" /> 5776 <!-- Defines the gravity for the bitmap. The gravity indicates where to position 5777 the drawable in its container if the bitmap is smaller than the container. --> 5778 <attr name="gravity" /> 5779 <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. 5780 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5781 <attr name="tileMode"> 5782 <!-- Do not tile the bitmap. This is the default value. --> 5783 <enum name="disabled" value="-1" /> 5784 <!-- Replicates the edge color. --> 5785 <enum name="clamp" value="0" /> 5786 <!-- Repeats the bitmap in both direction. --> 5787 <enum name="repeat" value="1" /> 5788 <!-- Repeats the shader's image horizontally and vertically, alternating 5789 mirror images so that adjacent images always seam. --> 5790 <enum name="mirror" value="2" /> 5791 </attr> 5792 <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated. 5793 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5794 <attr name="tileModeX"> 5795 <!-- Do not tile the bitmap. This is the default value. --> 5796 <enum name="disabled" value="-1" /> 5797 <!-- Replicates the edge color. --> 5798 <enum name="clamp" value="0" /> 5799 <!-- Repeats the bitmap horizontally. --> 5800 <enum name="repeat" value="1" /> 5801 <!-- Repeats the shader's image horizontally, alternating 5802 mirror images so that adjacent images always seam. --> 5803 <enum name="mirror" value="2" /> 5804 </attr> 5805 <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated. 5806 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5807 <attr name="tileModeY"> 5808 <!-- Do not tile the bitmap. This is the default value. --> 5809 <enum name="disabled" value="-1" /> 5810 <!-- Replicates the edge color. --> 5811 <enum name="clamp" value="0" /> 5812 <!-- Repeats the bitmap vertically. --> 5813 <enum name="repeat" value="1" /> 5814 <!-- Repeats the shader's image vertically, alternating 5815 mirror images so that adjacent images always seam. --> 5816 <enum name="mirror" value="2" /> 5817 </attr> 5818 <!-- Enables or disables the mipmap hint. See 5819 {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information. 5820 Default value is false. --> 5821 <attr name="mipMap" format="boolean" /> 5822 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5823 RTL (right-to-left). --> 5824 <attr name="autoMirrored" /> 5825 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5826 no tint is applied. May be a color state list. --> 5827 <attr name="tint" /> 5828 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5829 default value is src_in, which treats the drawable as an alpha mask. --> 5830 <attr name="tintMode"> 5831 <!-- The tint is drawn on top of the drawable. 5832 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 5833 <enum name="src_over" value="3" /> 5834 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 5835 color channels are thrown out. [Sa * Da, Sc * Da] --> 5836 <enum name="src_in" value="5" /> 5837 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 5838 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 5839 <enum name="src_atop" value="9" /> 5840 <!-- Multiplies the color and alpha channels of the drawable with those of 5841 the tint. [Sa * Da, Sc * Dc] --> 5842 <enum name="multiply" value="14" /> 5843 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 5844 <enum name="screen" value="15" /> 5845 <!-- Combines the tint and drawable color and alpha channels, clamping the 5846 result to valid color values. Saturate(S + D) --> 5847 <enum name="add" value="16" /> 5848 </attr> 5849 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5850 <attr name="alpha" /> 5851 </declare-styleable> 5852 5853 <!-- Drawable used to draw 9-patches. --> 5854 <declare-styleable name="NinePatchDrawable"> 5855 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5856 <attr name="src" /> 5857 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5858 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5859 an RGB 565 screen). --> 5860 <attr name="dither" /> 5861 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5862 RTL (right-to-left). --> 5863 <attr name="autoMirrored" /> 5864 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5865 no tint is applied. May be a color state list. --> 5866 <attr name="tint" /> 5867 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5868 default value is src_in, which treats the drawable as an alpha mask. --> 5869 <attr name="tintMode" /> 5870 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5871 <attr name="alpha" /> 5872 </declare-styleable> 5873 5874 <!-- Drawable used to draw a single color. --> 5875 <declare-styleable name="ColorDrawable"> 5876 <!-- The color to use. --> 5877 <attr name="color" /> 5878 </declare-styleable> 5879 5880 <!-- Drawable used to draw adaptive icons with foreground and background layers. --> 5881 <declare-styleable name="AdaptiveIconDrawableLayer"> 5882 <!-- The drawable to use for the layer. --> 5883 <attr name="drawable" /> 5884 </declare-styleable> 5885 5886 <!-- Drawable used to show animated touch feedback. --> 5887 <declare-styleable name="RippleDrawable"> 5888 <!-- The color to use for ripple effects. This attribute is required. --> 5889 <attr name="color" /> 5890 <!-- The radius of the ripple when fully expanded. By default, the 5891 radius is computed based on the size of the ripple's container. --> 5892 <attr name="radius" /> 5893 </declare-styleable> 5894 5895 <declare-styleable name="ScaleDrawable"> 5896 <!-- Scale width, expressed as a percentage of the drawable's bound. The value's 5897 format is XX%. For instance: 100%, 12.5%, etc.--> 5898 <attr name="scaleWidth" format="string" /> 5899 <!-- Scale height, expressed as a percentage of the drawable's bound. The value's 5900 format is XX%. For instance: 100%, 12.5%, etc.--> 5901 <attr name="scaleHeight" format="string" /> 5902 <!-- Specifies where the drawable is positioned after scaling. The default value is 5903 left. --> 5904 <attr name="scaleGravity"> 5905 <!-- Push object to the top of its container, not changing its size. --> 5906 <flag name="top" value="0x30" /> 5907 <!-- Push object to the bottom of its container, not changing its size. --> 5908 <flag name="bottom" value="0x50" /> 5909 <!-- Push object to the left of its container, not changing its size. --> 5910 <flag name="left" value="0x03" /> 5911 <!-- Push object to the right of its container, not changing its size. --> 5912 <flag name="right" value="0x05" /> 5913 <!-- Place object in the vertical center of its container, not changing its size. --> 5914 <flag name="center_vertical" value="0x10" /> 5915 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 5916 <flag name="fill_vertical" value="0x70" /> 5917 <!-- Place object in the horizontal center of its container, not changing its size. --> 5918 <flag name="center_horizontal" value="0x01" /> 5919 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 5920 <flag name="fill_horizontal" value="0x07" /> 5921 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 5922 <flag name="center" value="0x11" /> 5923 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 5924 <flag name="fill" value="0x77" /> 5925 <!-- Additional option that can be set to have the top and/or bottom edges of 5926 the child clipped to its container's bounds. 5927 The clip will be based on the vertical gravity: a top gravity will clip the bottom 5928 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 5929 <flag name="clip_vertical" value="0x80" /> 5930 <!-- Additional option that can be set to have the left and/or right edges of 5931 the child clipped to its container's bounds. 5932 The clip will be based on the horizontal gravity: a left gravity will clip the right 5933 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 5934 <flag name="clip_horizontal" value="0x08" /> 5935 <!-- Push object to the beginning of its container, not changing its size. --> 5936 <flag name="start" value="0x00800003" /> 5937 <!-- Push object to the end of its container, not changing its size. --> 5938 <flag name="end" value="0x00800005" /> 5939 </attr> 5940 <!-- Specifies the initial drawable level in the range 0 to 10000. --> 5941 <attr name="level" format="integer" /> 5942 <!-- Reference to a drawable resource to draw with the specified scale. --> 5943 <attr name="drawable" /> 5944 <!-- Use the drawable's intrinsic width and height as minimum size values. 5945 Useful if the target drawable is a 9-patch or otherwise should not be scaled 5946 down beyond a minimum size. --> 5947 <attr name="useIntrinsicSizeAsMinimum" format="boolean" /> 5948 </declare-styleable> 5949 5950 <declare-styleable name="ClipDrawable"> 5951 <!-- The orientation for the clip. --> 5952 <attr name="clipOrientation"> 5953 <!-- Clip the drawable horizontally. --> 5954 <flag name="horizontal" value="1" /> 5955 <!-- Clip the drawable vertically. --> 5956 <flag name="vertical" value="2" /> 5957 </attr> 5958 <!-- Specifies where to clip within the drawable. The default value is 5959 left. --> 5960 <attr name="gravity" /> 5961 <!-- Reference to a drawable resource to draw with the specified scale. --> 5962 <attr name="drawable" /> 5963 </declare-styleable> 5964 5965 <!-- Defines the padding of a ShapeDrawable. --> 5966 <declare-styleable name="ShapeDrawablePadding"> 5967 <!-- Left padding. --> 5968 <attr name="left" /> 5969 <!-- Top padding. --> 5970 <attr name="top" /> 5971 <!-- Right padding. --> 5972 <attr name="right" /> 5973 <!-- Bottom padding. --> 5974 <attr name="bottom" /> 5975 </declare-styleable> 5976 5977 <!-- Drawable used to draw shapes. --> 5978 <declare-styleable name="ShapeDrawable"> 5979 <!-- Defines the color of the shape. --> 5980 <attr name="color" /> 5981 <!-- Defines the width of the shape. --> 5982 <attr name="width" /> 5983 <!-- Defines the height of the shape. --> 5984 <attr name="height" /> 5985 <!-- Enables or disables dithering. --> 5986 <attr name="dither" /> 5987 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5988 no tint is applied. May be a color state list. --> 5989 <attr name="tint" /> 5990 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5991 default value is src_in, which treats the drawable as an alpha mask. --> 5992 <attr name="tintMode" /> 5993 </declare-styleable> 5994 5995 <!-- ========================== --> 5996 <!-- VectorDrawable class --> 5997 <!-- ========================== --> 5998 <eat-comment /> 5999 6000 <!-- Drawable used to draw vector paths. --> 6001 <declare-styleable name="VectorDrawable"> 6002 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 6003 no tint is applied. May be a color state list. --> 6004 <attr name="tint" /> 6005 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 6006 default value is src_in, which treats the drawable as an alpha mask. --> 6007 <attr name="tintMode" /> 6008 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 6009 RTL (right-to-left). --> 6010 <attr name="autoMirrored" /> 6011 <!-- The intrinsic width of the Vector Drawable. --> 6012 <attr name="width" /> 6013 <!-- The intrinsic height of the Vector Drawable. --> 6014 <attr name="height" /> 6015 <!-- The width of the canvas the drawing is on. --> 6016 <attr name="viewportWidth" format="float"/> 6017 <!-- The height of the canvas the drawing is on. --> 6018 <attr name="viewportHeight" format="float"/> 6019 <!-- The name of this vector drawable. --> 6020 <attr name="name" /> 6021 <!-- The opacity of the whole vector drawable, as a value between 0 6022 (completely transparent) and 1 (completely opaque). --> 6023 <attr name="alpha" /> 6024 <!-- Left optical inset. 6025 @hide Until optical insets are fully supported. --> 6026 <attr name="opticalInsetLeft" format="dimension" /> 6027 <!-- Top optical inset. 6028 @hide Until optical insets are fully supported. --> 6029 <attr name="opticalInsetTop" format="dimension" /> 6030 <!-- Right optical inset. 6031 @hide Until optical insets are fully supported. --> 6032 <attr name="opticalInsetRight" format="dimension" /> 6033 <!-- Bottom optical inset. 6034 @hide Until optical insets are fully supported. --> 6035 <attr name="opticalInsetBottom" format="dimension" /> 6036 </declare-styleable> 6037 6038 <!-- Defines the group used in VectorDrawables. --> 6039 <declare-styleable name="VectorDrawableGroup"> 6040 <!-- The name of this group. --> 6041 <attr name="name" /> 6042 <!-- The amount to rotate the group. --> 6043 <attr name="rotation" /> 6044 <!-- The X coordinate of the center of rotation of a group. --> 6045 <attr name="pivotX" /> 6046 <!-- The Y coordinate of the center of rotation of a group. --> 6047 <attr name="pivotY" /> 6048 <!-- The amount to translate the group on X coordinate. --> 6049 <attr name="translateX" format="float"/> 6050 <!-- The amount to translate the group on Y coordinate. --> 6051 <attr name="translateY" format="float"/> 6052 <!-- The amount to scale the group on X coordinate. --> 6053 <attr name="scaleX" /> 6054 <!-- The amount to scale the group on X coordinate. --> 6055 <attr name="scaleY" /> 6056 </declare-styleable> 6057 6058 <!-- Defines the path used in VectorDrawables. --> 6059 <declare-styleable name="VectorDrawablePath"> 6060 <!-- The name of this path. --> 6061 <attr name="name" /> 6062 <!-- The width a path stroke. --> 6063 <attr name="strokeWidth" format="float" /> 6064 <!-- The color to stroke the path if not defined implies no stroke. --> 6065 <attr name="strokeColor" format="color" /> 6066 <!-- The opacity of a path stroke, as a value between 0 (completely transparent) 6067 and 1 (completely opaque). --> 6068 <attr name="strokeAlpha" format="float" /> 6069 <!-- The color to fill the path if not defined implies no fill. --> 6070 <attr name="fillColor" format="color" /> 6071 <!-- The alpha of the path fill, as a value between 0 (completely transparent) 6072 and 1 (completely opaque). --> 6073 <attr name="fillAlpha" format="float" /> 6074 <!-- The specification of the operations that define the path. --> 6075 <attr name="pathData" format="string" /> 6076 <!-- The fraction of the path to trim from the start from 0 to 1. --> 6077 <attr name="trimPathStart" format="float" /> 6078 <!-- The fraction of the path to trim from the end from 0 to 1 . --> 6079 <attr name="trimPathEnd" format="float" /> 6080 <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1. --> 6081 <attr name="trimPathOffset" format="float" /> 6082 <!-- sets the linecap for a stroked path. --> 6083 <attr name="strokeLineCap" format="enum"> 6084 <enum name="butt" value="0"/> 6085 <enum name="round" value="1"/> 6086 <enum name="square" value="2"/> 6087 </attr> 6088 <!-- sets the lineJoin for a stroked path. --> 6089 <attr name="strokeLineJoin" format="enum"> 6090 <enum name="miter" value="0"/> 6091 <enum name="round" value="1"/> 6092 <enum name="bevel" value="2"/> 6093 </attr> 6094 <!-- sets the Miter limit for a stroked path. --> 6095 <attr name="strokeMiterLimit" format="float"/> 6096 <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties. 6097 For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty. --> 6098 <attr name="fillType" format="enum"> 6099 <enum name="nonZero" value="0"/> 6100 <enum name="evenOdd" value="1"/> 6101 </attr> 6102 </declare-styleable> 6103 6104 <!-- Defines the clip path used in VectorDrawables. --> 6105 <declare-styleable name="VectorDrawableClipPath"> 6106 <!-- The Name of this path. --> 6107 <attr name="name" /> 6108 <!-- The specification of the operations that define the path. --> 6109 <attr name="pathData"/> 6110 </declare-styleable> 6111 6112 <!-- ========================== --> 6113 <!-- AnimatedVectorDrawable class --> 6114 <!-- ========================== --> 6115 <eat-comment /> 6116 6117 <!-- Define the AnimatedVectorDrawable. --> 6118 <declare-styleable name="AnimatedVectorDrawable"> 6119 <!-- The static vector drawable. --> 6120 <attr name="drawable" /> 6121 </declare-styleable> 6122 6123 <!-- Defines the target used in the AnimatedVectorDrawable. --> 6124 <declare-styleable name="AnimatedVectorDrawableTarget"> 6125 <!-- The name of the target path, group or vector drawable. --> 6126 <attr name="name" /> 6127 <!-- The animation for the target path, group or vector drawable. --> 6128 <attr name="animation" /> 6129 </declare-styleable> 6130 6131 <!-- ========================== --> 6132 <!-- Animation class attributes --> 6133 <!-- ========================== --> 6134 <eat-comment /> 6135 6136 <declare-styleable name="Animation"> 6137 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6138 <attr name="interpolator" /> 6139 <!-- When set to true, the value of fillBefore is taken into account. --> 6140 <attr name="fillEnabled" format="boolean" /> 6141 <!-- When set to true or when fillEnabled is not set to true, the animation transformation 6142 is applied before the animation has started. The default value is true. --> 6143 <attr name="fillBefore" format="boolean" /> 6144 <!-- When set to true, the animation transformation is applied after the animation is 6145 over. The default value is false. If fillEnabled is not set to true and the 6146 animation is not set on a View, fillAfter is assumed to be true.--> 6147 <attr name="fillAfter" format="boolean" /> 6148 <!-- Amount of time (in milliseconds) for the animation to run. --> 6149 <attr name="duration" /> 6150 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6151 <attr name="startOffset" format="integer" /> 6152 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6153 <attr name="repeatCount" format="integer"> 6154 <enum name="infinite" value="-1" /> 6155 </attr> 6156 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6157 greater than 0 or infinite. The default value is restart. --> 6158 <attr name="repeatMode"> 6159 <!-- The animation starts again from the beginning. --> 6160 <enum name="restart" value="1" /> 6161 <!-- The animation plays backward. --> 6162 <enum name="reverse" value="2" /> 6163 </attr> 6164 <!-- Allows for an adjustment of the Z ordering of the content being 6165 animated for the duration of the animation. The default value is normal. --> 6166 <attr name="zAdjustment"> 6167 <!-- The content being animated be kept in its current Z order. --> 6168 <enum name="normal" value="0" /> 6169 <!-- The content being animated is forced on top of all other 6170 content for the duration of the animation. --> 6171 <enum name="top" value="1" /> 6172 <!-- The content being animated is forced under all other 6173 content for the duration of the animation. --> 6174 <enum name="bottom" value="-1" /> 6175 </attr> 6176 <!-- Special background behind animation. Only for use with window 6177 animations. Can only be a color, and only black. If 0, the 6178 default, there is no background. --> 6179 <attr name="background" /> 6180 <!-- Special option for window animations: if this window is on top 6181 of a wallpaper, don't animate the wallpaper with it. --> 6182 <attr name="detachWallpaper" format="boolean" /> 6183 </declare-styleable> 6184 6185 <declare-styleable name="AnimationSet"> 6186 <attr name="shareInterpolator" format="boolean" /> 6187 <attr name="fillBefore" /> 6188 <attr name="fillAfter" /> 6189 <attr name="duration" /> 6190 <attr name="startOffset" /> 6191 <attr name="repeatMode" /> 6192 </declare-styleable> 6193 6194 <declare-styleable name="RotateAnimation"> 6195 <attr name="fromDegrees" /> 6196 <attr name="toDegrees" /> 6197 <attr name="pivotX" /> 6198 <attr name="pivotY" /> 6199 </declare-styleable> 6200 6201 <declare-styleable name="ScaleAnimation"> 6202 <attr name="fromXScale" format="float|fraction|dimension" /> 6203 <attr name="toXScale" format="float|fraction|dimension" /> 6204 <attr name="fromYScale" format="float|fraction|dimension" /> 6205 <attr name="toYScale" format="float|fraction|dimension" /> 6206 <attr name="pivotX" /> 6207 <attr name="pivotY" /> 6208 </declare-styleable> 6209 6210 <declare-styleable name="TranslateAnimation"> 6211 <attr name="fromXDelta" format="float|fraction" /> 6212 <attr name="toXDelta" format="float|fraction" /> 6213 <attr name="fromYDelta" format="float|fraction" /> 6214 <attr name="toYDelta" format="float|fraction" /> 6215 </declare-styleable> 6216 6217 <declare-styleable name="AlphaAnimation"> 6218 <attr name="fromAlpha" format="float" /> 6219 <attr name="toAlpha" format="float" /> 6220 </declare-styleable> 6221 6222 <declare-styleable name="LayoutAnimation"> 6223 <!-- Fraction of the animation duration used to delay the beginning of 6224 the animation of each child. --> 6225 <attr name="delay" format="float|fraction" /> 6226 <!-- Animation to use on each child. --> 6227 <attr name="animation" format="reference" /> 6228 <!-- The order in which the animations will be started. --> 6229 <attr name="animationOrder"> 6230 <!-- Animations are started in the natural order. --> 6231 <enum name="normal" value="0" /> 6232 <!-- Animations are started in the reverse order. --> 6233 <enum name="reverse" value="1" /> 6234 <!-- Animations are started randomly. --> 6235 <enum name="random" value="2" /> 6236 </attr> 6237 <!-- Interpolator used to interpolate the delay between the start of 6238 each animation. --> 6239 <attr name="interpolator" /> 6240 </declare-styleable> 6241 6242 <declare-styleable name="GridLayoutAnimation"> 6243 <!-- Fraction of the animation duration used to delay the beginning of 6244 the animation of each column. --> 6245 <attr name="columnDelay" format="float|fraction" /> 6246 <!-- Fraction of the animation duration used to delay the beginning of 6247 the animation of each row. --> 6248 <attr name="rowDelay" format="float|fraction" /> 6249 <!-- Direction of the animation in the grid. --> 6250 <attr name="direction"> 6251 <!-- Animates columns from left to right. --> 6252 <flag name="left_to_right" value="0x0" /> 6253 <!-- Animates columns from right to left. --> 6254 <flag name="right_to_left" value="0x1" /> 6255 <!-- Animates rows from top to bottom. --> 6256 <flag name="top_to_bottom" value="0x0" /> 6257 <!-- Animates rows from bottom to top. --> 6258 <flag name="bottom_to_top" value="0x2" /> 6259 </attr> 6260 <!-- Priority of the rows and columns. When the priority is none, 6261 both rows and columns have the same priority. When the priority is 6262 column, the animations will be applied on the columns first. The same 6263 goes for rows. --> 6264 <attr name="directionPriority"> 6265 <!-- Rows and columns are animated at the same time. --> 6266 <enum name="none" value="0" /> 6267 <!-- Columns are animated first. --> 6268 <enum name="column" value="1" /> 6269 <!-- Rows are animated first. --> 6270 <enum name="row" value="2" /> 6271 </attr> 6272 </declare-styleable> 6273 6274 <declare-styleable name="AccelerateInterpolator"> 6275 <!-- This is the amount of deceleration to add when easing in. --> 6276 <attr name="factor" format="float" /> 6277 </declare-styleable> 6278 6279 <declare-styleable name="DecelerateInterpolator"> 6280 <!-- This is the amount of acceleration to add when easing out. --> 6281 <attr name="factor" /> 6282 </declare-styleable> 6283 6284 <declare-styleable name="CycleInterpolator"> 6285 <attr name="cycles" format="float" /> 6286 </declare-styleable> 6287 6288 <declare-styleable name="AnticipateInterpolator"> 6289 <!-- This is the amount of tension. --> 6290 <attr name="tension" format="float" /> 6291 </declare-styleable> 6292 6293 <declare-styleable name="OvershootInterpolator"> 6294 <!-- This is the amount of tension. --> 6295 <attr name="tension" /> 6296 </declare-styleable> 6297 6298 <declare-styleable name="AnticipateOvershootInterpolator"> 6299 <!-- This is the amount of tension. --> 6300 <attr name="tension" /> 6301 <!-- This is the amount by which to multiply the tension. --> 6302 <attr name="extraTension" format="float" /> 6303 </declare-styleable> 6304 6305 <declare-styleable name="PathInterpolator"> 6306 <!-- The x coordinate of the first control point of the cubic Bezier. --> 6307 <attr name="controlX1" format="float" /> 6308 <!-- The y coordinate of the first control point of the cubic Bezier. --> 6309 <attr name="controlY1" format="float" /> 6310 <!-- The x coordinate of the second control point of the cubic Bezier. --> 6311 <attr name="controlX2" format="float" /> 6312 <!-- The y coordinate of the second control point of the cubic Bezier. --> 6313 <attr name="controlY2" format="float" /> 6314 <!-- The control points defined as a path. 6315 When pathData is defined, then both of the control points of the 6316 cubic Bezier will be ignored. --> 6317 <attr name="pathData"/> 6318 </declare-styleable> 6319 6320 <!-- ========================== --> 6321 <!-- Transition attributes --> 6322 <!-- ========================== --> 6323 <eat-comment /> 6324 6325 <!-- Use specific transition subclass names as the root tag of the XML resource that 6326 describes a {@link android.transition.Transition Transition}, 6327 such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. --> 6328 <declare-styleable name="Transition"> 6329 <!-- Amount of time (in milliseconds) that the transition should run. --> 6330 <attr name="duration" /> 6331 <!-- Delay in milliseconds before the transition starts. --> 6332 <attr name="startDelay" format="integer" /> 6333 <!-- Interpolator to be used in the animations spawned by this transition. --> 6334 <attr name="interpolator" /> 6335 <!-- The match order to use for the transition. This is a comma-separated 6336 list of values, containing one or more of the following: 6337 id, itemId, name, instance. These correspond to 6338 {@link android.transition.Transition#MATCH_ID}, 6339 {@link android.transition.Transition#MATCH_ITEM_ID}, 6340 {@link android.transition.Transition#MATCH_NAME}, and 6341 {@link android.transition.Transition#MATCH_INSTANCE}, respectively. 6342 This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. --> 6343 <attr name="matchOrder" format="string" /> 6344 </declare-styleable> 6345 6346 <!-- @hide For internal use only. Use only as directed. --> 6347 <declare-styleable name="EpicenterTranslateClipReveal"> 6348 <attr name="interpolatorX" format="reference" /> 6349 <attr name="interpolatorY" format="reference" /> 6350 <attr name="interpolatorZ" format="reference" /> 6351 </declare-styleable> 6352 6353 <!-- Use <code>fade</code>as the root tag of the XML resource that 6354 describes a {@link android.transition.Fade Fade} transition. 6355 The attributes of the {@link android.R.styleable#Transition Transition} 6356 resource are available in addition to the specific attributes of Fade 6357 described here. --> 6358 <declare-styleable name="Fade"> 6359 <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only 6360 with the Fade transition. --> 6361 <attr name="fadingMode"> 6362 <!-- Fade will only fade appearing items in. --> 6363 <enum name="fade_in" value="1" /> 6364 <!-- Fade will only fade disappearing items out. --> 6365 <enum name="fade_out" value="2" /> 6366 <!-- Fade will fade appearing items in and disappearing items out. --> 6367 <enum name="fade_in_out" value="3" /> 6368 </attr> 6369 </declare-styleable> 6370 6371 <!-- Use <code>slide</code>as the root tag of the XML resource that 6372 describes a {@link android.transition.Slide Slide} transition. 6373 The attributes of the {@link android.R.styleable#Transition Transition} 6374 resource are available in addition to the specific attributes of Slide 6375 described here. --> 6376 <declare-styleable name="Slide"> 6377 <attr name="slideEdge"> 6378 <!-- Slide to and from the left edge of the Scene. --> 6379 <enum name="left" value="0x03" /> 6380 <!-- Slide to and from the top edge of the Scene. --> 6381 <enum name="top" value="0x30" /> 6382 <!-- Slide to and from the right edge of the Scene. --> 6383 <enum name="right" value="0x05" /> 6384 <!-- Slide to and from the bottom edge of the Scene. --> 6385 <enum name="bottom" value="0x50" /> 6386 <!-- Slide to and from the x-axis position at the start of the Scene root. --> 6387 <enum name="start" value="0x00800003"/> 6388 <!-- Slide to and from the x-axis position at the end of the Scene root. --> 6389 <enum name="end" value="0x00800005"/> 6390 </attr> 6391 </declare-styleable> 6392 6393 <!-- Use with {@link android.transition.Visibility} transitions, such as 6394 <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which 6395 views are supported. --> 6396 <declare-styleable name="VisibilityTransition"> 6397 <!-- Changes whether the transition supports appearing and/or disappearing Views. 6398 Corresponds to {@link android.transition.Visibility#setMode(int)}. --> 6399 <attr name="transitionVisibilityMode"> 6400 <!-- Only appearing Views will be supported. --> 6401 <flag name="mode_in" value="1" /> 6402 <!-- Only disappearing Views will be supported. --> 6403 <flag name="mode_out" value="2" /> 6404 </attr> 6405 </declare-styleable> 6406 <!-- Use <code>target</code> as the root tag of the XML resource that 6407 describes a {@link android.transition.Transition#addTarget(int) 6408 targetId} of a transition. There can be one or more targets inside 6409 a <code>targets</code> tag, which is itself inside an appropriate 6410 {@link android.R.styleable#Transition Transition} tag. 6411 --> 6412 <declare-styleable name="TransitionTarget"> 6413 <!-- The id of a target on which this transition will animate changes. --> 6414 <attr name="targetId" format="reference" /> 6415 <!-- The id of a target to exclude from this transition. --> 6416 <attr name="excludeId" format="reference" /> 6417 <!-- The fully-qualified name of the Class to include in this transition. --> 6418 <attr name="targetClass" /> 6419 <!-- The fully-qualified name of the Class to exclude from this transition. --> 6420 <attr name="excludeClass" format="string" /> 6421 <!-- The transitionName of the target on which this transition will animation changes. --> 6422 <attr name="targetName" format="string" /> 6423 <!-- The transitionName of the target to exclude from this transition. --> 6424 <attr name="excludeName" format="string" /> 6425 </declare-styleable> 6426 6427 <!-- Use <code>set</code> as the root tag of the XML resource that 6428 describes a {@link android.transition.TransitionSet 6429 TransitionSet} transition. --> 6430 <declare-styleable name="TransitionSet"> 6431 <attr name="transitionOrdering"> 6432 <!-- child transitions should be played together. --> 6433 <enum name="together" value="0" /> 6434 <!-- child transitions should be played sequentially, in the same order 6435 as the xml. --> 6436 <enum name="sequential" value="1" /> 6437 </attr> 6438 </declare-styleable> 6439 6440 <!-- Use <code>changeTransform</code> as the root tag of the XML resource that 6441 describes a {@link android.transition.ChangeTransform} transition. --> 6442 <declare-styleable name="ChangeTransform"> 6443 <!-- A parent change should use an overlay or affect the transform of the 6444 transitionining View. Default is true. Corresponds to 6445 {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. --> 6446 <attr name="reparentWithOverlay" format="boolean"/> 6447 6448 <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to 6449 {@link android.transition.ChangeTransform#setReparent(boolean)}. --> 6450 <attr name="reparent" format="boolean"/> 6451 </declare-styleable> 6452 6453 <!-- Use <code>changeBounds</code>as the root tag of the XML resource that 6454 describes a {@link android.transition.ChangeBounds} transition. 6455 The attributes of the {@link android.R.styleable#Transition Transition} 6456 resource are available in addition to the specific attributes of ChangeBounds 6457 described here. --> 6458 <declare-styleable name="ChangeBounds"> 6459 <!-- Resize the view by adjusting the clipBounds rather than changing the 6460 dimensions of the view itself. The default value is false. --> 6461 <attr name="resizeClip" format="boolean"/> 6462 </declare-styleable> 6463 6464 <!-- Use <code>transitionManager</code> as the root tag of the XML resource that 6465 describes a {@link android.transition.TransitionManager 6466 TransitionManager}. --> 6467 <declare-styleable name="TransitionManager"> 6468 <!-- The id of a transition to be used in a particular scene change. --> 6469 <attr name="transition" format="reference" /> 6470 <!-- The originating scene in this scene change. --> 6471 <attr name="fromScene" format="reference" /> 6472 <!-- The destination scene in this scene change. --> 6473 <attr name="toScene" format="reference" /> 6474 </declare-styleable> 6475 6476 <!-- Use <code>arcMotion</code> as the root tag of the XML resource that 6477 describes a {@link android.transition.ArcMotion}. This must be used 6478 within a transition with which the PathMotion should be associated. --> 6479 <declare-styleable name="ArcMotion"> 6480 <!-- The minimum arc angle in degrees between the start and end points when 6481 they are close to horizontal. --> 6482 <attr name="minimumHorizontalAngle" format="float" /> 6483 <!-- The minimum arc angle in degrees between the start and end points when 6484 they are close to vertical. --> 6485 <attr name="minimumVerticalAngle" format="float" /> 6486 <!-- The maximum arc angle in degrees between the start and end points. --> 6487 <attr name="maximumAngle" format="float" /> 6488 </declare-styleable> 6489 6490 <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that 6491 describes a {@link android.transition.PatternPathMotion}. This must be used 6492 within a transition with which the PathMotion should be associated. --> 6493 <declare-styleable name="PatternPathMotion"> 6494 <!-- The path string describing the pattern to use for the PathPathMotion. --> 6495 <attr name="patternPathData" format="string" /> 6496 </declare-styleable> 6497 6498 <!-- ========================== --> 6499 <!-- ValueAnimator class attributes --> 6500 <!-- ========================== --> 6501 <eat-comment /> 6502 6503 <declare-styleable name="Animator"> 6504 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6505 <attr name="interpolator" /> 6506 <!-- Amount of time (in milliseconds) for the animation to run. --> 6507 <attr name="duration" /> 6508 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6509 <attr name="startOffset"/> 6510 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6511 <attr name="repeatCount"/> 6512 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6513 greater than 0 or infinite. The default value is restart. --> 6514 <attr name="repeatMode"/> 6515 <!-- Value the animation starts from. --> 6516 <attr name="valueFrom" format="float|integer|color|dimension|string"/> 6517 <!-- Value the animation animates to. --> 6518 <attr name="valueTo" format="float|integer|color|dimension|string"/> 6519 <!-- The type of valueFrom and valueTo. --> 6520 <attr name="valueType"> 6521 <!-- The given values are floats. This is the default value if valueType is 6522 unspecified. Note that if any value attribute has a color value 6523 (beginning with "#"), then this attribute is ignored and the color values are 6524 interpreted as integers. --> 6525 <enum name="floatType" value="0" /> 6526 <!-- values are integers. --> 6527 <enum name="intType" value="1" /> 6528 <!-- values are paths defined as strings. 6529 This type is used for path morphing in AnimatedVectorDrawable. --> 6530 <enum name="pathType" value="2" /> 6531 <!-- values are colors, which are integers starting with "#". --> 6532 <enum name="colorType" value="3" /> 6533 </attr> 6534 <!-- Placeholder for a deleted attribute. This should be removed before M release. --> 6535 <attr name="removeBeforeMRelease" format="integer" /> 6536 </declare-styleable> 6537 6538 <declare-styleable name="PropertyValuesHolder"> 6539 <attr name="valueType" /> 6540 <attr name="propertyName" /> 6541 <attr name="valueFrom" /> 6542 <attr name="valueTo" /> 6543 </declare-styleable> 6544 6545 <declare-styleable name="Keyframe"> 6546 <attr name="valueType" /> 6547 <attr name="value" /> 6548 <attr name="fraction" format="float" /> 6549 <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used 6550 to interpolate between this keyframe and the previous keyframe. --> 6551 <attr name="interpolator" /> 6552 </declare-styleable> 6553 6554 <!-- ========================== --> 6555 <!-- ObjectAnimator class attributes --> 6556 <!-- ========================== --> 6557 <eat-comment /> 6558 6559 <declare-styleable name="PropertyAnimator"> 6560 <!-- Name of the property being animated. --> 6561 <attr name="propertyName" format="string"/> 6562 <!-- Name of the property being animated as the X coordinate of the pathData. --> 6563 <attr name="propertyXName" format="string"/> 6564 <!-- Name of the property being animated as the Y coordinate of the pathData. --> 6565 <attr name="propertyYName" format="string"/> 6566 <!-- The path used to animate the properties in the ObjectAnimator. --> 6567 <attr name="pathData"/> 6568 </declare-styleable> 6569 6570 6571 <!-- ========================== --> 6572 <!-- AnimatorSet class attributes --> 6573 <!-- ========================== --> 6574 <eat-comment /> 6575 6576 <declare-styleable name="AnimatorSet"> 6577 <!-- Name of the property being animated. --> 6578 <attr name="ordering"> 6579 <!-- child animations should be played together. --> 6580 <enum name="together" value="0" /> 6581 <!-- child animations should be played sequentially, in the same order as the xml. --> 6582 <enum name="sequentially" value="1" /> 6583 </attr> 6584 </declare-styleable> 6585 6586 <!-- ========================== --> 6587 <!-- State attributes --> 6588 <!-- ========================== --> 6589 <eat-comment /> 6590 6591 <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of 6592 states may vary between view implementations, as documented on the individual state 6593 attributes. --> 6594 <declare-styleable name="DrawableStates"> 6595 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6596 set when a view has input focus. --> 6597 <attr name="state_focused" format="boolean" /> 6598 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6599 set when a view's window has input focus. --> 6600 <attr name="state_window_focused" format="boolean" /> 6601 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6602 set when a view is enabled. --> 6603 <attr name="state_enabled" format="boolean" /> 6604 <!-- State identifier indicating that the object <var>may</var> display a check mark. See 6605 {@link android.R.attr#state_checked} for the identifier that indicates whether it is 6606 actually checked. --> 6607 <attr name="state_checkable" format="boolean"/> 6608 <!-- State identifier indicating that the object is currently checked. See 6609 {@link android.R.attr#state_checkable} for an additional identifier that can indicate 6610 if any object may ever display a check, regardless of whether state_checked is 6611 currently set. --> 6612 <attr name="state_checked" format="boolean"/> 6613 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6614 set when a view (or one of its parents) is currently selected. --> 6615 <attr name="state_selected" format="boolean" /> 6616 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6617 set when the user is pressing down in a view. --> 6618 <attr name="state_pressed" format="boolean" /> 6619 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6620 set when a view or its parent has been "activated" meaning the user has currently 6621 marked it as being of interest. This is an alternative representation of 6622 state_checked for when the state should be propagated down the view hierarchy. --> 6623 <attr name="state_activated" format="boolean" /> 6624 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6625 set when a view or drawable is considered "active" by its host. Actual usage may vary 6626 between views. Consult the host view documentation for details. --> 6627 <attr name="state_active" format="boolean" /> 6628 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6629 set when a view or drawable is considered "single" by its host. Actual usage may vary 6630 between views. Consult the host view documentation for details. --> 6631 <attr name="state_single" format="boolean" /> 6632 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6633 set when a view or drawable is in the first position in an ordered set. Actual usage 6634 may vary between views. Consult the host view documentation for details. --> 6635 <attr name="state_first" format="boolean" /> 6636 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6637 set when a view or drawable is in the middle position in an ordered set. Actual usage 6638 may vary between views. Consult the host view documentation for details. --> 6639 <attr name="state_middle" format="boolean" /> 6640 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6641 set when a view or drawable is in the last position in an ordered set. Actual usage 6642 may vary between views. Consult the host view documentation for details. --> 6643 <attr name="state_last" format="boolean" /> 6644 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6645 indicating that the Drawable is in a view that is hardware accelerated. 6646 This means that the device can at least render a full-screen scaled 6647 bitmap with one layer of text and bitmaps composited on top of it 6648 at 60fps. When this is set, the colorBackgroundCacheHint will be 6649 ignored even if it specifies a solid color, since that optimization 6650 is not needed. --> 6651 <attr name="state_accelerated" format="boolean" /> 6652 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6653 set when a pointer is hovering over the view. --> 6654 <attr name="state_hovered" format="boolean" /> 6655 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6656 indicating that the Drawable is in a view that is capable of accepting a drop of 6657 the content currently being manipulated in a drag-and-drop operation. --> 6658 <attr name="state_drag_can_accept" format="boolean" /> 6659 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6660 indicating that a drag operation (for which the Drawable's view is a valid recipient) 6661 is currently positioned over the Drawable. --> 6662 <attr name="state_drag_hovered" format="boolean" /> 6663 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6664 indicating that a View has accessibility focus. --> 6665 <attr name="state_accessibility_focused" format="boolean" /> 6666 </declare-styleable> 6667 <declare-styleable name="ViewDrawableStates"> 6668 <attr name="state_pressed" /> 6669 <attr name="state_focused" /> 6670 <attr name="state_selected" /> 6671 <attr name="state_window_focused" /> 6672 <attr name="state_enabled" /> 6673 <attr name="state_activated" /> 6674 <attr name="state_accelerated" /> 6675 <attr name="state_hovered" /> 6676 <attr name="state_drag_can_accept" /> 6677 <attr name="state_drag_hovered" /> 6678 </declare-styleable> 6679 <!-- State array representing a menu item that is currently checked. --> 6680 <declare-styleable name="MenuItemCheckedState"> 6681 <attr name="state_checkable" /> 6682 <attr name="state_checked" /> 6683 </declare-styleable> 6684 <!-- State array representing a menu item that is checkable but is not currently checked. --> 6685 <declare-styleable name="MenuItemUncheckedState"> 6686 <attr name="state_checkable" /> 6687 </declare-styleable> 6688 <!-- State array representing a menu item that is currently focused and checked. --> 6689 <declare-styleable name="MenuItemCheckedFocusedState"> 6690 <attr name="state_checkable" /> 6691 <attr name="state_checked" /> 6692 <attr name="state_focused" /> 6693 </declare-styleable> 6694 <!-- State array representing a menu item that is focused and checkable but is not currently checked. --> 6695 <declare-styleable name="MenuItemUncheckedFocusedState"> 6696 <attr name="state_checkable" /> 6697 <attr name="state_focused" /> 6698 </declare-styleable> 6699 <!-- State array representing an expandable list child's indicator. --> 6700 <declare-styleable name="ExpandableListChildIndicatorState"> 6701 <!-- State identifier indicating the child is the last child within its group. --> 6702 <attr name="state_last" /> 6703 </declare-styleable> 6704 <!-- State array representing an expandable list group's indicator. --> 6705 <declare-styleable name="ExpandableListGroupIndicatorState"> 6706 <!-- State identifier indicating the group is expanded. --> 6707 <attr name="state_expanded" format="boolean" /> 6708 <!-- State identifier indicating the group is empty (has no children). --> 6709 <attr name="state_empty" format="boolean" /> 6710 </declare-styleable> 6711 <declare-styleable name="PopupWindowBackgroundState"> 6712 <!-- State identifier indicating the popup will be above the anchor. --> 6713 <attr name="state_above_anchor" format="boolean" /> 6714 </declare-styleable> 6715 <declare-styleable name="TextViewMultiLineBackgroundState"> 6716 <!-- State identifier indicating a TextView has a multi-line layout. --> 6717 <attr name="state_multiline" format="boolean" /> 6718 </declare-styleable> 6719 6720 <!-- ***************************************************************** --> 6721 <!-- Support for Searchable activities. --> 6722 <!-- ***************************************************************** --> 6723 <eat-comment /> 6724 6725 <!-- Searchable activities and applications must provide search configuration information 6726 in an XML file, typically called searchable.xml. This file is referenced in your manifest. 6727 For a more in-depth discussion of search configuration, please refer to 6728 {@link android.app.SearchManager}. --> 6729 <declare-styleable name="Searchable"> 6730 <!--<strong>This is deprecated.</strong><br/>The default 6731 application icon is now always used, so this attribute is 6732 obsolete.--> 6733 <attr name="icon" /> 6734 <!-- This is the user-displayed name of the searchable activity. <i>Required 6735 attribute.</i> --> 6736 <attr name="label" /> 6737 <!-- If supplied, this string will be displayed as a hint to the user. <i>Optional 6738 attribute.</i> --> 6739 <attr name="hint" /> 6740 <!-- If supplied, this string will be displayed as the text of the "Search" button. 6741 <i>Optional attribute.</i> 6742 {@deprecated This will create a non-standard UI appearance, because the search bar UI is 6743 changing to use only icons for its buttons.}--> 6744 <attr name="searchButtonText" format="string" /> 6745 <attr name="inputType" /> 6746 <attr name="imeOptions" /> 6747 6748 <!-- Additional features are controlled by mode bits in this field. Omitting 6749 this field, or setting to zero, provides default behavior. <i>Optional attribute.</i> 6750 --> 6751 <attr name="searchMode"> 6752 <!-- If set, this flag enables the display of the search target (label) within the 6753 search bar. If neither bad mode is selected, no badge will be shown. --> 6754 <flag name="showSearchLabelAsBadge" value="0x04" /> 6755 <!--<strong>This is deprecated.</strong><br/>The default 6756 application icon is now always used, so this option is 6757 obsolete.--> 6758 <flag name="showSearchIconAsBadge" value="0x08" /> 6759 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to 6760 be considered as the text for suggestion query rewriting. This should only 6761 be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user 6762 inspection and editing - typically, HTTP/HTTPS Uri's. --> 6763 <flag name="queryRewriteFromData" value="0x10" /> 6764 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to 6765 be considered as the text for suggestion query rewriting. This should be used 6766 for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA 6767 values are not suitable for user inspection and editing. --> 6768 <flag name="queryRewriteFromText" value="0x20" /> 6769 </attr> 6770 6771 <!-- Voice search features are controlled by mode bits in this field. Omitting 6772 this field, or setting to zero, provides default behavior. 6773 If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must 6774 also be set. <i>Optional attribute.</i> 6775 --> 6776 <attr name="voiceSearchMode"> 6777 <!-- If set, display a voice search button. This only takes effect if voice search is 6778 available on the device. --> 6779 <flag name="showVoiceSearchButton" value="0x01" /> 6780 <!-- If set, the voice search button will take the user directly to a built-in 6781 voice web search activity. Most applications will not use this flag, as it 6782 will take the user away from the activity in which search was invoked. --> 6783 <flag name="launchWebSearch" value="0x02" /> 6784 <!-- If set, the voice search button will take the user directly to a built-in 6785 voice recording activity. This activity will prompt the user to speak, 6786 transcribe the spoken text, and forward the resulting query 6787 text to the searchable activity, just as if the user had typed it into 6788 the search UI and clicked the search button. --> 6789 <flag name="launchRecognizer" value="0x04" /> 6790 </attr> 6791 6792 <!-- If provided, this specifies the language model that should be used by the 6793 voice recognition system. See 6794 {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information. 6795 If not provided, the default value 6796 {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. --> 6797 <attr name="voiceLanguageModel" format="string" /> 6798 <!-- If provided, this specifies a prompt that will be displayed during voice input. --> 6799 <attr name="voicePromptText" format="string" /> 6800 <!-- If provided, this specifies the spoken language to be expected, and that it will be 6801 different than the one set in the {@link java.util.Locale#getDefault()}. --> 6802 <attr name="voiceLanguage" format="string" /> 6803 <!-- If provided, enforces the maximum number of results to return, including the "best" 6804 result which will always be provided as the SEARCH intent's primary query. Must be one 6805 or greater. If not provided, the recognizer will choose how many results to return. 6806 --> 6807 <attr name="voiceMaxResults" format="integer" /> 6808 6809 <!-- If provided, this is the trigger indicating that the searchable activity 6810 provides suggestions as well. The value must be a fully-qualified content provider 6811 authority (for example, "com.example.android.apis.SuggestionProvider") and should match 6812 the "android:authorities" tag in your content provider's manifest entry. <i>Optional 6813 attribute.</i> --> 6814 <attr name="searchSuggestAuthority" format="string" /> 6815 <!-- If provided, this will be inserted in the suggestions query Uri, after the authority 6816 you have provide but before the standard suggestions path. <i>Optional attribute.</i> 6817 --> 6818 <attr name="searchSuggestPath" format="string" /> 6819 <!-- If provided, suggestion queries will be passed into your query function 6820 as the <i>selection</i> parameter. Typically this will be a WHERE clause for your 6821 database, and will contain a single question mark, which represents the actual query 6822 string that has been typed by the user. If not provided, then the user query text 6823 will be appended to the query Uri (after an additional "/".) <i>Optional 6824 attribute.</i> --> 6825 <attr name="searchSuggestSelection" format="string" /> 6826 6827 <!-- If provided, and not overridden by an action in the selected suggestion, this 6828 string will be placed in the action field of the {@link android.content.Intent Intent} 6829 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6830 <attr name="searchSuggestIntentAction" format="string" /> 6831 <!-- If provided, and not overridden by an action in the selected suggestion, this 6832 string will be placed in the data field of the {@link android.content.Intent Intent} 6833 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6834 <attr name="searchSuggestIntentData" format="string" /> 6835 6836 <!-- If provided, this is the minimum number of characters needed to trigger 6837 search suggestions. The default value is 0. <i>Optional attribute.</i> --> 6838 <attr name="searchSuggestThreshold" format="integer" /> 6839 6840 <!-- If provided and <code>true</code>, this searchable activity will be 6841 included in any global lists of search targets. 6842 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6843 <attr name="includeInGlobalSearch" format="boolean" /> 6844 6845 <!-- If provided and <code>true</code>, this searchable activity will be invoked for all 6846 queries in a particular session. If set to <code>false</code> and the activity 6847 returned zero results for a query, it will not be invoked again in that session for 6848 supersets of that zero-results query. For example, if the activity returned zero 6849 results for "bo", it would not be queried again for "bob". 6850 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6851 <attr name="queryAfterZeroResults" format="boolean" /> 6852 <!-- If provided, this string will be used to describe the searchable item in the 6853 searchable items settings within system search settings. <i>Optional 6854 attribute.</i> --> 6855 <attr name="searchSettingsDescription" format="string" /> 6856 6857 <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching 6858 within this activity would be detected and treated as URLs (show a 'go' button in the 6859 keyboard and invoke the browser directly when user launches the URL instead of passing 6860 the URL to the activity). If set to <code>false</code> any URLs entered are treated as 6861 normal query text. 6862 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6863 <attr name="autoUrlDetect" format="boolean" /> 6864 6865 </declare-styleable> 6866 6867 <!-- In order to process special action keys during search, you must define them using 6868 one or more "ActionKey" elements in your Searchable metadata. For a more in-depth 6869 discussion of action code handling, please refer to {@link android.app.SearchManager}. 6870 --> 6871 <declare-styleable name="SearchableActionKey"> 6872 <!-- This attribute denotes the action key you wish to respond to. Note that not 6873 all action keys are actually supported using this mechanism, as many of them are 6874 used for typing, navigation, or system functions. This will be added to the 6875 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6876 searchable activity. To examine the key code, use 6877 {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}. 6878 <p>Note, in addition to the keycode, you must also provide one or more of the action 6879 specifier attributes. <i>Required attribute.</i> --> 6880 <attr name="keycode" /> 6881 6882 <!-- If you wish to handle an action key during normal search query entry, you 6883 must define an action string here. This will be added to the 6884 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6885 searchable activity. To examine the string, use 6886 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6887 <i>Optional attribute.</i> --> 6888 <attr name="queryActionMsg" format="string" /> 6889 6890 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6891 selected</i>, there are two ways to handle this. If <i>all</i> of your suggestions 6892 can handle the action key, you can simply define the action message using this 6893 attribute. This will be added to the 6894 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6895 searchable activity. To examine the string, use 6896 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6897 <i>Optional attribute.</i> --> 6898 <attr name="suggestActionMsg" format="string" /> 6899 6900 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6901 selected</i>, but you do not wish to enable this action key for every suggestion, 6902 then you can use this attribute to control it on a suggestion-by-suggestion basis. 6903 First, you must define a column (and name it here) where your suggestions will include 6904 the action string. Then, in your content provider, you must provide this column, and 6905 when desired, provide data in this column. 6906 The search manager will look at your suggestion cursor, using the string 6907 provided here in order to select a column, and will use that to select a string from 6908 the cursor. That string will be added to the 6909 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to 6910 your searchable activity. To examine the string, use 6911 {@link android.content.Intent#getStringExtra 6912 getStringExtra(SearchManager.ACTION_MSG)}. <i>If the data does not exist for the 6913 selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> --> 6914 <attr name="suggestActionMsgColumn" format="string" /> 6915 6916 </declare-styleable> 6917 6918 <!-- ***************************************************************** --> 6919 <!-- Support for MapView. --> 6920 <!-- ***************************************************************** --> 6921 <eat-comment /> 6922 6923 <!-- The set of attributes for a MapView. --> 6924 <declare-styleable name="MapView"> 6925 <!-- Value is a string that specifies the Maps API Key to use. --> 6926 <attr name="apiKey" format="string" /> 6927 </declare-styleable> 6928 6929 <!-- **************************************************************** --> 6930 <!-- Menu XML inflation. --> 6931 <!-- **************************************************************** --> 6932 <eat-comment /> 6933 6934 <!-- Base attributes that are available to all Menu objects. --> 6935 <declare-styleable name="Menu"> 6936 </declare-styleable> 6937 6938 <!-- Base attributes that are available to all groups. --> 6939 <declare-styleable name="MenuGroup"> 6940 6941 <!-- The ID of the group. --> 6942 <attr name="id" /> 6943 6944 <!-- The category applied to all items within this group. 6945 (This will be or'ed with the orderInCategory attribute.) --> 6946 <attr name="menuCategory"> 6947 <!-- Items are part of a container. --> 6948 <enum name="container" value="0x00010000" /> 6949 <!-- Items are provided by the system. --> 6950 <enum name="system" value="0x00020000" /> 6951 <!-- Items are user-supplied secondary (infrequently used). --> 6952 <enum name="secondary" value="0x00030000" /> 6953 <!-- Items are alternative actions. --> 6954 <enum name="alternative" value="0x00040000" /> 6955 </attr> 6956 6957 <!-- The order within the category applied to all items within this group. 6958 (This will be or'ed with the category attribute.) --> 6959 <attr name="orderInCategory" format="integer" /> 6960 6961 <!-- Whether the items are capable of displaying a check mark. --> 6962 <attr name="checkableBehavior"> 6963 <!-- The items are not checkable. --> 6964 <enum name="none" value="0" /> 6965 <!-- The items are all checkable. --> 6966 <enum name="all" value="1" /> 6967 <!-- The items are checkable and there will only be a single checked item in 6968 this group. --> 6969 <enum name="single" value="2" /> 6970 </attr> 6971 6972 <!-- Whether the items are shown/visible. --> 6973 <attr name="visible" /> 6974 6975 <!-- Whether the items are enabled. --> 6976 <attr name="enabled" /> 6977 6978 </declare-styleable> 6979 6980 <!-- Base attributes that are available to all Item objects. --> 6981 <declare-styleable name="MenuItem"> 6982 6983 <!-- The ID of the item. --> 6984 <attr name="id" /> 6985 6986 <!-- The category applied to the item. 6987 (This will be or'ed with the orderInCategory attribute.) --> 6988 <attr name="menuCategory" /> 6989 6990 <!-- The order within the category applied to the item. 6991 (This will be or'ed with the category attribute.) --> 6992 <attr name="orderInCategory" /> 6993 6994 <!-- The title associated with the item. --> 6995 <attr name="title" format="string" /> 6996 6997 <!-- The condensed title associated with the item. This is used in situations where the 6998 normal title may be too long to be displayed. --> 6999 <attr name="titleCondensed" format="string" /> 7000 7001 <!-- The icon associated with this item. This icon will not always be shown, so 7002 the title should be sufficient in describing this item. --> 7003 <attr name="icon" /> 7004 7005 <!-- Tint to apply to the icon. --> 7006 <attr name="iconTint" format="color" /> 7007 7008 <!-- Blending mode used to apply the icon tint. --> 7009 <attr name="iconTintMode"> 7010 <!-- The tint is drawn on top of the icon. 7011 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 7012 <enum name="src_over" value="3" /> 7013 <!-- The tint is masked by the alpha channel of the icon. The icon’s 7014 color channels are thrown out. [Sa * Da, Sc * Da] --> 7015 <enum name="src_in" value="5" /> 7016 <!-- The tint is drawn above the icon, but with the icon’s alpha 7017 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 7018 <enum name="src_atop" value="9" /> 7019 <!-- Multiplies the color and alpha channels of the icon with those of 7020 the tint. [Sa * Da, Sc * Dc] --> 7021 <enum name="multiply" value="14" /> 7022 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 7023 <enum name="screen" value="15" /> 7024 <!-- Combines the tint and icon color and alpha channels, clamping the 7025 result to valid color values. Saturate(S + D) --> 7026 <enum name="add" value="16" /> 7027 </attr> 7028 7029 <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard 7030 with alphabetic keys. --> 7031 <attr name="alphabeticShortcut" format="string" /> 7032 7033 <!-- The alphabetic modifier key. This is the modifier when using a keyboard 7034 with alphabetic keys. The values should be kept in sync with KeyEvent --> 7035 <attr name="alphabeticModifiers"> 7036 <flag name="META" value="0x10000" /> 7037 <flag name="CTRL" value="0x1000" /> 7038 <flag name="ALT" value="0x02" /> 7039 <flag name="SHIFT" value="0x1" /> 7040 <flag name="SYM" value="0x4" /> 7041 <flag name="FUNCTION" value="0x8" /> 7042 </attr> 7043 7044 <!-- The numeric shortcut key. This is the shortcut when using a numeric (for example, 7045 12-key) keyboard. --> 7046 <attr name="numericShortcut" format="string" /> 7047 7048 <!-- The numeric modifier key. This is the modifier when using a numeric (for example, 7049 12-key) keyboard. The values should be kept in sync with KeyEvent --> 7050 <attr name="numericModifiers"> 7051 <flag name="META" value="0x10000" /> 7052 <flag name="CTRL" value="0x1000" /> 7053 <flag name="ALT" value="0x02" /> 7054 <flag name="SHIFT" value="0x1" /> 7055 <flag name="SYM" value="0x4" /> 7056 <flag name="FUNCTION" value="0x8" /> 7057 </attr> 7058 7059 <!-- Whether the item is capable of displaying a check mark. --> 7060 <attr name="checkable" format="boolean" /> 7061 7062 <!-- Whether the item is checked. Note that you must first have enabled checking with 7063 the checkable attribute or else the check mark will not appear. --> 7064 <attr name="checked" /> 7065 7066 <!-- Whether the item is shown/visible. --> 7067 <attr name="visible" /> 7068 7069 <!-- Whether the item is enabled. --> 7070 <attr name="enabled" /> 7071 7072 <!-- Name of a method on the Context used to inflate the menu that will be 7073 called when the item is clicked. --> 7074 <attr name="onClick" /> 7075 7076 <!-- How this item should display in the Action Bar, if present. --> 7077 <attr name="showAsAction"> 7078 <!-- Never show this item in an action bar, show it in the overflow menu instead. 7079 Mutually exclusive with "ifRoom" and "always". --> 7080 <flag name="never" value="0" /> 7081 <!-- Show this item in an action bar if there is room for it as determined 7082 by the system. Favor this option over "always" where possible. 7083 Mutually exclusive with "never" and "always". --> 7084 <flag name="ifRoom" value="1" /> 7085 <!-- Always show this item in an actionbar, even if it would override 7086 the system's limits of how much stuff to put there. This may make 7087 your action bar look bad on some screens. In most cases you should 7088 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". --> 7089 <flag name="always" value="2" /> 7090 <!-- When this item is shown as an action in the action bar, show a text 7091 label with it even if it has an icon representation. --> 7092 <flag name="withText" value="4" /> 7093 <!-- This item's action view collapses to a normal menu 7094 item. When expanded, the action view takes over a 7095 larger segment of its container. --> 7096 <flag name="collapseActionView" value="8" /> 7097 </attr> 7098 7099 <!-- An optional layout to be used as an action view. 7100 See {@link android.view.MenuItem#setActionView(android.view.View)} 7101 for more info. --> 7102 <attr name="actionLayout" format="reference" /> 7103 7104 <!-- The name of an optional View class to instantiate and use as an 7105 action view. See {@link android.view.MenuItem#setActionView(android.view.View)} 7106 for more info. --> 7107 <attr name="actionViewClass" format="string" /> 7108 7109 <!-- The name of an optional ActionProvider class to instantiate an action view 7110 and perform operations such as default action for that menu item. 7111 See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)} 7112 for more info. --> 7113 <attr name="actionProviderClass" format="string" /> 7114 7115 <!-- The content description associated with the item. --> 7116 <attr name="contentDescription" format="string" /> 7117 7118 <!-- The tooltip text associated with the item. --> 7119 <attr name="tooltipText" format="string" /> 7120 7121 </declare-styleable> 7122 7123 <!-- Attrbitutes for a ActvityChooserView. --> 7124 <declare-styleable name="ActivityChooserView"> 7125 <!-- The maximal number of items initially shown in the activity list. --> 7126 <attr name="initialActivityCount" format="string" /> 7127 <!-- The drawable to show in the button for expanding the activities overflow popup. 7128 <strong>Note:</strong> Clients would like to set this drawable 7129 as a clue about the action the chosen activity will perform. For 7130 example, if share activity is to be chosen the drawable should 7131 give a clue that sharing is to be performed. 7132 --> 7133 <attr name="expandActivityOverflowButtonDrawable" format="reference" /> 7134 </declare-styleable> 7135 7136 <!-- **************************************************************** --> 7137 <!-- Preferences framework. --> 7138 <!-- **************************************************************** --> 7139 <eat-comment /> 7140 7141 <!-- Base attributes available to PreferenceGroup. --> 7142 <declare-styleable name="PreferenceGroup"> 7143 <!-- Whether to order the Preference under this group as they appear in the XML file. 7144 If this is false, the ordering will follow the Preference order attribute and 7145 default to alphabetic for those without the order attribute. --> 7146 <attr name="orderingFromXml" format="boolean" /> 7147 </declare-styleable> 7148 7149 <!-- Attribute for a header describing the item shown in the top-level list 7150 from which the selects the set of preference to dig in to. --> 7151 <declare-styleable name="PreferenceHeader"> 7152 <!-- Identifier value for the header. --> 7153 <attr name="id" /> 7154 <!-- The title of the item that is shown to the user. --> 7155 <attr name="title" /> 7156 <!-- The summary for the item. --> 7157 <attr name="summary" format="string" /> 7158 <!-- The title for the bread crumb of this item. --> 7159 <attr name="breadCrumbTitle" format="string" /> 7160 <!-- The short title for the bread crumb of this item. --> 7161 <attr name="breadCrumbShortTitle" format="string" /> 7162 <!-- An icon for the item. --> 7163 <attr name="icon" /> 7164 <!-- The fragment that is displayed when the user selects this item. --> 7165 <attr name="fragment" format="string" /> 7166 </declare-styleable> 7167 7168 <!-- WARNING: If adding attributes to Preference, make sure it does not conflict 7169 with a View's attributes. Some subclasses (for example, EditTextPreference) 7170 proxy all attributes to its EditText widget. --> 7171 <eat-comment /> 7172 7173 <!-- Base attributes available to Preference. --> 7174 <declare-styleable name="Preference"> 7175 <!-- The optional icon for the preference. --> 7176 <attr name="icon" /> 7177 <!-- The key to store the Preference value. --> 7178 <attr name="key" format="string" /> 7179 <!-- The title for the Preference. In API 25 and earlier, this value is read as a 7180 plain string with styling information stripped. --> 7181 <attr name="title" /> 7182 <!-- The summary for the Preference. In API 25 and earlier, this value is read as a 7183 plain string with styling information stripped. --> 7184 <attr name="summary" /> 7185 <!-- The order for the Preference (lower values are to be ordered first). If this is not 7186 specified, the default ordering will be alphabetic. --> 7187 <attr name="order" format="integer" /> 7188 <!-- When used inside of a modern PreferenceActivity, this declares 7189 a new PreferenceFragment to be shown when the user selects this item. --> 7190 <attr name="fragment" /> 7191 <!-- The layout for the Preference in a PreferenceActivity screen. This should 7192 rarely need to be changed, look at widgetLayout instead. --> 7193 <attr name="layout" /> 7194 <!-- The layout for the controllable widget portion of a Preference. This is inflated 7195 into the layout for a Preference and should be used more frequently than 7196 the layout attribute. For example, a checkbox preference would specify 7197 a custom layout (consisting of just the CheckBox) here. --> 7198 <attr name="widgetLayout" format="reference" /> 7199 <!-- Whether the Preference is enabled. --> 7200 <attr name="enabled" /> 7201 <!-- Whether the Preference is selectable. --> 7202 <attr name="selectable" format="boolean" /> 7203 <!-- The key of another Preference that this Preference will depend on. If the other 7204 Preference is not set or is off, this Preference will be disabled. --> 7205 <attr name="dependency" format="string" /> 7206 <!-- Whether the Preference stores its value to the storage. --> 7207 <attr name="persistent" /> 7208 <!-- The default value for the preference, which will be set either if persistence 7209 is off or persistence is on and the preference is not found in the persistent 7210 storage. --> 7211 <attr name="defaultValue" format="string|boolean|integer|reference|float" /> 7212 <!-- Whether the view of this Preference should be disabled when 7213 this Preference is disabled. --> 7214 <attr name="shouldDisableView" format="boolean" /> 7215 <!-- Whether the preference has enabled to have its view recycled when used in the list 7216 view. This is true by default. --> 7217 <attr name="recycleEnabled" format="boolean" /> 7218 <!-- Whether to use single line for the preference title text. By default, preference title 7219 will be constrained to one line, so the default value of this attribute is true. --> 7220 <attr name="singleLineTitle" format="boolean" /> 7221 <!-- Whether the space for the preference icon view will be reserved. By default, preference 7222 icon view visibility will be set to GONE when there is no icon provided, so the default 7223 value of this attribute is false. --> 7224 <attr name="iconSpaceReserved" format="boolean" /> 7225 </declare-styleable> 7226 7227 <!-- Base attributes available to CheckBoxPreference. --> 7228 <declare-styleable name="CheckBoxPreference"> 7229 <!-- The summary for the Preference in a PreferenceActivity screen when the 7230 CheckBoxPreference is checked. If separate on/off summaries are not 7231 needed, the summary attribute can be used instead. --> 7232 <attr name="summaryOn" format="string" /> 7233 <!-- The summary for the Preference in a PreferenceActivity screen when the 7234 CheckBoxPreference is unchecked. If separate on/off summaries are not 7235 needed, the summary attribute can be used instead. --> 7236 <attr name="summaryOff" format="string" /> 7237 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 7238 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 7239 <attr name="disableDependentsState" format="boolean" /> 7240 </declare-styleable> 7241 7242 <!-- Base attributes available to DialogPreference. --> 7243 <declare-styleable name="DialogPreference"> 7244 <!-- The title in the dialog. --> 7245 <attr name="dialogTitle" format="string" /> 7246 <!-- The message in the dialog. If a dialogLayout is provided and contains 7247 a TextView with ID android:id/message, this message will be placed in there. --> 7248 <attr name="dialogMessage" format="string" /> 7249 <!-- The icon for the dialog. --> 7250 <attr name="dialogIcon" format="reference" /> 7251 <!-- The positive button text for the dialog. Set to @null to hide the positive button. --> 7252 <attr name="positiveButtonText" format="string" /> 7253 <!-- The negative button text for the dialog. Set to @null to hide the negative button. --> 7254 <attr name="negativeButtonText" format="string" /> 7255 <!-- A layout to be used as the content View for the dialog. By default, this shouldn't 7256 be needed. If a custom DialogPreference is required, this should be set. For example, 7257 the EditTextPreference uses a layout with an EditText as this attribute. --> 7258 <attr name="dialogLayout" format="reference" /> 7259 </declare-styleable> 7260 7261 <!-- Base attributes available to ListPreference. --> 7262 <declare-styleable name="ListPreference"> 7263 <!-- The human-readable array to present as a list. Each entry must have a corresponding 7264 index in entryValues. --> 7265 <attr name="entries" /> 7266 <!-- The array to find the value to save for a preference when an entry from 7267 entries is selected. If a user clicks on the second item in entries, the 7268 second item in this array will be saved to the preference. --> 7269 <attr name="entryValues" format="reference" /> 7270 </declare-styleable> 7271 7272 <declare-styleable name="MultiSelectListPreference"> 7273 <!-- The human-readable array to present as a list. Each entry must have a corresponding 7274 index in entryValues. --> 7275 <attr name="entries" /> 7276 <!-- The array to find the value to save for a preference when an entry from 7277 entries is selected. If a user clicks the second item in entries, the 7278 second item in this array will be saved to the preference. --> 7279 <attr name="entryValues" /> 7280 </declare-styleable> 7281 7282 <!-- Base attributes available to RingtonePreference. --> 7283 <declare-styleable name="RingtonePreference"> 7284 <!-- Which ringtone type(s) to show in the picker. --> 7285 <attr name="ringtoneType"> 7286 <!-- Ringtones. --> 7287 <flag name="ringtone" value="1" /> 7288 <!-- Notification sounds. --> 7289 <flag name="notification" value="2" /> 7290 <!-- Alarm sounds. --> 7291 <flag name="alarm" value="4" /> 7292 <!-- All available ringtone sounds. --> 7293 <flag name="all" value="7" /> 7294 </attr> 7295 <!-- Whether to show an item for a default sound. --> 7296 <attr name="showDefault" format="boolean" /> 7297 <!-- Whether to show an item for 'Silent'. --> 7298 <attr name="showSilent" format="boolean" /> 7299 </declare-styleable> 7300 7301 <!-- Base attributes available to VolumePreference. --> 7302 <declare-styleable name="VolumePreference"> 7303 <!-- Different audio stream types. --> 7304 <attr name="streamType"> 7305 <enum name="voice" value="0" /> 7306 <enum name="system" value="1" /> 7307 <enum name="ring" value="2" /> 7308 <enum name="music" value="3" /> 7309 <enum name="alarm" value="4" /> 7310 </attr> 7311 </declare-styleable> 7312 7313 <declare-styleable name="InputMethodService"> 7314 <!-- Background to use for entire input method when it is being 7315 shown in fullscreen mode with the extract view, to ensure 7316 that it completely covers the application. This allows, 7317 for example, the candidate view to be hidden 7318 while in fullscreen mode without having the application show through 7319 behind it.--> 7320 <attr name="imeFullscreenBackground" format="reference|color" /> 7321 <!-- Animation to use when showing the fullscreen extract UI after 7322 it had previously been hidden. --> 7323 <attr name="imeExtractEnterAnimation" format="reference" /> 7324 <!-- Animation to use when hiding the fullscreen extract UI after 7325 it had previously been shown. --> 7326 <attr name="imeExtractExitAnimation" format="reference" /> 7327 </declare-styleable> 7328 7329 <declare-styleable name="VoiceInteractionSession"> 7330 </declare-styleable> 7331 7332 <declare-styleable name="KeyboardView"> 7333 <!-- Default KeyboardView style. --> 7334 <attr name="keyboardViewStyle" format="reference" /> 7335 7336 <!-- Image for the key. This image needs to be a StateListDrawable, with the following 7337 possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, 7338 checkable+checked+pressed. --> 7339 <attr name="keyBackground" format="reference" /> 7340 7341 <!-- Size of the text for character keys. --> 7342 <attr name="keyTextSize" format="dimension" /> 7343 7344 <!-- Size of the text for custom keys with some text and no icon. --> 7345 <attr name="labelTextSize" format="dimension" /> 7346 7347 <!-- Color to use for the label in a key. --> 7348 <attr name="keyTextColor" format="color" /> 7349 7350 <!-- Layout resource for key press feedback.--> 7351 <attr name="keyPreviewLayout" format="reference" /> 7352 7353 <!-- Vertical offset of the key press feedback from the key. --> 7354 <attr name="keyPreviewOffset" format="dimension" /> 7355 7356 <!-- Height of the key press feedback popup. --> 7357 <attr name="keyPreviewHeight" format="dimension" /> 7358 7359 <!-- Amount to offset the touch Y coordinate by, for bias correction. --> 7360 <attr name="verticalCorrection" format="dimension" /> 7361 7362 <!-- Layout resource for popup keyboards. --> 7363 <attr name="popupLayout" format="reference" /> 7364 7365 <attr name="shadowColor" /> 7366 <attr name="shadowRadius" /> 7367 </declare-styleable> 7368 7369 <declare-styleable name="KeyboardViewPreviewState"> 7370 <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView} 7371 key preview background. --> 7372 <attr name="state_long_pressable" format="boolean" /> 7373 </declare-styleable> 7374 7375 <declare-styleable name="Keyboard"> 7376 <!-- Default width of a key, in pixels or percentage of display width. --> 7377 <attr name="keyWidth" format="dimension|fraction" /> 7378 <!-- Default height of a key, in pixels or percentage of display width. --> 7379 <attr name="keyHeight" format="dimension|fraction" /> 7380 <!-- Default horizontal gap between keys. --> 7381 <attr name="horizontalGap" format="dimension|fraction" /> 7382 <!-- Default vertical gap between rows of keys. --> 7383 <attr name="verticalGap" format="dimension|fraction" /> 7384 </declare-styleable> 7385 7386 <declare-styleable name="Keyboard_Row"> 7387 <!-- Row edge flags. --> 7388 <attr name="rowEdgeFlags"> 7389 <!-- Row is anchored to the top of the keyboard. --> 7390 <flag name="top" value="4" /> 7391 <!-- Row is anchored to the bottom of the keyboard. --> 7392 <flag name="bottom" value="8" /> 7393 </attr> 7394 <!-- Mode of the keyboard. If the mode doesn't match the 7395 requested keyboard mode, the row will be skipped. --> 7396 <attr name="keyboardMode" format="reference" /> 7397 </declare-styleable> 7398 7399 <declare-styleable name="Keyboard_Key"> 7400 <!-- The unicode value or comma-separated values that this key outputs. --> 7401 <attr name="codes" format="integer|string" /> 7402 <!-- The XML keyboard layout of any popup keyboard. --> 7403 <attr name="popupKeyboard" format="reference" /> 7404 <!-- The characters to display in the popup keyboard. --> 7405 <attr name="popupCharacters" format="string" /> 7406 <!-- Key edge flags. --> 7407 <attr name="keyEdgeFlags"> 7408 <!-- Key is anchored to the left of the keyboard. --> 7409 <flag name="left" value="1" /> 7410 <!-- Key is anchored to the right of the keyboard. --> 7411 <flag name="right" value="2" /> 7412 </attr> 7413 <!-- Whether this is a modifier key such as Alt or Shift. --> 7414 <attr name="isModifier" format="boolean" /> 7415 <!-- Whether this is a toggle key. --> 7416 <attr name="isSticky" format="boolean" /> 7417 <!-- Whether long-pressing on this key will make it repeat. --> 7418 <attr name="isRepeatable" format="boolean" /> 7419 <!-- The icon to show in the popup preview. --> 7420 <attr name="iconPreview" format="reference" /> 7421 <!-- The string of characters to output when this key is pressed. --> 7422 <attr name="keyOutputText" format="string" /> 7423 <!-- The label to display on the key. --> 7424 <attr name="keyLabel" format="string" /> 7425 <!-- The icon to display on the key instead of the label. --> 7426 <attr name="keyIcon" format="reference" /> 7427 <!-- Mode of the keyboard. If the mode doesn't match the 7428 requested keyboard mode, the key will be skipped. --> 7429 <attr name="keyboardMode" /> 7430 </declare-styleable> 7431 7432 <!-- =============================== --> 7433 <!-- AppWidget package class attributes --> 7434 <!-- =============================== --> 7435 <eat-comment /> 7436 7437 <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that 7438 describes an AppWidget provider. See {@link android.appwidget android.appwidget} 7439 package for more info. 7440 --> 7441 <declare-styleable name="AppWidgetProviderInfo"> 7442 <!-- Minimum width of the AppWidget. --> 7443 <attr name="minWidth"/> 7444 <!-- Minimum height of the AppWidget. --> 7445 <attr name="minHeight"/> 7446 <!-- Minimum width that the AppWidget can be resized to. --> 7447 <attr name="minResizeWidth" format="dimension"/> 7448 <!-- Minimum height that the AppWidget can be resized to. --> 7449 <attr name="minResizeHeight" format="dimension"/> 7450 <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. --> 7451 <attr name="updatePeriodMillis" format="integer" /> 7452 <!-- A resource id of a layout. --> 7453 <attr name="initialLayout" format="reference" /> 7454 <!-- A resource id of a layout. --> 7455 <attr name="initialKeyguardLayout" format="reference" /> 7456 <!-- A class name in the AppWidget's package to be launched to configure. 7457 If not supplied, then no activity will be launched. --> 7458 <attr name="configure" format="string" /> 7459 <!-- A preview of what the AppWidget will look like after it's configured. 7460 If not supplied, the AppWidget's icon will be used. --> 7461 <attr name="previewImage" format="reference" /> 7462 <!-- The view id of the AppWidget subview which should be auto-advanced. 7463 by the widget's host. --> 7464 <attr name="autoAdvanceViewId" format="reference" /> 7465 <!-- Optional parameter which indicates if and how this widget can be 7466 resized. Supports combined values using | operator. --> 7467 <attr name="resizeMode" format="integer"> 7468 <flag name="none" value="0x0" /> 7469 <flag name="horizontal" value="0x1" /> 7470 <flag name="vertical" value="0x2" /> 7471 </attr> 7472 <!-- Optional parameter which indicates where this widget can be shown, 7473 ie. home screen, keyguard, search bar or any combination thereof. 7474 Supports combined values using | operator. --> 7475 <attr name="widgetCategory" format="integer"> 7476 <flag name="home_screen" value="0x1" /> 7477 <flag name="keyguard" value="0x2" /> 7478 <flag name="searchbox" value="0x4" /> 7479 </attr> 7480 </declare-styleable> 7481 7482 <!-- =============================== --> 7483 <!-- Wallpaper preview attributes --> 7484 <!-- =============================== --> 7485 <eat-comment /> 7486 7487 <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that 7488 describes a wallpaper preview. --> 7489 <declare-styleable name="WallpaperPreviewInfo"> 7490 <!-- A resource id of a static drawable. --> 7491 <attr name="staticWallpaperPreview" format="reference" /> 7492 </declare-styleable> 7493 7494 <!-- =============================== --> 7495 <!-- App package class attributes --> 7496 <!-- =============================== --> 7497 <eat-comment /> 7498 7499 <!-- ============================= --> 7500 <!-- View package class attributes --> 7501 <!-- ============================= --> 7502 <eat-comment /> 7503 7504 <!-- Attributes that can be used with <code><fragment></code> 7505 tags inside of the layout of an Activity. This instantiates 7506 the given {@link android.app.Fragment} and inserts its content 7507 view into the current location in the layout. --> 7508 <declare-styleable name="Fragment"> 7509 <!-- Supply the name of the fragment class to instantiate. --> 7510 <attr name="name" /> 7511 7512 <!-- Supply an identifier name for the top-level view, to later retrieve it 7513 with {@link android.view.View#findViewById View.findViewById()} or 7514 {@link android.app.Activity#findViewById Activity.findViewById()}. 7515 This must be a 7516 resource reference; typically you set this using the 7517 <code>@+</code> syntax to create a new ID resources. 7518 For example: <code>android:id="@+id/my_id"</code> which 7519 allows you to later retrieve the view 7520 with <code>findViewById(R.id.my_id)</code>. --> 7521 <attr name="id" /> 7522 7523 <!-- Supply a tag for the top-level view containing a String, to be retrieved 7524 later with {@link android.view.View#getTag View.getTag()} or 7525 searched for with {@link android.view.View#findViewWithTag 7526 View.findViewWithTag()}. It is generally preferable to use 7527 IDs (through the android:id attribute) instead of tags because 7528 they are faster and allow for compile-time type checking. --> 7529 <attr name="tag" /> 7530 7531 <!-- The Transition that will be used to move Views out of the scene when the 7532 fragment is removed, hidden, or detached when not popping the back stack. 7533 Corresponds to {@link android.app.Fragment#setExitTransition( 7534 android.transition.Transition)} --> 7535 <attr name="fragmentExitTransition" format="reference"/> 7536 7537 <!-- The Transition that will be used to move Views into the initial scene. 7538 Corresponds to {@link android.app.Fragment#setEnterTransition( 7539 android.transition.Transition)} --> 7540 <attr name="fragmentEnterTransition" format="reference"/> 7541 7542 <!-- The Transition that will be used for shared elements transferred into the content 7543 Scene. 7544 Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition( 7545 android.transition.Transition)} --> 7546 <attr name="fragmentSharedElementEnterTransition" format="reference"/> 7547 7548 <!-- The Transition that will be used to move Views out of the scene when the Fragment is 7549 preparing to be removed, hidden, or detached because of popping the back stack. 7550 Corresponds to {@link android.app.Fragment#setReturnTransition( 7551 android.transition.Transition)} --> 7552 <attr name="fragmentReturnTransition" format="reference"/> 7553 7554 <!-- The Transition that will be used for shared elements transferred back during a 7555 pop of the back stack. This Transition acts in the leaving Fragment. 7556 Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition( 7557 android.transition.Transition)} --> 7558 <attr name="fragmentSharedElementReturnTransition" format="reference"/> 7559 7560 <!-- The Transition that will be used to move Views in to the scene when returning due 7561 to popping a back stack. 7562 Corresponds to {@link android.app.Fragment#setReenterTransition( 7563 android.transition.Transition)} --> 7564 <attr name="fragmentReenterTransition" format="reference"/> 7565 7566 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7567 forward. 7568 Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap( 7569 boolean)} --> 7570 <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/> 7571 7572 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7573 because of popping the back stack. 7574 Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap( 7575 boolean)} --> 7576 <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/> 7577 </declare-styleable> 7578 7579 <!-- Use <code>device-admin</code> as the root tag of the XML resource that 7580 describes a 7581 {@link android.app.admin.DeviceAdminReceiver}, which is 7582 referenced from its 7583 {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA} 7584 meta-data entry. Described here are the attributes that can be 7585 included in that tag. --> 7586 <declare-styleable name="DeviceAdmin"> 7587 <!-- Control whether the admin is visible to the user, even when it 7588 is not enabled. This is true by default. You may want to make 7589 it false if your admin does not make sense to be turned on 7590 unless some explicit action happens in your app. --> 7591 <attr name="visible" /> 7592 </declare-styleable> 7593 7594 <!-- Use <code>wallpaper</code> as the root tag of the XML resource that 7595 describes an 7596 {@link android.service.wallpaper.WallpaperService}, which is 7597 referenced from its 7598 {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA} 7599 meta-data entry. Described here are the attributes that can be 7600 included in that tag. --> 7601 <declare-styleable name="Wallpaper"> 7602 <attr name="settingsActivity" /> 7603 7604 <!-- Reference to the wallpaper's thumbnail bitmap. --> 7605 <attr name="thumbnail" format="reference" /> 7606 7607 <!-- Name of the author and/or source/collection of this component, for example, 7608 Art Collection, Picasso. --> 7609 <attr name="author" format="reference" /> 7610 7611 <!-- Short description of the component's purpose or behavior. --> 7612 <attr name="description" /> 7613 7614 <!-- Uri that specifies a link for further context of this wallpaper, for example, 7615 http://www.picasso.org. --> 7616 <attr name="contextUri" format="reference" /> 7617 7618 <!-- Title of the uri that specifies a link for further context of this wallpaper, 7619 for example, Explore collection. --> 7620 <attr name="contextDescription" format="reference" /> 7621 7622 <!-- Whether to show any metadata when previewing the wallpaper. If this value is 7623 set to true, any component that shows a preview of this live wallpaper should also show 7624 accompanying information like the title, the description, the author and the context 7625 description of this wallpaper so the user gets to know further information about this 7626 wallpaper. --> 7627 <attr name="showMetadataInPreview" format="boolean" /> 7628 7629 </declare-styleable> 7630 7631 <!-- Use <code>dream</code> as the root tag of the XML resource that 7632 describes an 7633 {@link android.service.dreams.DreamService}, which is 7634 referenced from its 7635 {@link android.service.dreams.DreamService#DREAM_META_DATA} 7636 meta-data entry. Described here are the attributes that can be 7637 included in that tag. --> 7638 <declare-styleable name="Dream"> 7639 <!-- Component name of an activity that allows the user to modify 7640 the settings for this dream. --> 7641 <attr name="settingsActivity" /> 7642 </declare-styleable> 7643 7644 <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that 7645 describes an {@link android.service.trust.TrustAgentService}, which is 7646 referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA} 7647 meta-data entry. Described here are the attributes that can be included in that tag. 7648 @hide --> 7649 <declare-styleable name="TrustAgent"> 7650 <!-- @SystemApi Component name of an activity that allows the user to modify 7651 the settings for this trust agent. @hide --> 7652 <attr name="settingsActivity" /> 7653 <!-- @SystemApi Title for a preference that allows that user to launch the 7654 activity to modify trust agent settings. @hide --> 7655 <attr name="title" /> 7656 <!-- @SystemApi Summary for the same preference as the title. @hide --> 7657 <attr name="summary" /> 7658 <!-- @SystemApi Whether trust agent can unlock a user profile @hide --> 7659 <attr name="unlockProfile" format="boolean"/> 7660 </declare-styleable> 7661 7662 <!-- =============================== --> 7663 <!-- Accounts package class attributes --> 7664 <!-- =============================== --> 7665 <eat-comment /> 7666 7667 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7668 describes an account authenticator. 7669 --> 7670 <declare-styleable name="AccountAuthenticator"> 7671 <!-- The account type this authenticator handles. --> 7672 <attr name="accountType" format="string"/> 7673 <!-- The user-visible name of the authenticator. --> 7674 <attr name="label"/> 7675 <!-- The icon of the authenticator. --> 7676 <attr name="icon"/> 7677 <!-- Smaller icon of the authenticator. --> 7678 <attr name="smallIcon" format="reference"/> 7679 <!-- A preferences.xml file for authenticator-specific settings. --> 7680 <attr name="accountPreferences" format="reference"/> 7681 <!-- Account handles its own token storage and permissions. 7682 Default to false 7683 --> 7684 <attr name="customTokens" format="boolean"/> 7685 </declare-styleable> 7686 7687 <!-- =============================== --> 7688 <!-- Accounts package class attributes --> 7689 <!-- =============================== --> 7690 <eat-comment /> 7691 7692 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7693 describes an account authenticator. 7694 --> 7695 <declare-styleable name="SyncAdapter"> 7696 <!-- the authority of a content provider. --> 7697 <attr name="contentAuthority" format="string"/> 7698 <attr name="accountType"/> 7699 <attr name="userVisible" format="boolean"/> 7700 <attr name="supportsUploading" format="boolean"/> 7701 <!-- Set to true to tell the SyncManager that this SyncAdapter supports 7702 multiple simultaneous syncs for the same account type and authority. 7703 Otherwise the SyncManager will be sure not to issue a start sync request 7704 to this SyncAdapter if the SyncAdapter is already syncing another account. 7705 Defaults to false. 7706 --> 7707 <attr name="allowParallelSyncs" format="boolean"/> 7708 <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) 7709 for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. 7710 Defaults to false. 7711 --> 7712 <attr name="isAlwaysSyncable" format="boolean"/> 7713 <!-- If provided, specifies the action of the settings 7714 activity for this SyncAdapter. 7715 --> 7716 <attr name="settingsActivity"/> 7717 </declare-styleable> 7718 7719 <!-- =============================== --> 7720 <!-- Autofill attributes --> 7721 <!-- =============================== --> 7722 <eat-comment /> 7723 7724 <!-- Use <code>autofill-service</code> as the root tag of the XML resource that describes a 7725 {@link android.service.autofill.AutofillService}, which is referenced from its 7726 {@link android.service.autofill#SERVICE_META_DATA} meta-data entry. 7727 --> 7728 <declare-styleable name="AutofillService"> 7729 <!-- Fully qualified class name of an activity that allows the user to modify 7730 the settings for this service. --> 7731 <attr name="settingsActivity" /> 7732 </declare-styleable> 7733 7734 <!-- =============================== --> 7735 <!-- Contacts meta-data attributes --> 7736 <!-- =============================== --> 7737 <eat-comment /> 7738 7739 <!-- TODO: remove this deprecated styleable. --> 7740 <eat-comment /> 7741 <declare-styleable name="Icon"> 7742 <attr name="icon" /> 7743 <attr name="mimeType" /> 7744 </declare-styleable> 7745 7746 <!-- TODO: remove this deprecated styleable --> 7747 <eat-comment /> 7748 <declare-styleable name="IconDefault"> 7749 <attr name="icon" /> 7750 </declare-styleable> 7751 7752 <!-- Maps a specific contact data MIME-type to styling information. --> 7753 <declare-styleable name="ContactsDataKind"> 7754 <!-- Mime-type handled by this mapping. --> 7755 <attr name="mimeType" /> 7756 <!-- Icon used to represent data of this kind. --> 7757 <attr name="icon" /> 7758 <!-- Column in data table that summarizes this data. --> 7759 <attr name="summaryColumn" format="string" /> 7760 <!-- Column in data table that contains details for this data. --> 7761 <attr name="detailColumn" format="string" /> 7762 <!-- Flag indicating that detail should be built from SocialProvider. --> 7763 <attr name="detailSocialSummary" format="boolean" /> 7764 <!-- Resource representing the term "All Contacts" (for example, "All Friends" or 7765 "All connections"). Optional (Default is "All Contacts"). --> 7766 <attr name="allContactsName" format="string" /> 7767 </declare-styleable> 7768 7769 <!-- =============================== --> 7770 <!-- TabSelector class attributes --> 7771 <!-- =============================== --> 7772 <eat-comment /> 7773 7774 <declare-styleable name="SlidingTab"> 7775 <!-- Use "horizontal" for a row, "vertical" for a column. The default is horizontal. --> 7776 <attr name="orientation" /> 7777 </declare-styleable> 7778 7779 <!-- =============================== --> 7780 <!-- GlowPadView class attributes --> 7781 <!-- =============================== --> 7782 <eat-comment /> 7783 <declare-styleable name="GlowPadView"> 7784 <!-- Reference to an array resource that be used as description for the targets around the circle. 7785 {@deprecated Removed.} --> 7786 <attr name="targetDescriptions" format="reference" /> 7787 7788 <!-- Reference to an array resource that be used to announce the directions with targets around the circle. 7789 {@deprecated Removed.} --> 7790 <attr name="directionDescriptions" format="reference" /> 7791 </declare-styleable> 7792 7793 <!-- =============================== --> 7794 <!-- Location package class attributes --> 7795 <!-- =============================== --> 7796 <eat-comment /> 7797 7798 <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that 7799 describes an injected "Location services" setting. Note that the status value (subtitle) 7800 for the setting is specified dynamically by a subclass of SettingInjectorService. 7801 --> 7802 <declare-styleable name="SettingInjectorService"> 7803 <!-- The title for the preference. --> 7804 <attr name="title"/> 7805 <!-- The icon for the preference, should refer to all apps covered by the setting. Typically 7806 a generic icon for the developer. --> 7807 <attr name="icon"/> 7808 <!-- The activity to launch when the setting is clicked on. --> 7809 <attr name="settingsActivity"/> 7810 </declare-styleable> 7811 7812 <!-- =============================== --> 7813 <!-- LockPatternView class attributes --> 7814 <!-- =============================== --> 7815 <eat-comment /> 7816 7817 <declare-styleable name="LockPatternView"> 7818 <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width" 7819 or "lock_height" --> 7820 <attr name="aspect" format="string" /> 7821 <!-- Color to use when drawing LockPatternView paths. --> 7822 <attr name="pathColor" format="color|reference" /> 7823 <!-- The regular pattern color --> 7824 <attr name="regularColor" format="color|reference" /> 7825 <!-- The error color --> 7826 <attr name="errorColor" format="color|reference" /> 7827 <!-- The success color --> 7828 <attr name="successColor" format="color|reference"/> 7829 </declare-styleable> 7830 7831 <!-- Use <code>recognition-service</code> as the root tag of the XML resource that 7832 describes a {@link android.speech.RecognitionService}, which is referenced from 7833 its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry. 7834 Described here are the attributes that can be included in that tag. --> 7835 <declare-styleable name="RecognitionService"> 7836 <attr name="settingsActivity" /> 7837 </declare-styleable> 7838 7839 <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that 7840 describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from 7841 its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry. 7842 Described here are the attributes that can be included in that tag. --> 7843 <declare-styleable name="VoiceInteractionService"> 7844 <!-- The service that hosts active voice interaction sessions. This is required. --> 7845 <attr name="sessionService" format="string" /> 7846 <!-- The service that provides voice recognition. This is required. When the user 7847 selects this voice interaction service, they will also be implicitly selecting 7848 the component here for their recognition service. --> 7849 <attr name="recognitionService" format="string" /> 7850 <attr name="settingsActivity" /> 7851 <!-- Flag indicating whether this voice interaction service is capable of handling the 7852 assist action. --> 7853 <attr name="supportsAssist" format="boolean" /> 7854 <!-- Flag indicating whether this voice interaction service is capable of being launched 7855 from the keyguard. --> 7856 <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" /> 7857 <!-- Flag indicating whether this voice interaction service can handle local voice 7858 interaction requests from an Activity. This flag is new in 7859 {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. --> 7860 <attr name="supportsLocalInteraction" format="boolean" /> 7861 </declare-styleable> 7862 7863 <!-- Use <code>voice-enrollment-application</code> 7864 as the root tag of the XML resource that escribes the supported keyphrases (hotwords) 7865 by the enrollment application. 7866 Described here are the attributes that can be included in that tag. 7867 @hide 7868 @SystemApi --> 7869 <declare-styleable name="VoiceEnrollmentApplication"> 7870 <!-- A globally unique ID for the keyphrase. @hide @SystemApi --> 7871 <attr name="searchKeyphraseId" format="integer" /> 7872 <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi --> 7873 <attr name="searchKeyphrase" format="string" /> 7874 <!-- A comma separated list of BCP-47 language tag for locales that are supported 7875 for this keyphrase, or empty if not locale dependent. @hide @SystemApi --> 7876 <attr name="searchKeyphraseSupportedLocales" format="string" /> 7877 <!-- Flags for supported recognition modes. @hide @SystemApi --> 7878 <attr name="searchKeyphraseRecognitionFlags"> 7879 <flag name="none" value="0" /> 7880 <flag name="voiceTrigger" value="0x1" /> 7881 <flag name="userIdentification" value="0x2" /> 7882 </attr> 7883 </declare-styleable> 7884 7885 <!-- Attributes used to style the Action Bar. --> 7886 <declare-styleable name="ActionBar"> 7887 <!-- The type of navigation to use. --> 7888 <attr name="navigationMode"> 7889 <!-- Normal static title text. --> 7890 <enum name="normal" value="0" /> 7891 <!-- The action bar will use a selection list for navigation. --> 7892 <enum name="listMode" value="1" /> 7893 <!-- The action bar will use a series of horizontal tabs for navigation. --> 7894 <enum name="tabMode" value="2" /> 7895 </attr> 7896 <!-- Options affecting how the action bar is displayed. --> 7897 <attr name="displayOptions"> 7898 <flag name="none" value="0" /> 7899 <flag name="useLogo" value="0x1" /> 7900 <flag name="showHome" value="0x2" /> 7901 <flag name="homeAsUp" value="0x4" /> 7902 <flag name="showTitle" value="0x8" /> 7903 <flag name="showCustom" value="0x10" /> 7904 <flag name="disableHome" value="0x20" /> 7905 </attr> 7906 <!-- Specifies title text used for navigationMode="normal". --> 7907 <attr name="title" /> 7908 <!-- Specifies subtitle text used for navigationMode="normal". --> 7909 <attr name="subtitle" format="string" /> 7910 <!-- Specifies a style to use for title text. --> 7911 <attr name="titleTextStyle" format="reference" /> 7912 <!-- Specifies a style to use for subtitle text. --> 7913 <attr name="subtitleTextStyle" format="reference" /> 7914 <!-- Specifies the drawable used for the application icon. --> 7915 <attr name="icon" /> 7916 <!-- Specifies the drawable used for the application logo. --> 7917 <attr name="logo" /> 7918 <!-- Specifies the drawable used for item dividers. --> 7919 <attr name="divider" /> 7920 <!-- Specifies a background drawable for the action bar. --> 7921 <attr name="background" /> 7922 <!-- Specifies a background drawable for a second stacked row of the action bar. --> 7923 <attr name="backgroundStacked" format="reference|color" /> 7924 <!-- Specifies a background drawable for the bottom component of a split action bar. --> 7925 <attr name="backgroundSplit" format="reference|color" /> 7926 <!-- Specifies a layout for custom navigation. Overrides navigationMode. --> 7927 <attr name="customNavigationLayout" format="reference" /> 7928 <!-- Specifies a fixed height. --> 7929 <attr name="height" /> 7930 <!-- Specifies a layout to use for the "home" section of the action bar. --> 7931 <attr name="homeLayout" format="reference" /> 7932 <!-- Specifies a style resource to use for an embedded progress bar. --> 7933 <attr name="progressBarStyle" /> 7934 <!-- Specifies a style resource to use for an indeterminate progress spinner. --> 7935 <attr name="indeterminateProgressStyle" format="reference" /> 7936 <!-- Specifies the horizontal padding on either end for an embedded progress bar. --> 7937 <attr name="progressBarPadding" format="dimension" /> 7938 <!-- Up navigation glyph. --> 7939 <attr name="homeAsUpIndicator" /> 7940 <!-- Specifies padding that should be applied to the left and right sides of 7941 system-provided items in the bar. --> 7942 <attr name="itemPadding" format="dimension" /> 7943 <!-- Set true to hide the action bar on a vertical nested scroll of content. --> 7944 <attr name="hideOnContentScroll" format="boolean" /> 7945 <!-- Minimum inset for content views within a bar. Navigation buttons and 7946 menu views are excepted. Only valid for some themes and configurations. --> 7947 <attr name="contentInsetStart" format="dimension" /> 7948 <!-- Minimum inset for content views within a bar. Navigation buttons and 7949 menu views are excepted. Only valid for some themes and configurations. --> 7950 <attr name="contentInsetEnd" format="dimension" /> 7951 <!-- Minimum inset for content views within a bar. Navigation buttons and 7952 menu views are excepted. Only valid for some themes and configurations. --> 7953 <attr name="contentInsetLeft" format="dimension" /> 7954 <!-- Minimum inset for content views within a bar. Navigation buttons and 7955 menu views are excepted. Only valid for some themes and configurations. --> 7956 <attr name="contentInsetRight" format="dimension" /> 7957 <!-- Minimum inset for content views within a bar when a navigation button 7958 is present, such as the Up button. Only valid for some themes and configurations. --> 7959 <attr name="contentInsetStartWithNavigation" format="dimension" /> 7960 <!-- Minimum inset for content views within a bar when actions from a menu 7961 are present. Only valid for some themes and configurations. --> 7962 <attr name="contentInsetEndWithActions" format="dimension" /> 7963 <!-- Elevation for the action bar itself. --> 7964 <attr name="elevation" /> 7965 <!-- Reference to a theme that should be used to inflate popups 7966 shown by widgets in the action bar. --> 7967 <attr name="popupTheme" /> 7968 </declare-styleable> 7969 7970 <declare-styleable name="ActionMode"> 7971 <!-- Specifies a style to use for title text. --> 7972 <attr name="titleTextStyle" /> 7973 <!-- Specifies a style to use for subtitle text. --> 7974 <attr name="subtitleTextStyle" /> 7975 <!-- Specifies a background for the action mode bar. --> 7976 <attr name="background" /> 7977 <!-- Specifies a background for the split action mode bar. --> 7978 <attr name="backgroundSplit" /> 7979 <!-- Specifies a fixed height for the action mode bar. --> 7980 <attr name="height" /> 7981 <!-- Specifies a layout to use for the "close" item at the starting edge. --> 7982 <attr name="closeItemLayout" format="reference" /> 7983 </declare-styleable> 7984 7985 <declare-styleable name="SearchView"> 7986 <!-- The layout to use for the search view. --> 7987 <attr name="layout" /> 7988 <!-- The default state of the SearchView. If true, it will be iconified when not in 7989 use and expanded when clicked. --> 7990 <attr name="iconifiedByDefault" format="boolean" /> 7991 <!-- An optional maximum width of the SearchView. --> 7992 <attr name="maxWidth" /> 7993 <!-- An optional query hint string to be displayed in the empty query field. --> 7994 <attr name="queryHint" format="string" /> 7995 <!-- Default query hint used when {@code queryHint} is undefined and 7996 the search view's {@code SearchableInfo} does not provide a hint. 7997 @hide --> 7998 <attr name="defaultQueryHint" format="string" /> 7999 <!-- The IME options to set on the query text field. --> 8000 <attr name="imeOptions" /> 8001 <!-- The input type to set on the query text field. --> 8002 <attr name="inputType" /> 8003 <!-- Close button icon. --> 8004 <attr name="closeIcon" format="reference" /> 8005 <!-- Go button icon. --> 8006 <attr name="goIcon" format="reference" /> 8007 <!-- Search icon. --> 8008 <attr name="searchIcon" format="reference" /> 8009 <!-- Search icon displayed as a text field hint. --> 8010 <attr name="searchHintIcon" format="reference" /> 8011 <!-- Voice button icon. --> 8012 <attr name="voiceIcon" format="reference" /> 8013 <!-- Commit icon shown in the query suggestion row. --> 8014 <attr name="commitIcon" format="reference" /> 8015 <!-- Layout for query suggestion rows. --> 8016 <attr name="suggestionRowLayout" format="reference" /> 8017 <!-- Background for the section containing the search query. --> 8018 <attr name="queryBackground" format="reference" /> 8019 <!-- Background for the section containing the action (for example, voice search). --> 8020 <attr name="submitBackground" format="reference" /> 8021 </declare-styleable> 8022 8023 <declare-styleable name="Switch"> 8024 <!-- Drawable to use as the "thumb" that switches back and forth. --> 8025 <attr name="thumb" /> 8026 <!-- Tint to apply to the thumb. --> 8027 <attr name="thumbTint" /> 8028 <!-- Blending mode used to apply the thumb tint. --> 8029 <attr name="thumbTintMode" /> 8030 <!-- Drawable to use as the "track" that the switch thumb slides within. --> 8031 <attr name="track" format="reference" /> 8032 <!-- Tint to apply to the track. --> 8033 <attr name="trackTint" format="color" /> 8034 <!-- Blending mode used to apply the track tint. --> 8035 <attr name="trackTintMode"> 8036 <!-- The tint is drawn on top of the drawable. 8037 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 8038 <enum name="src_over" value="3" /> 8039 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 8040 color channels are thrown out. [Sa * Da, Sc * Da] --> 8041 <enum name="src_in" value="5" /> 8042 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 8043 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 8044 <enum name="src_atop" value="9" /> 8045 <!-- Multiplies the color and alpha channels of the drawable with those of 8046 the tint. [Sa * Da, Sc * Dc] --> 8047 <enum name="multiply" value="14" /> 8048 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 8049 <enum name="screen" value="15" /> 8050 <!-- Combines the tint and drawable color and alpha channels, clamping the 8051 result to valid color values. Saturate(S + D) --> 8052 <enum name="add" value="16" /> 8053 </attr> 8054 <!-- Text to use when the switch is in the checked/"on" state. --> 8055 <attr name="textOn" /> 8056 <!-- Text to use when the switch is in the unchecked/"off" state. --> 8057 <attr name="textOff" /> 8058 <!-- Amount of padding on either side of text within the switch thumb. --> 8059 <attr name="thumbTextPadding" format="dimension" /> 8060 <!-- TextAppearance style for text displayed on the switch thumb. --> 8061 <attr name="switchTextAppearance" format="reference" /> 8062 <!-- Minimum width for the switch component. --> 8063 <attr name="switchMinWidth" format="dimension" /> 8064 <!-- Minimum space between the switch and caption text. --> 8065 <attr name="switchPadding" format="dimension" /> 8066 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 8067 <attr name="splitTrack" /> 8068 <!-- Whether to draw on/off text. --> 8069 <attr name="showText" format="boolean" /> 8070 </declare-styleable> 8071 8072 <declare-styleable name="Pointer"> 8073 <!-- Reference to a pointer icon drawable with STYLE_ARROW. --> 8074 <attr name="pointerIconArrow" format="reference" /> 8075 <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER. --> 8076 <attr name="pointerIconSpotHover" format="reference" /> 8077 <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH. --> 8078 <attr name="pointerIconSpotTouch" format="reference" /> 8079 <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR. --> 8080 <attr name="pointerIconSpotAnchor" format="reference" /> 8081 <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU. --> 8082 <attr name="pointerIconContextMenu" format="reference"/> 8083 <!-- Reference to a pointer drawable with STYLE_HAND. --> 8084 <attr name="pointerIconHand" format="reference"/> 8085 <!-- Reference to a pointer drawable with STYLE_HELP. --> 8086 <attr name="pointerIconHelp" format="reference"/> 8087 <!-- Reference to a pointer drawable with STYLE_WAIT. --> 8088 <attr name="pointerIconWait" format="reference"/> 8089 <!-- Reference to a pointer drawable with STYLE_CELL. --> 8090 <attr name="pointerIconCell" format="reference"/> 8091 <!-- Reference to a pointer drawable with STYLE_CROSSHAIR. --> 8092 <attr name="pointerIconCrosshair" format="reference"/> 8093 <!-- Reference to a pointer drawable with STYLE_TEXT. --> 8094 <attr name="pointerIconText" format="reference"/> 8095 <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT. --> 8096 <attr name="pointerIconVerticalText" format="reference"/> 8097 <!-- Reference to a pointer drawable with STYLE_ALIAS. --> 8098 <attr name="pointerIconAlias" format="reference"/> 8099 <!-- Reference to a pointer drawable with STYLE_COPY. --> 8100 <attr name="pointerIconCopy" format="reference"/> 8101 <!-- Reference to a pointer drawable with STYLE_NODROP. --> 8102 <attr name="pointerIconNodrop" format="reference"/> 8103 <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL. --> 8104 <attr name="pointerIconAllScroll" format="reference"/> 8105 <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW. --> 8106 <attr name="pointerIconHorizontalDoubleArrow" format="reference"/> 8107 <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW. --> 8108 <attr name="pointerIconVerticalDoubleArrow" format="reference"/> 8109 <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW. --> 8110 <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/> 8111 <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW. --> 8112 <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/> 8113 <!-- Reference to a pointer drawable with STYLE_ZOOM_IN. --> 8114 <attr name="pointerIconZoomIn" format="reference"/> 8115 <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT. --> 8116 <attr name="pointerIconZoomOut" format="reference"/> 8117 <!-- Reference to a pointer drawable with STYLE_GRAB. --> 8118 <attr name="pointerIconGrab" format="reference"/> 8119 <!-- Reference to a pointer drawable with STYLE_GRABBING. --> 8120 <attr name="pointerIconGrabbing" format="reference"/> 8121 </declare-styleable> 8122 8123 <declare-styleable name="PointerIcon"> 8124 <!-- Drawable to use as the icon bitmap. --> 8125 <attr name="bitmap" format="reference" /> 8126 <!-- X coordinate of the icon hot spot. --> 8127 <attr name="hotSpotX" format="dimension" /> 8128 <!-- Y coordinate of the icon hot spot. --> 8129 <attr name="hotSpotY" format="dimension" /> 8130 </declare-styleable> 8131 8132 <declare-styleable name="Storage"> 8133 <!-- path to mount point for the storage. --> 8134 <attr name="mountPoint" format="string" /> 8135 <!-- user visible description of the storage. --> 8136 <attr name="storageDescription" format="string" /> 8137 <!-- true if the storage is the primary external storage. --> 8138 <attr name="primary" format="boolean" /> 8139 <!-- true if the storage is removable. --> 8140 <attr name="removable" format="boolean" /> 8141 <!-- true if the storage is emulated via the FUSE sdcard daemon. --> 8142 <attr name="emulated" format="boolean" /> 8143 <!-- number of megabytes of storage MTP should reserve for free storage 8144 (used for emulated storage that is shared with system's data partition). --> 8145 <attr name="mtpReserve" format="integer" /> 8146 <!-- true if the storage can be shared via USB mass storage. --> 8147 <attr name="allowMassStorage" format="boolean" /> 8148 <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded. --> 8149 <attr name="maxFileSize" format="integer" /> 8150 </declare-styleable> 8151 8152 <declare-styleable name="SwitchPreference"> 8153 <!-- The summary for the Preference in a PreferenceActivity screen when the 8154 SwitchPreference is checked. If separate on/off summaries are not 8155 needed, the summary attribute can be used instead. --> 8156 <attr name="summaryOn" /> 8157 <!-- The summary for the Preference in a PreferenceActivity screen when the 8158 SwitchPreference is unchecked. If separate on/off summaries are not 8159 needed, the summary attribute can be used instead. --> 8160 <attr name="summaryOff" /> 8161 <!-- The text used on the switch itself when in the "on" state. 8162 This should be a very SHORT string, as it appears in a small space. --> 8163 <attr name="switchTextOn" format="string" /> 8164 <!-- The text used on the switch itself when in the "off" state. 8165 This should be a very SHORT string, as it appears in a small space. --> 8166 <attr name="switchTextOff" format="string" /> 8167 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 8168 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 8169 <attr name="disableDependentsState" /> 8170 </declare-styleable> 8171 8172 <declare-styleable name="SeekBarPreference"> 8173 <attr name="layout" /> 8174 <!-- Attribute indicating whether the slider within this preference can be adjusted, that is 8175 pressing left/right keys when this preference is focused will move the slider accordingly 8176 (for example, inline adjustable preferences). False, if the slider within the preference is 8177 read-only and cannot be adjusted. By default, the seekbar is adjustable. --> 8178 <attr name="adjustable" format="boolean" /> 8179 <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be 8180 displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. --> 8181 <attr name="showSeekBarValue" format="boolean" /> 8182 </declare-styleable> 8183 8184 <!-- Base attributes available to PreferenceFragment. --> 8185 <declare-styleable name="PreferenceFragment"> 8186 <!-- The layout for the PreferenceFragment. This should rarely need to be changed. --> 8187 <attr name="layout" /> 8188 <attr name="divider" /> 8189 </declare-styleable> 8190 8191 <!-- Base attributes available to PreferenceScreen. --> 8192 <declare-styleable name="PreferenceScreen"> 8193 <!-- The layout for the PreferenceScreen. This should rarely need to be changed. --> 8194 <attr name="screenLayout" format="reference" /> 8195 <attr name="divider" /> 8196 </declare-styleable> 8197 8198 <!-- Base attributes available to PreferenceActivity. --> 8199 <declare-styleable name="PreferenceActivity"> 8200 <!-- The layout for the Preference Activity. This should rarely need to be changed. --> 8201 <attr name="layout" /> 8202 <!-- The layout for the Preference Header. This should rarely need to be changed. --> 8203 <attr name="headerLayout" format="reference" /> 8204 <!-- true if the Icon view will be removed when there is none and thus not showing 8205 the fixed margins. --> 8206 <attr name="headerRemoveIconIfEmpty" format="boolean" /> 8207 </declare-styleable> 8208 8209 <!-- Use <code>tts-engine</code> as the root tag of the XML resource that 8210 describes a text to speech engine implemented as a subclass of 8211 {@link android.speech.tts.TextToSpeechService}. 8212 8213 The XML resource must be referenced from its 8214 {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data 8215 entry. --> 8216 <declare-styleable name="TextToSpeechEngine"> 8217 <attr name="settingsActivity" /> 8218 </declare-styleable> 8219 8220 <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that 8221 describes a collection of keyboard layouts provided by an application. 8222 Each keyboard layout is declared by a <code>keyboard-layout</code> tag 8223 with these attributes. 8224 8225 The XML resource that contains the keyboard layouts must be referenced from its 8226 {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS} 8227 meta-data entry used with broadcast receivers for 8228 {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. --> 8229 <declare-styleable name="KeyboardLayout"> 8230 <!-- The name of the keyboard layout, must be unique in the receiver. --> 8231 <attr name="name" /> 8232 <!-- The display label of the keyboard layout. --> 8233 <attr name="label" /> 8234 <!-- The key character map file resource. --> 8235 <attr name="keyboardLayout" format="reference" /> 8236 <!-- The locales the given keyboard layout corresponds to. --> 8237 <attr name="locale" format="string" /> 8238 <!-- The vendor ID of the hardware the given layout corresponds to. @hide --> 8239 <attr name="vendorId" format="integer" /> 8240 <!-- The product ID of the hardware the given layout corresponds to. @hide --> 8241 <attr name="productId" format="integer" /> 8242 </declare-styleable> 8243 8244 <declare-styleable name="MediaRouteButton"> 8245 <!-- This drawable is a state list where the "activated" state 8246 indicates active media routing. Non-activated indicates 8247 that media is playing to the local device only. 8248 @hide --> 8249 <attr name="externalRouteEnabledDrawable" format="reference" /> 8250 8251 <!-- The types of media routes the button and its resulting 8252 chooser will filter by. --> 8253 <attr name="mediaRouteTypes" format="integer"> 8254 <!-- Allow selection of live audio routes. --> 8255 <enum name="liveAudio" value="0x1" /> 8256 <!-- Allow selection of user (app-specified) routes. --> 8257 <enum name="user" value="0x800000" /> 8258 </attr> 8259 8260 <attr name="minWidth" /> 8261 <attr name="minHeight" /> 8262 </declare-styleable> 8263 8264 <!-- PagedView specific attributes. These attributes are used to customize 8265 a PagedView view in XML files. --> 8266 <declare-styleable name="PagedView"> 8267 <!-- The space between adjacent pages of the PagedView. --> 8268 <attr name="pageSpacing" format="dimension" /> 8269 <!-- The padding for the scroll indicator area. --> 8270 <attr name="scrollIndicatorPaddingLeft" format="dimension" /> 8271 <attr name="scrollIndicatorPaddingRight" format="dimension" /> 8272 </declare-styleable> 8273 8274 <declare-styleable name="KeyguardGlowStripView"> 8275 <attr name="dotSize" format="dimension" /> 8276 <attr name="numDots" format="integer" /> 8277 <attr name="glowDot" format="reference" /> 8278 <attr name="leftToRight" format="boolean" /> 8279 </declare-styleable> 8280 8281 <!-- Some child types have special behavior. --> 8282 <attr name="layout_childType"> 8283 <!-- No special behavior. Layout will proceed as normal. --> 8284 <enum name="none" value="0" /> 8285 <!-- Widget container. 8286 This will be resized in response to certain events. --> 8287 <enum name="widget" value="1" /> 8288 <!-- Security challenge container. 8289 This will be dismissed/shown in response to certain events, 8290 possibly obscuring widget elements. --> 8291 <enum name="challenge" value="2" /> 8292 <!-- User switcher. 8293 This will consume space from the total layout area. --> 8294 <enum name="userSwitcher" value="3" /> 8295 <!-- Scrim. This will block access to child views that 8296 come before it in the child list in bouncer mode. --> 8297 <enum name="scrim" value="4" /> 8298 <!-- The home for widgets. All widgets will be descendents of this. --> 8299 <enum name="widgets" value="5" /> 8300 <!-- This is a handle that is used for expanding the 8301 security challenge container when it is collapsed. --> 8302 <enum name="expandChallengeHandle" value="6" /> 8303 <!-- Delete drop target. This will be the drop target to delete pages. --> 8304 <enum name="pageDeleteDropTarget" value="7" /> 8305 </attr> 8306 8307 <!-- Attributes that can be used with <code><FragmentBreadCrumbs></code> 8308 tags. --> 8309 <declare-styleable name="FragmentBreadCrumbs"> 8310 <attr name="gravity" /> 8311 <attr name="itemLayout" format="reference" /> 8312 <attr name="itemColor" format="color|reference" /> 8313 </declare-styleable> 8314 8315 <declare-styleable name="Toolbar"> 8316 <attr name="titleTextAppearance" format="reference" /> 8317 <attr name="subtitleTextAppearance" format="reference" /> 8318 <attr name="title" /> 8319 <attr name="subtitle" /> 8320 <attr name="gravity" /> 8321 <!-- Specifies extra space on the left, start, right and end sides 8322 of the toolbar's title. Margin values should be positive. --> 8323 <attr name="titleMargin" format="dimension" /> 8324 <!-- Specifies extra space on the start side of the toolbar's title. 8325 If both this attribute and titleMargin are specified, then this 8326 attribute takes precedence. Margin values should be positive. --> 8327 <attr name="titleMarginStart" format="dimension" /> 8328 <!-- Specifies extra space on the end side of the toolbar's title. 8329 If both this attribute and titleMargin are specified, then this 8330 attribute takes precedence. Margin values should be positive. --> 8331 <attr name="titleMarginEnd" format="dimension" /> 8332 <!-- Specifies extra space on the top side of the toolbar's title. 8333 If both this attribute and titleMargin are specified, then this 8334 attribute takes precedence. Margin values should be positive. --> 8335 <attr name="titleMarginTop" format="dimension" /> 8336 <!-- Specifies extra space on the bottom side of the toolbar's title. 8337 If both this attribute and titleMargin are specified, then this 8338 attribute takes precedence. Margin values should be positive. --> 8339 <attr name="titleMarginBottom" format="dimension" /> 8340 <attr name="contentInsetStart" /> 8341 <attr name="contentInsetEnd" /> 8342 <attr name="contentInsetLeft" /> 8343 <attr name="contentInsetRight" /> 8344 <attr name="contentInsetStartWithNavigation" /> 8345 <attr name="contentInsetEndWithActions" /> 8346 <attr name="maxButtonHeight" format="dimension" /> 8347 <attr name="navigationButtonStyle" format="reference" /> 8348 <attr name="buttonGravity"> 8349 <!-- Push object to the top of its container, not changing its size. --> 8350 <flag name="top" value="0x30" /> 8351 <!-- Push object to the bottom of its container, not changing its size. --> 8352 <flag name="bottom" value="0x50" /> 8353 </attr> 8354 <!-- Icon drawable to use for the collapse button. --> 8355 <attr name="collapseIcon" format="reference" /> 8356 <!-- Text to set as the content description for the collapse button. --> 8357 <attr name="collapseContentDescription" format="string" /> 8358 <!-- Reference to a theme that should be used to inflate popups 8359 shown by widgets in the toolbar. --> 8360 <attr name="popupTheme" format="reference" /> 8361 <!-- Icon drawable to use for the navigation button located at 8362 the start of the toolbar. --> 8363 <attr name="navigationIcon" format="reference" /> 8364 <!-- Text to set as the content description for the navigation button 8365 located at the start of the toolbar. --> 8366 <attr name="navigationContentDescription" format="string" /> 8367 <!-- Drawable to set as the logo that appears at the starting side of 8368 the Toolbar, just after the navigation button. --> 8369 <attr name="logo" /> 8370 <!-- A content description string to describe the appearance of the 8371 associated logo image. --> 8372 <attr name="logoDescription" format="string" /> 8373 <!-- A color to apply to the title string. --> 8374 <attr name="titleTextColor" format="color" /> 8375 <!-- A color to apply to the subtitle string. --> 8376 <attr name="subtitleTextColor" format="color" /> 8377 </declare-styleable> 8378 8379 <declare-styleable name="Toolbar_LayoutParams"> 8380 <attr name="layout_gravity" /> 8381 </declare-styleable> 8382 8383 <declare-styleable name="ActionBar_LayoutParams"> 8384 <attr name="layout_gravity" /> 8385 </declare-styleable> 8386 8387 <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. --> 8388 <declare-styleable name="EdgeEffect"> 8389 <attr name="colorEdgeEffect" /> 8390 </declare-styleable> 8391 8392 <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a 8393 {@link android.media.tv.TvInputService}, which is referenced from its 8394 {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry. 8395 Described here are the attributes that can be included in that tag. --> 8396 <declare-styleable name="TvInputService"> 8397 <!-- Component name of an activity that allows the user to set up this service. --> 8398 <attr name="setupActivity" format="string" /> 8399 <!-- Component name of an activity that allows the user to modify the settings for this 8400 service. 8401 {@deprecated This value is deprecated and not used by the framework starting from API 8402 level 26. Use setupActivity instead.} --> 8403 <attr name="settingsActivity" /> 8404 <!-- Attribute whether the TV input service can record programs. This value can be changed 8405 at runtime by calling 8406 {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. --> 8407 <attr name="canRecord" format="boolean" /> 8408 <!-- The number of tuners that the TV input service is associated with. This value can be 8409 changed at runtime by calling 8410 {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. --> 8411 <attr name="tunerCount" format="integer" /> 8412 </declare-styleable> 8413 8414 <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the 8415 XML resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8416 which is referenced from its 8417 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8418 <declare-styleable name="RatingSystemDefinition"> 8419 <!-- The unique name of the content rating system. --> 8420 <attr name="name" /> 8421 <!-- The title of the content rating system which is shown to the user. --> 8422 <attr name="title" /> 8423 <!-- The short description of the content rating system. --> 8424 <attr name="description" /> 8425 <!-- The country code associated with the content rating system, which consists of two 8426 uppercase letters that conform to the ISO 3166 standard. --> 8427 <attr name="country" format="string" /> 8428 </declare-styleable> 8429 8430 <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML 8431 resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8432 which is referenced from its 8433 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8434 <declare-styleable name="RatingDefinition"> 8435 <!-- The unique name of the content rating. --> 8436 <attr name="name" /> 8437 <!-- The title of the content rating which is shown to the user. --> 8438 <attr name="title" /> 8439 <!-- The short description of the content rating. --> 8440 <attr name="description" /> 8441 <!-- The age associated with the content rating. The content of this rating is suitable for 8442 people of this age or above. --> 8443 <attr name="contentAgeHint" format="integer" /> 8444 </declare-styleable> 8445 8446 <declare-styleable name="ResolverDrawerLayout"> 8447 <attr name="maxWidth" /> 8448 <attr name="maxCollapsedHeight" format="dimension" /> 8449 <attr name="maxCollapsedHeightSmall" format="dimension" /> 8450 </declare-styleable> 8451 8452 <declare-styleable name="MessagingLinearLayout"> 8453 <attr name="spacing" /> 8454 </declare-styleable> 8455 8456 <declare-styleable name="DateTimeView"> 8457 <attr name="showRelative" format="boolean" /> 8458 </declare-styleable> 8459 8460 <declare-styleable name="ResolverDrawerLayout_LayoutParams"> 8461 <attr name="layout_alwaysShow" format="boolean" /> 8462 <attr name="layout_ignoreOffset" format="boolean" /> 8463 <attr name="layout_gravity" /> 8464 <attr name="layout_hasNestedScrollIndicator" format="boolean" /> 8465 </declare-styleable> 8466 8467 <!-- @hide --> 8468 <declare-styleable name="Lighting"> 8469 <attr name="lightY" /> 8470 <attr name="lightZ" /> 8471 <attr name="lightRadius" /> 8472 <attr name="ambientShadowAlpha" /> 8473 <attr name="spotShadowAlpha" /> 8474 </declare-styleable> 8475 8476 <declare-styleable name="RestrictionEntry"> 8477 <attr name="key" /> 8478 <attr name="restrictionType"> 8479 <enum name="hidden" value="0" /> 8480 <enum name="bool" value="1" /> 8481 <enum name="choice" value="2" /> 8482 <enum name="multi-select" value="4" /> 8483 <enum name="integer" value="5" /> 8484 <enum name="string" value="6" /> 8485 <enum name="bundle" value="7" /> 8486 <enum name="bundle_array" value="8" /> 8487 </attr> 8488 <attr name="title" /> 8489 <attr name="description" /> 8490 <attr name="defaultValue" /> 8491 <attr name="entries" /> 8492 <attr name="entryValues" /> 8493 </declare-styleable> 8494 8495 <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. --> 8496 <declare-styleable name="GradientColor"> 8497 <!-- Start color of the gradient. --> 8498 <attr name="startColor" /> 8499 <!-- Optional center color. --> 8500 <attr name="centerColor" /> 8501 <!-- End color of the gradient. --> 8502 <attr name="endColor" /> 8503 <!-- Type of gradient. The default type is linear. --> 8504 <attr name="type" /> 8505 8506 <!-- Only applied to RadialGradient--> 8507 <!-- Radius of the gradient, used only with radial gradient. --> 8508 <attr name="gradientRadius" /> 8509 8510 <!-- Only applied to SweepGradient / RadialGradient--> 8511 <!-- X coordinate of the center of the gradient within the path. --> 8512 <attr name="centerX" /> 8513 <!-- Y coordinate of the center of the gradient within the path. --> 8514 <attr name="centerY" /> 8515 8516 <!-- LinearGradient specific --> 8517 <!-- X coordinate of the start point origin of the gradient. 8518 Defined in same coordinates as the path itself --> 8519 <attr name="startX" format="float" /> 8520 <!-- Y coordinate of the start point of the gradient within the shape. 8521 Defined in same coordinates as the path itself --> 8522 <attr name="startY" format="float" /> 8523 <!-- X coordinate of the end point origin of the gradient. 8524 Defined in same coordinates as the path itself --> 8525 <attr name="endX" format="float" /> 8526 <!-- Y coordinate of the end point of the gradient within the shape. 8527 Defined in same coordinates as the path itself --> 8528 <attr name="endY" format="float" /> 8529 8530 <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. --> 8531 <attr name="tileMode"/> 8532 </declare-styleable> 8533 8534 <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient 8535 Colors defined in <item> override the simple color attributes such as 8536 "startColor / centerColor / endColor" are ignored. --> 8537 <declare-styleable name="GradientColorItem"> 8538 <!-- The offset (or ratio) of this current color item inside the gradient. 8539 The value is only meaningful when it is between 0 and 1. --> 8540 <attr name="offset" format="float" /> 8541 <!-- The current color for the offset inside the gradient. --> 8542 <attr name="color" /> 8543 </declare-styleable> 8544 8545 <!-- @hide Attributes which will be read by the Activity to intialize the 8546 base activity TaskDescription. --> 8547 <declare-styleable name="ActivityTaskDescription"> 8548 <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary 8549 color. --> 8550 <attr name="colorPrimary" /> 8551 <!-- @hide From Theme.colorBackground, used for the TaskDescription background 8552 color. --> 8553 <attr name="colorBackground" /> 8554 <!-- @hide From Theme.statusBarColor, used for the TaskDescription status bar color. --> 8555 <attr name="statusBarColor"/> 8556 <!-- @hide From Theme.navigationBarColor, used for the TaskDescription navigation bar 8557 color. --> 8558 <attr name="navigationBarColor"/> 8559 </declare-styleable> 8560 8561 <declare-styleable name="Shortcut"> 8562 <attr name="shortcutId" format="string" /> 8563 <attr name="enabled" /> 8564 <attr name="icon" /> 8565 <attr name="shortcutShortLabel" format="reference" /> 8566 <attr name="shortcutLongLabel" format="reference" /> 8567 <attr name="shortcutDisabledMessage" format="reference" /> 8568 </declare-styleable> 8569 8570 <declare-styleable name="ShortcutCategories"> 8571 <attr name="name" /> 8572 </declare-styleable> 8573 8574 <!-- Attributes that are read when parsing a <font> tag, which is a child of 8575 <font-family>. This represents an actual font file and its attributes. --> 8576 <declare-styleable name="FontFamilyFont"> 8577 <!-- The style of the given font file. This will be used when the font is being loaded into 8578 the font stack and will override any style information in the font's header tables. If 8579 unspecified, the value in the font's header tables will be used. --> 8580 <attr name="fontStyle"> 8581 <enum name="normal" value="0" /> 8582 <enum name="italic" value="1" /> 8583 </attr> 8584 <!-- The reference to the font file to be used. This should be a file in the res/font folder 8585 and should therefore have an R reference value. E.g. @font/myfont --> 8586 <attr name="font" format="reference" /> 8587 <!-- The weight of the given font file. This will be used when the font is being loaded into 8588 the font stack and will override any weight information in the font's header tables. Must 8589 be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most 8590 common values are 400 for regular weight and 700 for bold weight. If unspecified, the value 8591 in the font's header tables will be used. --> 8592 <attr name="fontWeight" format="integer" /> 8593 </declare-styleable> 8594 8595 <!-- Attributes that are read when parsing a <fontfamily> tag. --> 8596 <declare-styleable name="FontFamily"> 8597 <!-- The authority of the Font Provider to be used for the request. --> 8598 <attr name="fontProviderAuthority" format="string" /> 8599 <!-- The package for the Font Provider to be used for the request. This is used to verify 8600 the identity of the provider. --> 8601 <attr name="fontProviderPackage" format="string" /> 8602 <!-- The query to be sent over to the provider. Refer to your font provider's documentation 8603 on the format of this string. --> 8604 <attr name="fontProviderQuery" format="string" /> 8605 <!-- The sets of hashes for the certificates the provider should be signed with. This is 8606 used to verify the identity of the provider, and is only required if the provider is not 8607 part of the system image. This value may point to one list or a list of lists, where each 8608 individual list represents one collection of signature hashes. Refer to your font provider's 8609 documentation for these values. --> 8610 <attr name="fontProviderCerts" format="reference" /> 8611 </declare-styleable> 8612 8613 <!-- @hide --> 8614 <declare-styleable name="RecyclerView"> 8615 <attr name="layoutManager" format="string" /> 8616 <attr name="orientation" /> 8617 <attr name="descendantFocusability" /> 8618 <attr name="spanCount" format="integer"/> 8619 <attr name="reverseLayout" format="boolean" /> 8620 <attr name="stackFromEnd" format="boolean" /> 8621 </declare-styleable> 8622 8623 <!-- @hide --> 8624 <declare-styleable name="NotificationTheme"> 8625 <attr name="notificationHeaderStyle" format="reference" /> 8626 <attr name="notificationHeaderTextAppearance" format="reference" /> 8627 <attr name="notificationHeaderIconSize" format="dimension" /> 8628 </declare-styleable> 8629 8630 <attr name="lockPatternStyle" format="reference" /> 8631</resources> 8632