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 <!-- Drawable to be drawn over the view to mark it as autofilled--> 64 <attr name="autofilledHighlight" format="reference" /> 65 66 <!-- Max width of the autofill data set picker as a fraction of the screen width --> 67 <attr name="autofillDatasetPickerMaxWidth" format="reference" /> 68 69 <!-- Max height of the autofill data set picker as a fraction of the screen height --> 70 <attr name="autofillDatasetPickerMaxHeight" format="reference" /> 71 72 <!-- Max height of the the autofill save custom subtitle as a fraction of the screen width/height --> 73 <attr name="autofillSaveCustomSubtitleMaxHeight" format="reference" /> 74 75 <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. --> 76 <attr name="disabledAlpha" format="float" /> 77 <!-- The alpha applied to the foreground color to create the primary text color. --> 78 <attr name="primaryContentAlpha" format="float" /> 79 <!-- The alpha applied to the foreground color to create the secondary text color. --> 80 <attr name="secondaryContentAlpha" format="float" /> 81 <!-- Color used for error states and things that need to be drawn to 82 the users attention.. --> 83 <attr name="colorError" format="reference|color" /> 84 <!-- Default background dim amount when a menu, dialog, or something similar pops up. --> 85 <attr name="backgroundDimAmount" format="float" /> 86 <!-- Control whether dimming behind the window is enabled. The default 87 theme does not set this value, meaning it is based on whether the 88 window is floating. --> 89 <attr name="backgroundDimEnabled" format="boolean" /> 90 91 <!-- =========== --> 92 <!-- Text styles --> 93 <!-- =========== --> 94 <eat-comment /> 95 96 <!-- Default appearance of text: color, typeface, size, and style. --> 97 <attr name="textAppearance" format="reference" /> 98 <!-- Default appearance of text against an inverted background: 99 color, typeface, size, and style. --> 100 <attr name="textAppearanceInverse" format="reference" /> 101 102 <!-- The most prominent text color. --> 103 <attr name="textColorPrimary" format="reference|color" /> 104 <!-- Secondary text color. --> 105 <attr name="textColorSecondary" format="reference|color" /> 106 <!-- Tertiary text color. --> 107 <attr name="textColorTertiary" format="reference|color" /> 108 109 <!-- Primary inverse text color, useful for inverted backgrounds. --> 110 <attr name="textColorPrimaryInverse" format="reference|color" /> 111 <!-- Secondary inverse text color, useful for inverted backgrounds. --> 112 <attr name="textColorSecondaryInverse" format="reference|color" /> 113 <!-- Tertiary inverse text color, useful for inverted backgrounds. --> 114 <attr name="textColorTertiaryInverse" format="reference|color" /> 115 116 <!-- Inverse hint text color. --> 117 <attr name="textColorHintInverse" format="reference|color" /> 118 119 <!-- Bright text color. Only differentiates based on the disabled state. --> 120 <attr name="textColorPrimaryDisableOnly" format="reference|color" /> 121 122 <!-- Bright inverse text color. Only differentiates based on the disabled state. --> 123 <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" /> 124 125 <!-- Bright text color. This does not differentiate the disabled state. As an example, 126 buttons use this since they display the disabled state via the background and not the 127 foreground text color. --> 128 <attr name="textColorPrimaryNoDisable" format="reference|color" /> 129 <!-- Dim text color. This does not differentiate the disabled state. --> 130 <attr name="textColorSecondaryNoDisable" format="reference|color" /> 131 132 <!-- Bright inverse text color. This does not differentiate the disabled state. --> 133 <attr name="textColorPrimaryInverseNoDisable" format="reference|color" /> 134 <!-- Dim inverse text color. This does not differentiate the disabled state. --> 135 <attr name="textColorSecondaryInverseNoDisable" format="reference|color" /> 136 137 <!-- Bright text color for use over activated backgrounds. --> 138 <attr name="textColorPrimaryActivated" format="reference|color" /> 139 <!-- Dim text color for use over activated backgrounds. --> 140 <attr name="textColorSecondaryActivated" format="reference|color" /> 141 142 <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide --> 143 <attr name="textColorSearchUrl" format="reference|color" /> 144 145 <!-- Color of highlighted text, when used in a light theme. --> 146 <attr name="textColorHighlightInverse" format="reference|color" /> 147 <!-- Color of link text (URLs), when used in a light theme. --> 148 <attr name="textColorLinkInverse" format="reference|color" /> 149 150 <!-- Color of list item text in alert dialogs. --> 151 <attr name="textColorAlertDialogListItem" format="reference|color" /> 152 153 <!-- Search widget more corpus result item background. --> 154 <attr name="searchWidgetCorpusItemBackground" format="reference|color" /> 155 156 <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. --> 157 <attr name="textAppearanceLarge" format="reference" /> 158 <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. --> 159 <attr name="textAppearanceMedium" format="reference" /> 160 <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. --> 161 <attr name="textAppearanceSmall" format="reference" /> 162 163 <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. --> 164 <attr name="textAppearanceLargeInverse" format="reference" /> 165 <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. --> 166 <attr name="textAppearanceMediumInverse" format="reference" /> 167 <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. --> 168 <attr name="textAppearanceSmallInverse" format="reference" /> 169 170 <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. --> 171 <attr name="textAppearanceSearchResultTitle" format="reference" /> 172 <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. --> 173 <attr name="textAppearanceSearchResultSubtitle" format="reference" /> 174 175 <!-- Text color, typeface, size, and style for the text inside of a button. --> 176 <attr name="textAppearanceButton" format="reference" /> 177 178 <!-- Text color, typeface, size, and style for the text inside of a popup menu. --> 179 <attr name="textAppearanceLargePopupMenu" format="reference" /> 180 181 <!-- Text color, typeface, size, and style for small text inside of a popup menu. --> 182 <attr name="textAppearanceSmallPopupMenu" format="reference" /> 183 184 <!-- Text color, typeface, size, and style for header text inside of a popup menu. --> 185 <attr name="textAppearancePopupMenuHeader" format="reference" /> 186 187 <!-- The underline color and thickness for easy correct suggestion --> 188 <attr name="textAppearanceEasyCorrectSuggestion" format="reference" /> 189 190 <!-- The underline color and thickness for misspelled suggestion --> 191 <attr name="textAppearanceMisspelledSuggestion" format="reference" /> 192 193 <!-- The underline color and thickness for auto correction suggestion --> 194 <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" /> 195 196 <!-- The underline color --> 197 <attr name="textUnderlineColor" format="reference|color" /> 198 <!-- The underline thickness --> 199 <attr name="textUnderlineThickness" format="reference|dimension" /> 200 201 <!-- EditText text foreground color. --> 202 <attr name="editTextColor" format="reference|color" /> 203 <!-- EditText background drawable. --> 204 <attr name="editTextBackground" format="reference" /> 205 206 <!-- Popup text displayed in TextView when setError is used. --> 207 <attr name="errorMessageBackground" format="reference" /> 208 <!-- Background used instead of errorMessageBackground when the popup has to be above. --> 209 <attr name="errorMessageAboveBackground" format="reference" /> 210 211 <!-- A styled string, specifying the style to be used for showing 212 inline candidate text when composing with an input method. The 213 text itself will be ignored, but the style spans will be applied 214 to the candidate text as it is edited. --> 215 <attr name="candidatesTextStyleSpans" format="reference|string" /> 216 217 <!-- Drawable to use for check marks. --> 218 <attr name="textCheckMark" format="reference" /> 219 <attr name="textCheckMarkInverse" format="reference" /> 220 221 <!-- Drawable to use for multiple choice indicators. --> 222 <attr name="listChoiceIndicatorMultiple" format="reference" /> 223 224 <!-- Drawable to use for single choice indicators. --> 225 <attr name="listChoiceIndicatorSingle" format="reference" /> 226 227 <!-- Drawable used as a background for selected list items. --> 228 <attr name="listChoiceBackgroundIndicator" format="reference" /> 229 230 <!-- Drawable used as a background for activated items. --> 231 <attr name="activatedBackgroundIndicator" format="reference" /> 232 233 <!-- ============= --> 234 <!-- Button styles --> 235 <!-- ============= --> 236 <eat-comment /> 237 238 <!-- Normal Button style. --> 239 <attr name="buttonStyle" format="reference" /> 240 241 <!-- Small Button style. --> 242 <attr name="buttonStyleSmall" format="reference" /> 243 244 <!-- Button style to inset into an EditText. --> 245 <attr name="buttonStyleInset" format="reference" /> 246 247 <!-- ToggleButton style. --> 248 <attr name="buttonStyleToggle" format="reference" /> 249 250 <!-- ============== --> 251 <!-- Gallery styles --> 252 <!-- ============== --> 253 <eat-comment /> 254 255 <!-- The preferred background for gallery items. This should be set 256 as the background of any Views you provide from the Adapter. --> 257 <attr name="galleryItemBackground" format="reference" /> 258 259 <!-- =========== --> 260 <!-- List styles --> 261 <!-- =========== --> 262 <eat-comment /> 263 264 <!-- The preferred list item height. --> 265 <attr name="listPreferredItemHeight" format="dimension" /> 266 <!-- A smaller, sleeker list item height. --> 267 <attr name="listPreferredItemHeightSmall" format="dimension" /> 268 <!-- A larger, more robust list item height. --> 269 <attr name="listPreferredItemHeightLarge" format="dimension" /> 270 <!-- The list item height for search results. @hide --> 271 <attr name="searchResultListItemHeight" format="dimension" /> 272 273 <!-- The preferred padding along the left edge of list items. --> 274 <attr name="listPreferredItemPaddingLeft" format="dimension" /> 275 <!-- The preferred padding along the right edge of list items. --> 276 <attr name="listPreferredItemPaddingRight" format="dimension" /> 277 278 <!-- The preferred TextAppearance for the primary text of list items. --> 279 <attr name="textAppearanceListItem" format="reference" /> 280 <!-- The preferred TextAppearance for the secondary text of list items. --> 281 <attr name="textAppearanceListItemSecondary" format="reference" /> 282 <!-- The preferred TextAppearance for the primary text of small list items. --> 283 <attr name="textAppearanceListItemSmall" format="reference" /> 284 285 <!-- The drawable for the list divider. --> 286 <attr name="listDivider" format="reference" /> 287 <!-- The list divider used in alert dialogs. --> 288 <attr name="listDividerAlertDialog" format="reference" /> 289 <!-- TextView style for list separators. --> 290 <attr name="listSeparatorTextViewStyle" format="reference" /> 291 <!-- The preferred left padding for an expandable list item (for child-specific layouts, 292 use expandableListPreferredChildPaddingLeft). This takes into account 293 the indicator that will be shown to next to the item. --> 294 <attr name="expandableListPreferredItemPaddingLeft" format="dimension" /> 295 <!-- The preferred left padding for an expandable list item that is a child. 296 If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. --> 297 <attr name="expandableListPreferredChildPaddingLeft" format="dimension" /> 298 <!-- The preferred left bound for an expandable list item's indicator. For a child-specific 299 indicator, use expandableListPreferredChildIndicatorLeft. --> 300 <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" /> 301 <!-- The preferred right bound for an expandable list item's indicator. For a child-specific 302 indicator, use expandableListPreferredChildIndicatorRight. --> 303 <attr name="expandableListPreferredItemIndicatorRight" format="dimension" /> 304 <!-- The preferred left bound for an expandable list child's indicator. --> 305 <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" /> 306 <!-- The preferred right bound for an expandable list child's indicator. --> 307 <attr name="expandableListPreferredChildIndicatorRight" format="dimension" /> 308 309 <!-- The preferred item height for dropdown lists. --> 310 <attr name="dropdownListPreferredItemHeight" format="dimension" /> 311 312 <!-- The preferred padding along the start edge of list items. --> 313 <attr name="listPreferredItemPaddingStart" format="dimension" /> 314 <!-- The preferred padding along the end edge of list items. --> 315 <attr name="listPreferredItemPaddingEnd" format="dimension" /> 316 317 <!-- ============= --> 318 <!-- Window styles --> 319 <!-- ============= --> 320 <eat-comment /> 321 322 <!-- Drawable to use as the overall window background. As of 323 {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may 324 be a selector that uses state_accelerated to pick a non-solid 325 color when running on devices that can draw such a bitmap 326 with complex compositing on top at 60fps. 327 328 <p>There are a few special considerations to use when setting this 329 drawable: 330 <ul> 331 <li> This information will be used to infer the pixel format 332 for your window's surface. If the drawable has any 333 non-opaque pixels, your window will be translucent 334 (32 bpp). 335 <li> If you want to draw the entire background 336 yourself, you should set this drawable to some solid 337 color that closely matches that background (so the 338 system's preview of your window will match), and 339 then in code manually set your window's background to 340 null so it will not be drawn. 341 </ul> --> 342 <attr name="windowBackground" format="reference" /> 343 <!-- Drawable to draw selectively within the inset areas when the windowBackground 344 has been set to null. This protects against seeing visual garbage in the 345 surface when the app has not drawn any content into this area. One example is 346 when the user is resizing a window of an activity that has 347 {@link android.R.attr#resizeableActivity} set for multi-window mode. --> 348 <attr name="windowBackgroundFallback" format="reference" /> 349 <!-- Drawable to use as a frame around the window. --> 350 <attr name="windowFrame" format="reference" /> 351 <!-- Flag indicating whether there should be no title on this window. --> 352 <attr name="windowNoTitle" format="boolean" /> 353 <!-- Flag indicating whether this window should fill the entire screen. Corresponds 354 to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. --> 355 <attr name="windowFullscreen" format="boolean" /> 356 <!-- Flag indicating whether this window should extend into overscan region. Corresponds 357 to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. --> 358 <attr name="windowOverscan" format="boolean" /> 359 <!-- Flag indicating whether this is a floating window. --> 360 <attr name="windowIsFloating" format="boolean" /> 361 <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but 362 not if set to false), the window might still be considered translucent, if 363 windowSwipeToDismiss is set to true. --> 364 <attr name="windowIsTranslucent" format="boolean" /> 365 <!-- Flag indicating that this window's background should be the 366 user's current wallpaper. Corresponds 367 to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. --> 368 <attr name="windowShowWallpaper" format="boolean" /> 369 <!-- This Drawable is overlaid over the foreground of the Window's content area, usually 370 to place a shadow below the title. --> 371 <attr name="windowContentOverlay" format="reference" /> 372 <!-- The style resource to use for a window's title bar height. --> 373 <attr name="windowTitleSize" format="dimension" /> 374 <!-- The style resource to use for a window's title text. --> 375 <attr name="windowTitleStyle" format="reference" /> 376 <!-- The style resource to use for a window's title area. --> 377 <attr name="windowTitleBackgroundStyle" format="reference" /> 378 379 <!-- Reference to a style resource holding 380 the set of window animations to use, which can be 381 any of the attributes defined by 382 {@link android.R.styleable#WindowAnimation}. --> 383 <attr name="windowAnimationStyle" format="reference" /> 384 385 <!-- Flag indicating whether this window should have an Action Bar 386 in place of the usual title bar. --> 387 <attr name="windowActionBar" format="boolean" /> 388 389 <!-- Flag indicating whether this window's Action Bar should overlay 390 application content. Does nothing if the window would not 391 have an Action Bar. --> 392 <attr name="windowActionBarOverlay" format="boolean" /> 393 394 <!-- Flag indicating whether action modes should overlay window content 395 when there is not reserved space for their UI (such as an Action Bar). --> 396 <attr name="windowActionModeOverlay" format="boolean" /> 397 398 <!-- Defines the default soft input state that this window would 399 like when it is displayed. Corresponds 400 to {@link android.view.WindowManager.LayoutParams#softInputMode}. --> 401 <attr name="windowSoftInputMode"> 402 <!-- Not specified, use what the system thinks is best. This 403 is the default. --> 404 <flag name="stateUnspecified" value="0" /> 405 <!-- Leave the soft input window as-is, in whatever state it 406 last was. --> 407 <flag name="stateUnchanged" value="1" /> 408 <!-- Make the soft input area hidden when normally appropriate 409 (when the user is navigating forward to your window). --> 410 <flag name="stateHidden" value="2" /> 411 <!-- Always make the soft input area hidden when this window 412 has input focus. --> 413 <flag name="stateAlwaysHidden" value="3" /> 414 <!-- Make the soft input area visible when normally appropriate 415 (when the user is navigating forward to your window). --> 416 <flag name="stateVisible" value="4" /> 417 <!-- Always make the soft input area visible when this window 418 has input focus. --> 419 <flag name="stateAlwaysVisible" value="5" /> 420 421 <!-- The window resize/pan adjustment has not been specified, 422 the system will automatically select between resize and pan 423 modes, depending 424 on whether the content of the window has any layout views 425 that can scroll their contents. If there is such a view, 426 then the window will be resized, with the assumption being 427 that the resizeable area can be reduced to make room for 428 the input UI. --> 429 <flag name="adjustUnspecified" value="0x00" /> 430 <!-- Always resize the window: the content area of the window is 431 reduced to make room for the soft input area. --> 432 <flag name="adjustResize" value="0x10" /> 433 <!-- Don't resize the window to make room for the soft input area; 434 instead pan the contents of the window as focus moves inside 435 of it so that the user can see what they are typing. This is 436 generally less desireable than panning because the user may 437 need to close the input area to get at and interact with 438 parts of the window. --> 439 <flag name="adjustPan" value="0x20" /> 440 <!-- Don't resize <em>or</em> pan the window to make room for the 441 soft input area; the window is never adjusted for it. --> 442 <flag name="adjustNothing" value="0x30" /> 443 </attr> 444 445 <!-- Flag allowing you to disable the splash screen for a window. The default value is 446 false; if set to true, the system can never use the window's theme to show a splash 447 screen before your actual instance is shown to the user. --> 448 <attr name="windowDisablePreview" format="boolean" /> 449 450 <!-- Flag indicating that this window should not be displayed at all. 451 The default value is false; if set to true, and this window is 452 the main window of an Activity, then it will never actually 453 be added to the window manager. This means that your activity 454 must immediately quit without waiting for user interaction, 455 because there will be no such interaction coming. --> 456 <attr name="windowNoDisplay" format="boolean" /> 457 458 <!-- Flag indicating that this window should allow touches to be split 459 across other windows that also support split touch. 460 The default value is true for applications with a targetSdkVersion 461 of Honeycomb or newer; false otherwise. 462 When this flag is false, the first pointer that goes down determines 463 the window to which all subsequent touches go until all pointers go up. 464 When this flag is true, each pointer (not necessarily the first) that 465 goes down determines the window to which all subsequent touches of that 466 pointer will go until that pointers go up thereby enabling touches 467 with multiple pointers to be split across multiple windows. --> 468 <attr name="windowEnableSplitTouch" format="boolean" /> 469 470 <!-- Control whether a container should automatically close itself if 471 the user touches outside of it. This only applies to activities 472 and dialogs. 473 474 <p>Note: this attribute will only be respected for applications 475 that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB} 476 or later. --> 477 <attr name="windowCloseOnTouchOutside" format="boolean" /> 478 479 <!-- Flag indicating whether this window requests a translucent status bar. Corresponds 480 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. --> 481 <attr name="windowTranslucentStatus" format="boolean" /> 482 483 <!-- Flag indicating whether this window requests a translucent navigation bar. Corresponds 484 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. --> 485 <attr name="windowTranslucentNavigation" format="boolean" /> 486 487 <!-- Flag to indicate that a window can be swiped away to be dismissed. 488 Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also 489 dynamically change translucency of the window, if the windowIsTranslucent is not set. 490 If windowIsTranslucent is set (to either true or false) it will obey that setting. --> 491 <attr name="windowSwipeToDismiss" format="boolean" /> 492 493 <!-- Flag indicating whether this window requests that content changes be performed 494 as scene changes with transitions. Corresponds to 495 {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. --> 496 <attr name="windowContentTransitions" format="boolean" /> 497 498 <!-- Reference to a TransitionManager XML resource defining the desired 499 transitions between different window content. --> 500 <attr name="windowContentTransitionManager" format="reference" /> 501 502 <!-- Flag indicating whether this window allows Activity Transitions. 503 Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. --> 504 <attr name="windowActivityTransitions" format="boolean" /> 505 506 <!-- Reference to a Transition XML resource defining the desired Transition 507 used to move Views into the initial Window's content Scene. Corresponds to 508 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 509 <attr name="windowEnterTransition" format="reference"/> 510 511 <!-- Reference to a Transition XML resource defining the desired Transition 512 used to move Views out of the scene when the Window is 513 preparing to close. Corresponds to 514 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 515 <attr name="windowReturnTransition" format="reference"/> 516 517 <!-- Reference to a Transition XML resource defining the desired Transition 518 used to move Views out of the Window's content Scene when launching a new Activity. 519 Corresponds to 520 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 521 <attr name="windowExitTransition" format="reference"/> 522 523 <!-- Reference to a Transition XML resource defining the desired Transition 524 used to move Views in to the scene when returning from a previously-started Activity. 525 Corresponds to 526 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 527 <attr name="windowReenterTransition" format="reference"/> 528 529 <!-- Reference to a Transition XML resource defining the desired Transition 530 used to move shared elements transferred into the Window's initial content Scene. 531 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 532 android.transition.Transition)}. --> 533 <attr name="windowSharedElementEnterTransition" format="reference"/> 534 535 <!-- Reference to a Transition XML resource defining the desired Transition 536 used to move shared elements transferred back to a calling Activity. 537 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 538 android.transition.Transition)}. --> 539 <attr name="windowSharedElementReturnTransition" format="reference"/> 540 541 <!-- Reference to a Transition XML resource defining the desired Transition 542 used when starting a new Activity to move shared elements prior to transferring 543 to the called Activity. 544 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 545 android.transition.Transition)}. --> 546 <attr name="windowSharedElementExitTransition" format="reference"/> 547 548 <!-- Reference to a Transition XML resource defining the desired Transition 549 used for shared elements transferred back to a calling Activity. 550 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 551 android.transition.Transition)}. --> 552 <attr name="windowSharedElementReenterTransition" format="reference"/> 553 554 <!-- Flag indicating whether this Window's transition should overlap with 555 the exiting transition of the calling Activity. Corresponds to 556 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. 557 The default value is true. --> 558 <attr name="windowAllowEnterTransitionOverlap" format="boolean"/> 559 560 <!-- Flag indicating whether this Window's transition should overlap with 561 the exiting transition of the called Activity when the called Activity 562 finishes. Corresponds to 563 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. 564 The default value is true. --> 565 <attr name="windowAllowReturnTransitionOverlap" format="boolean"/> 566 567 <!-- Indicates whether or not shared elements should use an overlay 568 during transitions. The default value is true. --> 569 <attr name="windowSharedElementsUseOverlay" format="boolean"/> 570 571 <!-- Internal layout used internally for window decor --> 572 <attr name="windowActionBarFullscreenDecorLayout" format="reference" /> 573 574 <!-- The duration, in milliseconds, of the window background fade duration 575 when transitioning into or away from an Activity when called with an 576 Activity Transition. Corresponds to 577 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 578 <attr name="windowTransitionBackgroundFadeDuration" format="integer"/> 579 580 <!-- ============ --> 581 <!-- Floating toolbar styles --> 582 <!-- ============ --> 583 <eat-comment /> 584 <attr name="floatingToolbarCloseDrawable" format="reference" /> 585 <attr name="floatingToolbarForegroundColor" format="reference|color" /> 586 <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" /> 587 <attr name="floatingToolbarItemBackgroundDrawable" format="reference" /> 588 <attr name="floatingToolbarOpenDrawable" format="reference" /> 589 <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" /> 590 <attr name="floatingToolbarDividerColor" format="reference" /> 591 592 <!-- ============ --> 593 <!-- Alert Dialog styles --> 594 <!-- ============ --> 595 <eat-comment /> 596 <attr name="alertDialogStyle" format="reference" /> 597 <attr name="alertDialogButtonGroupStyle" format="reference" /> 598 <attr name="alertDialogCenterButtons" format="boolean" /> 599 600 <!-- ============== --> 601 <!-- Image elements --> 602 <!-- ============== --> 603 <eat-comment /> 604 605 <!-- Background that can be used behind parts of a UI that provide 606 details on data the user is selecting. For example, this is 607 the background element of PreferenceActivity's embedded 608 preference fragment. --> 609 <attr name="detailsElementBackground" format="reference" /> 610 611 <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan. 612 This should be used whenever an app is requesting the user to place a finger on the 613 fingerprint sensor. It can be combined with other drawables such as colored circles, so 614 the appearance matches the branding of the app requesting the fingerprint scan.--> 615 <attr name="fingerprintAuthDrawable" format="reference" /> 616 617 <!-- ============ --> 618 <!-- Panel styles --> 619 <!-- ============ --> 620 <eat-comment /> 621 622 <!-- The background of a panel when it is inset from the left and right edges of the screen. --> 623 <attr name="panelBackground" format="reference|color" /> 624 <!-- The background of a panel when it extends to the left and right edges of the screen. --> 625 <attr name="panelFullBackground" format="reference|color" /> 626 <!-- Default color of foreground panel imagery. --> 627 <attr name="panelColorForeground" format="reference|color" /> 628 <!-- Color that matches (as closely as possible) the panel background. --> 629 <attr name="panelColorBackground" format="reference|color" /> 630 <!-- Default appearance of panel text. --> 631 <attr name="panelTextAppearance" format="reference" /> 632 633 <attr name="panelMenuIsCompact" format="boolean" /> 634 <attr name="panelMenuListWidth" format="dimension" /> 635 <attr name="panelMenuListTheme" format="reference" /> 636 637 <!-- =================== --> 638 <!-- Other widget styles --> 639 <!-- =================== --> 640 <eat-comment /> 641 642 <!-- Default AbsListView style. --> 643 <attr name="absListViewStyle" format="reference" /> 644 <!-- Default AutoCompleteTextView style. --> 645 <attr name="autoCompleteTextViewStyle" format="reference" /> 646 <!-- Default Checkbox style. --> 647 <attr name="checkboxStyle" format="reference" /> 648 <!-- Default CheckedTextView style. --> 649 <attr name="checkedTextViewStyle" format="reference" /> 650 <!-- Default ListView style for drop downs. --> 651 <attr name="dropDownListViewStyle" format="reference" /> 652 <!-- Default EditText style. --> 653 <attr name="editTextStyle" format="reference" /> 654 <!-- Default ExpandableListView style. --> 655 <attr name="expandableListViewStyle" format="reference" /> 656 <!-- ExpandableListView with white background. --> 657 <attr name="expandableListViewWhiteStyle" format="reference" /> 658 <!-- Default Gallery style. --> 659 <attr name="galleryStyle" format="reference" /> 660 <!-- Default GestureOverlayView style. --> 661 <attr name="gestureOverlayViewStyle" format="reference" /> 662 <!-- Default GridView style. --> 663 <attr name="gridViewStyle" format="reference" /> 664 <!-- The style resource to use for an ImageButton. --> 665 <attr name="imageButtonStyle" format="reference" /> 666 <!-- The style resource to use for an ImageButton that is an image well. --> 667 <attr name="imageWellStyle" format="reference" /> 668 <!-- Default menu-style ListView style. --> 669 <attr name="listMenuViewStyle" format="reference" /> 670 <!-- Default ListView style. --> 671 <attr name="listViewStyle" format="reference" /> 672 <!-- ListView with white background. --> 673 <attr name="listViewWhiteStyle" format="reference" /> 674 <!-- Default PopupWindow style. --> 675 <attr name="popupWindowStyle" format="reference" /> 676 <!-- Default ProgressBar style. This is a medium circular progress bar. --> 677 <attr name="progressBarStyle" format="reference" /> 678 <!-- Horizontal ProgressBar style. This is a horizontal progress bar. --> 679 <attr name="progressBarStyleHorizontal" format="reference" /> 680 <!-- Small ProgressBar style. This is a small circular progress bar. --> 681 <attr name="progressBarStyleSmall" format="reference" /> 682 <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. --> 683 <attr name="progressBarStyleSmallTitle" format="reference" /> 684 <!-- Large ProgressBar style. This is a large circular progress bar. --> 685 <attr name="progressBarStyleLarge" format="reference" /> 686 <!-- Inverse ProgressBar style. This is a medium circular progress bar. --> 687 <attr name="progressBarStyleInverse" format="reference" /> 688 <!-- Small inverse ProgressBar style. This is a small circular progress bar. --> 689 <attr name="progressBarStyleSmallInverse" format="reference" /> 690 <!-- Large inverse ProgressBar style. This is a large circular progress bar. --> 691 <attr name="progressBarStyleLargeInverse" format="reference" /> 692 <!-- Default SeekBar style. --> 693 <attr name="seekBarStyle" format="reference" /> 694 <!-- Default RatingBar style. --> 695 <attr name="ratingBarStyle" format="reference" /> 696 <!-- Indicator RatingBar style. --> 697 <attr name="ratingBarStyleIndicator" format="reference" /> 698 <!-- Small indicator RatingBar style. --> 699 <attr name="ratingBarStyleSmall" format="reference" /> 700 <!-- Default RadioButton style. --> 701 <attr name="radioButtonStyle" format="reference" /> 702 <!-- Default ScrollView style. --> 703 <attr name="scrollViewStyle" format="reference" /> 704 <!-- Default HorizontalScrollView style. --> 705 <attr name="horizontalScrollViewStyle" format="reference" /> 706 <!-- Default Spinner style. --> 707 <attr name="spinnerStyle" format="reference" /> 708 <!-- Default dropdown Spinner style. --> 709 <attr name="dropDownSpinnerStyle" format="reference" /> 710 <!-- Default ActionBar dropdown style. --> 711 <attr name="actionDropDownStyle" format="reference" /> 712 <!-- Default action button style. --> 713 <attr name="actionButtonStyle" format="reference" /> 714 <!-- Default Star style. --> 715 <attr name="starStyle" format="reference" /> 716 <!-- Default TabWidget style. --> 717 <attr name="tabWidgetStyle" format="reference" /> 718 <!-- Default TextView style. --> 719 <attr name="textViewStyle" format="reference" /> 720 <!-- Default WebTextView style. --> 721 <attr name="webTextViewStyle" format="reference" /> 722 <!-- Default WebView style. --> 723 <attr name="webViewStyle" format="reference" /> 724 <!-- Default style for drop down items. --> 725 <attr name="dropDownItemStyle" format="reference" /> 726 <!-- Default style for spinner drop down items. --> 727 <attr name="spinnerDropDownItemStyle" format="reference" /> 728 <!-- Default style for drop down hints. --> 729 <attr name="dropDownHintAppearance" format="reference" /> 730 <!-- Default spinner item style. --> 731 <attr name="spinnerItemStyle" format="reference" /> 732 <!-- Default MapView style. --> 733 <attr name="mapViewStyle" format="reference" /> 734 <!-- Drawable used as an overlay on top of quickcontact photos. --> 735 <attr name="quickContactBadgeOverlay" format="reference" /> 736 <!-- Default quickcontact badge style with small quickcontact window. --> 737 <attr name="quickContactBadgeStyleWindowSmall" format="reference" /> 738 <!-- Default quickcontact badge style with medium quickcontact window. --> 739 <attr name="quickContactBadgeStyleWindowMedium" format="reference" /> 740 <!-- Default quickcontact badge style with large quickcontact window. --> 741 <attr name="quickContactBadgeStyleWindowLarge" format="reference" /> 742 <!-- Default quickcontact badge style with small quickcontact window. --> 743 <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" /> 744 <!-- Default quickcontact badge style with medium quickcontact window. --> 745 <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" /> 746 <!-- Default quickcontact badge style with large quickcontact window. --> 747 <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" /> 748 <!-- Reference to a style that will be used for the window containing a text 749 selection anchor. --> 750 <attr name="textSelectHandleWindowStyle" format="reference" /> 751 <!-- Reference to a style that will be used for the window containing a list of possible 752 text suggestions in an EditText. --> 753 <attr name="textSuggestionsWindowStyle" format="reference" /> 754 <!-- Default ListPopupWindow style. --> 755 <attr name="listPopupWindowStyle" format="reference" /> 756 <!-- Default PopupMenu style. --> 757 <attr name="popupMenuStyle" format="reference" /> 758 <!-- Default context menu PopupMenu style. --> 759 <attr name="contextPopupMenuStyle" format="reference" /> 760 <!-- Default StackView style. --> 761 <attr name="stackViewStyle" format="reference" /> 762 763 <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated 764 starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). --> 765 <attr name="fragmentBreadCrumbsStyle" format="reference" /> 766 767 <!-- NumberPicker style. --> 768 <attr name="numberPickerStyle" format="reference" /> 769 770 <!-- The CalendarView style. --> 771 <attr name="calendarViewStyle" format="reference" /> 772 773 <!-- The TimePicker style. --> 774 <attr name="timePickerStyle" format="reference" /> 775 776 <!-- The TimePicker dialog theme. --> 777 <attr name="timePickerDialogTheme" format="reference" /> 778 779 <!-- The DatePicker style. --> 780 <attr name="datePickerStyle" format="reference" /> 781 782 <!-- The DatePicker dialog theme. --> 783 <attr name="datePickerDialogTheme" format="reference" /> 784 785 <!-- Default ActivityChooserView style. --> 786 <attr name="activityChooserViewStyle" format="reference" /> 787 788 <!-- Default Toolbar style. --> 789 <attr name="toolbarStyle" format="reference" /> 790 791 <!-- Fast scroller styles --> 792 <eat-comment /> 793 794 <!-- Drawable to use as the fast scroll thumb. --> 795 <attr name="fastScrollThumbDrawable" format="reference" /> 796 <!-- Drawable to use as the fast scroll index preview window background 797 when shown on the right. --> 798 <attr name="fastScrollPreviewBackgroundRight" format="reference" /> 799 <!-- Drawable to use as the fast scroll index preview window background 800 when shown on the left. --> 801 <attr name="fastScrollPreviewBackgroundLeft" format="reference" /> 802 <!-- Drawable to use as the track for the fast scroll thumb. 803 This may be null. --> 804 <attr name="fastScrollTrackDrawable" format="reference" /> 805 <!-- Position of the fast scroll index overlay window. --> 806 <attr name="fastScrollOverlayPosition"> 807 <enum name="floating" value="0" /> 808 <enum name="atThumb" value="1" /> 809 <enum name="aboveThumb" value="2" /> 810 </attr> 811 <!-- Text color for the fast scroll index overlay. Make sure it 812 plays nicely with fastScrollPreviewBackground[Left|Right]. --> 813 <attr name="fastScrollTextColor" format="color" /> 814 815 <!-- =================== --> 816 <!-- Action bar styles --> 817 <!-- =================== --> 818 <eat-comment /> 819 <!-- Default style for tabs within an action bar. --> 820 <attr name="actionBarTabStyle" format="reference" /> 821 <!-- Reference to a style for the Action Bar Tab Bar. --> 822 <attr name="actionBarTabBarStyle" format="reference" /> 823 <!-- Reference to a style for the Action Bar Tab text. --> 824 <attr name="actionBarTabTextStyle" format="reference" /> 825 <!-- Reference to a style for Action Bar overflow buttons. --> 826 <attr name="actionOverflowButtonStyle" format="reference" /> 827 <!-- Reference to a style for the Action Bar menu. --> 828 <attr name="actionOverflowMenuStyle" format="reference" /> 829 <!-- Reference to a theme that should be used to inflate popups 830 shown by widgets in the action bar. --> 831 <attr name="actionBarPopupTheme" format="reference" /> 832 <!-- Reference to a style for the Action Bar. --> 833 <attr name="actionBarStyle" format="reference" /> 834 <!-- Reference to a style for the split Action Bar. This style 835 controls the split component that holds the menu/action 836 buttons. actionBarStyle is still used for the primary 837 bar. --> 838 <attr name="actionBarSplitStyle" format="reference" /> 839 <!-- Reference to a theme that should be used to inflate the 840 action bar. This will be inherited by any widget inflated 841 into the action bar. --> 842 <attr name="actionBarTheme" format="reference" /> 843 <!-- Reference to a theme that should be used to inflate widgets 844 and layouts destined for the action bar. Most of the time 845 this will be a reference to the current theme, but when 846 the action bar has a significantly different contrast 847 profile than the rest of the activity the difference 848 can become important. If this is set to @null the current 849 theme will be used.--> 850 <attr name="actionBarWidgetTheme" format="reference" /> 851 <!-- Size of the Action Bar, including the contextual 852 bar used to present Action Modes. --> 853 <attr name="actionBarSize" format="dimension" > 854 <enum name="wrap_content" value="0" /> 855 </attr> 856 <!-- Custom divider drawable to use for elements in the action bar. --> 857 <attr name="actionBarDivider" format="reference" /> 858 <!-- Custom item state list drawable background for action bar items. --> 859 <attr name="actionBarItemBackground" format="reference" /> 860 <!-- TextAppearance style that will be applied to text that 861 appears within action menu items. --> 862 <attr name="actionMenuTextAppearance" format="reference" /> 863 <!-- Color for text that appears within action menu items. --> 864 <attr name="actionMenuTextColor" format="color|reference" /> 865 866 <!-- =================== --> 867 <!-- Action mode styles --> 868 <!-- =================== --> 869 <eat-comment /> 870 <!-- Reference to a style for the Action Mode. --> 871 <attr name="actionModeStyle" format="reference" /> 872 <!-- Reference to a style for the Action Mode close button. --> 873 <attr name="actionModeCloseButtonStyle" format="reference" /> 874 <!-- Background drawable to use for action mode UI. --> 875 <attr name="actionModeBackground" format="reference" /> 876 <!-- Background drawable to use for action mode UI in the lower split bar. --> 877 <attr name="actionModeSplitBackground" format="reference" /> 878 <!-- Drawable to use for the close action mode button. --> 879 <attr name="actionModeCloseDrawable" format="reference" /> 880 881 <!-- Drawable to use for the Cut action button in Contextual Action Bar. --> 882 <attr name="actionModeCutDrawable" format="reference" /> 883 <!-- Drawable to use for the Copy action button in Contextual Action Bar. --> 884 <attr name="actionModeCopyDrawable" format="reference" /> 885 <!-- Drawable to use for the Paste action button in Contextual Action Bar. --> 886 <attr name="actionModePasteDrawable" format="reference" /> 887 <!-- Drawable to use for the Select all action button in Contextual Action Bar. --> 888 <attr name="actionModeSelectAllDrawable" format="reference" /> 889 <!-- Drawable to use for the Share action button in WebView selection action modes. --> 890 <attr name="actionModeShareDrawable" format="reference" /> 891 <!-- Drawable to use for the Find action button in WebView selection action modes. --> 892 <attr name="actionModeFindDrawable" format="reference" /> 893 <!-- Drawable to use for the Web Search action button in WebView selection action modes. --> 894 <attr name="actionModeWebSearchDrawable" format="reference" /> 895 896 <!-- PopupWindow style to use for action modes when showing as a window overlay. --> 897 <attr name="actionModePopupWindowStyle" format="reference" /> 898 899 <!-- =================== --> 900 <!-- Preference styles --> 901 <!-- =================== --> 902 <eat-comment /> 903 904 <!-- Default style for PreferenceScreen. --> 905 <attr name="preferenceScreenStyle" format="reference" /> 906 <!-- Default style for the PreferenceActivity. --> 907 <attr name="preferenceActivityStyle" format="reference" /> 908 <!-- Default style for Headers pane in PreferenceActivity. --> 909 <attr name="preferenceFragmentStyle" format="reference" /> 910 <!-- Default style for PreferenceCategory. --> 911 <attr name="preferenceCategoryStyle" format="reference" /> 912 <!-- Default style for Preference. --> 913 <attr name="preferenceStyle" format="reference" /> 914 <!-- Default style for informational Preference. --> 915 <attr name="preferenceInformationStyle" format="reference" /> 916 <!-- Default style for CheckBoxPreference. --> 917 <attr name="checkBoxPreferenceStyle" format="reference" /> 918 <!-- Default style for YesNoPreference. --> 919 <attr name="yesNoPreferenceStyle" format="reference" /> 920 <!-- Default style for DialogPreference. --> 921 <attr name="dialogPreferenceStyle" format="reference" /> 922 <!-- Default style for EditTextPreference. --> 923 <attr name="editTextPreferenceStyle" format="reference" /> 924 <!-- @hide Default style for SeekBarDialogPreference. --> 925 <attr name="seekBarDialogPreferenceStyle" format="reference" /> 926 <!-- Default style for RingtonePreference. --> 927 <attr name="ringtonePreferenceStyle" format="reference" /> 928 <!-- The preference layout that has the child/tabbed effect. --> 929 <attr name="preferenceLayoutChild" format="reference" /> 930 <!-- Preference panel style --> 931 <attr name="preferencePanelStyle" format="reference" /> 932 <!-- Preference headers panel style --> 933 <attr name="preferenceHeaderPanelStyle" format="reference" /> 934 <!-- Preference list style --> 935 <attr name="preferenceListStyle" format="reference" /> 936 <!-- Preference fragment list style --> 937 <attr name="preferenceFragmentListStyle" format="reference" /> 938 <!-- Preference fragment padding side --> 939 <attr name="preferenceFragmentPaddingSide" format="dimension" /> 940 <!-- Default style for switch preferences. --> 941 <attr name="switchPreferenceStyle" format="reference" /> 942 <!-- Default style for seekbar preferences. --> 943 <attr name="seekBarPreferenceStyle" format="reference" /> 944 945 <!-- ============================ --> 946 <!-- Text selection handle styles --> 947 <!-- ============================ --> 948 <eat-comment /> 949 950 <!-- Reference to a drawable that will be used to display a text selection 951 anchor on the left side of a selection region. --> 952 <attr name="textSelectHandleLeft" format="reference" /> 953 <!-- Reference to a drawable that will be used to display a text selection 954 anchor on the right side of a selection region. --> 955 <attr name="textSelectHandleRight" format="reference" /> 956 <!-- Reference to a drawable that will be used to display a text selection 957 anchor for positioning the cursor within text. --> 958 <attr name="textSelectHandle" format="reference" /> 959 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 960 TextEdit field. --> 961 <attr name="textEditPasteWindowLayout" format="reference" /> 962 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 963 <attr name="textEditNoPasteWindowLayout" format="reference" /> 964 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 965 insertion cursor because it would be clipped if it were positioned on top. --> 966 <attr name="textEditSidePasteWindowLayout" format="reference" /> 967 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 968 <attr name="textEditSideNoPasteWindowLayout" format="reference" /> 969 970 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 971 <attr name="textEditSuggestionItemLayout" format="reference" /> 972 <!-- Layout of the container of the suggestion popup window. --> 973 <attr name="textEditSuggestionContainerLayout" format="reference" /> 974 <!-- Text appearance of the focused words to be replaced by suggested word. --> 975 <attr name="textEditSuggestionHighlightStyle" format="reference" /> 976 977 <!-- Theme to use for dialogs spawned from this theme. --> 978 <attr name="dialogTheme" format="reference" /> 979 <!-- Window decor layout to use in dialog mode with icons. --> 980 <attr name="dialogTitleIconsDecorLayout" format="reference" /> 981 <!-- Window decor layout to use in dialog mode with custom titles. --> 982 <attr name="dialogCustomTitleDecorLayout" format="reference" /> 983 <!-- Window decor layout to use in dialog mode with title only. --> 984 <attr name="dialogTitleDecorLayout" format="reference" /> 985 <!-- Preferred padding for dialog content. --> 986 <attr name="dialogPreferredPadding" format="dimension" /> 987 <!-- Corner radius of dialogs. --> 988 <attr name="dialogCornerRadius" format="dimension" /> 989 990 <!-- Theme to use for alert dialogs spawned from this theme. --> 991 <attr name="alertDialogTheme" format="reference" /> 992 <!-- Icon drawable to use for alerts. --> 993 <attr name="alertDialogIcon" format="reference" /> 994 995 <!-- Theme to use for presentations spawned from this theme. --> 996 <attr name="presentationTheme" format="reference" /> 997 998 <!-- Drawable to use for generic vertical dividers. --> 999 <attr name="dividerVertical" format="reference" /> 1000 1001 <!-- Drawable to use for generic horizontal dividers. --> 1002 <attr name="dividerHorizontal" format="reference" /> 1003 1004 <!-- Style for button bars. --> 1005 <attr name="buttonBarStyle" format="reference" /> 1006 1007 <!-- Style for buttons within button bars. --> 1008 <attr name="buttonBarButtonStyle" format="reference" /> 1009 1010 <!-- Style for the "positive" buttons within button bars. --> 1011 <attr name="buttonBarPositiveButtonStyle" format="reference" /> 1012 1013 <!-- Style for the "negative" buttons within button bars. --> 1014 <attr name="buttonBarNegativeButtonStyle" format="reference" /> 1015 1016 <!-- Style for the "neutral" buttons within button bars. --> 1017 <attr name="buttonBarNeutralButtonStyle" format="reference" /> 1018 1019 <!-- Corner radius of buttons. --> 1020 <attr name="buttonCornerRadius" format="dimension" /> 1021 1022 <!-- Corner radius of progress bars. --> 1023 <attr name="progressBarCornerRadius" format="dimension" /> 1024 1025 <!-- Style for the search query widget. --> 1026 <attr name="searchViewStyle" format="reference" /> 1027 1028 <!-- Style for segmented buttons - a container that houses several buttons 1029 with the appearance of a singel button broken into segments. --> 1030 <attr name="segmentedButtonStyle" format="reference" /> 1031 1032 <!-- Background drawable for bordered standalone items that need focus/pressed states. --> 1033 <attr name="selectableItemBackground" format="reference" /> 1034 1035 <!-- Background drawable for borderless standalone items that need focus/pressed states. --> 1036 <attr name="selectableItemBackgroundBorderless" format="reference" /> 1037 1038 <!-- Style for buttons without an explicit border, often used in groups. --> 1039 <attr name="borderlessButtonStyle" format="reference" /> 1040 1041 <!-- Background to use for toasts. --> 1042 <attr name="toastFrameBackground" format="reference" /> 1043 1044 <!-- Background to use for tooltip popups. --> 1045 <attr name="tooltipFrameBackground" format="reference" /> 1046 1047 <!-- Foreground color to use for tooltip popups. --> 1048 <attr name="tooltipForegroundColor" format="reference|color" /> 1049 1050 <!-- Background color to use for tooltip popups. --> 1051 <attr name="tooltipBackgroundColor" format="reference|color" /> 1052 1053 <!-- Theme to use for Search Dialogs. --> 1054 <attr name="searchDialogTheme" format="reference" /> 1055 1056 <!-- Specifies a drawable to use for the 'home as up' indicator. --> 1057 <attr name="homeAsUpIndicator" format="reference" /> 1058 1059 <!-- Preference frame layout styles. --> 1060 <attr name="preferenceFrameLayoutStyle" format="reference" /> 1061 1062 <!-- Default style for the Switch widget. --> 1063 <attr name="switchStyle" format="reference" /> 1064 1065 <!-- Default style for the MediaRouteButton widget. --> 1066 <attr name="mediaRouteButtonStyle" format="reference" /> 1067 1068 <!-- ============== --> 1069 <!-- Pointer styles --> 1070 <!-- ============== --> 1071 <eat-comment /> 1072 1073 <!-- The drawable for accessibility focused views. --> 1074 <attr name="accessibilityFocusedDrawable" format="reference" /> 1075 1076 <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide --> 1077 <attr name="findOnPageNextDrawable" format="reference" /> 1078 1079 <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide --> 1080 <attr name="findOnPagePreviousDrawable" format="reference" /> 1081 1082 <!-- ============= --> 1083 <!-- Color palette --> 1084 <!-- ============= --> 1085 <eat-comment /> 1086 1087 <!-- The primary branding color for the app. By default, this is the color applied to the 1088 action bar background. --> 1089 <attr name="colorPrimary" format="color" /> 1090 1091 <!-- Dark variant of the primary branding color. By default, this is the color applied to 1092 the status bar (via statusBarColor) and navigation bar (via navigationBarColor). --> 1093 <attr name="colorPrimaryDark" format="color" /> 1094 1095 <!-- The secondary branding color for the app. --> 1096 <attr name="colorSecondary" format="color" /> 1097 1098 <!-- Bright complement to the primary branding color. By default, this is the color applied 1099 to framework controls (via colorControlActivated). --> 1100 <attr name="colorAccent" format="color" /> 1101 1102 <!-- The color applied to framework controls in their normal state. --> 1103 <attr name="colorControlNormal" format="color" /> 1104 1105 <!-- The color applied to framework controls in their activated (ex. checked) state. --> 1106 <attr name="colorControlActivated" format="color" /> 1107 1108 <!-- The color applied to framework control highlights (ex. ripples, list selectors). --> 1109 <attr name="colorControlHighlight" format="color" /> 1110 1111 <!-- The color applied to framework buttons in their normal state. --> 1112 <attr name="colorButtonNormal" format="color" /> 1113 1114 <!-- The color applied to framework switch thumbs in their normal state. --> 1115 <attr name="colorSwitchThumbNormal" format="color" /> 1116 1117 <!-- The color applied to framework progress and seek bar backgrounds in their normal state. --> 1118 <attr name="colorProgressBackgroundNormal" format="color" /> 1119 1120 <!-- The color applied to the edge effect on scrolling containers. --> 1121 <attr name="colorEdgeEffect" format="color" /> 1122 1123 <!-- =================== --> 1124 <!-- Lighting properties --> 1125 <!-- =================== --> 1126 <eat-comment /> 1127 1128 <!-- @hide The default Y position of the light used to project view shadows. --> 1129 <attr name="lightY" format="dimension" /> 1130 1131 <!-- @hide The default Z position of the light used to project view shadows. --> 1132 <attr name="lightZ" format="dimension" /> 1133 1134 <!-- @hide The default radius of the light used to project view shadows. --> 1135 <attr name="lightRadius" format="dimension" /> 1136 1137 <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. --> 1138 <attr name="ambientShadowAlpha" format="float" /> 1139 1140 <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. --> 1141 <attr name="spotShadowAlpha" format="float" /> 1142 </declare-styleable> 1143 1144 <!-- **************************************************************** --> 1145 <!-- Other non-theme attributes. --> 1146 <!-- **************************************************************** --> 1147 <eat-comment /> 1148 1149 <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). 1150 Supported values include the following:<p/> 1151 <ul> 1152 <li><b>px</b> Pixels</li> 1153 <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li> 1154 <li><b>pt</b> Points</li> 1155 <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li> 1156 </ul> 1157 --> 1158 <attr name="textSize" format="dimension" /> 1159 1160 <!-- Default font family. --> 1161 <attr name="fontFamily" format="string" /> 1162 1163 <!-- Default text typeface. --> 1164 <attr name="typeface"> 1165 <enum name="normal" value="0" /> 1166 <enum name="sans" value="1" /> 1167 <enum name="serif" value="2" /> 1168 <enum name="monospace" value="3" /> 1169 </attr> 1170 1171 <!-- Default text typeface style. --> 1172 <attr name="textStyle"> 1173 <flag name="normal" value="0" /> 1174 <flag name="bold" value="1" /> 1175 <flag name="italic" value="2" /> 1176 </attr> 1177 1178 <!-- Color of text (usually same as colorForeground). --> 1179 <attr name="textColor" format="reference|color" /> 1180 1181 <!-- Color of highlighted text. --> 1182 <attr name="textColorHighlight" format="reference|color" /> 1183 1184 <!-- Color of hint text (displayed when the field is empty). --> 1185 <attr name="textColorHint" format="reference|color" /> 1186 1187 <!-- Color of link text (URLs). --> 1188 <attr name="textColorLink" format="reference|color" /> 1189 1190 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 1191 <attr name="textCursorDrawable" format="reference" /> 1192 1193 <!-- Indicates that the content of a non-editable TextView can be selected. 1194 Default value is false. EditText content is always selectable. --> 1195 <attr name="textIsSelectable" format="boolean" /> 1196 1197 <!-- Where to ellipsize text. --> 1198 <attr name="ellipsize"> 1199 <enum name="none" value="0" /> 1200 <enum name="start" value="1" /> 1201 <enum name="middle" value="2" /> 1202 <enum name="end" value="3" /> 1203 <enum name="marquee" value="4" /> 1204 </attr> 1205 1206 <!-- The type of data being placed in a text field, used to help an 1207 input method decide how to let the user enter text. The constants 1208 here correspond to those defined by 1209 {@link android.text.InputType}. Generally you can select 1210 a single value, though some can be combined together as 1211 indicated. Setting this attribute to anything besides 1212 <var>none</var> also implies that the text is editable. --> 1213 <attr name="inputType"> 1214 <!-- There is no content type. The text is not editable. --> 1215 <flag name="none" value="0x00000000" /> 1216 <!-- Just plain old text. Corresponds to 1217 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1218 {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. --> 1219 <flag name="text" value="0x00000001" /> 1220 <!-- Can be combined with <var>text</var> and its variations to 1221 request capitalization of all characters. Corresponds to 1222 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. --> 1223 <flag name="textCapCharacters" value="0x00001001" /> 1224 <!-- Can be combined with <var>text</var> and its variations to 1225 request capitalization of the first character of every word. Corresponds to 1226 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. --> 1227 <flag name="textCapWords" value="0x00002001" /> 1228 <!-- Can be combined with <var>text</var> and its variations to 1229 request capitalization of the first character of every sentence. Corresponds to 1230 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. --> 1231 <flag name="textCapSentences" value="0x00004001" /> 1232 <!-- Can be combined with <var>text</var> and its variations to 1233 request auto-correction of text being input. Corresponds to 1234 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. --> 1235 <flag name="textAutoCorrect" value="0x00008001" /> 1236 <!-- Can be combined with <var>text</var> and its variations to 1237 specify that this field will be doing its own auto-completion and 1238 talking with the input method appropriately. Corresponds to 1239 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. --> 1240 <flag name="textAutoComplete" value="0x00010001" /> 1241 <!-- Can be combined with <var>text</var> and its variations to 1242 allow multiple lines of text in the field. If this flag is not set, 1243 the text field will be constrained to a single line. Corresponds to 1244 {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. --> 1245 <flag name="textMultiLine" value="0x00020001" /> 1246 <!-- Can be combined with <var>text</var> and its variations to 1247 indicate that though the regular text view should not be multiple 1248 lines, the IME should provide multiple lines if it can. Corresponds to 1249 {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. --> 1250 <flag name="textImeMultiLine" value="0x00040001" /> 1251 <!-- Can be combined with <var>text</var> and its variations to 1252 indicate that the IME should not show any 1253 dictionary-based word suggestions. Corresponds to 1254 {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. --> 1255 <flag name="textNoSuggestions" value="0x00080001" /> 1256 <!-- Text that will be used as a URI. Corresponds to 1257 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1258 {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. --> 1259 <flag name="textUri" value="0x00000011" /> 1260 <!-- Text that will be used as an e-mail address. Corresponds to 1261 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1262 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. --> 1263 <flag name="textEmailAddress" value="0x00000021" /> 1264 <!-- Text that is being supplied as the subject of an e-mail. Corresponds to 1265 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1266 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. --> 1267 <flag name="textEmailSubject" value="0x00000031" /> 1268 <!-- Text that is the content of a short message. Corresponds to 1269 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1270 {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. --> 1271 <flag name="textShortMessage" value="0x00000041" /> 1272 <!-- Text that is the content of a long message. Corresponds to 1273 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1274 {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. --> 1275 <flag name="textLongMessage" value="0x00000051" /> 1276 <!-- Text that is the name of a person. Corresponds to 1277 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1278 {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. --> 1279 <flag name="textPersonName" value="0x00000061" /> 1280 <!-- Text that is being supplied as a postal mailing address. Corresponds to 1281 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1282 {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. --> 1283 <flag name="textPostalAddress" value="0x00000071" /> 1284 <!-- Text that is a password. Corresponds to 1285 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1286 {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. --> 1287 <flag name="textPassword" value="0x00000081" /> 1288 <!-- Text that is a password that should be visible. Corresponds to 1289 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1290 {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. --> 1291 <flag name="textVisiblePassword" value="0x00000091" /> 1292 <!-- Text that is being supplied as text in a web form. Corresponds to 1293 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1294 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. --> 1295 <flag name="textWebEditText" value="0x000000a1" /> 1296 <!-- Text that is filtering some other data. Corresponds to 1297 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1298 {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. --> 1299 <flag name="textFilter" value="0x000000b1" /> 1300 <!-- Text that is for phonetic pronunciation, such as a phonetic name 1301 field in a contact entry. Corresponds to 1302 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1303 {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. --> 1304 <flag name="textPhonetic" value="0x000000c1" /> 1305 <!-- Text that will be used as an e-mail address on a web form. Corresponds to 1306 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1307 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. --> 1308 <flag name="textWebEmailAddress" value="0x000000d1" /> 1309 <!-- Text that will be used as a password on a web form. Corresponds to 1310 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1311 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. --> 1312 <flag name="textWebPassword" value="0x000000e1" /> 1313 <!-- A numeric only field. Corresponds to 1314 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1315 {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. --> 1316 <flag name="number" value="0x00000002" /> 1317 <!-- Can be combined with <var>number</var> and its other options to 1318 allow a signed number. Corresponds to 1319 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1320 {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. --> 1321 <flag name="numberSigned" value="0x00001002" /> 1322 <!-- Can be combined with <var>number</var> and its other options to 1323 allow a decimal (fractional) number. Corresponds to 1324 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1325 {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. --> 1326 <flag name="numberDecimal" value="0x00002002" /> 1327 <!-- A numeric password field. Corresponds to 1328 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1329 {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. --> 1330 <flag name="numberPassword" value="0x00000012" /> 1331 <!-- For entering a phone number. Corresponds to 1332 {@link android.text.InputType#TYPE_CLASS_PHONE}. --> 1333 <flag name="phone" value="0x00000003" /> 1334 <!-- For entering a date and time. Corresponds to 1335 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1336 {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. --> 1337 <flag name="datetime" value="0x00000004" /> 1338 <!-- For entering a date. Corresponds to 1339 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1340 {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. --> 1341 <flag name="date" value="0x00000014" /> 1342 <!-- For entering a time. Corresponds to 1343 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1344 {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. --> 1345 <flag name="time" value="0x00000024" /> 1346 </attr> 1347 1348 <!-- Additional features you can enable in an IME associated with an editor 1349 to improve the integration with your application. The constants 1350 here correspond to those defined by 1351 {@link android.view.inputmethod.EditorInfo#imeOptions}. --> 1352 <attr name="imeOptions"> 1353 <!-- There are no special semantics associated with this editor. --> 1354 <flag name="normal" value="0x00000000" /> 1355 <!-- There is no specific action associated with this editor, let the 1356 editor come up with its own if it can. 1357 Corresponds to 1358 {@link android.view.inputmethod.EditorInfo#IME_NULL}. --> 1359 <flag name="actionUnspecified" value="0x00000000" /> 1360 <!-- This editor has no action associated with it. 1361 Corresponds to 1362 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. --> 1363 <flag name="actionNone" value="0x00000001" /> 1364 <!-- The action key performs a "go" 1365 operation to take the user to the target of the text they typed. 1366 Typically used, for example, when entering a URL. 1367 Corresponds to 1368 {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. --> 1369 <flag name="actionGo" value="0x00000002" /> 1370 <!-- The action key performs a "search" 1371 operation, taking the user to the results of searching for the text 1372 the have typed (in whatever context is appropriate). 1373 Corresponds to 1374 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. --> 1375 <flag name="actionSearch" value="0x00000003" /> 1376 <!-- The action key performs a "send" 1377 operation, delivering the text to its target. This is typically used 1378 when composing a message. 1379 Corresponds to 1380 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. --> 1381 <flag name="actionSend" value="0x00000004" /> 1382 <!-- The action key performs a "next" 1383 operation, taking the user to the next field that will accept text. 1384 Corresponds to 1385 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. --> 1386 <flag name="actionNext" value="0x00000005" /> 1387 <!-- The action key performs a "done" 1388 operation, closing the soft input method. 1389 Corresponds to 1390 {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. --> 1391 <flag name="actionDone" value="0x00000006" /> 1392 <!-- The action key performs a "previous" 1393 operation, taking the user to the previous field that will accept text. 1394 Corresponds to 1395 {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. --> 1396 <flag name="actionPrevious" value="0x00000007" /> 1397 <!-- Used to request that the IME should not update any personalized data such as typing 1398 history and personalized language model based on what the user typed on this text 1399 editing object. Typical use cases are: 1400 <ul> 1401 <li>When the application is in a special mode, where user's activities are expected 1402 to be not recorded in the application's history. Some web browsers and chat 1403 applications may have this kind of modes.</li> 1404 <li>When storing typing history does not make much sense. Specifying this flag in 1405 typing games may help to avoid typing history from being filled up with words that 1406 the user is less likely to type in their daily life. Another example is that when 1407 the application already knows that the expected input is not a valid word (e.g. a 1408 promotion code that is not a valid word in any natural language).</li> 1409 </ul> 1410 <p>Applications need to be aware that the flag is not a guarantee, and some IMEs may 1411 not respect it.</p> --> 1412 <flag name="flagNoPersonalizedLearning" value="0x1000000" /> 1413 <!-- Used to request that the IME never go 1414 into fullscreen mode. Applications need to be aware that the flag is not 1415 a guarantee, and not all IMEs will respect it. 1416 <p>Corresponds to 1417 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1418 <flag name="flagNoFullscreen" value="0x2000000" /> 1419 <!-- Like flagNavigateNext, but 1420 specifies there is something interesting that a backward navigation 1421 can focus on. If the user selects the IME's facility to backward 1422 navigate, this will show up in the application as an actionPrevious 1423 at {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1424 InputConnection.performEditorAction(int)}. 1425 <p>Corresponds to 1426 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1427 <flag name="flagNavigatePrevious" value="0x4000000" /> 1428 <!-- Used to specify that there is something 1429 interesting that a forward navigation can focus on. This is like using 1430 actionNext, except allows the IME to be multiline (with 1431 an enter key) as well as provide forward navigation. Note that some 1432 IMEs may not be able to do this, especially when running on a small 1433 screen where there is little space. In that case it does not need to 1434 present a UI for this option. Like actionNext, if the 1435 user selects the IME's facility to forward navigate, this will show up 1436 in the application at 1437 {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1438 InputConnection.performEditorAction(int)}. 1439 <p>Corresponds to 1440 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. --> 1441 <flag name="flagNavigateNext" value="0x8000000" /> 1442 <!-- Used to specify that the IME does not need 1443 to show its extracted text UI. For input methods that may be fullscreen, 1444 often when in landscape mode, this allows them to be smaller and let part 1445 of the application be shown behind. Though there will likely be limited 1446 access to the application available from the user, it can make the 1447 experience of a (mostly) fullscreen IME less jarring. Note that when 1448 this flag is specified the IME may <em>not</em> be set up to be able 1449 to display text, so it should only be used in situations where this is 1450 not needed. 1451 <p>Corresponds to 1452 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. --> 1453 <flag name="flagNoExtractUi" value="0x10000000" /> 1454 <!-- Used in conjunction with a custom action, this indicates that the 1455 action should not be available as an accessory button when the 1456 input method is full-screen. 1457 Note that by setting this flag, there can be cases where the action 1458 is simply never available to the user. Setting this generally means 1459 that you think showing text being edited is more important than the 1460 action you have supplied. 1461 <p>Corresponds to 1462 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. --> 1463 <flag name="flagNoAccessoryAction" value="0x20000000" /> 1464 <!-- Used in conjunction with a custom action, 1465 this indicates that the action should not be available in-line as 1466 a replacement for the "enter" key. Typically this is 1467 because the action has such a significant impact or is not recoverable 1468 enough that accidentally hitting it should be avoided, such as sending 1469 a message. Note that {@link android.widget.TextView} will 1470 automatically set this flag for you on multi-line text views. 1471 <p>Corresponds to 1472 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. --> 1473 <flag name="flagNoEnterAction" value="0x40000000" /> 1474 <!-- Used to request that the IME should be capable of inputting ASCII 1475 characters. The intention of this flag is to ensure that the user 1476 can type Roman alphabet characters in a {@link android.widget.TextView} 1477 used for, typically, account ID or password input. It is expected that IMEs 1478 normally are able to input ASCII even without being told so (such IMEs 1479 already respect this flag in a sense), but there could be some cases they 1480 aren't when, for instance, only non-ASCII input languagaes like Arabic, 1481 Greek, Hebrew, Russian are enabled in the IME. Applications need to be 1482 aware that the flag is not a guarantee, and not all IMEs will respect it. 1483 However, it is strongly recommended for IME authors to respect this flag 1484 especially when their IME could end up with a state that has only non-ASCII 1485 input languages enabled. 1486 <p>Corresponds to 1487 {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. --> 1488 <flag name="flagForceAscii" value="0x80000000" /> 1489 </attr> 1490 1491 <!-- A coordinate in the X dimension. --> 1492 <attr name="x" format="dimension" /> 1493 <!-- A coordinate in the Y dimension. --> 1494 <attr name="y" format="dimension" /> 1495 1496 <!-- Specifies how an object should position its content, on both the X and Y axes, 1497 within its own bounds. --> 1498 <attr name="gravity"> 1499 <!-- Push object to the top of its container, not changing its size. --> 1500 <flag name="top" value="0x30" /> 1501 <!-- Push object to the bottom of its container, not changing its size. --> 1502 <flag name="bottom" value="0x50" /> 1503 <!-- Push object to the left of its container, not changing its size. --> 1504 <flag name="left" value="0x03" /> 1505 <!-- Push object to the right of its container, not changing its size. --> 1506 <flag name="right" value="0x05" /> 1507 <!-- Place object in the vertical center of its container, not changing its size. --> 1508 <flag name="center_vertical" value="0x10" /> 1509 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1510 <flag name="fill_vertical" value="0x70" /> 1511 <!-- Place object in the horizontal center of its container, not changing its size. --> 1512 <flag name="center_horizontal" value="0x01" /> 1513 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1514 <flag name="fill_horizontal" value="0x07" /> 1515 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1516 <flag name="center" value="0x11" /> 1517 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1518 <flag name="fill" value="0x77" /> 1519 <!-- Additional option that can be set to have the top and/or bottom edges of 1520 the child clipped to its container's bounds. 1521 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1522 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1523 <flag name="clip_vertical" value="0x80" /> 1524 <!-- Additional option that can be set to have the left and/or right edges of 1525 the child clipped to its container's bounds. 1526 The clip will be based on the horizontal gravity: a left gravity will clip the right 1527 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1528 <flag name="clip_horizontal" value="0x08" /> 1529 <!-- Push object to the beginning of its container, not changing its size. --> 1530 <flag name="start" value="0x00800003" /> 1531 <!-- Push object to the end of its container, not changing its size. --> 1532 <flag name="end" value="0x00800005" /> 1533 </attr> 1534 1535 <!-- Controls whether links such as urls and email addresses are 1536 automatically found and converted to clickable links. The default 1537 value is "none", disabling this feature. --> 1538 <attr name="autoLink"> 1539 <!-- Match no patterns (default). --> 1540 <flag name="none" value="0x00" /> 1541 <!-- Match Web URLs. --> 1542 <flag name="web" value="0x01" /> 1543 <!-- Match email addresses. --> 1544 <flag name="email" value="0x02" /> 1545 <!-- Match phone numbers. --> 1546 <flag name="phone" value="0x04" /> 1547 <!-- Match map addresses. --> 1548 <flag name="map" value="0x08" /> 1549 <!-- Match all patterns (equivalent to web|email|phone|map). --> 1550 <flag name="all" value="0x0f" /> 1551 </attr> 1552 1553 <!-- Reference to an array resource that will populate a list/adapter. --> 1554 <attr name="entries" format="reference" /> 1555 1556 <!-- Standard gravity constant that a child supplies to its parent. 1557 Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. --> 1558 <attr name="layout_gravity"> 1559 <!-- Push object to the top of its container, not changing its size. --> 1560 <flag name="top" value="0x30" /> 1561 <!-- Push object to the bottom of its container, not changing its size. --> 1562 <flag name="bottom" value="0x50" /> 1563 <!-- Push object to the left of its container, not changing its size. --> 1564 <flag name="left" value="0x03" /> 1565 <!-- Push object to the right of its container, not changing its size. --> 1566 <flag name="right" value="0x05" /> 1567 <!-- Place object in the vertical center of its container, not changing its size. --> 1568 <flag name="center_vertical" value="0x10" /> 1569 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1570 <flag name="fill_vertical" value="0x70" /> 1571 <!-- Place object in the horizontal center of its container, not changing its size. --> 1572 <flag name="center_horizontal" value="0x01" /> 1573 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1574 <flag name="fill_horizontal" value="0x07" /> 1575 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1576 <flag name="center" value="0x11" /> 1577 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1578 <flag name="fill" value="0x77" /> 1579 <!-- Additional option that can be set to have the top and/or bottom edges of 1580 the child clipped to its container's bounds. 1581 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1582 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1583 <flag name="clip_vertical" value="0x80" /> 1584 <!-- Additional option that can be set to have the left and/or right edges of 1585 the child clipped to its container's bounds. 1586 The clip will be based on the horizontal gravity: a left gravity will clip the right 1587 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1588 <flag name="clip_horizontal" value="0x08" /> 1589 <!-- Push object to the beginning of its container, not changing its size. --> 1590 <flag name="start" value="0x00800003" /> 1591 <!-- Push object to the end of its container, not changing its size. --> 1592 <flag name="end" value="0x00800005" /> 1593 </attr> 1594 1595 <!-- Standard orientation constant. --> 1596 <attr name="orientation"> 1597 <!-- Defines an horizontal widget. --> 1598 <enum name="horizontal" value="0" /> 1599 <!-- Defines a vertical widget. --> 1600 <enum name="vertical" value="1" /> 1601 </attr> 1602 1603 <!-- Alignment constants. --> 1604 <attr name="alignmentMode"> 1605 <!-- Align the bounds of the children. 1606 See {@link android.widget.GridLayout#ALIGN_BOUNDS}. --> 1607 <enum name="alignBounds" value="0" /> 1608 <!-- Align the margins of the children. 1609 See {@link android.widget.GridLayout#ALIGN_MARGINS}. --> 1610 <enum name="alignMargins" value="1" /> 1611 </attr> 1612 1613 <!-- ========================== --> 1614 <!-- Key Codes --> 1615 <!-- ========================== --> 1616 <eat-comment /> 1617 1618 <!-- This enum provides the same keycode values as can be found in 1619 {@link android.view.KeyEvent}. --> 1620 <attr name="keycode"> 1621 <enum name="KEYCODE_UNKNOWN" value="0" /> 1622 <enum name="KEYCODE_SOFT_LEFT" value="1" /> 1623 <enum name="KEYCODE_SOFT_RIGHT" value="2" /> 1624 <enum name="KEYCODE_HOME" value="3" /> 1625 <enum name="KEYCODE_BACK" value="4" /> 1626 <enum name="KEYCODE_CALL" value="5" /> 1627 <enum name="KEYCODE_ENDCALL" value="6" /> 1628 <enum name="KEYCODE_0" value="7" /> 1629 <enum name="KEYCODE_1" value="8" /> 1630 <enum name="KEYCODE_2" value="9" /> 1631 <enum name="KEYCODE_3" value="10" /> 1632 <enum name="KEYCODE_4" value="11" /> 1633 <enum name="KEYCODE_5" value="12" /> 1634 <enum name="KEYCODE_6" value="13" /> 1635 <enum name="KEYCODE_7" value="14" /> 1636 <enum name="KEYCODE_8" value="15" /> 1637 <enum name="KEYCODE_9" value="16" /> 1638 <enum name="KEYCODE_STAR" value="17" /> 1639 <enum name="KEYCODE_POUND" value="18" /> 1640 <enum name="KEYCODE_DPAD_UP" value="19" /> 1641 <enum name="KEYCODE_DPAD_DOWN" value="20" /> 1642 <enum name="KEYCODE_DPAD_LEFT" value="21" /> 1643 <enum name="KEYCODE_DPAD_RIGHT" value="22" /> 1644 <enum name="KEYCODE_DPAD_CENTER" value="23" /> 1645 <enum name="KEYCODE_VOLUME_UP" value="24" /> 1646 <enum name="KEYCODE_VOLUME_DOWN" value="25" /> 1647 <enum name="KEYCODE_POWER" value="26" /> 1648 <enum name="KEYCODE_CAMERA" value="27" /> 1649 <enum name="KEYCODE_CLEAR" value="28" /> 1650 <enum name="KEYCODE_A" value="29" /> 1651 <enum name="KEYCODE_B" value="30" /> 1652 <enum name="KEYCODE_C" value="31" /> 1653 <enum name="KEYCODE_D" value="32" /> 1654 <enum name="KEYCODE_E" value="33" /> 1655 <enum name="KEYCODE_F" value="34" /> 1656 <enum name="KEYCODE_G" value="35" /> 1657 <enum name="KEYCODE_H" value="36" /> 1658 <enum name="KEYCODE_I" value="37" /> 1659 <enum name="KEYCODE_J" value="38" /> 1660 <enum name="KEYCODE_K" value="39" /> 1661 <enum name="KEYCODE_L" value="40" /> 1662 <enum name="KEYCODE_M" value="41" /> 1663 <enum name="KEYCODE_N" value="42" /> 1664 <enum name="KEYCODE_O" value="43" /> 1665 <enum name="KEYCODE_P" value="44" /> 1666 <enum name="KEYCODE_Q" value="45" /> 1667 <enum name="KEYCODE_R" value="46" /> 1668 <enum name="KEYCODE_S" value="47" /> 1669 <enum name="KEYCODE_T" value="48" /> 1670 <enum name="KEYCODE_U" value="49" /> 1671 <enum name="KEYCODE_V" value="50" /> 1672 <enum name="KEYCODE_W" value="51" /> 1673 <enum name="KEYCODE_X" value="52" /> 1674 <enum name="KEYCODE_Y" value="53" /> 1675 <enum name="KEYCODE_Z" value="54" /> 1676 <enum name="KEYCODE_COMMA" value="55" /> 1677 <enum name="KEYCODE_PERIOD" value="56" /> 1678 <enum name="KEYCODE_ALT_LEFT" value="57" /> 1679 <enum name="KEYCODE_ALT_RIGHT" value="58" /> 1680 <enum name="KEYCODE_SHIFT_LEFT" value="59" /> 1681 <enum name="KEYCODE_SHIFT_RIGHT" value="60" /> 1682 <enum name="KEYCODE_TAB" value="61" /> 1683 <enum name="KEYCODE_SPACE" value="62" /> 1684 <enum name="KEYCODE_SYM" value="63" /> 1685 <enum name="KEYCODE_EXPLORER" value="64" /> 1686 <enum name="KEYCODE_ENVELOPE" value="65" /> 1687 <enum name="KEYCODE_ENTER" value="66" /> 1688 <enum name="KEYCODE_DEL" value="67" /> 1689 <enum name="KEYCODE_GRAVE" value="68" /> 1690 <enum name="KEYCODE_MINUS" value="69" /> 1691 <enum name="KEYCODE_EQUALS" value="70" /> 1692 <enum name="KEYCODE_LEFT_BRACKET" value="71" /> 1693 <enum name="KEYCODE_RIGHT_BRACKET" value="72" /> 1694 <enum name="KEYCODE_BACKSLASH" value="73" /> 1695 <enum name="KEYCODE_SEMICOLON" value="74" /> 1696 <enum name="KEYCODE_APOSTROPHE" value="75" /> 1697 <enum name="KEYCODE_SLASH" value="76" /> 1698 <enum name="KEYCODE_AT" value="77" /> 1699 <enum name="KEYCODE_NUM" value="78" /> 1700 <enum name="KEYCODE_HEADSETHOOK" value="79" /> 1701 <enum name="KEYCODE_FOCUS" value="80" /> 1702 <enum name="KEYCODE_PLUS" value="81" /> 1703 <enum name="KEYCODE_MENU" value="82" /> 1704 <enum name="KEYCODE_NOTIFICATION" value="83" /> 1705 <enum name="KEYCODE_SEARCH" value="84" /> 1706 <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" /> 1707 <enum name="KEYCODE_MEDIA_STOP" value="86" /> 1708 <enum name="KEYCODE_MEDIA_NEXT" value="87" /> 1709 <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" /> 1710 <enum name="KEYCODE_MEDIA_REWIND" value="89" /> 1711 <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" /> 1712 <enum name="KEYCODE_MUTE" value="91" /> 1713 <enum name="KEYCODE_PAGE_UP" value="92" /> 1714 <enum name="KEYCODE_PAGE_DOWN" value="93" /> 1715 <enum name="KEYCODE_PICTSYMBOLS" value="94" /> 1716 <enum name="KEYCODE_SWITCH_CHARSET" value="95" /> 1717 <enum name="KEYCODE_BUTTON_A" value="96" /> 1718 <enum name="KEYCODE_BUTTON_B" value="97" /> 1719 <enum name="KEYCODE_BUTTON_C" value="98" /> 1720 <enum name="KEYCODE_BUTTON_X" value="99" /> 1721 <enum name="KEYCODE_BUTTON_Y" value="100" /> 1722 <enum name="KEYCODE_BUTTON_Z" value="101" /> 1723 <enum name="KEYCODE_BUTTON_L1" value="102" /> 1724 <enum name="KEYCODE_BUTTON_R1" value="103" /> 1725 <enum name="KEYCODE_BUTTON_L2" value="104" /> 1726 <enum name="KEYCODE_BUTTON_R2" value="105" /> 1727 <enum name="KEYCODE_BUTTON_THUMBL" value="106" /> 1728 <enum name="KEYCODE_BUTTON_THUMBR" value="107" /> 1729 <enum name="KEYCODE_BUTTON_START" value="108" /> 1730 <enum name="KEYCODE_BUTTON_SELECT" value="109" /> 1731 <enum name="KEYCODE_BUTTON_MODE" value="110" /> 1732 <enum name="KEYCODE_ESCAPE" value="111" /> 1733 <enum name="KEYCODE_FORWARD_DEL" value="112" /> 1734 <enum name="KEYCODE_CTRL_LEFT" value="113" /> 1735 <enum name="KEYCODE_CTRL_RIGHT" value="114" /> 1736 <enum name="KEYCODE_CAPS_LOCK" value="115" /> 1737 <enum name="KEYCODE_SCROLL_LOCK" value="116" /> 1738 <enum name="KEYCODE_META_LEFT" value="117" /> 1739 <enum name="KEYCODE_META_RIGHT" value="118" /> 1740 <enum name="KEYCODE_FUNCTION" value="119" /> 1741 <enum name="KEYCODE_SYSRQ" value="120" /> 1742 <enum name="KEYCODE_BREAK" value="121" /> 1743 <enum name="KEYCODE_MOVE_HOME" value="122" /> 1744 <enum name="KEYCODE_MOVE_END" value="123" /> 1745 <enum name="KEYCODE_INSERT" value="124" /> 1746 <enum name="KEYCODE_FORWARD" value="125" /> 1747 <enum name="KEYCODE_MEDIA_PLAY" value="126" /> 1748 <enum name="KEYCODE_MEDIA_PAUSE" value="127" /> 1749 <enum name="KEYCODE_MEDIA_CLOSE" value="128" /> 1750 <enum name="KEYCODE_MEDIA_EJECT" value="129" /> 1751 <enum name="KEYCODE_MEDIA_RECORD" value="130" /> 1752 <enum name="KEYCODE_F1" value="131" /> 1753 <enum name="KEYCODE_F2" value="132" /> 1754 <enum name="KEYCODE_F3" value="133" /> 1755 <enum name="KEYCODE_F4" value="134" /> 1756 <enum name="KEYCODE_F5" value="135" /> 1757 <enum name="KEYCODE_F6" value="136" /> 1758 <enum name="KEYCODE_F7" value="137" /> 1759 <enum name="KEYCODE_F8" value="138" /> 1760 <enum name="KEYCODE_F9" value="139" /> 1761 <enum name="KEYCODE_F10" value="140" /> 1762 <enum name="KEYCODE_F11" value="141" /> 1763 <enum name="KEYCODE_F12" value="142" /> 1764 <enum name="KEYCODE_NUM_LOCK" value="143" /> 1765 <enum name="KEYCODE_NUMPAD_0" value="144" /> 1766 <enum name="KEYCODE_NUMPAD_1" value="145" /> 1767 <enum name="KEYCODE_NUMPAD_2" value="146" /> 1768 <enum name="KEYCODE_NUMPAD_3" value="147" /> 1769 <enum name="KEYCODE_NUMPAD_4" value="148" /> 1770 <enum name="KEYCODE_NUMPAD_5" value="149" /> 1771 <enum name="KEYCODE_NUMPAD_6" value="150" /> 1772 <enum name="KEYCODE_NUMPAD_7" value="151" /> 1773 <enum name="KEYCODE_NUMPAD_8" value="152" /> 1774 <enum name="KEYCODE_NUMPAD_9" value="153" /> 1775 <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" /> 1776 <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" /> 1777 <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" /> 1778 <enum name="KEYCODE_NUMPAD_ADD" value="157" /> 1779 <enum name="KEYCODE_NUMPAD_DOT" value="158" /> 1780 <enum name="KEYCODE_NUMPAD_COMMA" value="159" /> 1781 <enum name="KEYCODE_NUMPAD_ENTER" value="160" /> 1782 <enum name="KEYCODE_NUMPAD_EQUALS" value="161" /> 1783 <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" /> 1784 <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" /> 1785 <enum name="KEYCODE_VOLUME_MUTE" value="164" /> 1786 <enum name="KEYCODE_INFO" value="165" /> 1787 <enum name="KEYCODE_CHANNEL_UP" value="166" /> 1788 <enum name="KEYCODE_CHANNEL_DOWN" value="167" /> 1789 <enum name="KEYCODE_ZOOM_IN" value="168" /> 1790 <enum name="KEYCODE_ZOOM_OUT" value="169" /> 1791 <enum name="KEYCODE_TV" value="170" /> 1792 <enum name="KEYCODE_WINDOW" value="171" /> 1793 <enum name="KEYCODE_GUIDE" value="172" /> 1794 <enum name="KEYCODE_DVR" value="173" /> 1795 <enum name="KEYCODE_BOOKMARK" value="174" /> 1796 <enum name="KEYCODE_CAPTIONS" value="175" /> 1797 <enum name="KEYCODE_SETTINGS" value="176" /> 1798 <enum name="KEYCODE_TV_POWER" value="177" /> 1799 <enum name="KEYCODE_TV_INPUT" value="178" /> 1800 <enum name="KEYCODE_STB_POWER" value="179" /> 1801 <enum name="KEYCODE_STB_INPUT" value="180" /> 1802 <enum name="KEYCODE_AVR_POWER" value="181" /> 1803 <enum name="KEYCODE_AVR_INPUT" value="182" /> 1804 <enum name="KEYCODE_PROG_GRED" value="183" /> 1805 <enum name="KEYCODE_PROG_GREEN" value="184" /> 1806 <enum name="KEYCODE_PROG_YELLOW" value="185" /> 1807 <enum name="KEYCODE_PROG_BLUE" value="186" /> 1808 <enum name="KEYCODE_APP_SWITCH" value="187" /> 1809 <enum name="KEYCODE_BUTTON_1" value="188" /> 1810 <enum name="KEYCODE_BUTTON_2" value="189" /> 1811 <enum name="KEYCODE_BUTTON_3" value="190" /> 1812 <enum name="KEYCODE_BUTTON_4" value="191" /> 1813 <enum name="KEYCODE_BUTTON_5" value="192" /> 1814 <enum name="KEYCODE_BUTTON_6" value="193" /> 1815 <enum name="KEYCODE_BUTTON_7" value="194" /> 1816 <enum name="KEYCODE_BUTTON_8" value="195" /> 1817 <enum name="KEYCODE_BUTTON_9" value="196" /> 1818 <enum name="KEYCODE_BUTTON_10" value="197" /> 1819 <enum name="KEYCODE_BUTTON_11" value="198" /> 1820 <enum name="KEYCODE_BUTTON_12" value="199" /> 1821 <enum name="KEYCODE_BUTTON_13" value="200" /> 1822 <enum name="KEYCODE_BUTTON_14" value="201" /> 1823 <enum name="KEYCODE_BUTTON_15" value="202" /> 1824 <enum name="KEYCODE_BUTTON_16" value="203" /> 1825 <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" /> 1826 <enum name="KEYCODE_MANNER_MODE" value="205" /> 1827 <enum name="KEYCODE_3D_MODE" value="206" /> 1828 <enum name="KEYCODE_CONTACTS" value="207" /> 1829 <enum name="KEYCODE_CALENDAR" value="208" /> 1830 <enum name="KEYCODE_MUSIC" value="209" /> 1831 <enum name="KEYCODE_CALCULATOR" value="210" /> 1832 <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" /> 1833 <enum name="KEYCODE_EISU" value="212" /> 1834 <enum name="KEYCODE_MUHENKAN" value="213" /> 1835 <enum name="KEYCODE_HENKAN" value="214" /> 1836 <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" /> 1837 <enum name="KEYCODE_YEN" value="216" /> 1838 <enum name="KEYCODE_RO" value="217" /> 1839 <enum name="KEYCODE_KANA" value="218" /> 1840 <enum name="KEYCODE_ASSIST" value="219" /> 1841 <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" /> 1842 <enum name="KEYCODE_BRIGHTNESS_UP" value="221" /> 1843 <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" /> 1844 <enum name="KEYCODE_MEDIA_SLEEP" value="223" /> 1845 <enum name="KEYCODE_MEDIA_WAKEUP" value="224" /> 1846 <enum name="KEYCODE_PAIRING" value="225" /> 1847 <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" /> 1848 <enum name="KEYCODE_11" value="227" /> 1849 <enum name="KEYCODE_12" value="228" /> 1850 <enum name="KEYCODE_LAST_CHANNEL" value="229" /> 1851 <enum name="KEYCODE_TV_DATA_SERVICE" value="230" /> 1852 <enum name="KEYCODE_VOICE_ASSIST" value="231" /> 1853 <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" /> 1854 <enum name="KEYCODE_TV_TELETEXT" value="233" /> 1855 <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" /> 1856 <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" /> 1857 <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" /> 1858 <enum name="KEYCODE_TV_SATELLITE" value="237" /> 1859 <enum name="KEYCODE_TV_SATELLITE_BS" value="238" /> 1860 <enum name="KEYCODE_TV_SATELLITE_CS" value="239" /> 1861 <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" /> 1862 <enum name="KEYCODE_TV_NETWORK" value="241" /> 1863 <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" /> 1864 <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" /> 1865 <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" /> 1866 <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" /> 1867 <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" /> 1868 <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" /> 1869 <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" /> 1870 <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" /> 1871 <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" /> 1872 <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" /> 1873 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" /> 1874 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" /> 1875 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" /> 1876 <enum name="KEYCODE_TV_ZOOM_MODE" value="255" /> 1877 <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" /> 1878 <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" /> 1879 <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" /> 1880 <enum name="KEYCODE_HELP" value="259" /> 1881 <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" /> 1882 <enum name="KEYCODE_NAVIGATE_NEXT" value="261" /> 1883 <enum name="KEYCODE_NAVIGATE_IN" value="262" /> 1884 <enum name="KEYCODE_NAVIGATE_OUT" value="263" /> 1885 <enum name="KEYCODE_STEM_PRIMARY" value="264" /> 1886 <enum name="KEYCODE_STEM_1" value="265" /> 1887 <enum name="KEYCODE_STEM_2" value="266" /> 1888 <enum name="KEYCODE_STEM_3" value="267" /> 1889 <enum name="KEYCODE_DPAD_UP_LEFT" value="268" /> 1890 <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" /> 1891 <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" /> 1892 <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" /> 1893 <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" /> 1894 <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" /> 1895 <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" /> 1896 <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" /> 1897 <enum name="KEYCODE_SOFT_SLEEP" value="276" /> 1898 <enum name="KEYCODE_CUT" value="277" /> 1899 <enum name="KEYCODE_COPY" value="278" /> 1900 <enum name="KEYCODE_PASTE" value="279" /> 1901 <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" /> 1902 <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" /> 1903 <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" /> 1904 <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" /> 1905 <enum name="KEYCODE_ALL_APPS" value="284" /> 1906 <enum name="KEYCODE_REFRESH" value="285" /> 1907 </attr> 1908 1909 <!-- ***************************************************************** --> 1910 <!-- These define collections of attributes that can are with classes. --> 1911 <!-- ***************************************************************** --> 1912 1913 <!-- ========================== --> 1914 <!-- Special attribute classes. --> 1915 <!-- ========================== --> 1916 <eat-comment /> 1917 1918 <!-- The set of attributes that describe a Windows's theme. --> 1919 <declare-styleable name="Window"> 1920 <attr name="windowBackground" /> 1921 <attr name="windowBackgroundFallback" /> 1922 <attr name="windowContentOverlay" /> 1923 <attr name="windowFrame" /> 1924 <attr name="windowNoTitle" /> 1925 <attr name="windowFullscreen" /> 1926 <attr name="windowOverscan" /> 1927 <attr name="windowIsFloating" /> 1928 <attr name="windowIsTranslucent" /> 1929 <attr name="windowShowWallpaper" /> 1930 <attr name="windowAnimationStyle" /> 1931 <attr name="windowSoftInputMode" /> 1932 <attr name="windowDisablePreview" /> 1933 <attr name="windowNoDisplay" /> 1934 <attr name="textColor" /> 1935 <attr name="backgroundDimEnabled" /> 1936 <attr name="backgroundDimAmount" /> 1937 <attr name="windowActionBar" /> 1938 <attr name="windowActionModeOverlay" /> 1939 <attr name="windowActionBarOverlay" /> 1940 <attr name="windowEnableSplitTouch" /> 1941 <attr name="windowCloseOnTouchOutside" /> 1942 <attr name="windowTranslucentStatus" /> 1943 <attr name="windowTranslucentNavigation" /> 1944 <attr name="windowSwipeToDismiss" /> 1945 <attr name="windowContentTransitions" /> 1946 <attr name="windowActivityTransitions" /> 1947 <attr name="windowContentTransitionManager" /> 1948 <attr name="windowActionBarFullscreenDecorLayout" /> 1949 1950 <!-- The minimum width the window is allowed to be, along the major 1951 axis of the screen. That is, when in landscape. Can be either 1952 an absolute dimension or a fraction of the screen size in that 1953 dimension. --> 1954 <attr name="windowMinWidthMajor" format="dimension|fraction" /> 1955 <!-- The minimum width the window is allowed to be, along the minor 1956 axis of the screen. That is, when in portrait. Can be either 1957 an absolute dimension or a fraction of the screen size in that 1958 dimension. --> 1959 <attr name="windowMinWidthMinor" format="dimension|fraction" /> 1960 1961 <!-- A fixed width for the window along the major axis of the screen, 1962 that is, when in landscape. Can be either an absolute dimension 1963 or a fraction of the screen size in that dimension. --> 1964 <attr name="windowFixedWidthMajor" format="dimension|fraction" /> 1965 <!-- A fixed height for the window along the minor axis of the screen, 1966 that is, when in landscape. Can be either an absolute dimension 1967 or a fraction of the screen size in that dimension. --> 1968 <attr name="windowFixedHeightMinor" format="dimension|fraction" /> 1969 1970 <!-- A fixed width for the window along the minor axis of the screen, 1971 that is, when in portrait. Can be either an absolute dimension 1972 or a fraction of the screen size in that dimension. --> 1973 <attr name="windowFixedWidthMinor" format="dimension|fraction" /> 1974 <!-- A fixed height for the window along the major axis of the screen, 1975 that is, when in portrait. Can be either an absolute dimension 1976 or a fraction of the screen size in that dimension. --> 1977 <attr name="windowFixedHeightMajor" format="dimension|fraction" /> 1978 <attr name="windowOutsetBottom" format="dimension" /> 1979 <!-- Reference to a Transition XML resource defining the desired Transition 1980 used to move Views into the initial Window's content Scene. Corresponds to 1981 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 1982 <attr name="windowEnterTransition"/> 1983 1984 <!-- Reference to a Transition XML resource defining the desired Transition 1985 used to move Views out of the scene when the Window is 1986 preparing to close. Corresponds to 1987 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 1988 <attr name="windowReturnTransition"/> 1989 1990 <!-- Reference to a Transition XML resource defining the desired Transition 1991 used to move Views out of the Window's content Scene when launching a new Activity. 1992 Corresponds to 1993 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 1994 <attr name="windowExitTransition"/> 1995 1996 <!-- Reference to a Transition XML resource defining the desired Transition 1997 used to move Views in to the scene when returning from a previously-started Activity. 1998 Corresponds to 1999 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 2000 <attr name="windowReenterTransition"/> 2001 2002 <!-- Reference to a Transition XML resource defining the desired Transition 2003 used to move shared elements transferred into the Window's initial content Scene. 2004 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 2005 android.transition.Transition)}. --> 2006 <attr name="windowSharedElementEnterTransition"/> 2007 2008 <!-- Reference to a Transition XML resource defining the desired Transition 2009 used to move shared elements transferred back to a calling Activity. 2010 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 2011 android.transition.Transition)}. --> 2012 <attr name="windowSharedElementReturnTransition"/> 2013 2014 <!-- Reference to a Transition XML resource defining the desired Transition 2015 used when starting a new Activity to move shared elements prior to transferring 2016 to the called Activity. 2017 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 2018 android.transition.Transition)}. --> 2019 <attr name="windowSharedElementExitTransition"/> 2020 2021 <!-- Reference to a Transition XML resource defining the desired Transition 2022 used for shared elements transferred back to a calling Activity. 2023 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 2024 android.transition.Transition)}. --> 2025 <attr name="windowSharedElementReenterTransition"/> 2026 2027 2028 <!-- Flag indicating whether this Window's transition should overlap with 2029 the exiting transition of the calling Activity. Corresponds to 2030 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> 2031 <attr name="windowAllowEnterTransitionOverlap"/> 2032 2033 <!-- Flag indicating whether this Window's transition should overlap with 2034 the exiting transition of the called Activity when the called Activity 2035 finishes. Corresponds to 2036 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. --> 2037 <attr name="windowAllowReturnTransitionOverlap"/> 2038 2039 <!-- Indicates whether or not shared elements should use an overlay 2040 during transitions. The default value is true. --> 2041 <attr name="windowSharedElementsUseOverlay"/> 2042 2043 <!-- Flag indicating whether this Window is responsible for drawing the background for the 2044 system bars. If true and the window is not floating, the system bars are drawn with a 2045 transparent background and the corresponding areas in this window are filled with the 2046 colors specified in {@link android.R.attr#statusBarColor} and 2047 {@link android.R.attr#navigationBarColor}. Corresponds to 2048 {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. --> 2049 <attr name="windowDrawsSystemBarBackgrounds" format="boolean" /> 2050 2051 <!-- The color for the status bar. If the color is not opaque, consider setting 2052 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 2053 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}. 2054 For this to take effect, the window must be drawing the system bar backgrounds with 2055 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2056 have been requested to be translucent with 2057 {@link android.R.attr#windowTranslucentStatus}. 2058 Corresponds to {@link android.view.Window#setStatusBarColor(int)}. --> 2059 <attr name="statusBarColor" format="color" /> 2060 2061 <!-- The color for the navigation bar. If the color is not opaque, consider setting 2062 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 2063 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}. 2064 For this to take effect, the window must be drawing the system bar backgrounds with 2065 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 2066 have been requested to be translucent with 2067 {@link android.R.attr#windowTranslucentNavigation}. 2068 Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. --> 2069 <attr name="navigationBarColor" format="color" /> 2070 2071 <!-- Shows a thin line of the specified color between the navigation bar and the app 2072 content. 2073 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2074 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 2075 have been requested to be translucent with 2076 {@link android.R.attr#windowTranslucentNavigation}. 2077 Corresponds to {@link android.view.Window#setNavigationBarDividerColor(int)}. --> 2078 <attr name="navigationBarDividerColor" format="color" /> 2079 2080 <!-- The duration, in milliseconds, of the window background fade duration 2081 when transitioning into or away from an Activity when called with an 2082 Activity Transition. Corresponds to 2083 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 2084 <attr name="windowTransitionBackgroundFadeDuration" /> 2085 2086 <!-- Elevation to use for the window. --> 2087 <attr name="windowElevation" format="dimension" /> 2088 2089 <!-- Whether to clip window content to the outline of the window background. --> 2090 <attr name="windowClipToOutline" format="boolean" /> 2091 2092 <!-- If set, the status bar will be drawn such that it is compatible with a light 2093 status bar background. 2094 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2095 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2096 have been requested to be translucent with 2097 {@link android.R.attr#windowTranslucentStatus}. 2098 Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on 2099 the decor view. --> 2100 <attr name="windowLightStatusBar" format="boolean" /> 2101 2102 <!-- Reference to a drawable to be used as the splash screen content of the window. This 2103 drawable will be placed on top of the {@link android.R.attr#windowBackground} with its 2104 bounds inset by the system bars. If the drawable should not be inset by the system 2105 bars, use a fullscreen theme. 2106 <p> 2107 Note that even if no splashscreen content is set on the theme, the system may still 2108 show a splash screen using the other attributes on the theme, like the 2109 {@link android.R.attr#windowBackground}. 2110 --> 2111 <attr name="windowSplashscreenContent" format="reference" /> 2112 2113 <!-- If set, the navigation bar will be drawn such that it is compatible with a light 2114 navigation bar background. 2115 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2116 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 2117 have been requested to be translucent with 2118 {@link android.R.attr#windowTranslucentNavigation}. 2119 Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR} on 2120 the decor view. --> 2121 <attr name="windowLightNavigationBar" format="boolean" /> 2122 2123 <!-- Controls how the window is laid out if there is a {@code DisplayCutout}. 2124 <p> 2125 Defaults to {@code default}. 2126 <p> 2127 See also 2128 {@link android.view.WindowManager.LayoutParams#layoutInDisplayCutoutMode 2129 WindowManager.LayoutParams.layoutInDisplayCutoutMode}, 2130 {@link android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT}, 2131 {@link android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES}, 2132 {@link android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER}, 2133 and {@link android.view.DisplayCutout DisplayCutout} 2134 --> 2135 <attr name="windowLayoutInDisplayCutoutMode"> 2136 <!-- <p> 2137 The window is allowed to extend into the <code>DisplayCutout</code> area, only if 2138 the <code>DisplayCutout</code> is fully contained within a system bar. Otherwise, the 2139 window is laid out such that it does not overlap with the <code>DisplayCutout</code> 2140 area. 2141 <p> 2142 Corresponds to <code>LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT</code>. 2143 --> 2144 <enum name="default" value="0" /> 2145 <!-- <p> 2146 The window is always allowed to extend into the <code>DisplayCutout</code> areas on the 2147 short edges of the screen even if fullscreen or in landscape. 2148 The window will never extend into a <code>DisplayCutout</code> area on the long edges of 2149 the screen. 2150 <p> 2151 The window must make sure that no important content overlaps with the 2152 <code>DisplayCutout</code>. 2153 <p> 2154 Corresponds to <code>LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES</code>. 2155 --> 2156 <enum name="shortEdges" value="1" /> 2157 <!-- <p> 2158 The window is never allowed to overlap with the <code>DisplayCutout</code> area. 2159 <p> 2160 This should be used with windows that transiently set 2161 <code>SYSTEM_UI_FLAG_FULLSCREEN</code> to avoid a relayout of the window when the 2162 flag is set or cleared. 2163 <p> 2164 Corresponds to <code>LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER</code>. 2165 --> 2166 <enum name="never" value="2" /> 2167 </attr> 2168 </declare-styleable> 2169 2170 <!-- The set of attributes that describe a AlertDialog's theme. --> 2171 <declare-styleable name="AlertDialog"> 2172 <attr name="fullDark" format="reference|color" /> 2173 <attr name="topDark" format="reference|color" /> 2174 <attr name="centerDark" format="reference|color" /> 2175 <attr name="bottomDark" format="reference|color" /> 2176 <attr name="fullBright" format="reference|color" /> 2177 <attr name="topBright" format="reference|color" /> 2178 <attr name="centerBright" format="reference|color" /> 2179 <attr name="bottomBright" format="reference|color" /> 2180 <attr name="bottomMedium" format="reference|color" /> 2181 <attr name="centerMedium" format="reference|color" /> 2182 <attr name="layout" /> 2183 <attr name="buttonPanelSideLayout" format="reference" /> 2184 <attr name="listLayout" format="reference" /> 2185 <attr name="multiChoiceItemLayout" format="reference" /> 2186 <attr name="singleChoiceItemLayout" format="reference" /> 2187 <attr name="listItemLayout" format="reference" /> 2188 <attr name="progressLayout" format="reference" /> 2189 <attr name="horizontalProgressLayout" format="reference" /> 2190 <!-- @hide Not ready for public use. --> 2191 <attr name="showTitle" format="boolean" /> 2192 <!-- @hide Whether fullDark, etc. should use default values if null. --> 2193 <attr name="needsDefaultBackgrounds" format="boolean" /> 2194 <!-- @hide Workaround until we replace AlertController with custom layout. --> 2195 <attr name="controllerType"> 2196 <!-- The default controller. --> 2197 <enum name="normal" value="0" /> 2198 <!-- Controller for micro specific layout. --> 2199 <enum name="micro" value="1" /> 2200 </attr> 2201 <!-- @hide Offset when scrolling to a selection. --> 2202 <attr name="selectionScrollOffset" format="dimension" /> 2203 </declare-styleable> 2204 2205 <!-- @hide --> 2206 <declare-styleable name="ButtonBarLayout"> 2207 <!-- Whether to automatically stack the buttons when there is not 2208 enough space to lay them out side-by-side. --> 2209 <attr name="allowStacking" format="boolean" /> 2210 </declare-styleable> 2211 2212 <!-- Fragment animation class attributes. --> 2213 <declare-styleable name="FragmentAnimation"> 2214 <attr name="fragmentOpenEnterAnimation" format="reference" /> 2215 <attr name="fragmentOpenExitAnimation" format="reference" /> 2216 <attr name="fragmentCloseEnterAnimation" format="reference" /> 2217 <attr name="fragmentCloseExitAnimation" format="reference" /> 2218 <attr name="fragmentFadeEnterAnimation" format="reference" /> 2219 <attr name="fragmentFadeExitAnimation" format="reference" /> 2220 </declare-styleable> 2221 2222 <!-- Window animation class attributes. --> 2223 <declare-styleable name="WindowAnimation"> 2224 <!-- The animation used when a window is being added. --> 2225 <attr name="windowEnterAnimation" format="reference" /> 2226 <!-- The animation used when a window is being removed. --> 2227 <attr name="windowExitAnimation" format="reference" /> 2228 <!-- The animation used when a window is going from INVISIBLE to VISIBLE. --> 2229 <attr name="windowShowAnimation" format="reference" /> 2230 <!-- The animation used when a window is going from VISIBLE to INVISIBLE. --> 2231 <attr name="windowHideAnimation" format="reference" /> 2232 2233 <!-- When opening a new activity, this is the animation that is 2234 run on the next activity (which is entering the screen). --> 2235 <attr name="activityOpenEnterAnimation" format="reference" /> 2236 <!-- When opening a new activity, this is the animation that is 2237 run on the previous activity (which is exiting the screen). --> 2238 <attr name="activityOpenExitAnimation" format="reference" /> 2239 <!-- When closing the current activity, this is the animation that is 2240 run on the next activity (which is entering the screen). --> 2241 <attr name="activityCloseEnterAnimation" format="reference" /> 2242 <!-- When closing the current activity, this is the animation that is 2243 run on the current activity (which is exiting the screen). --> 2244 <attr name="activityCloseExitAnimation" format="reference" /> 2245 <!-- When opening an activity in a new task, this is the animation that is 2246 run on the activity of the new task (which is entering the screen). --> 2247 <attr name="taskOpenEnterAnimation" format="reference" /> 2248 <!-- When opening an activity in a new task, this is the animation that is 2249 run on the activity of the old task (which is exiting the screen). --> 2250 <attr name="taskOpenExitAnimation" format="reference" /> 2251 <!-- When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, 2252 this is the animation that is run on the activity of the new task (which is 2253 entering the screen and then leaving). --> 2254 <attr name="launchTaskBehindTargetAnimation" format="reference" /> 2255 <!-- When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, 2256 this is the animation that is run on the activity of the old task (which is 2257 already on the screen and then stays on). --> 2258 <attr name="launchTaskBehindSourceAnimation" format="reference" /> 2259 <!-- When closing the last activity of a task, this is the animation that is 2260 run on the activity of the next task (which is entering the screen). --> 2261 <attr name="taskCloseEnterAnimation" format="reference" /> 2262 <!-- When opening an activity in a new task, this is the animation that is 2263 run on the activity of the old task (which is exiting the screen). --> 2264 <attr name="taskCloseExitAnimation" format="reference" /> 2265 <!-- When bringing an existing task to the foreground, this is the 2266 animation that is run on the top activity of the task being brought 2267 to the foreground (which is entering the screen). --> 2268 <attr name="taskToFrontEnterAnimation" format="reference" /> 2269 <!-- When bringing an existing task to the foreground, this is the 2270 animation that is run on the current foreground activity 2271 (which is exiting the screen). --> 2272 <attr name="taskToFrontExitAnimation" format="reference" /> 2273 <!-- When sending the current task to the background, this is the 2274 animation that is run on the top activity of the task behind 2275 it (which is entering the screen). --> 2276 <attr name="taskToBackEnterAnimation" format="reference" /> 2277 <!-- When sending the current task to the background, this is the 2278 animation that is run on the top activity of the current task 2279 (which is exiting the screen). --> 2280 <attr name="taskToBackExitAnimation" format="reference" /> 2281 2282 <!-- When opening a new activity that shows the wallpaper, while 2283 currently not showing the wallpaper, this is the animation that 2284 is run on the new wallpaper activity (which is entering the screen). --> 2285 <attr name="wallpaperOpenEnterAnimation" format="reference" /> 2286 <!-- When opening a new activity that shows the wallpaper, while 2287 currently not showing the wallpaper, this is the animation that 2288 is run on the current activity (which is exiting the screen). --> 2289 <attr name="wallpaperOpenExitAnimation" format="reference" /> 2290 <!-- When opening a new activity that hides the wallpaper, while 2291 currently showing the wallpaper, this is the animation that 2292 is run on the new activity (which is entering the screen). --> 2293 <attr name="wallpaperCloseEnterAnimation" format="reference" /> 2294 <!-- When opening a new activity that hides the wallpaper, while 2295 currently showing the wallpaper, this is the animation that 2296 is run on the old wallpaper activity (which is exiting the screen). --> 2297 <attr name="wallpaperCloseExitAnimation" format="reference" /> 2298 2299 <!-- When opening a new activity that is on top of the wallpaper 2300 when the current activity is also on top of the wallpaper, 2301 this is the animation that is run on the new activity 2302 (which is entering the screen). The wallpaper remains 2303 static behind the animation. --> 2304 <attr name="wallpaperIntraOpenEnterAnimation" format="reference" /> 2305 <!-- When opening a new activity that is on top of the wallpaper 2306 when the current activity is also on top of the wallpaper, 2307 this is the animation that is run on the current activity 2308 (which is exiting the screen). The wallpaper remains 2309 static behind the animation. --> 2310 <attr name="wallpaperIntraOpenExitAnimation" format="reference" /> 2311 <!-- When closing a foreround activity that is on top of the wallpaper 2312 when the previous activity is also on top of the wallpaper, 2313 this is the animation that is run on the previous activity 2314 (which is entering the screen). The wallpaper remains 2315 static behind the animation. --> 2316 <attr name="wallpaperIntraCloseEnterAnimation" format="reference" /> 2317 <!-- When closing a foreround activity that is on top of the wallpaper 2318 when the previous activity is also on top of the wallpaper, 2319 this is the animation that is run on the current activity 2320 (which is exiting the screen). The wallpaper remains 2321 static behind the animation. --> 2322 <attr name="wallpaperIntraCloseExitAnimation" format="reference" /> 2323 2324 <!-- When opening a new activity from a RemoteViews, this is the 2325 animation that is run on the next activity (which is entering the 2326 screen). Requires config_overrideRemoteViewsActivityTransition to 2327 be true. --> 2328 <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" /> 2329 2330 </declare-styleable> 2331 2332 <!-- ============================= --> 2333 <!-- View package class attributes --> 2334 <!-- ============================= --> 2335 <eat-comment /> 2336 2337 <!-- Attributes that can be used with {@link android.view.View} or 2338 any of its subclasses. Also see {@link #ViewGroup_Layout} for 2339 attributes that are processed by the view's parent. --> 2340 <declare-styleable name="View"> 2341 <!-- Supply an identifier name for this view, to later retrieve it 2342 with {@link android.view.View#findViewById View.findViewById()} or 2343 {@link android.app.Activity#findViewById Activity.findViewById()}. 2344 This must be a 2345 resource reference; typically you set this using the 2346 <code>@+</code> syntax to create a new ID resources. 2347 For example: <code>android:id="@+id/my_id"</code> which 2348 allows you to later retrieve the view 2349 with <code>findViewById(R.id.my_id)</code>. --> 2350 <attr name="id" format="reference" /> 2351 2352 <!-- Supply a tag for this view containing a String, to be retrieved 2353 later with {@link android.view.View#getTag View.getTag()} or 2354 searched for with {@link android.view.View#findViewWithTag 2355 View.findViewWithTag()}. It is generally preferable to use 2356 IDs (through the android:id attribute) instead of tags because 2357 they are faster and allow for compile-time type checking. --> 2358 <attr name="tag" format="string" /> 2359 2360 <!-- The initial horizontal scroll offset, in pixels.--> 2361 <attr name="scrollX" format="dimension" /> 2362 2363 <!-- The initial vertical scroll offset, in pixels. --> 2364 <attr name="scrollY" format="dimension" /> 2365 2366 <!-- A drawable to use as the background. This can be either a reference 2367 to a full drawable resource (such as a PNG image, 9-patch, 2368 XML state list description, etc), or a solid color such as "#ff000000" 2369 (black). --> 2370 <attr name="background" format="reference|color" /> 2371 2372 <!-- Sets the padding, in pixels, of all four edges. Padding is defined as 2373 space between the edges of the view and the view's content. This value will take 2374 precedence over any of the edge-specific values (paddingLeft, paddingTop, 2375 paddingRight, paddingBottom, paddingHorizontal and paddingVertical), but will 2376 not override paddingStart or paddingEnd, if set. A view's size 2377 will include its padding. If a {@link android.R.attr#background} 2378 is provided, the padding will initially be set to that (0 if the 2379 drawable does not have padding). Explicitly setting a padding value 2380 will override the corresponding padding found in the background. --> 2381 <attr name="padding" format="dimension" /> 2382 <!-- Sets the padding, in pixels, of the left and right edges; see 2383 {@link android.R.attr#padding}. This value will take precedence over 2384 paddingLeft and paddingRight, but not paddingStart or paddingEnd (if set). --> 2385 <attr name="paddingHorizontal" format="dimension" /> 2386 <!-- Sets the padding, in pixels, of the top and bottom edges; see 2387 {@link android.R.attr#padding}. This value will take precedence over 2388 paddingTop and paddingBottom, if set. --> 2389 <attr name="paddingVertical" format="dimension" /> 2390 <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. --> 2391 <attr name="paddingLeft" format="dimension" /> 2392 <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. --> 2393 <attr name="paddingTop" format="dimension" /> 2394 <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. --> 2395 <attr name="paddingRight" format="dimension" /> 2396 <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. --> 2397 <attr name="paddingBottom" format="dimension" /> 2398 <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. --> 2399 <attr name="paddingStart" format="dimension" /> 2400 <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. --> 2401 <attr name="paddingEnd" format="dimension" /> 2402 2403 <!-- Controls whether a view can take focus. By default, this is "auto" which lets the 2404 framework determine whether a user can move focus to a view. By setting this attribute 2405 to true the view is allowed to take focus. By setting it to "false" the view will not 2406 take focus. This value does not impact the behavior of 2407 directly calling {@link android.view.View#requestFocus}, which will 2408 always request focus regardless of this view. It only impacts where 2409 focus navigation will try to move focus. --> 2410 <attr name="focusable" format="boolean|enum"> 2411 <enum name="auto" value="0x00000010" /> 2412 </attr> 2413 2414 <attr name="__removed3" /> 2415 2416 <!-- Describes the content of a view so that a autofill service can fill in the appropriate 2417 data. Multiple hints can be combined in a comma separated list or an array of strings 2418 to mean e.g. emailAddress or postalAddress. --> 2419 <attr name="autofillHints" format="string|reference" /> 2420 2421 <!-- Hints the Android System whether the view node associated with this View should be 2422 included in a view structure used for autofill purposes. --> 2423 <attr name="importantForAutofill"> 2424 <!-- Let the Android System use its heuristics to determine if the view is important for autofill. --> 2425 <flag name="auto" value="0" /> 2426 <!-- Hint the Android System that this view is important for autofill, 2427 and its children (if any) will be traversed.. --> 2428 <flag name="yes" value="0x1" /> 2429 <!-- Hint the Android System that this view is *not* important for autofill, 2430 but its children (if any) will be traversed.. --> 2431 <flag name="no" value="0x2" /> 2432 <!-- Hint the Android System that this view is important for autofill, 2433 but its children (if any) will not be traversed. --> 2434 <flag name="yesExcludeDescendants" value="0x4" /> 2435 <!-- Hint the Android System that this view is *not* important for autofill, 2436 and its children (if any) will not be traversed. --> 2437 <flag name="noExcludeDescendants" value="0x8" /> 2438 </attr> 2439 2440 <!-- Boolean that controls whether a view can take focus while in touch mode. 2441 If this is true for a view, that view can gain focus when clicked on, and can keep 2442 focus if another view is clicked on that doesn't have this attribute set to true. --> 2443 <attr name="focusableInTouchMode" format="boolean" /> 2444 2445 <!-- Controls the initial visibility of the view. --> 2446 <attr name="visibility"> 2447 <!-- Visible on screen; the default value. --> 2448 <enum name="visible" value="0" /> 2449 <!-- Not displayed, but taken into account during layout (space is left for it). --> 2450 <enum name="invisible" value="1" /> 2451 <!-- Completely hidden, as if the view had not been added. --> 2452 <enum name="gone" value="2" /> 2453 </attr> 2454 2455 <!-- Boolean internal attribute to adjust view layout based on 2456 system windows such as the status bar. 2457 If true, adjusts the padding of this view to leave space for the system windows. 2458 Will only take effect if this view is in a non-embedded activity. --> 2459 <attr name="fitsSystemWindows" format="boolean" /> 2460 2461 <!-- Defines which scrollbars should be displayed on scrolling or not. --> 2462 <attr name="scrollbars"> 2463 <!-- No scrollbar is displayed. --> 2464 <flag name="none" value="0x00000000" /> 2465 <!-- Displays horizontal scrollbar only. --> 2466 <flag name="horizontal" value="0x00000100" /> 2467 <!-- Displays vertical scrollbar only. --> 2468 <flag name="vertical" value="0x00000200" /> 2469 </attr> 2470 2471 <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or 2472 inset. When inset, they add to the padding of the view. And the 2473 scrollbars can be drawn inside the padding area or on the edge of 2474 the view. For example, if a view has a background drawable and you 2475 want to draw the scrollbars inside the padding specified by the 2476 drawable, you can use insideOverlay or insideInset. If you want them 2477 to appear at the edge of the view, ignoring the padding, then you can 2478 use outsideOverlay or outsideInset.--> 2479 <attr name="scrollbarStyle"> 2480 <!-- Inside the padding and overlaid. --> 2481 <enum name="insideOverlay" value="0x0" /> 2482 <!-- Inside the padding and inset. --> 2483 <enum name="insideInset" value="0x01000000" /> 2484 <!-- Edge of the view and overlaid. --> 2485 <enum name="outsideOverlay" value="0x02000000" /> 2486 <!-- Edge of the view and inset. --> 2487 <enum name="outsideInset" value="0x03000000" /> 2488 </attr> 2489 2490 <!-- Set this if the view will serve as a scrolling container, meaning 2491 that it can be resized to shrink its overall window so that there 2492 will be space for an input method. If not set, the default 2493 value will be true if "scrollbars" has the vertical scrollbar 2494 set, else it will be false. --> 2495 <attr name="isScrollContainer" format="boolean" /> 2496 2497 <!-- Defines whether to fade out scrollbars when they are not in use. --> 2498 <attr name="fadeScrollbars" format="boolean" /> 2499 <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. --> 2500 <attr name="scrollbarFadeDuration" format="integer" /> 2501 <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. --> 2502 <attr name="scrollbarDefaultDelayBeforeFade" format="integer" /> 2503 <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. --> 2504 <attr name="scrollbarSize" format="dimension" /> 2505 <!-- Defines the horizontal scrollbar thumb drawable. --> 2506 <attr name="scrollbarThumbHorizontal" format="reference" /> 2507 <!-- Defines the vertical scrollbar thumb drawable. --> 2508 <attr name="scrollbarThumbVertical" format="reference" /> 2509 <!-- Defines the horizontal scrollbar track drawable. --> 2510 <attr name="scrollbarTrackHorizontal" format="reference" /> 2511 <!-- Defines the vertical scrollbar track drawable. --> 2512 <attr name="scrollbarTrackVertical" format="reference" /> 2513 <!-- Defines whether the horizontal scrollbar track should always be drawn. --> 2514 <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" /> 2515 <!-- Defines whether the vertical scrollbar track should always be drawn. --> 2516 <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" /> 2517 2518 <!-- This attribute is ignored in API level 14 2519 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher. 2520 Using fading edges may introduce noticeable performance 2521 degradations and should be used only when required by the application's 2522 visual design. To request fading edges with API level 14 and above, 2523 use the <code>android:requiresFadingEdge</code> attribute instead. --> 2524 <attr name="fadingEdge"> 2525 <!-- No edge is faded. --> 2526 <flag name="none" value="0x00000000" /> 2527 <!-- Fades horizontal edges only. --> 2528 <flag name="horizontal" value="0x00001000" /> 2529 <!-- Fades vertical edges only. --> 2530 <flag name="vertical" value="0x00002000" /> 2531 </attr> 2532 <!-- Defines which edges should be faded on scrolling. --> 2533 <attr name="requiresFadingEdge"> 2534 <!-- No edge is faded. --> 2535 <flag name="none" value="0x00000000" /> 2536 <!-- Fades horizontal edges only. --> 2537 <flag name="horizontal" value="0x00001000" /> 2538 <!-- Fades vertical edges only. --> 2539 <flag name="vertical" value="0x00002000" /> 2540 </attr> 2541 <!-- Defines the length of the fading edges. --> 2542 <attr name="fadingEdgeLength" format="dimension" /> 2543 2544 <!-- Defines the next view to give focus to when the next focus is 2545 {@link android.view.View#FOCUS_LEFT}. 2546 2547 If the reference refers to a view that does not exist or is part 2548 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2549 will result when the reference is accessed.--> 2550 <attr name="nextFocusLeft" format="reference"/> 2551 2552 <!-- Defines the next view to give focus to when the next focus is 2553 {@link android.view.View#FOCUS_RIGHT} 2554 2555 If the reference refers to a view that does not exist or is part 2556 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2557 will result when the reference is accessed.--> 2558 <attr name="nextFocusRight" format="reference"/> 2559 2560 <!-- Defines the next view to give focus to when the next focus is 2561 {@link android.view.View#FOCUS_UP} 2562 2563 If the reference refers to a view that does not exist or is part 2564 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2565 will result when the reference is accessed.--> 2566 <attr name="nextFocusUp" format="reference"/> 2567 2568 <!-- Defines the next view to give focus to when the next focus is 2569 {@link android.view.View#FOCUS_DOWN} 2570 2571 If the reference refers to a view that does not exist or is part 2572 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2573 will result when the reference is accessed.--> 2574 <attr name="nextFocusDown" format="reference"/> 2575 2576 <!-- Defines the next view to give focus to when the next focus is 2577 {@link android.view.View#FOCUS_FORWARD} 2578 2579 If the reference refers to a view that does not exist or is part 2580 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2581 will result when the reference is accessed.--> 2582 <attr name="nextFocusForward" format="reference"/> 2583 2584 <!-- Defines whether this view reacts to click events. --> 2585 <attr name="clickable" format="boolean" /> 2586 2587 <!-- Defines whether this view reacts to long click events. --> 2588 <attr name="longClickable" format="boolean" /> 2589 2590 <!-- Defines whether this view reacts to context click events. --> 2591 <attr name="contextClickable" format="boolean" /> 2592 2593 <!-- If false, no state will be saved for this view when it is being 2594 frozen. The default is true, allowing the view to be saved 2595 (however it also must have an ID assigned to it for its 2596 state to be saved). Setting this to false only disables the 2597 state for this view, not for its children which may still 2598 be saved. --> 2599 <attr name="saveEnabled" format="boolean" /> 2600 2601 <!-- Specifies whether to filter touches when the view's window is obscured by 2602 another visible window. When set to true, the view will not receive touches 2603 whenever a toast, dialog or other window appears above the view's window. 2604 Refer to the {@link android.view.View} security documentation for more details. --> 2605 <attr name="filterTouchesWhenObscured" format="boolean" /> 2606 2607 <!-- Defines the quality of translucent drawing caches. This property is used 2608 only when the drawing cache is enabled and translucent. The default value is auto. 2609 Deprecated: The view drawing cache was largely made obsolete with the introduction of 2610 hardware-accelerated rendering in API 11. --> 2611 <attr name="drawingCacheQuality"> 2612 <!-- Lets the framework decide what quality level should be used 2613 for the drawing cache. 2614 Deprecated: The view drawing cache was largely made obsolete with the introduction 2615 of hardware-accelerated rendering in API 11. --> 2616 <enum name="auto" value="0" /> 2617 <!-- Low quality. When set to low quality, the drawing cache uses a lower color 2618 depth, thus losing precision in rendering gradients, but uses less memory. 2619 Deprecated: The view drawing cache was largely made obsolete with the introduction 2620 of hardware-accelerated rendering in API 11. --> 2621 <enum name="low" value="1" /> 2622 <!-- High quality. When set to high quality, the drawing cache uses a higher 2623 color depth but uses more memory. 2624 Deprecated: The view drawing cache was largely made obsolete with the introduction 2625 of hardware-accelerated rendering in API 11. --> 2626 <enum name="high" value="2" /> 2627 </attr> 2628 2629 <!-- Controls whether the view's window should keep the screen on 2630 while visible. --> 2631 <attr name="keepScreenOn" format="boolean" /> 2632 2633 <!-- When this attribute is set to true, the view gets its drawable state 2634 (focused, pressed, etc.) from its direct parent rather than from itself. --> 2635 <attr name="duplicateParentState" format="boolean" /> 2636 2637 <!-- Defines the minimum height of the view. It is not guaranteed 2638 the view will be able to achieve this minimum height (for example, 2639 if its parent layout constrains it with less available height). --> 2640 <attr name="minHeight" /> 2641 2642 <!-- Defines the minimum width of the view. It is not guaranteed 2643 the view will be able to achieve this minimum width (for example, 2644 if its parent layout constrains it with less available width). --> 2645 <attr name="minWidth" /> 2646 2647 <!-- Boolean that controls whether a view should have sound effects 2648 enabled for events such as clicking and touching. --> 2649 <attr name="soundEffectsEnabled" format="boolean" /> 2650 2651 <!-- Boolean that controls whether a view should have haptic feedback 2652 enabled for events such as long presses. --> 2653 <attr name="hapticFeedbackEnabled" format="boolean" /> 2654 2655 <!-- Defines text that briefly describes content of the view. This property is used 2656 primarily for accessibility. Since some views do not have textual 2657 representation this attribute can be used for providing such. --> 2658 <attr name="contentDescription" format="string" localization="suggested" /> 2659 2660 <!-- Sets the id of a view before which this one is visited in accessibility traversal. 2661 A screen-reader must visit the content of this view before the content of the one 2662 it precedes. 2663 {@see android.view.View#setAccessibilityTraversalBefore(int)} --> 2664 <attr name="accessibilityTraversalBefore" format="integer" /> 2665 2666 <!-- Sets the id of a view after which this one is visited in accessibility traversal. 2667 A screen-reader must visit the content of the other view before the content of 2668 this one. 2669 {@see android.view.View#setAccessibilityTraversalAfter(int)} --> 2670 <attr name="accessibilityTraversalAfter" format="integer" /> 2671 2672 <!-- Name of the method in this View's context to invoke when the view is 2673 clicked. This name must correspond to a public method that takes 2674 exactly one parameter of type View. For instance, if you specify 2675 <code>android:onClick="sayHello"</code>, you must declare a 2676 <code>public void sayHello(View v)</code> method of your context 2677 (typically, your Activity). --> 2678 <attr name="onClick" format="string" /> 2679 2680 <!-- Defines over-scrolling behavior. This property is used only if the 2681 View is scrollable. Over-scrolling is the ability for the user to 2682 receive feedback when attempting to scroll beyond meaningful content. --> 2683 <attr name="overScrollMode"> 2684 <!-- Always show over-scroll effects, even if the content fits entirely 2685 within the available space. --> 2686 <enum name="always" value="0" /> 2687 <!-- Only show over-scroll effects if the content is large 2688 enough to meaningfully scroll. --> 2689 <enum name="ifContentScrolls" value="1" /> 2690 <!-- Never show over-scroll effects. --> 2691 <enum name="never" value="2" /> 2692 </attr> 2693 2694 <!-- alpha property of the view, as a value between 0 (completely transparent) and 1 2695 (completely opaque). --> 2696 <attr name="alpha" format="float" /> 2697 2698 <!-- base z depth of the view. --> 2699 <attr name="elevation" format="dimension" /> 2700 2701 <!-- translation in x of the view. This value is added post-layout to the left 2702 property of the view, which is set by its layout. --> 2703 <attr name="translationX" format="dimension" /> 2704 2705 <!-- translation in y of the view. This value is added post-layout to the top 2706 property of the view, which is set by its layout. --> 2707 <attr name="translationY" format="dimension" /> 2708 2709 <!-- translation in z of the view. This value is added to its elevation. --> 2710 <attr name="translationZ" format="dimension" /> 2711 2712 <!-- x location of the pivot point around which the view will rotate and scale. 2713 This xml attribute sets the pivotX property of the View. --> 2714 <attr name="transformPivotX" format="dimension" /> 2715 2716 <!-- y location of the pivot point around which the view will rotate and scale. 2717 This xml attribute sets the pivotY property of the View. --> 2718 <attr name="transformPivotY" format="dimension" /> 2719 2720 <!-- rotation of the view, in degrees. --> 2721 <attr name="rotation" format="float" /> 2722 2723 <!-- rotation of the view around the x axis, in degrees. --> 2724 <attr name="rotationX" format="float" /> 2725 2726 <!-- rotation of the view around the y axis, in degrees. --> 2727 <attr name="rotationY" format="float" /> 2728 2729 <!-- scale of the view in the x direction. --> 2730 <attr name="scaleX" format="float" /> 2731 2732 <!-- scale of the view in the y direction. --> 2733 <attr name="scaleY" format="float" /> 2734 2735 <!-- Determines which side the vertical scroll bar should be placed on. --> 2736 <attr name="verticalScrollbarPosition"> 2737 <!-- Place the scroll bar wherever the system default determines. --> 2738 <enum name="defaultPosition" value="0" /> 2739 <!-- Place the scroll bar on the left. --> 2740 <enum name="left" value="1" /> 2741 <!-- Place the scroll bar on the right. --> 2742 <enum name="right" value="2" /> 2743 </attr> 2744 2745 <!-- Specifies the type of layer backing this view. The default value is none. 2746 Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)} 2747 for more information.--> 2748 <attr name="layerType"> 2749 <!-- Don't use a layer. --> 2750 <enum name="none" value="0" /> 2751 <!-- Use a software layer. Refer to 2752 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2753 more information. --> 2754 <enum name="software" value="1" /> 2755 <!-- Use a hardware layer. Refer to 2756 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2757 more information. --> 2758 <enum name="hardware" value="2" /> 2759 </attr> 2760 2761 <!-- Defines the direction of layout drawing. This typically is associated with writing 2762 direction of the language script used. The possible values are "ltr" for Left-to-Right, 2763 "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing 2764 to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction 2765 used in "en-US". The default for this attribute is "inherit". --> 2766 <attr name="layoutDirection"> 2767 <!-- Left-to-Right. --> 2768 <enum name="ltr" value="0" /> 2769 <!-- Right-to-Left. --> 2770 <enum name="rtl" value="1" /> 2771 <!-- Inherit from parent. --> 2772 <enum name="inherit" value="2" /> 2773 <!-- Locale. --> 2774 <enum name="locale" value="3" /> 2775 </attr> 2776 2777 <!-- Defines the direction of the text. --> 2778 <attr name="textDirection" format="integer"> 2779 <!-- Default. --> 2780 <enum name="inherit" value="0" /> 2781 <!-- Default for the root view. The first strong directional character determines the 2782 paragraph direction. If there is no strong directional character, the paragraph 2783 direction is the view’s resolved layout direction. --> 2784 <enum name="firstStrong" value="1" /> 2785 <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise 2786 it is LTR if it contains any strong LTR characters. If there are neither, the 2787 paragraph direction is the view’s resolved layout direction. --> 2788 <enum name="anyRtl" value="2" /> 2789 <!-- The paragraph direction is left to right. --> 2790 <enum name="ltr" value="3" /> 2791 <!-- The paragraph direction is right to left. --> 2792 <enum name="rtl" value="4" /> 2793 <!-- The paragraph direction is coming from the system Locale. --> 2794 <enum name="locale" value="5" /> 2795 <!-- The first strong directional character determines the paragraph direction. If 2796 there is no strong directional character, the paragraph direction is LTR. --> 2797 <enum name="firstStrongLtr" value="6" /> 2798 <!-- The first strong directional character determines the paragraph direction. If 2799 there is no strong directional character, the paragraph direction is RTL. --> 2800 <enum name="firstStrongRtl" value="7" /> 2801 </attr> 2802 2803 <!-- Defines the alignment of the text. --> 2804 <attr name="textAlignment" format="integer"> 2805 <!-- Default. --> 2806 <enum name="inherit" value="0" /> 2807 <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, 2808 ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s 2809 text direction. --> 2810 <enum name="gravity" value="1" /> 2811 <!-- Align to the start of the paragraph, for example: ALIGN_NORMAL. --> 2812 <enum name="textStart" value="2" /> 2813 <!-- Align to the end of the paragraph, for example: ALIGN_OPPOSITE. --> 2814 <enum name="textEnd" value="3" /> 2815 <!-- Center the paragraph, for example: ALIGN_CENTER. --> 2816 <enum name="center" value="4" /> 2817 <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved 2818 layoutDirection is LTR, and ALIGN_RIGHT otherwise. --> 2819 <enum name="viewStart" value="5" /> 2820 <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved 2821 layoutDirection is LTR, and ALIGN_LEFT otherwise. --> 2822 <enum name="viewEnd" value="6" /> 2823 </attr> 2824 2825 <!-- Describes whether or not this view is important for accessibility. 2826 If it is important, the view fires accessibility events and is 2827 reported to accessibility services that query the screen. Note: 2828 While not recommended, an accessibility service may decide to 2829 ignore this attribute and operate on all views in the view tree. --> 2830 <attr name="importantForAccessibility" format="integer"> 2831 <!-- The system determines whether the view is important for accessibility - default 2832 (recommended). --> 2833 <enum name="auto" value="0" /> 2834 <!-- The view is important for accessibility. --> 2835 <enum name="yes" value="1" /> 2836 <!-- The view is not important for accessibility. --> 2837 <enum name="no" value="2" /> 2838 <!-- The view is not important for accessibility, nor are any of its descendant 2839 views. --> 2840 <enum name="noHideDescendants" value="4" /> 2841 </attr> 2842 2843 <!-- Indicates to accessibility services whether the user should be notified when 2844 this view changes. --> 2845 <attr name="accessibilityLiveRegion" format="integer"> 2846 <!-- Accessibility services should not announce changes to this view. --> 2847 <enum name="none" value="0" /> 2848 <!-- Accessibility services should announce changes to this view. --> 2849 <enum name="polite" value="1" /> 2850 <!-- Accessibility services should interrupt ongoing speech to immediately 2851 announce changes to this view. --> 2852 <enum name="assertive" value="2" /> 2853 </attr> 2854 2855 <!-- Specifies the id of a view for which this view serves as a label for 2856 accessibility purposes. For example, a TextView before an EditText in 2857 the UI usually specifies what infomation is contained in the EditText. 2858 Hence, the TextView is a label for the EditText. --> 2859 <attr name="labelFor" format="reference" /> 2860 2861 <!-- Specifies a theme override for a view. When a theme override is set, the 2862 view will be inflated using a {@link android.content.Context} themed with 2863 the specified resource. During XML inflation, any child views under the 2864 view with a theme override will inherit the themed context. --> 2865 <attr name="theme" /> 2866 2867 <!-- Names a View such that it can be identified for Transitions. Names should be 2868 unique in the View hierarchy. --> 2869 <attr name="transitionName" format="string" /> 2870 2871 <!-- Specifies that this view should permit nested scrolling within a compatible 2872 ancestor view. --> 2873 <attr name="nestedScrollingEnabled" format="boolean" /> 2874 2875 <!-- Sets the state-based animator for the View. --> 2876 <attr name="stateListAnimator" format="reference"/> 2877 2878 <!-- Tint to apply to the background. --> 2879 <attr name="backgroundTint" format="color" /> 2880 2881 <!-- Blending mode used to apply the background tint. --> 2882 <attr name="backgroundTintMode"> 2883 <!-- The tint is drawn on top of the drawable. 2884 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2885 <enum name="src_over" value="3" /> 2886 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2887 color channels are thrown out. [Sa * Da, Sc * Da] --> 2888 <enum name="src_in" value="5" /> 2889 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2890 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2891 <enum name="src_atop" value="9" /> 2892 <!-- Multiplies the color and alpha channels of the drawable with those of 2893 the tint. [Sa * Da, Sc * Dc] --> 2894 <enum name="multiply" value="14" /> 2895 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2896 <enum name="screen" value="15" /> 2897 <!-- Combines the tint and drawable color and alpha channels, clamping the 2898 result to valid color values. Saturate(S + D) --> 2899 <enum name="add" value="16" /> 2900 </attr> 2901 2902 <!-- ViewOutlineProvider used to determine the View's Outline. --> 2903 <attr name="outlineProvider"> 2904 <!-- Default, background drawable-driven outline. --> 2905 <enum name="background" value="0" /> 2906 <!-- No outline provider. --> 2907 <enum name="none" value="1" /> 2908 <!-- Generates an opaque outline for the bounds of the view. --> 2909 <enum name="bounds" value="2" /> 2910 <!-- Generates an opaque outline for the padded bounds of the view. --> 2911 <enum name="paddedBounds" value="3" /> 2912 </attr> 2913 2914 <!-- Defines the drawable to draw over the content. This can be used as an overlay. 2915 The foreground drawable participates in the padding of the content if the gravity 2916 is set to fill. --> 2917 <attr name="foreground" format="reference|color" /> 2918 <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults 2919 to fill. --> 2920 <attr name="foregroundGravity"> 2921 <!-- Push object to the top of its container, not changing its size. --> 2922 <flag name="top" value="0x30" /> 2923 <!-- Push object to the bottom of its container, not changing its size. --> 2924 <flag name="bottom" value="0x50" /> 2925 <!-- Push object to the left of its container, not changing its size. --> 2926 <flag name="left" value="0x03" /> 2927 <!-- Push object to the right of its container, not changing its size. --> 2928 <flag name="right" value="0x05" /> 2929 <!-- Place object in the vertical center of its container, not changing its size. --> 2930 <flag name="center_vertical" value="0x10" /> 2931 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 2932 <flag name="fill_vertical" value="0x70" /> 2933 <!-- Place object in the horizontal center of its container, not changing its size. --> 2934 <flag name="center_horizontal" value="0x01" /> 2935 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 2936 <flag name="fill_horizontal" value="0x07" /> 2937 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 2938 <flag name="center" value="0x11" /> 2939 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 2940 <flag name="fill" value="0x77" /> 2941 <!-- Additional option that can be set to have the top and/or bottom edges of 2942 the child clipped to its container's bounds. 2943 The clip will be based on the vertical gravity: a top gravity will clip the bottom 2944 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 2945 <flag name="clip_vertical" value="0x80" /> 2946 <!-- Additional option that can be set to have the left and/or right edges of 2947 the child clipped to its container's bounds. 2948 The clip will be based on the horizontal gravity: a left gravity will clip the right 2949 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 2950 <flag name="clip_horizontal" value="0x08" /> 2951 </attr> 2952 <!-- Defines whether the foreground drawable should be drawn inside the padding. 2953 This property is turned on by default. --> 2954 <attr name="foregroundInsidePadding" format="boolean" /> 2955 <!-- Tint to apply to the foreground. --> 2956 <attr name="foregroundTint" format="color" /> 2957 <!-- Blending mode used to apply the foreground tint. --> 2958 <attr name="foregroundTintMode"> 2959 <!-- The tint is drawn on top of the drawable. 2960 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2961 <enum name="src_over" value="3" /> 2962 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2963 color channels are thrown out. [Sa * Da, Sc * Da] --> 2964 <enum name="src_in" value="5" /> 2965 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2966 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2967 <enum name="src_atop" value="9" /> 2968 <!-- Multiplies the color and alpha channels of the drawable with those of 2969 the tint. [Sa * Da, Sc * Dc] --> 2970 <enum name="multiply" value="14" /> 2971 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2972 <enum name="screen" value="15" /> 2973 <!-- Combines the tint and drawable color and alpha channels, clamping the 2974 result to valid color values. Saturate(S + D) --> 2975 <enum name="add" value="16" /> 2976 </attr> 2977 2978 <!-- Defines which scroll indicators should be displayed when the view 2979 can be scrolled. Multiple values may be combined using logical OR, 2980 for example "top|bottom". --> 2981 <attr name="scrollIndicators"> 2982 <!-- No scroll indicators are displayed. --> 2983 <flag name="none" value="0x00" /> 2984 <!-- Displays top scroll indicator when view can be scrolled up. --> 2985 <flag name="top" value="0x01" /> 2986 <!-- Displays bottom scroll indicator when vew can be scrolled down. --> 2987 <flag name="bottom" value="0x02" /> 2988 <!-- Displays left scroll indicator when vew can be scrolled left. --> 2989 <flag name="left" value="0x04" /> 2990 <!-- Displays right scroll indicator when vew can be scrolled right. --> 2991 <flag name="right" value="0x08" /> 2992 <!-- Displays right scroll indicator when vew can be scrolled in the 2993 start direction. --> 2994 <flag name="start" value="0x10" /> 2995 <!-- Displays right scroll indicator when vew can be scrolled in the 2996 end direction. --> 2997 <flag name="end" value="0x20" /> 2998 </attr> 2999 3000 <attr name="pointerIcon"> 3001 <!-- Null icon, pointer becomes invisible. --> 3002 <enum name="none" value="0" /> 3003 <!-- The default icon of arrow pointer. --> 3004 <enum name="arrow" value="1000" /> 3005 <!-- Pointer icon indicating context-menu will appear. --> 3006 <enum name="context_menu" value="1001" /> 3007 <!-- Pointer icon of a hand with the index finger. --> 3008 <enum name="hand" value="1002" /> 3009 <!-- Pointer icon indicating help. --> 3010 <enum name="help" value="1003" /> 3011 <!-- Pointer icon indicating something is going on and waiting. --> 3012 <enum name="wait" value="1004" /> 3013 <!-- Pointer icon for cell and grid. --> 3014 <enum name="cell" value="1006" /> 3015 <!-- Pointer icon of crosshair, indicating to spot a location. --> 3016 <enum name="crosshair" value="1007" /> 3017 <!-- Pointer icon of I-beam, usually for text. --> 3018 <enum name="text" value="1008" /> 3019 <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. --> 3020 <enum name="vertical_text" value="1009" /> 3021 <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be 3022 created. --> 3023 <enum name="alias" value="1010" /> 3024 <!-- Pointer icon of 'copy', used for drag/drop. --> 3025 <enum name="copy" value="1011" /> 3026 <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the 3027 current location. --> 3028 <enum name="no_drop" value="1012" /> 3029 <!-- Pointer icon of four-way arrows, indicating scrolling all direction. --> 3030 <enum name="all_scroll" value="1013" /> 3031 <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. --> 3032 <enum name="horizontal_double_arrow" value="1014" /> 3033 <!-- Pointer icon of vertical double arrow, indicating vertical resize. --> 3034 <enum name="vertical_double_arrow" value="1015" /> 3035 <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left. 3036 Indicating freeform resize. --> 3037 <enum name="top_right_diagonal_double_arrow" value="1016" /> 3038 <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right. 3039 Indicating freeform resize. --> 3040 <enum name="top_left_diagonal_double_arrow" value="1017" /> 3041 <!-- Pointer icon indicating zoom-in. --> 3042 <enum name="zoom_in" value="1018" /> 3043 <!-- Pointer icon indicating zoom-out. --> 3044 <enum name="zoom_out" value="1019" /> 3045 <!-- Pointer icon of a hand sign to grab something. --> 3046 <enum name="grab" value="1020" /> 3047 <!-- Pointer icon of a hand sign while grabbing something. --> 3048 <enum name="grabbing" value="1021" /> 3049 </attr> 3050 3051 <!-- Whether this view has elements that may overlap when drawn. See 3052 {@link android.view.View#forceHasOverlappingRendering(boolean)}. --> 3053 <attr name="forceHasOverlappingRendering" format="boolean" /> 3054 3055 <!-- Defines text displayed in a small popup window on hover or long press. --> 3056 <attr name="tooltipText" format="string" localization="suggested" /> 3057 3058 <!-- Whether this view is a root of a keyboard navigation cluster. 3059 See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. --> 3060 <attr name="keyboardNavigationCluster" format="boolean" /> 3061 3062 <attr name="__removed0" format="boolean" /> 3063 3064 <!-- Defines the next keyboard navigation cluster. 3065 3066 If the reference refers to a view that does not exist or is part 3067 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 3068 will result when the reference is accessed.--> 3069 <attr name="nextClusterForward" format="reference"/> 3070 3071 <attr name="__removed1" format="reference"/> 3072 3073 <!-- Whether this view is a default-focus view. 3074 Only one view per keyboard navigation cluster can have this attribute set to true. 3075 See {@link android.view.View#setFocusedByDefault(boolean)}. --> 3076 <attr name="focusedByDefault" format="boolean" /> 3077 3078 <!-- Whether this View should use a default focus highlight when it gets focused but 3079 doesn't have {@link android.R.attr#state_focused} defined in its background. --> 3080 <attr name="defaultFocusHighlightEnabled" format="boolean" /> 3081 3082 <!-- Whether this view should be treated as a focusable unit by screen reader accessibility 3083 tools. See {@link android.view.View#setScreenReaderFocusable(boolean)}. The default 3084 value, {@code false}, leaves the screen reader to consider other signals, such as 3085 focusability or the presence of text, to decide what it focus.--> 3086 <attr name="screenReaderFocusable" format="boolean" /> 3087 3088 <!-- The title this view should present to accessibility as a pane title. 3089 See {@link android.view.View#setAccessibilityPaneTitle(CharSequence)} --> 3090 <attr name="accessibilityPaneTitle" format="string" /> 3091 3092 <!-- Whether or not this view is a heading for accessibility purposes. --> 3093 <attr name="accessibilityHeading" format="boolean"/> 3094 3095 <!-- Sets the color of the spot shadow that is drawn when the view has a positive Z or 3096 elevation value. 3097 <p> 3098 By default the shadow color is black. Generally, this color will be opaque so the 3099 intensity of the shadow is consistent between different views with different colors. 3100 <p> 3101 The opacity of the final spot shadow is a function of the shadow caster height, the 3102 alpha channel of the outlineSpotShadowColor (typically opaque), and the 3103 {@link android.R.attr#spotShadowAlpha} theme attribute. --> 3104 <attr name="outlineSpotShadowColor" format="color" /> 3105 3106 <!-- Sets the color of the ambient shadow that is drawn when the view has a positive Z 3107 or elevation value. 3108 <p> 3109 By default the shadow color is black. Generally, this color will be opaque so the 3110 intensity of the shadow is consistent between different views with different colors. 3111 <p> 3112 The opacity of the final ambient shadow is a function of the shadow caster height, 3113 the alpha channel of the outlineAmbientShadowColor (typically opaque), and the 3114 {@link android.R.attr#ambientShadowAlpha} theme attribute. --> 3115 <attr name="outlineAmbientShadowColor" format="color" /> 3116 </declare-styleable> 3117 3118 <!-- Attributes that can be assigned to a tag for a particular View. --> 3119 <declare-styleable name="ViewTag"> 3120 <!-- Specifies the key identifying a tag. This must be a resource reference. --> 3121 <attr name="id" /> 3122 <!-- Specifies the value with which to tag the view. --> 3123 <attr name="value" /> 3124 </declare-styleable> 3125 3126 <!-- Attributes that can be assigned to an <include> tag. 3127 @hide --> 3128 <declare-styleable name="Include"> 3129 <attr name="id" /> 3130 <attr name="visibility" /> 3131 </declare-styleable> 3132 3133 <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any 3134 of its subclasses. Also see {@link #ViewGroup_Layout} for 3135 attributes that this class processes in its children. --> 3136 <declare-styleable name="ViewGroup"> 3137 <!-- Defines whether changes in layout (caused by adding and removing items) should 3138 cause a LayoutTransition to run. When this flag is set to true, a default 3139 LayoutTransition object will be set on the ViewGroup container and default 3140 animations will run when these layout changes occur.--> 3141 <attr name="animateLayoutChanges" format="boolean" /> 3142 <!-- Defines whether a child is limited to draw inside of its bounds or not. 3143 This is useful with animations that scale the size of the children to more 3144 than 100% for instance. In such a case, this property should be set to false 3145 to allow the children to draw outside of their bounds. The default value of 3146 this property is true. --> 3147 <attr name="clipChildren" format="boolean" /> 3148 <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any 3149 EdgeEffect to its padding, if padding is not zero. This property is set to true by 3150 default. --> 3151 <attr name="clipToPadding" format="boolean" /> 3152 <!-- Defines the layout animation to use the first time the ViewGroup is laid out. 3153 Layout animations can also be started manually after the first layout. --> 3154 <attr name="layoutAnimation" format="reference" /> 3155 <!-- Defines whether layout animations should create a drawing cache for their 3156 children. Enabling the animation cache consumes more memory and requires 3157 a longer initialization but provides better performance. The animation 3158 cache is enabled by default. --> 3159 <attr name="animationCache" format="boolean" /> 3160 <!-- Defines the persistence of the drawing cache. The drawing cache might be 3161 enabled by a ViewGroup for all its children in specific situations (for 3162 instance during a scrolling.) This property lets you persist the cache 3163 in memory after its initial usage. Persisting the cache consumes more 3164 memory but may prevent frequent garbage collection is the cache is created 3165 over and over again. By default the persistence is set to scrolling. 3166 Deprecated: The view drawing cache was largely made obsolete with the introduction of 3167 hardware-accelerated rendering in API 11. --> 3168 <attr name="persistentDrawingCache"> 3169 <!-- The drawing cache is not persisted after use. --> 3170 <flag name="none" value="0x0" /> 3171 <!-- The drawing cache is persisted after a layout animation. --> 3172 <flag name="animation" value="0x1" /> 3173 <!-- The drawing cache is persisted after a scroll. --> 3174 <flag name="scrolling" value="0x2" /> 3175 <!-- The drawing cache is always persisted. --> 3176 <flag name="all" value="0x3" /> 3177 </attr> 3178 <!-- Defines whether the ViewGroup should always draw its children using their 3179 drawing cache or not. The default value is true. 3180 Deprecated: The view drawing cache was largely made obsolete with the introduction of 3181 hardware-accelerated rendering in API 11. --> 3182 <attr name="alwaysDrawnWithCache" format="boolean" /> 3183 <!-- Sets whether this ViewGroup's drawable states also include 3184 its children's drawable states. This is used, for example, to 3185 make a group appear to be focused when its child EditText or button 3186 is focused. --> 3187 <attr name="addStatesFromChildren" format="boolean" /> 3188 3189 <!-- Defines the relationship between the ViewGroup and its descendants 3190 when looking for a View to take focus. --> 3191 <attr name="descendantFocusability"> 3192 <!-- The ViewGroup will get focus before any of its descendants. --> 3193 <enum name="beforeDescendants" value="0" /> 3194 <!-- The ViewGroup will get focus only if none of its descendants want it. --> 3195 <enum name="afterDescendants" value="1" /> 3196 <!-- The ViewGroup will block its descendants from receiving focus. --> 3197 <enum name="blocksDescendants" value="2" /> 3198 </attr> 3199 3200 <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. --> 3201 <attr name="touchscreenBlocksFocus" format="boolean" /> 3202 3203 <!-- Sets whether this ViewGroup should split MotionEvents 3204 to separate child views during touch event dispatch. 3205 If false (default), touch events will be dispatched to 3206 the child view where the first pointer went down until 3207 the last pointer goes up. 3208 If true, touch events may be dispatched to multiple children. 3209 MotionEvents for each pointer will be dispatched to the child 3210 view where the initial ACTION_DOWN event happened. 3211 See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)} 3212 for more information. --> 3213 <attr name="splitMotionEvents" format="boolean" /> 3214 3215 <!-- Defines the layout mode of this ViewGroup. --> 3216 <attr name="layoutMode"> 3217 <!-- Use the children's clip bounds when laying out this container. --> 3218 <enum name="clipBounds" value="0" /> 3219 <!-- Use the children's optical bounds when laying out this container. --> 3220 <enum name="opticalBounds" value="1" /> 3221 </attr> 3222 3223 <!-- Sets whether or not this ViewGroup should be treated as a single entity 3224 when doing an Activity transition. Typically, the elements inside a 3225 ViewGroup are each transitioned from the scene individually. The default 3226 for a ViewGroup is false unless it has a background. See 3227 {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity, 3228 android.view.View, String)} for more information. Corresponds to 3229 {@link android.view.ViewGroup#setTransitionGroup(boolean)}.--> 3230 <attr name="transitionGroup" format="boolean" /> 3231 </declare-styleable> 3232 3233 <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts 3234 inside your application at runtime. --> 3235 <declare-styleable name="ViewStub"> 3236 <!-- Supply an identifier name for this view. --> 3237 <attr name="id" /> 3238 <!-- Supply an identifier for the layout resource to inflate when the ViewStub 3239 becomes visible or when forced to do so. The layout resource must be a 3240 valid reference to a layout. --> 3241 <attr name="layout" format="reference" /> 3242 <!-- Overrides the id of the inflated View with this value. --> 3243 <attr name="inflatedId" format="reference" /> 3244 </declare-styleable> 3245 3246 <!-- ===================================== --> 3247 <!-- View package parent layout attributes --> 3248 <!-- ===================================== --> 3249 <eat-comment /> 3250 3251 <!-- This is the basic set of layout attributes that are common to all 3252 layout managers. These attributes are specified with the rest of 3253 a view's normal attributes (such as {@link android.R.attr#background}, 3254 but will be parsed by the view's parent and ignored by the child. 3255 <p>The values defined here correspond to the base layout attribute 3256 class {@link android.view.ViewGroup.LayoutParams}. --> 3257 <declare-styleable name="ViewGroup_Layout"> 3258 <!-- Specifies the basic width of the view. This is a required attribute 3259 for any view inside of a containing layout manager. Its value may 3260 be a dimension (such as "12dip") for a constant width or one of 3261 the special constants. --> 3262 <attr name="layout_width" format="dimension"> 3263 <!-- The view should be as big as its parent (minus padding). 3264 This constant is deprecated starting from API Level 8 and 3265 is replaced by {@code match_parent}. --> 3266 <enum name="fill_parent" value="-1" /> 3267 <!-- The view should be as big as its parent (minus padding). 3268 Introduced in API Level 8. --> 3269 <enum name="match_parent" value="-1" /> 3270 <!-- The view should be only big enough to enclose its content (plus padding). --> 3271 <enum name="wrap_content" value="-2" /> 3272 </attr> 3273 3274 <!-- Specifies the basic height of the view. This is a required attribute 3275 for any view inside of a containing layout manager. Its value may 3276 be a dimension (such as "12dip") for a constant height or one of 3277 the special constants. --> 3278 <attr name="layout_height" format="dimension"> 3279 <!-- The view should be as big as its parent (minus padding). 3280 This constant is deprecated starting from API Level 8 and 3281 is replaced by {@code match_parent}. --> 3282 <enum name="fill_parent" value="-1" /> 3283 <!-- The view should be as big as its parent (minus padding). 3284 Introduced in API Level 8. --> 3285 <enum name="match_parent" value="-1" /> 3286 <!-- The view should be only big enough to enclose its content (plus padding). --> 3287 <enum name="wrap_content" value="-2" /> 3288 </attr> 3289 </declare-styleable> 3290 3291 <!-- This is the basic set of layout attributes for layout managers that 3292 wish to place margins around their child views. 3293 These attributes are specified with the rest of 3294 a view's normal attributes (such as {@link android.R.attr#background}, 3295 but will be parsed by the view's parent and ignored by the child. 3296 <p>The values defined here correspond to the base layout attribute 3297 class {@link android.view.ViewGroup.MarginLayoutParams}. --> 3298 <declare-styleable name="ViewGroup_MarginLayout"> 3299 <attr name="layout_width" /> 3300 <attr name="layout_height" /> 3301 <!-- Specifies extra space on the left, top, right and bottom 3302 sides of this view. If both layout_margin and any of layout_marginLeft, 3303 layout_marginRight, layout_marginStart, layout_marginEnd, 3304 layout_marginTop, and layout_marginBottom are 3305 also specified, the layout_margin value will take precedence over the 3306 edge-specific values. This space is outside this view's bounds. 3307 Margin values should be positive. --> 3308 <attr name="layout_margin" format="dimension" /> 3309 <!-- Specifies extra space on the left side of this view. 3310 This space is outside this view's bounds. 3311 Margin values should be positive. --> 3312 <attr name="layout_marginLeft" format="dimension" /> 3313 <!-- Specifies extra space on the top side of this view. 3314 This space is outside this view's bounds. 3315 Margin values should be positive.--> 3316 <attr name="layout_marginTop" format="dimension" /> 3317 <!-- Specifies extra space on the right side of this view. 3318 This space is outside this view's bounds. 3319 Margin values should be positive.--> 3320 <attr name="layout_marginRight" format="dimension" /> 3321 <!-- Specifies extra space on the bottom side of this view. 3322 This space is outside this view's bounds. 3323 Margin values should be positive.--> 3324 <attr name="layout_marginBottom" format="dimension" /> 3325 <!-- Specifies extra space on the start side of this view. 3326 This space is outside this view's bounds. 3327 Margin values should be positive.--> 3328 <attr name="layout_marginStart" format="dimension" /> 3329 <!-- Specifies extra space on the end side of this view. 3330 This space is outside this view's bounds. 3331 Margin values should be positive.--> 3332 <attr name="layout_marginEnd" format="dimension" /> 3333 <!-- Specifies extra space on the left and right sides of this view. 3334 Specifying layout_marginHorizontal is equivalent to specifying 3335 layout_marginLeft and layout_marginRight. 3336 If both layout_marginHorizontal and either/both of layout_marginLeft 3337 and layout_marginRight are also specified, the layout_marginHorizontal 3338 value will take precedence over the 3339 edge-specific values. Also, layout_margin will always take precedence over 3340 any of these values, including layout_marginHorizontal. 3341 This space is outside this view's bounds. 3342 Margin values should be positive.--> 3343 <attr name="layout_marginHorizontal" format="dimension" /> 3344 <!-- Specifies extra space on the top and bottom sides of this view. 3345 Specifying layout_marginVertical is equivalent to specifying 3346 layout_marginTop and layout_marginBottom with that same value. 3347 If both layout_marginVertical and either/both of layout_marginTop and 3348 layout_marginBottom are also specified, the layout_marginVertical value 3349 will take precedence over the edge-specific values. 3350 Also, layout_margin will always take precedence over 3351 any of these values, including layout_marginVertical. 3352 This space is outside this view's bounds. 3353 Margin values should be positive.--> 3354 <attr name="layout_marginVertical" format="dimension" /> 3355 </declare-styleable> 3356 3357 <!-- Use <code>input-method</code> as the root tag of the XML resource that 3358 describes an 3359 {@link android.view.inputmethod.InputMethod} service, which is 3360 referenced from its 3361 {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA} 3362 meta-data entry. Described here are the attributes that can be 3363 included in that tag. --> 3364 <declare-styleable name="InputMethod"> 3365 <!-- Component name of an activity that allows the user to modify 3366 the settings for this service. --> 3367 <attr name="settingsActivity" format="string" /> 3368 <!-- Set to true in all of the configurations for which this input 3369 method should be considered an option as the default. --> 3370 <attr name="isDefault" format="boolean" /> 3371 <!-- Set to true if this input method supports ways to switch to 3372 a next input method (for example, a globe key.). When this is true and 3373 InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true, 3374 the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod() 3375 accordingly. 3376 <p> Note that the system determines the most appropriate next input method 3377 and subtype in order to provide the consistent user experience in switching 3378 between IMEs and subtypes. --> 3379 <attr name="supportsSwitchingToNextInputMethod" format="boolean" /> 3380 <!-- Specifies if an IME can only be used while a device is in VR mode or on a dedicated 3381 device --> 3382 <attr name="isVrOnly" format="boolean"/> 3383 <attr name="__removed2" format="boolean" /> 3384 </declare-styleable> 3385 3386 <!-- This is the subtype of InputMethod. Subtype can describe locales (for example, en_US and 3387 fr_FR) and modes (for example, voice and keyboard), and is used for IME switch. This 3388 subtype allows the system to call the specified subtype of the IME directly. --> 3389 <declare-styleable name="InputMethod_Subtype"> 3390 <!-- The name of the subtype. --> 3391 <attr name="label" /> 3392 <!-- The icon of the subtype. --> 3393 <attr name="icon" /> 3394 <!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR) 3395 and will be passed to the IME when the framework calls the IME 3396 with the subtype. This is also used by the framework to know the supported locales 3397 of the IME. --> 3398 <attr name="imeSubtypeLocale" format="string" /> 3399 <!-- The mode of the subtype. This string can be a mode (for example, voice and keyboard) 3400 and this string will be passed to the IME when the framework calls the IME with the 3401 subtype. {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the 3402 value specified in this attribute. --> 3403 <attr name="imeSubtypeMode" format="string" /> 3404 <!-- Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the 3405 input method selection list in the settings app. 3406 InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it 3407 chooses a target subtype. --> 3408 <attr name="isAuxiliary" format="boolean" /> 3409 <!-- Set true when this subtype should be selected by default if no other subtypes are 3410 selected explicitly. Note that a subtype with this parameter being true will 3411 not be shown in the subtypes list. --> 3412 <attr name="overridesImplicitlyEnabledSubtype" format="boolean" /> 3413 <!-- The extra value of the subtype. This string can be any string and will be passed to 3414 the IME when the framework calls the IME with the subtype. --> 3415 <attr name="imeSubtypeExtraValue" format="string" /> 3416 <!-- The unique id for the subtype. The input method framework keeps track of enabled 3417 subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even 3418 if other attributes are different. If the ID is unspecified (by calling the other 3419 constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue, 3420 isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. --> 3421 <attr name="subtypeId" format="integer"/> 3422 <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII 3423 capable, it should guarantee that the user can input ASCII characters with 3424 this subtype. This is important because many password fields only allow 3425 ASCII-characters. --> 3426 <attr name="isAsciiCapable" format="boolean" /> 3427 <!-- The BCP-47 Language Tag of the subtype. This replaces 3428 {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}. --> 3429 <attr name="languageTag" format="string" /> 3430 </declare-styleable> 3431 3432 <!-- Use <code>spell-checker</code> as the root tag of the XML resource that 3433 describes an 3434 {@link android.service.textservice.SpellCheckerService} service, which is 3435 referenced from its 3436 {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA} 3437 meta-data entry. Described here are the attributes that can be 3438 included in that tag. --> 3439 <declare-styleable name="SpellChecker"> 3440 <!-- The name of the spell checker. --> 3441 <attr name="label" /> 3442 <!-- Component name of an activity that allows the user to modify 3443 the settings for this service. --> 3444 <attr name="settingsActivity"/> 3445 </declare-styleable> 3446 3447 <!-- This is the subtype of the spell checker. Subtype can describe locales (for example, 3448 en_US and fr_FR). --> 3449 <declare-styleable name="SpellChecker_Subtype"> 3450 <!-- The name of the subtype. --> 3451 <attr name="label" /> 3452 <!-- The locale of the subtype. This string should be a locale (for example, en_US and 3453 fr_FR). This is also used by the framework to know the supported locales 3454 of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()} 3455 returns the value specified in this attribute. --> 3456 <attr name="subtypeLocale" format="string" /> 3457 <!-- The extra value of the subtype. This string can be any string and will be passed to 3458 the SpellChecker. --> 3459 <attr name="subtypeExtraValue" format="string" /> 3460 <!-- The unique id for the subtype. The text service (spell checker) framework keeps track 3461 of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs 3462 will stay enabled even if other attributes are different. If the ID is unspecified or 3463 explicitly specified to 0 in XML resources, 3464 {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue})} will be used instead. 3465 --> 3466 <attr name="subtypeId" /> 3467 <!-- The BCP-47 Language Tag of the subtype. This replaces 3468 {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}. --> 3469 <attr name="languageTag" /> 3470 </declare-styleable> 3471 3472 <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that 3473 describes an {@link android.accessibilityservice.AccessibilityService} service, 3474 which is referenced from its 3475 {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA} 3476 meta-data entry. --> 3477 <declare-styleable name="AccessibilityService"> 3478 <!-- The event types this service would like to receive as specified in 3479 {@link android.view.accessibility.AccessibilityEvent}. This setting 3480 can be changed at runtime by calling 3481 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3482 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3483 <attr name="accessibilityEventTypes"> 3484 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.--> 3485 <flag name="typeViewClicked" value="0x00000001" /> 3486 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. --> 3487 <flag name="typeViewLongClicked" value="0x00000002" /> 3488 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. --> 3489 <flag name="typeViewSelected" value="0x00000004" /> 3490 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. --> 3491 <flag name="typeViewFocused" value="0x00000008" /> 3492 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. --> 3493 <flag name="typeViewTextChanged" value="0x00000010" /> 3494 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. --> 3495 <flag name="typeWindowStateChanged" value="0x00000020" /> 3496 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. --> 3497 <flag name="typeNotificationStateChanged" value="0x00000040" /> 3498 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. --> 3499 <flag name="typeViewHoverEnter" value="0x00000080" /> 3500 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. --> 3501 <flag name="typeViewHoverExit" value="0x00000100" /> 3502 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. --> 3503 <flag name="typeTouchExplorationGestureStart" value="0x00000200" /> 3504 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. --> 3505 <flag name="typeTouchExplorationGestureEnd" value="0x00000400" /> 3506 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. --> 3507 <flag name="typeWindowContentChanged" value="0x00000800" /> 3508 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. --> 3509 <flag name="typeViewScrolled" value="0x000001000" /> 3510 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. --> 3511 <flag name="typeViewTextSelectionChanged" value="0x000002000" /> 3512 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. --> 3513 <flag name="typeAnnouncement" value="0x00004000" /> 3514 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. --> 3515 <flag name="typeViewAccessibilityFocused" value="0x00008000" /> 3516 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. --> 3517 <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" /> 3518 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. --> 3519 <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" /> 3520 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. --> 3521 <flag name="typeGestureDetectionStart" value="0x00040000" /> 3522 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. --> 3523 <flag name="typeGestureDetectionEnd" value="0x00080000" /> 3524 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. --> 3525 <flag name="typeTouchInteractionStart" value="0x00100000" /> 3526 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. --> 3527 <flag name="typeTouchInteractionEnd" value="0x00200000" /> 3528 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. --> 3529 <flag name="typeWindowsChanged" value="0x00400000" /> 3530 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. --> 3531 <flag name="typeContextClicked" value="0x00800000" /> 3532 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. --> 3533 <flag name="typeAssistReadingContext" value="0x01000000" /> 3534 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. --> 3535 <flag name="typeAllMask" value="0xffffffff" /> 3536 </attr> 3537 <!-- Comma separated package names from which this service would like to receive events (leave out for all packages). 3538 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3539 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3540 <attr name="packageNames" format="string" /> 3541 <!-- The feedback types this service provides as specified in 3542 {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting 3543 can be changed at runtime by calling 3544 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3545 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3546 <attr name="accessibilityFeedbackType"> 3547 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. --> 3548 <flag name="feedbackSpoken" value="0x00000001" /> 3549 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. --> 3550 <flag name="feedbackHaptic" value="0x00000002" /> 3551 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. --> 3552 <flag name="feedbackAudible" value="0x00000004" /> 3553 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. --> 3554 <flag name="feedbackVisual" value="0x00000008" /> 3555 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. --> 3556 <flag name="feedbackGeneric" value="0x00000010" /> 3557 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. --> 3558 <flag name="feedbackAllMask" value="0xffffffff" /> 3559 </attr> 3560 <!-- The minimal period in milliseconds between two accessibility events of the same type 3561 are sent to this service. This setting can be changed at runtime by calling 3562 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3563 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3564 <attr name="notificationTimeout" format="integer" /> 3565 <!-- Additional flags as specified in 3566 {@link android.accessibilityservice.AccessibilityServiceInfo}. 3567 This setting can be changed at runtime by calling 3568 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3569 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3570 <attr name="accessibilityFlags"> 3571 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT}. --> 3572 <flag name="flagDefault" value="0x00000001" /> 3573 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS}. --> 3574 <flag name="flagIncludeNotImportantViews" value="0x00000002" /> 3575 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE}. --> 3576 <flag name="flagRequestTouchExplorationMode" value="0x00000004" /> 3577 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY}. 3578 Not used by the framework. 3579 --> 3580 <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" /> 3581 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS}. --> 3582 <flag name="flagReportViewIds" value="0x00000010" /> 3583 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS}. --> 3584 <flag name="flagRequestFilterKeyEvents" value="0x00000020" /> 3585 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS}. --> 3586 <flag name="flagRetrieveInteractiveWindows" value="0x00000040" /> 3587 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME}. --> 3588 <flag name="flagEnableAccessibilityVolume" value="0x00000080" /> 3589 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON}. --> 3590 <flag name="flagRequestAccessibilityButton" value="0x00000100" /> 3591 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES}. --> 3592 <flag name="flagRequestFingerprintGestures" value="0x00000200" /> 3593 </attr> 3594 <!-- Component name of an activity that allows the user to modify 3595 the settings for this service. This setting cannot be changed at runtime. --> 3596 <attr name="settingsActivity" /> 3597 <!-- Attribute whether the accessibility service wants to be able to retrieve the 3598 active window content. This setting cannot be changed at runtime. --> 3599 <attr name="canRetrieveWindowContent" format="boolean" /> 3600 <!-- Attribute whether the accessibility service wants to be able to request touch 3601 exploration mode in which touched items are spoken aloud and the UI can be 3602 explored via gestures. 3603 <p> 3604 Required to allow setting the {@link android.accessibilityservice 3605 #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag. 3606 </p> 3607 --> 3608 <attr name="canRequestTouchExplorationMode" format="boolean" /> 3609 <!-- Attribute whether the accessibility service wants to be able to request enhanced 3610 web accessibility enhancements. 3611 {@deprecated Not used by the framework} 3612 --> 3613 <attr name="canRequestEnhancedWebAccessibility" format="boolean" /> 3614 <!-- Attribute whether the accessibility service wants to be able to request to 3615 filter key events. 3616 <p> 3617 Required to allow setting the {@link android.accessibilityservice 3618 #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag. 3619 </p> 3620 --> 3621 <attr name="canRequestFilterKeyEvents" format="boolean" /> 3622 <!-- Attribute whether the accessibility service wants to be able to control 3623 display magnification. 3624 --> 3625 <attr name="canControlMagnification" format="boolean" /> 3626 <!-- Attribute whether the accessibility service wants to be able to perform gestures. --> 3627 <attr name="canPerformGestures" format="boolean" /> 3628 <!-- Attribute whether the accessibility service wants to be able to capture gestures from 3629 the fingerprint sensor. 3630 <p> 3631 Required to allow setting the {@link android.accessibilityservice 3632 #AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES} flag to have any effect. 3633 </p> 3634 --> 3635 <attr name="canRequestFingerprintGestures" format="boolean" /> 3636 <!-- Short description of the accessibility service purpose or behavior.--> 3637 <attr name="description" /> 3638 <!-- Brief summary of the accessibility service purpose or behavior. --> 3639 <attr name="summary" /> 3640 </declare-styleable> 3641 3642 <!-- Use <code>print-service</code> as the root tag of the XML resource that 3643 describes an {@link android.printservice.PrintService} service, which is 3644 referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA} 3645 meta-data entry. --> 3646 <declare-styleable name="PrintService"> 3647 <!-- Fully qualified class name of an activity that allows the user to modify 3648 the settings for this service. --> 3649 <attr name="settingsActivity" /> 3650 <!-- Fully qualified class name of an activity that allows the user to manually 3651 add printers to this print service. --> 3652 <attr name="addPrintersActivity" format="string"/> 3653 <!-- Fully qualified class name of an activity with advanced print options 3654 specific to this print service. --> 3655 <attr name="advancedPrintOptionsActivity" format="string"/> 3656 <!-- The vendor name if this print service is vendor specific. --> 3657 <attr name="vendor" format="string"/> 3658 </declare-styleable> 3659 3660 <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that 3661 describes an {@link android.nfc.cardemulation.HostApduService} service, which 3662 is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA} 3663 entry. --> 3664 <declare-styleable name="HostApduService"> 3665 <!-- Short description of the functionality the service implements. This attribute 3666 is mandatory.--> 3667 <attr name="description" /> 3668 <!-- Whether the device must be unlocked before routing data to this service. 3669 The default is false.--> 3670 <attr name="requireDeviceUnlock" format="boolean"/> 3671 <!-- A drawable that can be rendered in Android's system UI for representing 3672 the service. --> 3673 <attr name="apduServiceBanner" format="reference"/> 3674 <!-- Component name of an activity that allows the user to modify 3675 the settings for this service. --> 3676 <attr name="settingsActivity"/> 3677 </declare-styleable> 3678 3679 <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that 3680 describes an {@link android.nfc.cardemulation.OffHostApduService} 3681 service, which is referenced from its 3682 {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. --> 3683 <declare-styleable name="OffHostApduService"> 3684 <!-- Short description of the functionality the service implements. This attribute 3685 is mandatory.--> 3686 <attr name="description" /> 3687 <!-- A drawable that can be rendered in Android's system UI for representing 3688 the service. --> 3689 <attr name="apduServiceBanner"/> 3690 <!-- Component name of an activity that allows the user to modify 3691 the settings for this service. --> 3692 <attr name="settingsActivity"/> 3693 </declare-styleable> 3694 3695 <!-- Specify one or more <code>aid-group</code> elements inside a 3696 <code>host-apdu-service</code> or <code>offhost-apdu-service</code> 3697 element to define a group of ISO7816 Application ID (AIDs) that 3698 your service can handle.--> 3699 <declare-styleable name="AidGroup"> 3700 <!-- Short description of what the AID group implements. This attribute is mandatory.--> 3701 <attr name="description" /> 3702 <!-- The category attribute will be used by the Android platform to present 3703 multiple applications that register ISO 7816 Application IDs (AIDs) in the 3704 same category uniformly. 3705 Additionally, when a category is specified, Android will ensure that either 3706 all AIDs in this group are routed to this application, or none at all. 3707 This attribute is optional.--> 3708 <attr name="category" format="string" /> 3709 </declare-styleable> 3710 3711 <!-- Specify one or more <code>aid-filter</code> elements inside a 3712 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3713 your service can handle. --> 3714 <declare-styleable name="AidFilter"> 3715 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3716 <attr name="name" /> 3717 </declare-styleable> 3718 3719 <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a 3720 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3721 prefix your service can handle. --> 3722 <declare-styleable name="AidPrefixFilter"> 3723 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3724 <attr name="name" /> 3725 </declare-styleable> 3726 3727 <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that 3728 describes an {@link android.nfc.cardemulation.HostNfcFService} service, which 3729 is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA} 3730 entry. --> 3731 <declare-styleable name="HostNfcFService"> 3732 <!-- Short description of the functionality the service implements. This attribute 3733 is mandatory.--> 3734 <attr name="description" /> 3735 </declare-styleable> 3736 3737 <!-- Specify one or more <code>system-code-filter</code> elements inside a 3738 <code>host-nfcf-service</code> element to specify a System Code 3739 your service can handle. --> 3740 <declare-styleable name="SystemCodeFilter"> 3741 <!-- The System Code. This attribute is mandatory. --> 3742 <attr name="name" /> 3743 </declare-styleable> 3744 3745 <!-- Specify one or more <code>nfcid2-filter</code> elements inside a 3746 <code>host-nfcf-service</code> element to specify a NFCID2 3747 your service can handle. --> 3748 <declare-styleable name="Nfcid2Filter"> 3749 <!-- The NFCID2. This attribute is mandatory. --> 3750 <attr name="name" /> 3751 </declare-styleable> 3752 3753 <!-- Specify one or more <code>t3tPmm-filter</code> elements inside a 3754 <code>host-nfcf-service</code> element to specify a LF_T3T_PMM. --> 3755 <declare-styleable name="T3tPmmFilter"> 3756 <attr name="name" /> 3757 3758 </declare-styleable> 3759 3760 <declare-styleable name="ActionMenuItemView"> 3761 <attr name="minWidth" /> 3762 </declare-styleable> 3763 3764 <!-- =============================== --> 3765 <!-- Widget package class attributes --> 3766 <!-- =============================== --> 3767 <eat-comment /> 3768 3769 <declare-styleable name="AbsListView"> 3770 <!-- Drawable used to indicate the currently selected item in the list. --> 3771 <attr name="listSelector" format="color|reference" /> 3772 <!-- When set to true, the selector will be drawn over the selected item. 3773 Otherwise the selector is drawn behind the selected item. The default 3774 value is false. --> 3775 <attr name="drawSelectorOnTop" format="boolean" /> 3776 <!-- Used by ListView and GridView to stack their content from the bottom. --> 3777 <attr name="stackFromBottom" format="boolean" /> 3778 <!-- When set to true, the list uses a drawing cache during scrolling. 3779 This makes the rendering faster but uses more memory. The default 3780 value is true. --> 3781 <attr name="scrollingCache" format="boolean" /> 3782 <!-- When set to true, the list will filter results as the user types. The 3783 List's adapter must support the Filterable interface for this to work. --> 3784 <attr name="textFilterEnabled" format="boolean" /> 3785 <!-- Sets the transcript mode for the list. In transcript mode, the list 3786 scrolls to the bottom to make new items visible when they are added. --> 3787 <attr name="transcriptMode"> 3788 <!-- Disables transcript mode. This is the default value. --> 3789 <enum name="disabled" value="0"/> 3790 <!-- The list will automatically scroll to the bottom when 3791 a data set change notification is received and only if the last item is 3792 already visible on screen. --> 3793 <enum name="normal" value="1" /> 3794 <!-- The list will automatically scroll to the bottom, no matter what items 3795 are currently visible. --> 3796 <enum name="alwaysScroll" value="2" /> 3797 </attr> 3798 <!-- Indicates that this list will always be drawn on top of solid, single-color 3799 opaque background. This allows the list to optimize drawing. --> 3800 <attr name="cacheColorHint" format="color" /> 3801 <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through 3802 the list. --> 3803 <attr name="fastScrollEnabled" format="boolean" /> 3804 <!-- Specifies the style of the fast scroll decorations. --> 3805 <attr name="fastScrollStyle" format="reference" /> 3806 <!-- When set to true, the list will use a more refined calculation 3807 method based on the pixels height of the items visible on screen. This 3808 property is set to true by default but should be set to false if your adapter 3809 will display items of varying heights. When this property is set to true and 3810 your adapter displays items of varying heights, the scrollbar thumb will 3811 change size as the user scrolls through the list. When set to false, the list 3812 will use only the number of items in the adapter and the number of items visible 3813 on screen to determine the scrollbar's properties. --> 3814 <attr name="smoothScrollbar" format="boolean" /> 3815 <!-- Defines the choice behavior for the view. By default, lists do not have 3816 any choice behavior. By setting the choiceMode to singleChoice, the list 3817 allows up to one item to be in a chosen state. By setting the choiceMode to 3818 multipleChoice, the list allows any number of items to be chosen. 3819 Finally, by setting the choiceMode to multipleChoiceModal the list allows 3820 any number of items to be chosen in a special selection mode. 3821 The application will supply a 3822 {@link android.widget.AbsListView.MultiChoiceModeListener} using 3823 {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the 3824 selection mode. This uses the {@link android.view.ActionMode} API. --> 3825 <attr name="choiceMode"> 3826 <!-- Normal list that does not indicate choices. --> 3827 <enum name="none" value="0" /> 3828 <!-- The list allows up to one choice. --> 3829 <enum name="singleChoice" value="1" /> 3830 <!-- The list allows multiple choices. --> 3831 <enum name="multipleChoice" value="2" /> 3832 <!-- The list allows multiple choices in a custom selection mode. --> 3833 <enum name="multipleChoiceModal" value="3" /> 3834 </attr> 3835 3836 <!-- When set to true, the list will always show the fast scroll interface. 3837 This setting implies fastScrollEnabled. --> 3838 <attr name="fastScrollAlwaysVisible" format="boolean" /> 3839 </declare-styleable> 3840 <!-- @hide --> 3841 <declare-styleable name="RecycleListView"> 3842 <!-- Bottom padding to use when no buttons are present. --> 3843 <attr name="paddingBottomNoButtons" format="dimension" /> 3844 <!-- Top padding to use when no title is present. --> 3845 <attr name="paddingTopNoTitle" format="dimension" /> 3846 </declare-styleable> 3847 <declare-styleable name="AbsSpinner"> 3848 <!-- Reference to an array resource that will populate the Spinner. For static content, 3849 this is simpler than populating the Spinner programmatically. --> 3850 <attr name="entries" /> 3851 </declare-styleable> 3852 <declare-styleable name="AnalogClock"> 3853 <attr name="dial" format="reference"/> 3854 <attr name="hand_hour" format="reference"/> 3855 <attr name="hand_minute" format="reference"/> 3856 </declare-styleable> 3857 <declare-styleable name="Button"> 3858 </declare-styleable> 3859 <declare-styleable name="Chronometer"> 3860 <!-- Format string: if specified, the Chronometer will display this 3861 string, with the first "%s" replaced by the current timer value 3862 in "MM:SS" or "H:MM:SS" form. 3863 If no format string is specified, the Chronometer will simply display 3864 "MM:SS" or "H:MM:SS". --> 3865 <attr name="format" format="string" localization="suggested" /> 3866 <!-- Specifies whether this Chronometer counts down or counts up from the base. 3867 If not specified this is false and the Chronometer counts up. --> 3868 <attr name="countDown" format="boolean" /> 3869 </declare-styleable> 3870 <declare-styleable name="CompoundButton"> 3871 <!-- Indicates the initial checked state of this button. --> 3872 <attr name="checked" format="boolean" /> 3873 <!-- Drawable used for the button graphic (for example, checkbox and radio button). --> 3874 <attr name="button" format="reference" /> 3875 <!-- Tint to apply to the button graphic. --> 3876 <attr name="buttonTint" format="color" /> 3877 <!-- Blending mode used to apply the button graphic tint. --> 3878 <attr name="buttonTintMode"> 3879 <!-- The tint is drawn on top of the drawable. 3880 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3881 <enum name="src_over" value="3" /> 3882 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3883 color channels are thrown out. [Sa * Da, Sc * Da] --> 3884 <enum name="src_in" value="5" /> 3885 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3886 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3887 <enum name="src_atop" value="9" /> 3888 <!-- Multiplies the color and alpha channels of the drawable with those of 3889 the tint. [Sa * Da, Sc * Dc] --> 3890 <enum name="multiply" value="14" /> 3891 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3892 <enum name="screen" value="15" /> 3893 <!-- Combines the tint and drawable color and alpha channels, clamping the 3894 result to valid color values. Saturate(S + D) --> 3895 <enum name="add" value="16" /> 3896 </attr> 3897 </declare-styleable> 3898 <declare-styleable name="CheckedTextView"> 3899 <!-- Indicates the initial checked state of this text. --> 3900 <attr name="checked" /> 3901 <!-- Drawable used for the check mark graphic. --> 3902 <attr name="checkMark" format="reference"/> 3903 <!-- Tint to apply to the check mark. --> 3904 <attr name="checkMarkTint" format="color" /> 3905 <!-- Blending mode used to apply the check mark tint. --> 3906 <attr name="checkMarkTintMode"> 3907 <!-- The tint is drawn on top of the drawable. 3908 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3909 <enum name="src_over" value="3" /> 3910 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3911 color channels are thrown out. [Sa * Da, Sc * Da] --> 3912 <enum name="src_in" value="5" /> 3913 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3914 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3915 <enum name="src_atop" value="9" /> 3916 <!-- Multiplies the color and alpha channels of the drawable with those of 3917 the tint. [Sa * Da, Sc * Dc] --> 3918 <enum name="multiply" value="14" /> 3919 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3920 <enum name="screen" value="15" /> 3921 <!-- Combines the tint and drawable color and alpha channels, clamping the 3922 result to valid color values. Saturate(S + D) --> 3923 <enum name="add" value="16" /> 3924 </attr> 3925 <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. --> 3926 <attr name="checkMarkGravity"> 3927 <!-- Push object to the left of its container, not changing its size. --> 3928 <flag name="left" value="0x03" /> 3929 <!-- Push object to the right of its container, not changing its size. --> 3930 <flag name="right" value="0x05" /> 3931 <!-- Push object to the beginning of its container, not changing its size. --> 3932 <flag name="start" value="0x00800003" /> 3933 <!-- Push object to the end of its container, not changing its size. --> 3934 <flag name="end" value="0x00800005" /> 3935 </attr> 3936 </declare-styleable> 3937 <declare-styleable name="EditText"> 3938 </declare-styleable> 3939 <declare-styleable name="FastScroll"> 3940 <!-- Drawable used for the scroll bar thumb. --> 3941 <attr name="thumbDrawable" format="reference" /> 3942 <!-- Minimum width of the thumb. --> 3943 <attr name="thumbMinWidth" format="dimension" /> 3944 <!-- Minimum height of the thumb. --> 3945 <attr name="thumbMinHeight" format="dimension" /> 3946 <!-- Drawable used for the scroll bar track. --> 3947 <attr name="trackDrawable" format="reference" /> 3948 <!-- Drawable used for the section header preview when right-aligned. --> 3949 <attr name="backgroundRight" format="reference" /> 3950 <!-- Drawable used for the section header preview when left-aligned. --> 3951 <attr name="backgroundLeft" format="reference" /> 3952 <!-- Position of section header preview. --> 3953 <attr name="position"> 3954 <!-- Floating at the top of the content. --> 3955 <enum name="floating" value="0" /> 3956 <!-- Pinned to the thumb, vertically centered with the middle of the thumb. --> 3957 <enum name="atThumb" value="1" /> 3958 <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. --> 3959 <enum name="aboveThumb" value="2" /> 3960 </attr> 3961 <attr name="textAppearance" /> 3962 <attr name="textColor" /> 3963 <attr name="textSize" /> 3964 <!-- Minimum width of the section header preview. --> 3965 <attr name="minWidth" /> 3966 <!-- Minimum height of the section header preview. --> 3967 <attr name="minHeight" /> 3968 <!-- Padding for the section header preview. --> 3969 <attr name="padding" /> 3970 <!-- Position of thumb in relation to the track. --> 3971 <attr name="thumbPosition"> 3972 <!-- The thumb's midpoint is anchored to the track. At its 3973 extremes, the thumb will extend half-way outside the 3974 track. --> 3975 <enum name="midpoint" value="0" /> 3976 <!-- The thumb is entirely inside the track. At its extremes, 3977 the thumb will be contained entirely within the track. --> 3978 <enum name="inside" value="1" /> 3979 </attr> 3980 </declare-styleable> 3981 <declare-styleable name="FrameLayout"> 3982 <!-- Determines whether to measure all children or just those in 3983 the VISIBLE or INVISIBLE state when measuring. Defaults to false. --> 3984 <attr name="measureAllChildren" format="boolean" /> 3985 </declare-styleable> 3986 <declare-styleable name="ExpandableListView"> 3987 <!-- Indicator shown beside the group View. This can be a stateful Drawable. --> 3988 <attr name="groupIndicator" format="reference" /> 3989 <!-- Indicator shown beside the child View. This can be a stateful Drawable. --> 3990 <attr name="childIndicator" format="reference" /> 3991 <!-- The left bound for an item's indicator. To specify a left bound specific to children, 3992 use childIndicatorLeft. --> 3993 <attr name="indicatorLeft" format="dimension" /> 3994 <!-- The right bound for an item's indicator. To specify a right bound specific to children, 3995 use childIndicatorRight. --> 3996 <attr name="indicatorRight" format="dimension" /> 3997 <!-- The left bound for a child's indicator. --> 3998 <attr name="childIndicatorLeft" format="dimension" /> 3999 <!-- The right bound for a child's indicator. --> 4000 <attr name="childIndicatorRight" format="dimension" /> 4001 <!-- Drawable or color that is used as a divider for children. (It will drawn 4002 below and above child items.) The height of this will be the same as 4003 the height of the normal list item divider. --> 4004 <attr name="childDivider" format="reference|color" /> 4005 <!-- The start bound for an item's indicator. To specify a start bound specific to children, 4006 use childIndicatorStart. --> 4007 <attr name="indicatorStart" format="dimension" /> 4008 <!-- The end bound for an item's indicator. To specify a right bound specific to children, 4009 use childIndicatorEnd. --> 4010 <attr name="indicatorEnd" format="dimension" /> 4011 <!-- The start bound for a child's indicator. --> 4012 <attr name="childIndicatorStart" format="dimension" /> 4013 <!-- The end bound for a child's indicator. --> 4014 <attr name="childIndicatorEnd" format="dimension" /> 4015 </declare-styleable> 4016 <declare-styleable name="Gallery"> 4017 <attr name="gravity" /> 4018 <!-- Sets how long a transition animation should run (in milliseconds) 4019 when layout has changed. Only relevant if animation is turned on. --> 4020 <attr name="animationDuration" format="integer" min="0" /> 4021 <attr name="spacing" format="dimension" /> 4022 <!-- Sets the alpha on the items that are not selected. --> 4023 <attr name="unselectedAlpha" format="float" /> 4024 </declare-styleable> 4025 <declare-styleable name="GridView"> 4026 <!-- Defines the default horizontal spacing between columns. --> 4027 <attr name="horizontalSpacing" format="dimension" /> 4028 <!-- Defines the default vertical spacing between rows. --> 4029 <attr name="verticalSpacing" format="dimension" /> 4030 <!-- Defines how columns should stretch to fill the available empty space, if any. --> 4031 <attr name="stretchMode"> 4032 <!-- Stretching is disabled. --> 4033 <enum name="none" value="0"/> 4034 <!-- The spacing between each column is stretched. --> 4035 <enum name="spacingWidth" value="1" /> 4036 <!-- Each column is stretched equally. --> 4037 <enum name="columnWidth" value="2" /> 4038 <!-- The spacing between each column is uniformly stretched.. --> 4039 <enum name="spacingWidthUniform" value="3" /> 4040 </attr> 4041 <!-- Specifies the fixed width for each column. --> 4042 <attr name="columnWidth" format="dimension" /> 4043 <!-- Defines how many columns to show. --> 4044 <attr name="numColumns" format="integer" min="0"> 4045 <!-- Display as many columns as possible to fill the available space. --> 4046 <enum name="auto_fit" value="-1" /> 4047 </attr> 4048 <!-- Specifies the gravity within each cell. --> 4049 <attr name="gravity" /> 4050 </declare-styleable> 4051 <declare-styleable name="ImageSwitcher"> 4052 </declare-styleable> 4053 <declare-styleable name="ImageView"> 4054 <!-- Sets a drawable as the content of this ImageView. --> 4055 <attr name="src" format="reference|color" /> 4056 <!-- Controls how the image should be resized or moved to match the size 4057 of this ImageView. See {@link android.widget.ImageView.ScaleType} --> 4058 <attr name="scaleType"> 4059 <!-- Scale using the image matrix when drawing. See 4060 {@link android.widget.ImageView#setImageMatrix(Matrix)}. --> 4061 <enum name="matrix" value="0" /> 4062 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. --> 4063 <enum name="fitXY" value="1" /> 4064 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. --> 4065 <enum name="fitStart" value="2" /> 4066 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. --> 4067 <enum name="fitCenter" value="3" /> 4068 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. --> 4069 <enum name="fitEnd" value="4" /> 4070 <!-- Center the image in the view, but perform no scaling. --> 4071 <enum name="center" value="5" /> 4072 <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions 4073 (width and height) of the image will be equal to or larger than the corresponding 4074 dimension of the view (minus padding). The image is then centered in the view. --> 4075 <enum name="centerCrop" value="6" /> 4076 <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both 4077 dimensions (width and height) of the image will be equal to or less than the 4078 corresponding dimension of the view (minus padding). The image is then centered in 4079 the view. --> 4080 <enum name="centerInside" value="7" /> 4081 </attr> 4082 <!-- Set this to true if you want the ImageView to adjust its bounds 4083 to preserve the aspect ratio of its drawable. --> 4084 <attr name="adjustViewBounds" format="boolean" /> 4085 <!-- An optional argument to supply a maximum width for this view. 4086 See {see android.widget.ImageView#setMaxWidth} for details. --> 4087 <attr name="maxWidth" format="dimension" /> 4088 <!-- An optional argument to supply a maximum height for this view. 4089 See {see android.widget.ImageView#setMaxHeight} for details. --> 4090 <attr name="maxHeight" format="dimension" /> 4091 <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode. 4092 Please note that for compatibility reasons, this is NOT consistent with the default 4093 SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by 4094 similar tint attributes on other views. --> 4095 <attr name="tint" format="color" /> 4096 <!-- If true, the image view will be baseline aligned with based on its 4097 bottom edge. --> 4098 <attr name="baselineAlignBottom" format="boolean" /> 4099 <!-- If true, the image will be cropped to fit within its padding. --> 4100 <attr name="cropToPadding" format="boolean" /> 4101 <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline} 4102 for details --> 4103 <attr name="baseline" format="dimension" /> 4104 <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent 4105 to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). --> 4106 <attr name="drawableAlpha" format="integer" /> 4107 <!-- Blending mode used to apply the image tint. --> 4108 <attr name="tintMode" /> 4109 </declare-styleable> 4110 <declare-styleable name="ToggleButton"> 4111 <!-- The text for the button when it is checked. --> 4112 <attr name="textOn" format="string" /> 4113 <!-- The text for the button when it is not checked. --> 4114 <attr name="textOff" format="string" /> 4115 <!-- The alpha to apply to the indicator when disabled. --> 4116 <attr name="disabledAlpha" /> 4117 </declare-styleable> 4118 <declare-styleable name="RelativeLayout"> 4119 <attr name="gravity" /> 4120 <!-- Indicates what view should not be affected by gravity. --> 4121 <attr name="ignoreGravity" format="reference" /> 4122 </declare-styleable> 4123 <declare-styleable name="LinearLayout"> 4124 <!-- Should the layout be a column or a row? Use "horizontal" 4125 for a row, "vertical" for a column. The default is 4126 horizontal. --> 4127 <attr name="orientation" /> 4128 <attr name="gravity" /> 4129 <!-- When set to false, prevents the layout from aligning its children's 4130 baselines. This attribute is particularly useful when the children 4131 use different values for gravity. The default value is true. --> 4132 <attr name="baselineAligned" format="boolean" /> 4133 <!-- When a linear layout is part of another layout that is baseline 4134 aligned, it can specify which of its children to baseline align to 4135 (that is, which child TextView).--> 4136 <attr name="baselineAlignedChildIndex" format="integer" min="0"/> 4137 <!-- Defines the maximum weight sum. If unspecified, the sum is computed 4138 by adding the layout_weight of all of the children. This can be 4139 used for instance to give a single child 50% of the total available 4140 space by giving it a layout_weight of 0.5 and setting the weightSum 4141 to 1.0. --> 4142 <attr name="weightSum" format="float" /> 4143 <!-- When set to true, all children with a weight will be considered having 4144 the minimum size of the largest child. If false, all children are 4145 measured normally. --> 4146 <attr name="measureWithLargestChild" format="boolean" /> 4147 <!-- Drawable to use as a vertical divider between buttons. --> 4148 <attr name="divider" /> 4149 <!-- Setting for which dividers to show. --> 4150 <attr name="showDividers"> 4151 <flag name="none" value="0" /> 4152 <flag name="beginning" value="1" /> 4153 <flag name="middle" value="2" /> 4154 <flag name="end" value="4" /> 4155 </attr> 4156 <!-- Size of padding on either end of a divider. --> 4157 <attr name="dividerPadding" format="dimension" /> 4158 </declare-styleable> 4159 <declare-styleable name="GridLayout"> 4160 <!-- The orientation property is not used during layout. It is only used to 4161 allocate row and column parameters when they are not specified by its children's 4162 layout paramters. GridLayout works like LinearLayout in this case; 4163 putting all the components either in a single row or in a single column - 4164 depending on the value of this flag. In the horizontal case, a columnCount 4165 property may be additionally supplied to force new rows to be created when a 4166 row is full. The rowCount attribute may be used similarly in the vertical case. 4167 The default is horizontal. --> 4168 <attr name="orientation" /> 4169 <!-- The maxmimum number of rows to create when automatically positioning children. --> 4170 <attr name="rowCount" format="integer" /> 4171 <!-- The maxmimum number of columns to create when automatically positioning children. --> 4172 <attr name="columnCount" format="integer" /> 4173 <!-- When set to true, tells GridLayout to use default margins when none are specified 4174 in a view's layout parameters. 4175 The default value is false. 4176 See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.--> 4177 <attr name="useDefaultMargins" format="boolean" /> 4178 <!-- When set to alignMargins, causes alignment to take place between the outer 4179 boundary of a view, as defined by its margins. When set to alignBounds, 4180 causes alignment to take place between the edges of the view. 4181 The default is alignMargins. 4182 See {@link android.widget.GridLayout#setAlignmentMode(int)}.--> 4183 <attr name="alignmentMode" /> 4184 <!-- When set to true, forces row boundaries to appear in the same order 4185 as row indices. 4186 The default is true. 4187 See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.--> 4188 <attr name="rowOrderPreserved" format="boolean" /> 4189 <!-- When set to true, forces column boundaries to appear in the same order 4190 as column indices. 4191 The default is true. 4192 See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.--> 4193 <attr name="columnOrderPreserved" format="boolean" /> 4194 </declare-styleable> 4195 <declare-styleable name="ListView"> 4196 <!-- Reference to an array resource that will populate the ListView. For static content, 4197 this is simpler than populating the ListView programmatically. --> 4198 <attr name="entries" /> 4199 <!-- Drawable or color to draw between list items. --> 4200 <attr name="divider" format="reference|color" /> 4201 <!-- Height of the divider. Will use the intrinsic height of the divider if this 4202 is not specified. --> 4203 <attr name="dividerHeight" format="dimension" /> 4204 <!-- When set to false, the ListView will not draw the divider after each header view. 4205 The default value is true. --> 4206 <attr name="headerDividersEnabled" format="boolean" /> 4207 <!-- When set to false, the ListView will not draw the divider before each footer view. 4208 The default value is true. --> 4209 <attr name="footerDividersEnabled" format="boolean" /> 4210 <!-- Drawable to draw above list content. --> 4211 <attr name="overScrollHeader" format="reference|color" /> 4212 <!-- Drawable to draw below list content. --> 4213 <attr name="overScrollFooter" format="reference|color" /> 4214 </declare-styleable> 4215 <declare-styleable name="PreferenceFrameLayout"> 4216 <!-- Padding to use at the top of the prefs content. --> 4217 <attr name="borderTop" format="dimension" /> 4218 <!-- Padding to use at the bottom of the prefs content. --> 4219 <attr name="borderBottom" format="dimension" /> 4220 <!-- Padding to use at the left of the prefs content. --> 4221 <attr name="borderLeft" format="dimension" /> 4222 <!-- Padding to use at the right of the prefs content. --> 4223 <attr name="borderRight" format="dimension" /> 4224 </declare-styleable> 4225 <declare-styleable name="PreferenceFrameLayout_Layout"> 4226 <!-- Padding to use at the top of the prefs content. --> 4227 <attr name="layout_removeBorders" format="boolean" /> 4228 </declare-styleable> 4229 <declare-styleable name="MenuView"> 4230 <!-- Default appearance of menu item text. --> 4231 <attr name="itemTextAppearance" format="reference" /> 4232 <!-- Default horizontal divider between rows of menu items. --> 4233 <attr name="horizontalDivider" format="reference" /> 4234 <!-- Default vertical divider between menu items. --> 4235 <attr name="verticalDivider" format="reference" /> 4236 <!-- Default background for the menu header. --> 4237 <attr name="headerBackground" format="color|reference" /> 4238 <!-- Default background for each menu item. --> 4239 <attr name="itemBackground" format="color|reference" /> 4240 <!-- Default animations for the menu. --> 4241 <attr name="windowAnimationStyle" /> 4242 <!-- Default disabled icon alpha for each menu item that shows an icon. --> 4243 <attr name="itemIconDisabledAlpha" format="float" /> 4244 <!-- Whether space should be reserved in layout when an icon is missing. --> 4245 <attr name="preserveIconSpacing" format="boolean" /> 4246 <!-- Drawable for the arrow icon indicating a particular item is a submenu. --> 4247 <attr name="subMenuArrow" format="reference" /> 4248 </declare-styleable> 4249 <declare-styleable name="IconMenuView"> 4250 <!-- Defines the height of each row. --> 4251 <attr name="rowHeight" format="dimension" /> 4252 <!-- Defines the maximum number of rows displayed. --> 4253 <attr name="maxRows" format="integer" /> 4254 <!-- Defines the maximum number of items per row. --> 4255 <attr name="maxItemsPerRow" format="integer" /> 4256 <!-- Defines the maximum number of items to show. --> 4257 <attr name="maxItems" format="integer" /> 4258 <!-- 'More' icon. --> 4259 <attr name="moreIcon" format="reference" /> 4260 </declare-styleable> 4261 4262 <declare-styleable name="ProgressBar"> 4263 <!-- Defines the minimum value. --> 4264 <attr name="min" format="integer" /> 4265 <!-- Defines the maximum value. --> 4266 <attr name="max" format="integer" /> 4267 <!-- Defines the default progress value, between 0 and max. --> 4268 <attr name="progress" format="integer" /> 4269 <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between 4270 the primary progress and the background. It can be ideal for media scenarios such as 4271 showing the buffering progress while the default progress shows the play progress. --> 4272 <attr name="secondaryProgress" format="integer" /> 4273 <!-- Allows to enable the indeterminate mode. In this mode the progress 4274 bar plays an infinite looping animation. --> 4275 <attr name="indeterminate" format="boolean" /> 4276 <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). --> 4277 <attr name="indeterminateOnly" format="boolean" /> 4278 <!-- Drawable used for the indeterminate mode. --> 4279 <attr name="indeterminateDrawable" format="reference" /> 4280 <!-- Drawable used for the progress mode. --> 4281 <attr name="progressDrawable" format="reference" /> 4282 <!-- Duration of the indeterminate animation. --> 4283 <attr name="indeterminateDuration" format="integer" min="1" /> 4284 <!-- Defines how the indeterminate mode should behave when the progress 4285 reaches max. --> 4286 <attr name="indeterminateBehavior"> 4287 <!-- Progress starts over from 0. --> 4288 <enum name="repeat" value="1" /> 4289 <!-- Progress keeps the current value and goes back to 0. --> 4290 <enum name="cycle" value="2" /> 4291 </attr> 4292 <attr name="minWidth" format="dimension" /> 4293 <attr name="maxWidth" /> 4294 <attr name="minHeight" format="dimension" /> 4295 <attr name="maxHeight" /> 4296 <attr name="interpolator" format="reference" /> 4297 <!-- Timeout between frames of animation in milliseconds. 4298 {@deprecated Not used by the framework}. --> 4299 <attr name="animationResolution" format="integer" /> 4300 <!-- Defines if the associated drawables need to be mirrored when in RTL mode. 4301 Default is false. --> 4302 <attr name="mirrorForRtl" format="boolean" /> 4303 <!-- Tint to apply to the progress indicator. --> 4304 <attr name="progressTint" format="color" /> 4305 <!-- Blending mode used to apply the progress indicator tint. --> 4306 <attr name="progressTintMode"> 4307 <!-- The tint is drawn on top of the drawable. 4308 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4309 <enum name="src_over" value="3" /> 4310 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4311 color channels are thrown out. [Sa * Da, Sc * Da] --> 4312 <enum name="src_in" value="5" /> 4313 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4314 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4315 <enum name="src_atop" value="9" /> 4316 <!-- Multiplies the color and alpha channels of the drawable with those of 4317 the tint. [Sa * Da, Sc * Dc] --> 4318 <enum name="multiply" value="14" /> 4319 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4320 <enum name="screen" value="15" /> 4321 <!-- Combines the tint and drawable color and alpha channels, clamping the 4322 result to valid color values. Saturate(S + D) --> 4323 <enum name="add" value="16" /> 4324 </attr> 4325 <!-- Tint to apply to the progress indicator background. --> 4326 <attr name="progressBackgroundTint" format="color" /> 4327 <!-- Blending mode used to apply the progress indicator background tint. --> 4328 <attr name="progressBackgroundTintMode"> 4329 <!-- The tint is drawn on top of the drawable. 4330 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4331 <enum name="src_over" value="3" /> 4332 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4333 color channels are thrown out. [Sa * Da, Sc * Da] --> 4334 <enum name="src_in" value="5" /> 4335 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4336 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4337 <enum name="src_atop" value="9" /> 4338 <!-- Multiplies the color and alpha channels of the drawable with those of 4339 the tint. [Sa * Da, Sc * Dc] --> 4340 <enum name="multiply" value="14" /> 4341 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4342 <enum name="screen" value="15" /> 4343 <!-- Combines the tint and drawable color and alpha channels, clamping the 4344 result to valid color values. Saturate(S + D) --> 4345 <enum name="add" value="16" /> 4346 </attr> 4347 <!-- Tint to apply to the secondary progress indicator. --> 4348 <attr name="secondaryProgressTint" format="color" /> 4349 <!-- Blending mode used to apply the secondary progress indicator tint. --> 4350 <attr name="secondaryProgressTintMode"> 4351 <!-- The tint is drawn on top of the drawable. 4352 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4353 <enum name="src_over" value="3" /> 4354 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4355 color channels are thrown out. [Sa * Da, Sc * Da] --> 4356 <enum name="src_in" value="5" /> 4357 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4358 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4359 <enum name="src_atop" value="9" /> 4360 <!-- Multiplies the color and alpha channels of the drawable with those of 4361 the tint. [Sa * Da, Sc * Dc] --> 4362 <enum name="multiply" value="14" /> 4363 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4364 <enum name="screen" value="15" /> 4365 <!-- Combines the tint and drawable color and alpha channels, clamping the 4366 result to valid color values. Saturate(S + D) --> 4367 <enum name="add" value="16" /> 4368 </attr> 4369 <!-- Tint to apply to the indeterminate progress indicator. --> 4370 <attr name="indeterminateTint" format="color" /> 4371 <!-- Blending mode used to apply the indeterminate progress indicator tint. --> 4372 <attr name="indeterminateTintMode"> 4373 <!-- The tint is drawn on top of the drawable. 4374 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4375 <enum name="src_over" value="3" /> 4376 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4377 color channels are thrown out. [Sa * Da, Sc * Da] --> 4378 <enum name="src_in" value="5" /> 4379 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4380 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4381 <enum name="src_atop" value="9" /> 4382 <!-- Multiplies the color and alpha channels of the drawable with those of 4383 the tint. [Sa * Da, Sc * Dc] --> 4384 <enum name="multiply" value="14" /> 4385 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4386 <enum name="screen" value="15" /> 4387 <!-- Combines the tint and drawable color and alpha channels, clamping the 4388 result to valid color values. Saturate(S + D) --> 4389 <enum name="add" value="16" /> 4390 </attr> 4391 <!-- Tint to apply to the background. --> 4392 <attr name="backgroundTint" /> 4393 <!-- Blending mode used to apply the background tint. --> 4394 <attr name="backgroundTintMode" /> 4395 </declare-styleable> 4396 4397 <declare-styleable name="SeekBar"> 4398 <!-- Draws the thumb on a seekbar. --> 4399 <attr name="thumb" format="reference" /> 4400 <!-- An offset for the thumb that allows it to extend out of the range of the track. --> 4401 <attr name="thumbOffset" format="dimension" /> 4402 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 4403 <attr name="splitTrack" format="boolean" /> 4404 <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha 4405 when disabled. This is required for Holo and Gingerbread, but 4406 should always be false for Material and beyond. 4407 @hide Developers shouldn't need to change this. --> 4408 <attr name="useDisabledAlpha" format="boolean" /> 4409 <!-- Tint to apply to the thumb drawable. --> 4410 <attr name="thumbTint" format="color" /> 4411 <!-- Blending mode used to apply the thumb tint. --> 4412 <attr name="thumbTintMode"> 4413 <!-- The tint is drawn on top of the drawable. 4414 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4415 <enum name="src_over" value="3" /> 4416 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4417 color channels are thrown out. [Sa * Da, Sc * Da] --> 4418 <enum name="src_in" value="5" /> 4419 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4420 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4421 <enum name="src_atop" value="9" /> 4422 <!-- Multiplies the color and alpha channels of the drawable with those of 4423 the tint. [Sa * Da, Sc * Dc] --> 4424 <enum name="multiply" value="14" /> 4425 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4426 <enum name="screen" value="15" /> 4427 <!-- Combines the tint and drawable color and alpha channels, clamping the 4428 result to valid color values. Saturate(S + D) --> 4429 <enum name="add" value="16" /> 4430 </attr> 4431 <!-- Drawable displayed at each progress position on a seekbar. --> 4432 <attr name="tickMark" format="reference" /> 4433 <!-- Tint to apply to the tick mark drawable. --> 4434 <attr name="tickMarkTint" format="color" /> 4435 <!-- Blending mode used to apply the tick mark tint. --> 4436 <attr name="tickMarkTintMode"> 4437 <!-- The tint is drawn on top of the drawable. 4438 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4439 <enum name="src_over" value="3" /> 4440 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4441 color channels are thrown out. [Sa * Da, Sc * Da] --> 4442 <enum name="src_in" value="5" /> 4443 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4444 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4445 <enum name="src_atop" value="9" /> 4446 <!-- Multiplies the color and alpha channels of the drawable with those of 4447 the tint. [Sa * Da, Sc * Dc] --> 4448 <enum name="multiply" value="14" /> 4449 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4450 <enum name="screen" value="15" /> 4451 <!-- Combines the tint and drawable color and alpha channels, clamping the 4452 result to valid color values. Saturate(S + D) --> 4453 <enum name="add" value="16" /> 4454 </attr> 4455 </declare-styleable> 4456 4457 <declare-styleable name="StackView"> 4458 <!-- Color of the res-out outline. --> 4459 <attr name="resOutColor" format="color" /> 4460 <!-- Color of the outline of click feedback. --> 4461 <attr name="clickColor" format="color" /> 4462 </declare-styleable> 4463 4464 <declare-styleable name="RatingBar"> 4465 <!-- The number of stars (or rating items) to show. --> 4466 <attr name="numStars" format="integer" /> 4467 <!-- The rating to set by default. --> 4468 <attr name="rating" format="float" /> 4469 <!-- The step size of the rating. --> 4470 <attr name="stepSize" format="float" /> 4471 <!-- Whether this rating bar is an indicator (and non-changeable by the user). --> 4472 <attr name="isIndicator" format="boolean" /> 4473 </declare-styleable> 4474 4475 <declare-styleable name="RadioGroup"> 4476 <!-- The id of the child radio button that should be checked by default 4477 within this radio group. --> 4478 <attr name="checkedButton" format="integer" /> 4479 <!-- Should the radio group be a column or a row? Use "horizontal" 4480 for a row, "vertical" for a column. The default is 4481 vertical. --> 4482 <attr name="orientation" /> 4483 </declare-styleable> 4484 <declare-styleable name="TableLayout"> 4485 <!-- The zero-based index of the columns to stretch. The column indices 4486 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4487 indices are ignored. You can stretch all columns by using the 4488 value "*" instead. Note that a column can be marked stretchable 4489 and shrinkable at the same time. --> 4490 <attr name="stretchColumns" format="string" /> 4491 <!-- The zero-based index of the columns to shrink. The column indices 4492 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4493 indices are ignored. You can shrink all columns by using the 4494 value "*" instead. Note that a column can be marked stretchable 4495 and shrinkable at the same time. --> 4496 <attr name="shrinkColumns" format="string" /> 4497 <!-- The zero-based index of the columns to collapse. The column indices 4498 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4499 indices are ignored. --> 4500 <attr name="collapseColumns" format="string" /> 4501 </declare-styleable> 4502 <declare-styleable name="TableRow"> 4503 4504 </declare-styleable> 4505 <declare-styleable name="TableRow_Cell"> 4506 <!-- The index of the column in which this child should be. --> 4507 <attr name="layout_column" format="integer" /> 4508 <!-- Defines how many columns this child should span. Must be >= 1.--> 4509 <attr name="layout_span" format="integer" /> 4510 </declare-styleable> 4511 <declare-styleable name="TabWidget"> 4512 <!-- Drawable used to draw the divider between tabs. --> 4513 <attr name="divider" /> 4514 <!-- Determines whether the strip under the tab indicators is drawn or not. --> 4515 <attr name="tabStripEnabled" format="boolean" /> 4516 <!-- Drawable used to draw the left part of the strip underneath the tabs. --> 4517 <attr name="tabStripLeft" format="reference" /> 4518 <!-- Drawable used to draw the right part of the strip underneath the tabs. --> 4519 <attr name="tabStripRight" format="reference" /> 4520 <!-- Layout used to organize each tab's content. --> 4521 <attr name="tabLayout" format="reference" /> 4522 </declare-styleable> 4523 <declare-styleable name="TextAppearance"> 4524 <!-- Text color. --> 4525 <attr name="textColor" /> 4526 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4527 <attr name="textSize" /> 4528 <!-- Style (normal, bold, italic, bold|italic) for the text. --> 4529 <attr name="textStyle" /> 4530 <!-- Weight for the font used in the TextView. --> 4531 <attr name="textFontWeight" /> 4532 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4533 <attr name="typeface" /> 4534 <!-- Font family (named by string or as a font resource reference) for the text. --> 4535 <attr name="fontFamily" /> 4536 <!-- Color of the text selection highlight. --> 4537 <attr name="textColorHighlight" /> 4538 <!-- Color of the hint text. --> 4539 <attr name="textColorHint" /> 4540 <!-- Color of the links. --> 4541 <attr name="textColorLink" /> 4542 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4543 <attr name="textAllCaps" format="boolean" /> 4544 <!-- Place a blurred shadow of text underneath the text, drawn with the 4545 specified color. The text shadow produced does not interact with 4546 properties on View that are responsible for real time shadows, 4547 {@link android.R.styleable#View_elevation elevation} and 4548 {@link android.R.styleable#View_translationZ translationZ}. --> 4549 <attr name="shadowColor" format="color" /> 4550 <!-- Horizontal offset of the text shadow. --> 4551 <attr name="shadowDx" format="float" /> 4552 <!-- Vertical offset of the text shadow. --> 4553 <attr name="shadowDy" format="float" /> 4554 <!-- Blur radius of the text shadow. --> 4555 <attr name="shadowRadius" format="float" /> 4556 <!-- Elegant text height, especially for less compacted complex script text. --> 4557 <attr name="elegantTextHeight" format="boolean" /> 4558 <!-- Whether to respect the ascent and descent of the fallback fonts that are used in 4559 displaying the text. When true, fallback fonts that end up getting used can increase 4560 the ascent and descent of the lines that they are used on. --> 4561 <attr name="fallbackLineSpacing" format="boolean"/> 4562 <!-- Text letter-spacing. --> 4563 <attr name="letterSpacing" format="float" /> 4564 <!-- Font feature settings. --> 4565 <attr name="fontFeatureSettings" format="string" /> 4566 </declare-styleable> 4567 <declare-styleable name="TextClock"> 4568 <!-- Specifies the formatting pattern used to show the time and/or date 4569 in 12-hour mode. Please refer to {@link android.text.format.DateFormat} 4570 for a complete description of accepted formatting patterns. 4571 The default pattern is a locale-appropriate equivalent of "h:mm a". --> 4572 <attr name="format12Hour" format="string"/> 4573 <!-- Specifies the formatting pattern used to show the time and/or date 4574 in 24-hour mode. Please refer to {@link android.text.format.DateFormat} 4575 for a complete description of accepted formatting patterns. 4576 The default pattern is a locale-appropriate equivalent of "H:mm". --> 4577 <attr name="format24Hour" format="string"/> 4578 <!-- Specifies the time zone to use. When this attribute is specified, the 4579 TextClock will ignore the time zone of the system. To use the user's 4580 time zone, do not specify this attribute. The default value is the 4581 user's time zone. Please refer to {@link java.util.TimeZone} for more 4582 information about time zone ids. --> 4583 <attr name="timeZone" format="string"/> 4584 </declare-styleable> 4585 <declare-styleable name="TextSwitcher"> 4586 </declare-styleable> 4587 <declare-styleable name="TextView"> 4588 <!-- Determines the minimum type that getText() will return. 4589 The default is "normal". 4590 Note that EditText and LogTextBox always return Editable, 4591 even if you specify something less powerful here. --> 4592 <attr name="bufferType"> 4593 <!-- Can return any CharSequence, possibly a 4594 Spanned one if the source text was Spanned. --> 4595 <enum name="normal" value="0" /> 4596 <!-- Can only return Spannable. --> 4597 <enum name="spannable" value="1" /> 4598 <!-- Can only return Spannable and Editable. --> 4599 <enum name="editable" value="2" /> 4600 </attr> 4601 <!-- Text to display. --> 4602 <attr name="text" format="string" localization="suggested" /> 4603 <!-- Hint text to display when the text is empty. --> 4604 <attr name="hint" format="string" /> 4605 <!-- Text color. --> 4606 <attr name="textColor" /> 4607 <!-- Color of the text selection highlight. --> 4608 <attr name="textColorHighlight" /> 4609 <!-- Color of the hint text. --> 4610 <attr name="textColorHint" /> 4611 <!-- Base text color, typeface, size, and style. --> 4612 <attr name="textAppearance" /> 4613 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4614 <attr name="textSize" /> 4615 <!-- Sets the horizontal scaling factor for the text. --> 4616 <attr name="textScaleX" format="float" /> 4617 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4618 <attr name="typeface" /> 4619 <!-- Style (normal, bold, italic, bold|italic) for the text. --> 4620 <attr name="textStyle" /> 4621 <!-- Weight for the font used in the TextView. --> 4622 <attr name="textFontWeight" /> 4623 <!-- Font family (named by string or as a font resource reference) for the text. --> 4624 <attr name="fontFamily" /> 4625 <!-- Text color for links. --> 4626 <attr name="textColorLink" /> 4627 <!-- Makes the cursor visible (the default) or invisible. --> 4628 <attr name="cursorVisible" format="boolean" /> 4629 <!-- Makes the TextView be at most this many lines tall. 4630 4631 When used on an editable text, the <code>inputType</code> attribute's value must be 4632 combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. --> 4633 <attr name="maxLines" format="integer" min="0" /> 4634 <!-- Makes the TextView be at most this many pixels tall. --> 4635 <attr name="maxHeight" /> 4636 <!-- Makes the TextView be exactly this many lines tall. --> 4637 <attr name="lines" format="integer" min="0" /> 4638 <!-- Makes the TextView be exactly this tall. 4639 You could get the same effect by specifying this number in the 4640 layout parameters. --> 4641 <attr name="height" format="dimension" /> 4642 <!-- Makes the TextView be at least this many lines tall. 4643 4644 When used on an editable text, the <code>inputType</code> attribute's value must be 4645 combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. --> 4646 <attr name="minLines" format="integer" min="0" /> 4647 <!-- Makes the TextView be at least this many pixels tall. --> 4648 <attr name="minHeight" /> 4649 <!-- Makes the TextView be at most this many ems wide. --> 4650 <attr name="maxEms" format="integer" min="0" /> 4651 <!-- Makes the TextView be at most this many pixels wide. --> 4652 <attr name="maxWidth" /> 4653 <!-- Makes the TextView be exactly this many ems wide. --> 4654 <attr name="ems" format="integer" min="0" /> 4655 <!-- Makes the TextView be exactly this wide. 4656 You could get the same effect by specifying this number in the 4657 layout parameters. --> 4658 <attr name="width" format="dimension" /> 4659 <!-- Makes the TextView be at least this many ems wide. --> 4660 <attr name="minEms" format="integer" min="0" /> 4661 <!-- Makes the TextView be at least this many pixels wide. --> 4662 <attr name="minWidth" /> 4663 <!-- Specifies how to align the text by the view's x- and/or y-axis 4664 when the text is smaller than the view. --> 4665 <attr name="gravity" /> 4666 <!-- Whether the text is allowed to be wider than the view (and 4667 therefore can be scrolled horizontally). --> 4668 <attr name="scrollHorizontally" format="boolean" /> 4669 <!-- Whether the characters of the field are displayed as 4670 password dots instead of themselves. 4671 {@deprecated Use inputType instead.} --> 4672 <attr name="password" format="boolean" /> 4673 <!-- Constrains the text to a single horizontally scrolling line 4674 instead of letting it wrap onto multiple lines, and advances 4675 focus instead of inserting a newline when you press the 4676 enter key. 4677 4678 The default value is false (multi-line wrapped text mode) for non-editable text, but if 4679 you specify any value for inputType, the default is true (single-line input field mode). 4680 4681 {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change 4682 the layout of a static text, and use the <code>textMultiLine</code> flag in the 4683 inputType attribute instead for editable text views (if both singleLine and inputType 4684 are supplied, the inputType flags will override the value of singleLine). } --> 4685 <attr name="singleLine" format="boolean" /> 4686 <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. 4687 For example, a non-enabled EditText prevents the user from editing the contained text, and 4688 a non-enabled Button prevents the user from tapping the button. 4689 The appearance of enabled and non-enabled widgets may differ, if the drawables referenced 4690 from evaluating state_enabled differ. --> 4691 <attr name="enabled" format="boolean" /> 4692 <!-- If the text is selectable, select it all when the view takes 4693 focus. --> 4694 <attr name="selectAllOnFocus" format="boolean" /> 4695 <!-- Leave enough room for ascenders and descenders instead of 4696 using the font ascent and descent strictly. (Normally true). --> 4697 <attr name="includeFontPadding" format="boolean" /> 4698 <!-- Set an input filter to constrain the text length to the 4699 specified number. --> 4700 <attr name="maxLength" format="integer" min="0" /> 4701 <!-- Place a blurred shadow of text underneath the text, drawn with the 4702 specified color. The text shadow produced does not interact with 4703 properties on View that are responsible for real time shadows, 4704 {@link android.R.styleable#View_elevation elevation} and 4705 {@link android.R.styleable#View_translationZ translationZ}. --> 4706 <attr name="shadowColor" /> 4707 <!-- Horizontal offset of the text shadow. --> 4708 <attr name="shadowDx" /> 4709 <!-- Vertical offset of the text shadow. --> 4710 <attr name="shadowDy" /> 4711 <!-- Blur radius of the text shadow. --> 4712 <attr name="shadowRadius" /> 4713 <attr name="autoLink" /> 4714 <!-- If set to false, keeps the movement method from being set 4715 to the link movement method even if autoLink causes links 4716 to be found. --> 4717 <attr name="linksClickable" format="boolean" /> 4718 <!-- If set, specifies that this TextView has a numeric input method. 4719 The default is false. 4720 {@deprecated Use inputType instead.} --> 4721 <attr name="numeric"> 4722 <!-- Input is numeric. --> 4723 <flag name="integer" value="0x01" /> 4724 <!-- Input is numeric, with sign allowed. --> 4725 <flag name="signed" value="0x03" /> 4726 <!-- Input is numeric, with decimals allowed. --> 4727 <flag name="decimal" value="0x05" /> 4728 </attr> 4729 <!-- If set, specifies that this TextView has a numeric input method 4730 and that these specific characters are the ones that it will 4731 accept. 4732 If this is set, numeric is implied to be true. 4733 The default is false. --> 4734 <attr name="digits" format="string" /> 4735 <!-- If set, specifies that this TextView has a phone number input 4736 method. The default is false. 4737 {@deprecated Use inputType instead.} --> 4738 <attr name="phoneNumber" format="boolean" /> 4739 <!-- If set, specifies that this TextView should use the specified 4740 input method (specified by fully-qualified class name). 4741 {@deprecated Use inputType instead.} --> 4742 <attr name="inputMethod" format="string" /> 4743 <!-- If set, specifies that this TextView has a textual input method 4744 and should automatically capitalize what the user types. 4745 The default is "none". 4746 {@deprecated Use inputType instead.} --> 4747 <attr name="capitalize"> 4748 <!-- Don't automatically capitalize anything. --> 4749 <enum name="none" value="0" /> 4750 <!-- Capitalize the first word of each sentence. --> 4751 <enum name="sentences" value="1" /> 4752 <!-- Capitalize the first letter of every word. --> 4753 <enum name="words" value="2" /> 4754 <!-- Capitalize every character. --> 4755 <enum name="characters" value="3" /> 4756 </attr> 4757 <!-- If set, specifies that this TextView has a textual input method 4758 and automatically corrects some common spelling errors. 4759 The default is "false". 4760 {@deprecated Use inputType instead.} --> 4761 <attr name="autoText" format="boolean" /> 4762 <!-- If set, specifies that this TextView has an input method. 4763 It will be a textual one unless it has otherwise been specified. 4764 For TextView, this is false by default. For EditText, it is 4765 true by default. 4766 {@deprecated Use inputType instead.} --> 4767 <attr name="editable" format="boolean" /> 4768 <!-- If set, the text view will include its current complete text 4769 inside of its frozen icicle in addition to meta-data such as 4770 the current cursor position. By default this is disabled; 4771 it can be useful when the contents of a text view is not stored 4772 in a persistent place such as a content provider. For 4773 {@link android.widget.EditText} it is always enabled, regardless 4774 of the value of the attribute. --> 4775 <attr name="freezesText" format="boolean" /> 4776 <!-- If set, causes words that are longer than the view is wide 4777 to be ellipsized instead of broken in the middle. 4778 You will often also want to set scrollHorizontally or singleLine 4779 as well so that the text as a whole is also constrained to 4780 a single line instead of still allowed to be broken onto 4781 multiple lines. --> 4782 <attr name="ellipsize" /> 4783 <!-- The drawable to be drawn above the text. --> 4784 <attr name="drawableTop" format="reference|color" /> 4785 <!-- The drawable to be drawn below the text. --> 4786 <attr name="drawableBottom" format="reference|color" /> 4787 <!-- The drawable to be drawn to the left of the text. --> 4788 <attr name="drawableLeft" format="reference|color" /> 4789 <!-- The drawable to be drawn to the right of the text. --> 4790 <attr name="drawableRight" format="reference|color" /> 4791 <!-- The drawable to be drawn to the start of the text. --> 4792 <attr name="drawableStart" format="reference|color" /> 4793 <!-- The drawable to be drawn to the end of the text. --> 4794 <attr name="drawableEnd" format="reference|color" /> 4795 <!-- The padding between the drawables and the text. --> 4796 <attr name="drawablePadding" format="dimension" /> 4797 <!-- Tint to apply to the compound (left, top, etc.) drawables. --> 4798 <attr name="drawableTint" format="color" /> 4799 <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. --> 4800 <attr name="drawableTintMode"> 4801 <!-- The tint is drawn on top of the drawable. 4802 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4803 <enum name="src_over" value="3" /> 4804 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4805 color channels are thrown out. [Sa * Da, Sc * Da] --> 4806 <enum name="src_in" value="5" /> 4807 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4808 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4809 <enum name="src_atop" value="9" /> 4810 <!-- Multiplies the color and alpha channels of the drawable with those of 4811 the tint. [Sa * Da, Sc * Dc] --> 4812 <enum name="multiply" value="14" /> 4813 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4814 <enum name="screen" value="15" /> 4815 <!-- Combines the tint and drawable color and alpha channels, clamping the 4816 result to valid color values. Saturate(S + D) --> 4817 <enum name="add" value="16" /> 4818 </attr> 4819 <!-- Extra spacing between lines of text. The value will not be applied for the last 4820 line of text. --> 4821 <attr name="lineSpacingExtra" format="dimension" /> 4822 <!-- Extra spacing between lines of text, as a multiplier. The value will not be applied 4823 for the last line of text.--> 4824 <attr name="lineSpacingMultiplier" format="float" /> 4825 <!-- Explicit height between lines of text. If set, this will override the values set 4826 for lineSpacingExtra and lineSpacingMultiplier. --> 4827 <attr name="lineHeight" format="dimension" /> 4828 <!-- Distance from the top of the TextView to the first text baseline. If set, this 4829 overrides the value set for paddingTop. --> 4830 <attr name="firstBaselineToTopHeight" format="dimension" /> 4831 <!-- Distance from the bottom of the TextView to the last text baseline. If set, this 4832 overrides the value set for paddingBottom. --> 4833 <attr name="lastBaselineToBottomHeight" format="dimension" /> 4834 <!-- The number of times to repeat the marquee animation. Only applied if the 4835 TextView has marquee enabled. --> 4836 <attr name="marqueeRepeatLimit" format="integer"> 4837 <!-- Indicates that marquee should repeat indefinitely. --> 4838 <enum name="marquee_forever" value="-1" /> 4839 </attr> 4840 <attr name="inputType" /> 4841 <!-- Whether undo should be allowed for editable text. Defaults to true. --> 4842 <attr name="allowUndo" format="boolean" /> 4843 <attr name="imeOptions" /> 4844 <!-- An addition content type description to supply to the input 4845 method attached to the text view, which is private to the 4846 implementation of the input method. This simply fills in 4847 the {@link android.view.inputmethod.EditorInfo#privateImeOptions 4848 EditorInfo.privateImeOptions} field when the input 4849 method is connected. --> 4850 <attr name="privateImeOptions" format="string" /> 4851 <!-- Supply a value for 4852 {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel} 4853 used when an input method is connected to the text view. --> 4854 <attr name="imeActionLabel" format="string" /> 4855 <!-- Supply a value for 4856 {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId} 4857 used when an input method is connected to the text view. --> 4858 <attr name="imeActionId" format="integer" /> 4859 <!-- Reference to an 4860 {@link android.R.styleable#InputExtras <input-extras>} 4861 XML resource containing additional data to 4862 supply to an input method, which is private to the implementation 4863 of the input method. This simply fills in 4864 the {@link android.view.inputmethod.EditorInfo#extras 4865 EditorInfo.extras} field when the input 4866 method is connected. --> 4867 <attr name="editorExtras" format="reference" /> 4868 4869 <!-- Reference to a drawable that will be used to display a text selection 4870 anchor on the left side of a selection region. --> 4871 <attr name="textSelectHandleLeft" /> 4872 <!-- Reference to a drawable that will be used to display a text selection 4873 anchor on the right side of a selection region. --> 4874 <attr name="textSelectHandleRight" /> 4875 <!-- Reference to a drawable that will be used to display a text selection 4876 anchor for positioning the cursor within text. --> 4877 <attr name="textSelectHandle" /> 4878 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 4879 TextEdit field. --> 4880 <attr name="textEditPasteWindowLayout" /> 4881 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 4882 <attr name="textEditNoPasteWindowLayout" /> 4883 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 4884 insertion cursor because it would be clipped if it were positioned on top. --> 4885 <attr name="textEditSidePasteWindowLayout" /> 4886 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 4887 <attr name="textEditSideNoPasteWindowLayout" /> 4888 4889 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 4890 <attr name="textEditSuggestionItemLayout" /> 4891 <!-- Layout of the container of the suggestion popup window. --> 4892 <attr name="textEditSuggestionContainerLayout" /> 4893 <!-- Style of the highlighted string in the suggestion popup window. --> 4894 <attr name="textEditSuggestionHighlightStyle" /> 4895 4896 4897 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 4898 <attr name="textCursorDrawable" /> 4899 4900 <!-- Indicates that the content of a non-editable text can be selected. --> 4901 <attr name="textIsSelectable" /> 4902 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4903 <attr name="textAllCaps" /> 4904 <!-- Elegant text height, especially for less compacted complex script text. --> 4905 <attr name="elegantTextHeight" /> 4906 <!-- Whether to respect the ascent and descent of the fallback fonts that are used in 4907 displaying the text. When true, fallback fonts that end up getting used can increase 4908 the ascent and descent of the lines that they are used on. --> 4909 <attr name="fallbackLineSpacing" format="boolean"/> 4910 <!-- Text letter-spacing. --> 4911 <attr name="letterSpacing" /> 4912 <!-- Font feature settings. --> 4913 <attr name="fontFeatureSettings" /> 4914 <!-- Break strategy (control over paragraph layout). --> 4915 <attr name="breakStrategy"> 4916 <!-- Line breaking uses simple strategy. --> 4917 <enum name="simple" value="0" /> 4918 <!-- Line breaking uses high-quality strategy, including hyphenation. --> 4919 <enum name="high_quality" value="1" /> 4920 <!-- Line breaking strategy balances line lengths. --> 4921 <enum name="balanced" value="2" /> 4922 </attr> 4923 <!-- Frequency of automatic hyphenation. --> 4924 <attr name="hyphenationFrequency"> 4925 <!-- No hyphenation. --> 4926 <enum name="none" value="0" /> 4927 <!-- Less frequent hyphenation, useful for informal use cases, such 4928 as chat messages. --> 4929 <enum name="normal" value="1" /> 4930 <!-- Standard amount of hyphenation, useful for running text and for 4931 screens with limited space for text. --> 4932 <enum name="full" value="2" /> 4933 </attr> 4934 <!-- Specify the type of auto-size. Note that this feature is not supported by EditText, 4935 works only for TextView. --> 4936 <attr name="autoSizeTextType" format="enum"> 4937 <!-- No auto-sizing (default). --> 4938 <enum name="none" value="0" /> 4939 <!-- Uniform horizontal and vertical text size scaling to fit within the 4940 container. --> 4941 <enum name="uniform" value="1" /> 4942 </attr> 4943 <!-- Specify the auto-size step size if <code>autoSizeTextType</code> is set to 4944 <code>uniform</code>. The default is 1px. Overwrites 4945 <code>autoSizePresetSizes</code> if set. --> 4946 <attr name="autoSizeStepGranularity" format="dimension" /> 4947 <!-- Resource array of dimensions to be used in conjunction with 4948 <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides 4949 <code>autoSizeStepGranularity</code> if set. --> 4950 <attr name="autoSizePresetSizes"/> 4951 <!-- The minimum text size constraint to be used when auto-sizing text. --> 4952 <attr name="autoSizeMinTextSize" format="dimension" /> 4953 <!-- The maximum text size constraint to be used when auto-sizing text. --> 4954 <attr name="autoSizeMaxTextSize" format="dimension" /> 4955 <!-- Mode for justification. --> 4956 <attr name="justificationMode"> 4957 <!-- No justification. --> 4958 <enum name="none" value="0" /> 4959 <!-- Justification by stretching word spacing. --> 4960 <enum name="inter_word" value = "1" /> 4961 </attr> 4962 </declare-styleable> 4963 <declare-styleable name="TextViewAppearance"> 4964 <!-- Base text color, typeface, size, and style. --> 4965 <attr name="textAppearance" /> 4966 </declare-styleable> 4967 <declare-styleable name="SelectionModeDrawables"> 4968 <attr name="actionModeSelectAllDrawable" /> 4969 <attr name="actionModeCutDrawable" /> 4970 <attr name="actionModeCopyDrawable" /> 4971 <attr name="actionModePasteDrawable" /> 4972 </declare-styleable> 4973 <declare-styleable name="SuggestionSpan"> 4974 <attr name="textUnderlineColor" /> 4975 <attr name="textUnderlineThickness" /> 4976 </declare-styleable> 4977 <!-- An <code>input-extras</code> is a container for extra data to supply to 4978 an input method. Contains 4979 one more more {@link #Extra <extra>} tags. --> 4980 <declare-styleable name="InputExtras"> 4981 </declare-styleable> 4982 <declare-styleable name="AutoCompleteTextView"> 4983 <!-- Defines the hint displayed in the drop down menu. --> 4984 <attr name="completionHint" format="string" /> 4985 <!-- Defines the hint view displayed in the drop down menu. --> 4986 <attr name="completionHintView" format="reference" /> 4987 <!-- Defines the number of characters that the user must type before 4988 completion suggestions are displayed in a drop down menu. --> 4989 <attr name="completionThreshold" format="integer" min="1" /> 4990 <!-- Selector in a drop down list. --> 4991 <attr name="dropDownSelector" format="reference|color" /> 4992 <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself 4993 is used. --> 4994 <attr name="dropDownAnchor" format="reference" /> 4995 <!-- Specifies the basic width of the dropdown. Its value may 4996 be a dimension (such as "12dip") for a constant width, 4997 fill_parent or match_parent to match the width of the 4998 screen, or wrap_content to match the width of 4999 the anchored view. --> 5000 <attr name="dropDownWidth" format="dimension"> 5001 <!-- The dropdown should fill the width of the screen. 5002 This constant is deprecated starting from API Level 8 and 5003 is replaced by {@code match_parent}. --> 5004 <enum name="fill_parent" value="-1" /> 5005 <!-- The dropdown should fit the width of the screen. 5006 Introduced in API Level 8. --> 5007 <enum name="match_parent" value="-1" /> 5008 <!-- The dropdown should fit the width of its anchor. --> 5009 <enum name="wrap_content" value="-2" /> 5010 </attr> 5011 <!-- Specifies the basic height of the dropdown. Its value may 5012 be a dimension (such as "12dip") for a constant height, 5013 fill_parent or match_parent to fill the height of the 5014 screen, or wrap_content to match the height of 5015 the content of the drop down. --> 5016 <attr name="dropDownHeight" format="dimension"> 5017 <!-- The dropdown should fit the height of the screen. 5018 This constant is deprecated starting from API Level 8 and 5019 is replaced by {@code match_parent}. --> 5020 <enum name="fill_parent" value="-1" /> 5021 <!-- The dropdown should fit the height of the screen. 5022 Introduced in API Level 8. --> 5023 <enum name="match_parent" value="-1" /> 5024 <!-- The dropdown should fit the height of the content. --> 5025 <enum name="wrap_content" value="-2" /> 5026 </attr> 5027 <attr name="inputType" /> 5028 <!-- Theme to use for the completion popup window. --> 5029 <attr name="popupTheme" /> 5030 </declare-styleable> 5031 <declare-styleable name="PopupWindow"> 5032 <!-- The background to use for the popup window. --> 5033 <attr name="popupBackground" format="reference|color" /> 5034 <!-- Window elevation to use for the popup window. --> 5035 <attr name="popupElevation" format="dimension" /> 5036 <!-- The animation style to use for the popup window. --> 5037 <attr name="popupAnimationStyle" format="reference" /> 5038 <!-- Whether the popup window should overlap its anchor view. --> 5039 <attr name="overlapAnchor" format="boolean" /> 5040 <!-- Transition used to move views into the popup window. --> 5041 <attr name="popupEnterTransition" format="reference" /> 5042 <!-- Transition used to move views out of the popup window. --> 5043 <attr name="popupExitTransition" format="reference" /> 5044 </declare-styleable> 5045 <declare-styleable name="ListPopupWindow"> 5046 <!-- Amount of pixels by which the drop down should be offset vertically. --> 5047 <attr name="dropDownVerticalOffset" format="dimension" /> 5048 <!-- Amount of pixels by which the drop down should be offset horizontally. --> 5049 <attr name="dropDownHorizontalOffset" format="dimension" /> 5050 </declare-styleable> 5051 <declare-styleable name="ViewAnimator"> 5052 <!-- Identifier for the animation to use when a view is shown. --> 5053 <attr name="inAnimation" format="reference" /> 5054 <!-- Identifier for the animation to use when a view is hidden. --> 5055 <attr name="outAnimation" format="reference" /> 5056 <!-- Defines whether to animate the current View when the ViewAnimation 5057 is first displayed. --> 5058 <attr name="animateFirstView" format="boolean" /> 5059 </declare-styleable> 5060 <declare-styleable name="ViewFlipper"> 5061 <attr name="flipInterval" format="integer" min="0" /> 5062 <!-- When true, automatically start animating. --> 5063 <attr name="autoStart" format="boolean" /> 5064 </declare-styleable> 5065 <declare-styleable name="AdapterViewAnimator"> 5066 <!-- Identifier for the animation to use when a view is shown. --> 5067 <attr name="inAnimation" /> 5068 <!-- Identifier for the animation to use when a view is hidden. --> 5069 <attr name="outAnimation" /> 5070 <!--Defines whether the animator loops to the first view once it 5071 has reached the end of the list. --> 5072 <attr name="loopViews" format="boolean" /> 5073 <!-- Defines whether to animate the current View when the ViewAnimation 5074 is first displayed. --> 5075 <attr name="animateFirstView" /> 5076 </declare-styleable> 5077 <declare-styleable name="AdapterViewFlipper"> 5078 <attr name="flipInterval" /> 5079 <!-- When true, automatically start animating. --> 5080 <attr name="autoStart" /> 5081 </declare-styleable> 5082 <declare-styleable name="ViewSwitcher"> 5083 </declare-styleable> 5084 <declare-styleable name="ScrollView"> 5085 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 5086 <attr name="fillViewport" format="boolean" /> 5087 </declare-styleable> 5088 <declare-styleable name="HorizontalScrollView"> 5089 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 5090 <attr name="fillViewport" /> 5091 </declare-styleable> 5092 <declare-styleable name="Spinner"> 5093 <!-- The prompt to display when the spinner's dialog is shown. --> 5094 <attr name="prompt" format="reference" /> 5095 <!-- Display mode for spinner options. --> 5096 <attr name="spinnerMode" format="enum"> 5097 <!-- Spinner options will be presented to the user as a dialog window. --> 5098 <enum name="dialog" value="0" /> 5099 <!-- Spinner options will be presented to the user as an inline dropdown 5100 anchored to the spinner widget itself. --> 5101 <enum name="dropdown" value="1" /> 5102 </attr> 5103 <!-- List selector to use for spinnerMode="dropdown" display. --> 5104 <attr name="dropDownSelector" /> 5105 <!-- Theme to use for the drop-down or dialog popup window. --> 5106 <attr name="popupTheme" /> 5107 <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". --> 5108 <attr name="popupBackground" /> 5109 <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". --> 5110 <attr name="popupElevation" /> 5111 <!-- Width of the dropdown in spinnerMode="dropdown". --> 5112 <attr name="dropDownWidth" /> 5113 <!-- Reference to a layout to use for displaying a prompt in the dropdown for 5114 spinnerMode="dropdown". This layout must contain a TextView with the id 5115 {@code @android:id/text1} to be populated with the prompt text. --> 5116 <attr name="popupPromptView" format="reference" /> 5117 <!-- Gravity setting for positioning the currently selected item. --> 5118 <attr name="gravity" /> 5119 <!-- Whether this spinner should mark child views as enabled/disabled when 5120 the spinner itself is enabled/disabled. --> 5121 <attr name="disableChildrenWhenDisabled" format="boolean" /> 5122 </declare-styleable> 5123 5124 <declare-styleable name="DatePicker"> 5125 <!-- The first day of week according to {@link java.util.Calendar}. --> 5126 <attr name="firstDayOfWeek" /> 5127 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 5128 <attr name="minDate" format="string" /> 5129 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 5130 <attr name="maxDate" format="string" /> 5131 5132 <!-- Whether the spinners are shown. Only valid for "spinner" mode. --> 5133 <attr name="spinnersShown" format="boolean" /> 5134 <!-- Whether the calendar view is shown. Only valid for "spinner" mode. --> 5135 <attr name="calendarViewShown" format="boolean" /> 5136 5137 <!-- @hide The layout of the date picker. --> 5138 <attr name="internalLayout" format="reference" /> 5139 <!-- @hide The layout of the legacy DatePicker. --> 5140 <attr name="legacyLayout" /> 5141 5142 <!-- The text color for the selected date header text, ex. "2014" or 5143 "Tue, Mar 18". This should be a color state list where the 5144 activated state will be used when the year picker or day picker is 5145 active.--> 5146 <attr name="headerTextColor" format="color" /> 5147 <!-- The background for the selected date header. --> 5148 <attr name="headerBackground" /> 5149 5150 <!-- The list year's text appearance in the list. 5151 {@deprecated Use yearListTextColor. }--> 5152 <attr name="yearListItemTextAppearance" format="reference" /> 5153 <!-- @hide The list year's text appearance in the list when activated. --> 5154 <attr name="yearListItemActivatedTextAppearance" format="reference" /> 5155 <!-- The text color list of the calendar. --> 5156 <attr name="calendarTextColor" format="color" /> 5157 5158 <!-- Defines the look of the widget. Prior to the L release, the only choice was 5159 spinner. As of L, with the Material theme selected, the default layout is calendar, 5160 but this attribute can be used to force spinner to be used instead. --> 5161 <attr name="datePickerMode"> 5162 <!-- Date picker with spinner controls to select the date. --> 5163 <enum name="spinner" value="1" /> 5164 <!-- Date picker with calendar to select the date. --> 5165 <enum name="calendar" value="2" /> 5166 </attr> 5167 5168 <!-- The first year (inclusive), for example "1940". 5169 {@deprecated Use minDate instead.} --> 5170 <attr name="startYear" format="integer" /> 5171 <!-- The last year (inclusive), for example "2010". 5172 {@deprecated Use maxDate instead.} --> 5173 <attr name="endYear" format="integer" /> 5174 <!-- The text appearance for the month (ex. May) in the selected date header. 5175 {@deprecated Use headerTextColor instead.} --> 5176 <attr name="headerMonthTextAppearance" format="reference" /> 5177 <!-- The text appearance for the day of month (ex. 28) in the selected date header. 5178 {@deprecated Use headerTextColor instead.} --> 5179 <attr name="headerDayOfMonthTextAppearance" format="reference" /> 5180 <!-- The text appearance for the year (ex. 2014) in the selected date header. 5181 {@deprecated Use headerTextColor instead.} --> 5182 <attr name="headerYearTextAppearance" format="reference" /> 5183 <!-- The background color for the header's day of week. 5184 {@deprecated No longer displayed.} --> 5185 <attr name="dayOfWeekBackground" format="color" /> 5186 <!-- The text color for the header's day of week. 5187 {@deprecated No longer displayed.} --> 5188 <attr name="dayOfWeekTextAppearance" format="reference" /> 5189 <!-- The list year's selected circle color in the list. 5190 {@deprecated No longer displayed.} --> 5191 <attr name="yearListSelectorColor" format="color" /> 5192 5193 <!-- @hide Whether this time picker is being displayed within a dialog, 5194 in which case it may ignore the requested time picker mode due to 5195 space considerations. --> 5196 <attr name="dialogMode" format="boolean" /> 5197 </declare-styleable> 5198 5199 <declare-styleable name="TwoLineListItem"> 5200 <attr name="mode"> 5201 <!-- Always show only the first line. --> 5202 <enum name="oneLine" value="1" /> 5203 <!-- When selected show both lines, otherwise show only the first line. 5204 This is the default mode. --> 5205 <enum name="collapsing" value="2" /> 5206 <!-- Always show both lines. --> 5207 <enum name="twoLine" value="3" /> 5208 </attr> 5209 </declare-styleable> 5210 5211 <!-- SlidingDrawer specific attributes. These attributes are used to configure 5212 a SlidingDrawer from XML. --> 5213 <declare-styleable name="SlidingDrawer"> 5214 <!-- Identifier for the child that represents the drawer's handle. --> 5215 <attr name="handle" format="reference" /> 5216 <!-- Identifier for the child that represents the drawer's content. --> 5217 <attr name="content" format="reference" /> 5218 <!-- Orientation of the SlidingDrawer. --> 5219 <attr name="orientation" /> 5220 <!-- Extra offset for the handle at the bottom of the SlidingDrawer. --> 5221 <attr name="bottomOffset" format="dimension" /> 5222 <!-- Extra offset for the handle at the top of the SlidingDrawer. --> 5223 <attr name="topOffset" format="dimension" /> 5224 <!-- Indicates whether the drawer can be opened/closed by a single tap 5225 on the handle. (If false, the user must drag or fling, or click 5226 using the trackball, to open/close the drawer.) Default is true. --> 5227 <attr name="allowSingleTap" format="boolean" /> 5228 <!-- Indicates whether the drawer should be opened/closed with an animation 5229 when the user clicks the handle. Default is true. --> 5230 <attr name="animateOnClick" format="boolean" /> 5231 </declare-styleable> 5232 5233 <!-- GestureOverlayView specific attributes. These attributes are used to configure 5234 a GestureOverlayView from XML. --> 5235 <declare-styleable name="GestureOverlayView"> 5236 <!-- Width of the stroke used to draw the gesture. --> 5237 <attr name="gestureStrokeWidth" format="float" /> 5238 <!-- Color used to draw a gesture. --> 5239 <attr name="gestureColor" format="color" /> 5240 <!-- Color used to draw the user's strokes until we are sure it's a gesture. --> 5241 <attr name="uncertainGestureColor" format="color" /> 5242 <!-- Time, in milliseconds, to wait before the gesture fades out after the user 5243 is done drawing it. --> 5244 <attr name="fadeOffset" format="integer" /> 5245 <!-- Duration, in milliseconds, of the fade out effect after the user is done 5246 drawing a gesture. --> 5247 <attr name="fadeDuration" format="integer" /> 5248 <!-- Defines the type of strokes that define a gesture. --> 5249 <attr name="gestureStrokeType"> 5250 <!-- A gesture is made of only one stroke. --> 5251 <enum name="single" value="0" /> 5252 <!-- A gesture is made of multiple strokes. --> 5253 <enum name="multiple" value="1" /> 5254 </attr> 5255 <!-- Minimum length of a stroke before it is recognized as a gesture. --> 5256 <attr name="gestureStrokeLengthThreshold" format="float" /> 5257 <!-- Squareness threshold of a stroke before it is recognized as a gesture. --> 5258 <attr name="gestureStrokeSquarenessThreshold" format="float" /> 5259 <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. --> 5260 <attr name="gestureStrokeAngleThreshold" format="float" /> 5261 <!-- Defines whether the overlay should intercept the motion events when a gesture 5262 is recognized. --> 5263 <attr name="eventsInterceptionEnabled" format="boolean" /> 5264 <!-- Defines whether the gesture will automatically fade out after being recognized. --> 5265 <attr name="fadeEnabled" format="boolean" /> 5266 <!-- Indicates whether horizontal (when the orientation is vertical) or vertical 5267 (when orientation is horizontal) strokes automatically define a gesture. --> 5268 <attr name="orientation" /> 5269 </declare-styleable> 5270 5271 <declare-styleable name="QuickContactBadge"> 5272 <attr name="quickContactWindowSize"> 5273 <enum name="modeSmall" value="1" /> 5274 <enum name="modeMedium" value="2" /> 5275 <enum name="modeLarge" value="3" /> 5276 </attr> 5277 </declare-styleable> 5278 5279 <!-- ======================================= --> 5280 <!-- Widget package parent layout attributes --> 5281 <!-- ======================================= --> 5282 <eat-comment /> 5283 5284 <declare-styleable name="AbsoluteLayout_Layout"> 5285 <attr name="layout_x" format="dimension" /> 5286 <attr name="layout_y" format="dimension" /> 5287 </declare-styleable> 5288 <declare-styleable name="LinearLayout_Layout"> 5289 <attr name="layout_width" /> 5290 <attr name="layout_height" /> 5291 <!-- Indicates how much of the extra space in the LinearLayout is 5292 allocated to the view associated with these LayoutParams. Specify 5293 0 if the view should not be stretched. Otherwise the extra pixels 5294 will be pro-rated among all views whose weight is greater than 0. --> 5295 <attr name="layout_weight" format="float" /> 5296 <!-- Gravity specifies how a component should be placed in its group of cells. 5297 The default is {@link android.view.Gravity#TOP}. 5298 See {@link android.widget.LinearLayout#setGravity(int)}. --> 5299 <attr name="layout_gravity" /> 5300 </declare-styleable> 5301 <declare-styleable name="GridLayout_Layout"> 5302 <!-- The row boundary delimiting the top of the group of cells 5303 occupied by this view. --> 5304 <attr name="layout_row" format="integer" /> 5305 <!-- The row span: the difference between the top and bottom 5306 boundaries delimiting the group of cells occupied by this view. 5307 The default is one. 5308 See {@link android.widget.GridLayout.Spec}. --> 5309 <attr name="layout_rowSpan" format="integer" min="1" /> 5310 <!-- The relative proportion of vertical space that should be allocated to this view 5311 during excess space distribution. --> 5312 <attr name="layout_rowWeight" format="float" /> 5313 <!-- The column boundary delimiting the left of the group of cells 5314 occupied by this view. --> 5315 <attr name="layout_column" /> 5316 <!-- The column span: the difference between the right and left 5317 boundaries delimiting the group of cells occupied by this view. 5318 The default is one. 5319 See {@link android.widget.GridLayout.Spec}. --> 5320 <attr name="layout_columnSpan" format="integer" min="1" /> 5321 <!-- The relative proportion of horizontal space that should be allocated to this view 5322 during excess space distribution. --> 5323 <attr name="layout_columnWeight" format="float" /> 5324 <!-- Gravity specifies how a component should be placed in its group of cells. 5325 The default is LEFT | BASELINE. 5326 See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. --> 5327 <attr name="layout_gravity" /> 5328 </declare-styleable> 5329 <declare-styleable name="FrameLayout_Layout"> 5330 <attr name="layout_gravity" /> 5331 </declare-styleable> 5332 <declare-styleable name="RelativeLayout_Layout"> 5333 <!-- Positions the right edge of this view to the left of the given anchor view ID. 5334 Accommodates right margin of this view and left margin of anchor view. --> 5335 <attr name="layout_toLeftOf" format="reference" /> 5336 <!-- Positions the left edge of this view to the right of the given anchor view ID. 5337 Accommodates left margin of this view and right margin of anchor view. --> 5338 <attr name="layout_toRightOf" format="reference" /> 5339 <!-- Positions the bottom edge of this view above the given anchor view ID. 5340 Accommodates bottom margin of this view and top margin of anchor view. --> 5341 <attr name="layout_above" format="reference" /> 5342 <!-- Positions the top edge of this view below the given anchor view ID. 5343 Accommodates top margin of this view and bottom margin of anchor view. --> 5344 <attr name="layout_below" format="reference" /> 5345 <!-- Positions the baseline of this view on the baseline of the given anchor view ID. --> 5346 <attr name="layout_alignBaseline" format="reference" /> 5347 <!-- Makes the left edge of this view match the left edge of the given anchor view ID. 5348 Accommodates left margin. --> 5349 <attr name="layout_alignLeft" format="reference" /> 5350 <!-- Makes the top edge of this view match the top edge of the given anchor view ID. 5351 Accommodates top margin. --> 5352 <attr name="layout_alignTop" format="reference" /> 5353 <!-- Makes the right edge of this view match the right edge of the given anchor view ID. 5354 Accommodates right margin. --> 5355 <attr name="layout_alignRight" format="reference" /> 5356 <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID. 5357 Accommodates bottom margin. --> 5358 <attr name="layout_alignBottom" format="reference" /> 5359 <!-- If true, makes the left edge of this view match the left edge of the parent. 5360 Accommodates left margin. --> 5361 <attr name="layout_alignParentLeft" format="boolean" /> 5362 <!-- If true, makes the top edge of this view match the top edge of the parent. 5363 Accommodates top margin. --> 5364 <attr name="layout_alignParentTop" format="boolean" /> 5365 <!-- If true, makes the right edge of this view match the right edge of the parent. 5366 Accommodates right margin. --> 5367 <attr name="layout_alignParentRight" format="boolean" /> 5368 <!-- If true, makes the bottom edge of this view match the bottom edge of the parent. 5369 Accommodates bottom margin. --> 5370 <attr name="layout_alignParentBottom" format="boolean" /> 5371 <!-- If true, centers this child horizontally and vertically within its parent. --> 5372 <attr name="layout_centerInParent" format="boolean" /> 5373 <!-- If true, centers this child horizontally within its parent. --> 5374 <attr name="layout_centerHorizontal" format="boolean" /> 5375 <!-- If true, centers this child vertically within its parent. --> 5376 <attr name="layout_centerVertical" format="boolean" /> 5377 <!-- If set to true, the parent will be used as the anchor when the anchor cannot be 5378 be found for layout_toLeftOf, layout_toRightOf, etc. --> 5379 <attr name="layout_alignWithParentIfMissing" format="boolean" /> 5380 <!-- Positions the end edge of this view to the start of the given anchor view ID. 5381 Accommodates end margin of this view and start margin of anchor view. --> 5382 <attr name="layout_toStartOf" format="reference" /> 5383 <!-- Positions the start edge of this view to the end of the given anchor view ID. 5384 Accommodates start margin of this view and end margin of anchor view. --> 5385 <attr name="layout_toEndOf" format="reference" /> 5386 <!-- Makes the start edge of this view match the start edge of the given anchor view ID. 5387 Accommodates start margin. --> 5388 <attr name="layout_alignStart" format="reference" /> 5389 <!-- Makes the end edge of this view match the end edge of the given anchor view ID. 5390 Accommodates end margin. --> 5391 <attr name="layout_alignEnd" format="reference" /> 5392 <!-- If true, makes the start edge of this view match the start edge of the parent. 5393 Accommodates start margin. --> 5394 <attr name="layout_alignParentStart" format="boolean" /> 5395 <!-- If true, makes the end edge of this view match the end edge of the parent. 5396 Accommodates end margin. --> 5397 <attr name="layout_alignParentEnd" format="boolean" /> 5398 </declare-styleable> 5399 <declare-styleable name="VerticalSlider_Layout"> 5400 <attr name="layout_scale" format="float" /> 5401 </declare-styleable> 5402 5403 <!-- @hide --> 5404 <declare-styleable name="WeightedLinearLayout"> 5405 <attr name="majorWeightMin" format="float" /> 5406 <attr name="minorWeightMin" format="float" /> 5407 <attr name="majorWeightMax" format="float" /> 5408 <attr name="minorWeightMax" format="float" /> 5409 </declare-styleable> 5410 5411 <declare-styleable name="CalendarView"> 5412 <!-- The first day of week according to {@link java.util.Calendar}. --> 5413 <attr name="firstDayOfWeek" format="integer" /> 5414 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 5415 <attr name="minDate" /> 5416 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 5417 <attr name="maxDate" /> 5418 <!-- The text appearance for the month and year in the calendar header. --> 5419 <attr name="monthTextAppearance" format="reference" /> 5420 <!-- The text appearance for the week day abbreviation in the calendar header. --> 5421 <attr name="weekDayTextAppearance" format="reference" /> 5422 <!-- The text appearance for the day numbers in the calendar grid. --> 5423 <attr name="dateTextAppearance" format="reference" /> 5424 <!-- @hide The background color used for the day selection indicator. --> 5425 <attr name="daySelectorColor" format="color" /> 5426 <!-- @hide The background color used for the day highlight indicator. --> 5427 <attr name="dayHighlightColor" format="color" /> 5428 <!-- @hide Which style of calendar delegate to use. --> 5429 <attr name="calendarViewMode"> 5430 <enum name="holo" value="0" /> 5431 <enum name="material" value="1" /> 5432 </attr> 5433 5434 <!-- @deprecated Whether do show week numbers. --> 5435 <attr name="showWeekNumber" format="boolean" /> 5436 <!-- @deprecated The number of weeks to be shown. --> 5437 <attr name="shownWeekCount" format="integer"/> 5438 <!-- @deprecated The background color for the selected week. --> 5439 <attr name="selectedWeekBackgroundColor" format="color|reference" /> 5440 <!-- @deprecated The color for the dates of the focused month. --> 5441 <attr name="focusedMonthDateColor" format="color|reference" /> 5442 <!-- @deprecated The color for the dates of an unfocused month. --> 5443 <attr name="unfocusedMonthDateColor" format="color|reference" /> 5444 <!-- @deprecated The color for the week numbers. --> 5445 <attr name="weekNumberColor" format="color|reference" /> 5446 <!-- @deprecated The color for the separator line between weeks. --> 5447 <attr name="weekSeparatorLineColor" format="color|reference" /> 5448 <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. --> 5449 <attr name="selectedDateVerticalBar" format="reference" /> 5450 </declare-styleable> 5451 5452 <declare-styleable name="NumberPicker"> 5453 <!-- @hide Color for the solid color background if such for optimized rendering. --> 5454 <attr name="solidColor" format="color|reference" /> 5455 <!-- @hide The divider for making the selection area. --> 5456 <attr name="selectionDivider" format="reference" /> 5457 <!-- @hide The height of the selection divider. --> 5458 <attr name="selectionDividerHeight" format="dimension" /> 5459 <!-- @hide The distance between the two selection dividers. --> 5460 <attr name="selectionDividersDistance" format="dimension" /> 5461 <!-- @hide The min height of the NumberPicker. --> 5462 <attr name="internalMinHeight" format="dimension" /> 5463 <!-- @hide The max height of the NumberPicker. --> 5464 <attr name="internalMaxHeight" format="dimension" /> 5465 <!-- @hide The min width of the NumberPicker. --> 5466 <attr name="internalMinWidth" format="dimension" /> 5467 <!-- @hide The max width of the NumberPicker. --> 5468 <attr name="internalMaxWidth" format="dimension" /> 5469 <!-- @hide The layout of the number picker. --> 5470 <attr name="internalLayout" /> 5471 <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. --> 5472 <attr name="virtualButtonPressedDrawable" format="reference"/> 5473 <!-- @hide If true then the selector wheel is hidden until the picker has focus. --> 5474 <attr name="hideWheelUntilFocused" format="boolean"/> 5475 </declare-styleable> 5476 5477 <declare-styleable name="TimePicker"> 5478 <!-- @hide The layout of the legacy time picker. --> 5479 <attr name="legacyLayout" format="reference" /> 5480 <!-- @hide The layout of the time picker. --> 5481 <attr name="internalLayout" /> 5482 5483 <!-- The text color for the selected time header text, ex. "12" or 5484 "PM". This should be a color state list where the activated state 5485 will be used when the minute picker or hour picker is active.--> 5486 <attr name="headerTextColor" /> 5487 <!-- The background for the header containing the currently selected time. --> 5488 <attr name="headerBackground" /> 5489 5490 <!-- The color for the hours/minutes numbers. This should be a color 5491 state list where the activated state will be used when the number 5492 is active.--> 5493 <attr name="numbersTextColor" format="color" /> 5494 <!-- The color for the inner hours numbers used in 24-hour mode. This 5495 should be a color state list where the activated state will be 5496 used when the number is active.--> 5497 <attr name="numbersInnerTextColor" format="color" /> 5498 <!-- The background color for the hours/minutes numbers. --> 5499 <attr name="numbersBackgroundColor" format="color" /> 5500 <!-- The color for the hours/minutes selector. --> 5501 <attr name="numbersSelectorColor" format="color" /> 5502 5503 <!-- Defines the look of the widget. Prior to the L release, the only choice was 5504 spinner. As of L, with the Material theme selected, the default layout is clock, 5505 but this attribute can be used to force spinner to be used instead. --> 5506 <attr name="timePickerMode"> 5507 <!-- Time picker with spinner controls to select the time. --> 5508 <enum name="spinner" value="1" /> 5509 <!-- Time picker with clock face to select the time. --> 5510 <enum name="clock" value="2" /> 5511 </attr> 5512 5513 <!-- The text appearance for the AM/PM header. 5514 @deprecated Use headerTextColor instead. --> 5515 <attr name="headerAmPmTextAppearance" format="reference" /> 5516 <!-- The text appearance for the time header. 5517 @deprecated Use headerTextColor instead. --> 5518 <attr name="headerTimeTextAppearance" format="reference" /> 5519 <!-- The color for the AM/PM selectors. 5520 {@deprecated Use headerTextColor instead.}--> 5521 <attr name="amPmTextColor" format="color" /> 5522 <!-- The background color state list for the AM/PM selectors. 5523 {@deprecated Use headerBackground instead.}--> 5524 <attr name="amPmBackgroundColor" format="color" /> 5525 5526 <!-- @hide Whether this time picker is being displayed within a dialog, 5527 in which case it may ignore the requested time picker mode due to 5528 space considerations. --> 5529 <attr name="dialogMode" /> 5530 </declare-styleable> 5531 5532 <!-- ========================= --> 5533 <!-- Drawable class attributes --> 5534 <!-- ========================= --> 5535 <eat-comment /> 5536 5537 <!-- Base attributes that are available to all Drawable objects. --> 5538 <declare-styleable name="Drawable"> 5539 <!-- Provides initial visibility state of the drawable; the default 5540 value is false. See 5541 {@link android.graphics.drawable.Drawable#setVisible}. --> 5542 <attr name="visible" format="boolean" /> 5543 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5544 RTL (right-to-left). See 5545 {@link android.graphics.drawable.Drawable#setAutoMirrored}. --> 5546 <attr name="autoMirrored" format="boolean" /> 5547 </declare-styleable> 5548 5549 <!-- Drawable class used to wrap other drawables. --> 5550 <declare-styleable name="DrawableWrapper"> 5551 <!-- The wrapped drawable. --> 5552 <attr name="drawable" /> 5553 </declare-styleable> 5554 5555 <!-- Drawable used to render several states. Each state is represented by 5556 a child drawable. --> 5557 <declare-styleable name="StateListDrawable"> 5558 <!-- Indicates whether the drawable should be initially visible. --> 5559 <attr name="visible" /> 5560 <!-- If true, allows the drawable's padding to change based on the 5561 current state that is selected. If false, the padding will 5562 stay the same (based on the maximum padding of all the states). 5563 Enabling this feature requires that the owner of the drawable 5564 deal with performing layout when the state changes, which is 5565 often not supported. --> 5566 <attr name="variablePadding" format="boolean" /> 5567 <!-- If true, the drawable's reported internal size will remain 5568 constant as the state changes; the size is the maximum of all 5569 of the states. If false, the size will vary based on the 5570 current state. --> 5571 <attr name="constantSize" format="boolean" /> 5572 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5573 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5574 an RGB 565 screen). --> 5575 <attr name="dither" format="boolean" /> 5576 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5577 <attr name="enterFadeDuration" format="integer" /> 5578 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5579 <attr name="exitFadeDuration" format="integer" /> 5580 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5581 RTL (right-to-left). --> 5582 <attr name="autoMirrored"/> 5583 </declare-styleable> 5584 5585 <!-- Drawable used to render several states with animated transitions. Each state 5586 is represented by a child drawable with an optional keyframe ID. --> 5587 <declare-styleable name="AnimatedStateListDrawable"> 5588 <!-- Indicates whether the drawable should be initially visible. --> 5589 <attr name="visible" /> 5590 <!-- If true, allows the drawable's padding to change based on the 5591 current state that is selected. If false, the padding will 5592 stay the same (based on the maximum padding of all the states). 5593 Enabling this feature requires that the owner of the drawable 5594 deal with performing layout when the state changes, which is 5595 often not supported. --> 5596 <attr name="variablePadding" /> 5597 <!-- If true, the drawable's reported internal size will remain 5598 constant as the state changes; the size is the maximum of all 5599 of the states. If false, the size will vary based on the 5600 current state. --> 5601 <attr name="constantSize" /> 5602 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5603 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5604 an RGB 565 screen). --> 5605 <attr name="dither" /> 5606 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5607 <attr name="enterFadeDuration" /> 5608 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5609 <attr name="exitFadeDuration" /> 5610 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5611 RTL (right-to-left). --> 5612 <attr name="autoMirrored"/> 5613 </declare-styleable> 5614 5615 <!-- Represents a single state inside a StateListDrawable. --> 5616 <declare-styleable name="StateListDrawableItem"> 5617 <!-- Reference to a drawable resource to use for the state. If not 5618 given, the drawable must be defined by the first child tag. --> 5619 <attr name="drawable" /> 5620 </declare-styleable> 5621 5622 <!-- Transition used to animate between states with keyframe IDs. --> 5623 <declare-styleable name="AnimatedStateListDrawableItem"> 5624 <!-- Reference to a drawable resource to use for the frame. If not 5625 given, the drawable must be defined by the first child tag. --> 5626 <attr name="drawable" /> 5627 <!-- Keyframe identifier for use in specifying transitions. --> 5628 <attr name="id" /> 5629 </declare-styleable> 5630 5631 <!-- Transition used to animate between states with keyframe IDs. --> 5632 <declare-styleable name="AnimatedStateListDrawableTransition"> 5633 <!-- Keyframe identifier for the starting state. --> 5634 <attr name="fromId" format="reference" /> 5635 <!-- Keyframe identifier for the ending state. --> 5636 <attr name="toId" format="reference" /> 5637 <!-- Reference to a animation drawable resource to use for the frame. If not 5638 given, the animation drawable must be defined by the first child tag. --> 5639 <attr name="drawable" /> 5640 <!-- Whether this transition is reversible. --> 5641 <attr name="reversible" format="boolean" /> 5642 </declare-styleable> 5643 5644 <!-- Drawable used to render several animated frames. --> 5645 <declare-styleable name="AnimationDrawable"> 5646 <attr name="visible" /> 5647 <attr name="variablePadding" /> 5648 <!-- If true, the animation will only run a single time and then 5649 stop. If false (the default), it will continually run, 5650 restarting at the first frame after the last has finished. --> 5651 <attr name="oneshot" format="boolean" /> 5652 </declare-styleable> 5653 5654 <!-- Represents a single frame inside an AnimationDrawable. --> 5655 <declare-styleable name="AnimationDrawableItem"> 5656 <!-- Amount of time (in milliseconds) to display this frame. --> 5657 <attr name="duration" format="integer" /> 5658 <!-- Reference to a drawable resource to use for the frame. If not 5659 given, the drawable must be defined by the first child tag. --> 5660 <attr name="drawable" format="reference" /> 5661 </declare-styleable> 5662 5663 <!-- Attributes that can be assigned to a StateListAnimator item. --> 5664 <declare-styleable name="StateListAnimatorItem"> 5665 <attr name="animation"/> 5666 </declare-styleable> 5667 5668 <!-- Attributes that can be assigned to a ColorStateList item. --> 5669 <declare-styleable name="ColorStateListItem"> 5670 <!-- Base color for this state. --> 5671 <attr name="color" /> 5672 <!-- Alpha multiplier applied to the base color. --> 5673 <attr name="alpha" /> 5674 </declare-styleable> 5675 5676 <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery 5677 saver mode. It should contain one animatable drawable and one static drawable. 5678 @hide --> 5679 <declare-styleable name="AnimationScaleListDrawable"> 5680 </declare-styleable> 5681 5682 <!-- Attributes that can be assigned to a AnimationScaleListDrawable item. 5683 @hide --> 5684 <declare-styleable name="AnimationScaleListDrawableItem"> 5685 <!-- Reference to a drawable resource to use for the state. If not 5686 given, the drawable must be defined by the first child tag. --> 5687 <attr name="drawable" /> 5688 </declare-styleable> 5689 5690 5691 <!-- Drawable used to render a geometric shape, with a gradient or a solid color. --> 5692 <declare-styleable name="GradientDrawable"> 5693 <!-- Indicates whether the drawable should intially be visible. --> 5694 <attr name="visible" /> 5695 <!-- Enables or disables dithering. --> 5696 <attr name="dither" /> 5697 <!-- Indicates what shape to fill with a gradient. --> 5698 <attr name="shape"> 5699 <!-- Rectangle shape, with optional rounder corners. --> 5700 <enum name="rectangle" value="0" /> 5701 <!-- Oval shape. --> 5702 <enum name="oval" value="1" /> 5703 <!-- Line shape. --> 5704 <enum name="line" value="2" /> 5705 <!-- Ring shape. --> 5706 <enum name="ring" value="3" /> 5707 </attr> 5708 <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance, 5709 if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. 5710 This value is ignored if innerRadius is defined. Default value is 9. --> 5711 <attr name="innerRadiusRatio" format="float" /> 5712 <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance, 5713 if thicknessRatio=3, then the thickness equals the ring's width divided by 3. 5714 This value is ignored if innerRadius is defined. Default value is 3. --> 5715 <attr name="thicknessRatio" format="float" /> 5716 <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. --> 5717 <attr name="innerRadius" format="dimension" /> 5718 <!-- Thickness of the ring. When defined, thicknessRatio is ignored. --> 5719 <attr name="thickness" format="dimension" /> 5720 <!-- Whether the drawable level value (see 5721 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape. 5722 Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to 5723 360. For all other types, there is no effect. The default value is true. --> 5724 <attr name="useLevel" /> 5725 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5726 no tint is applied. May be a color state list. --> 5727 <attr name="tint" /> 5728 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5729 default value is src_in, which treats the drawable as an alpha mask. --> 5730 <attr name="tintMode" /> 5731 <!-- Left optical inset. 5732 @hide Until optical insets are fully supported. --> 5733 <attr name="opticalInsetLeft" /> 5734 <!-- Top optical inset. 5735 @hide Until optical insets are fully supported. --> 5736 <attr name="opticalInsetTop" /> 5737 <!-- Right optical inset. 5738 @hide Until optical insets are fully supported. --> 5739 <attr name="opticalInsetRight" /> 5740 <!-- Bottom optical inset. 5741 @hide Until optical insets are fully supported. --> 5742 <attr name="opticalInsetBottom" /> 5743 </declare-styleable> 5744 5745 <!-- Used to specify the size of the shape for GradientDrawable. --> 5746 <declare-styleable name="GradientDrawableSize"> 5747 <!-- Width of the gradient shape. --> 5748 <attr name="width" /> 5749 <!-- Height of the gradient shape. --> 5750 <attr name="height" /> 5751 </declare-styleable> 5752 5753 <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. --> 5754 <declare-styleable name="GradientDrawableGradient"> 5755 <!-- Start color of the gradient. --> 5756 <attr name="startColor" format="color" /> 5757 <!-- Optional center color. For linear gradients, use centerX or centerY to place the center 5758 color. --> 5759 <attr name="centerColor" format="color" /> 5760 <!-- End color of the gradient. --> 5761 <attr name="endColor" format="color" /> 5762 <!-- Whether the drawable level value (see 5763 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient. 5764 Scaling behavior varies based on gradient type. For "linear", adjusts the ending 5765 position along the gradient's axis of orientation. For "radial", adjusts the outer 5766 radius. For "sweep", adjusts the ending angle. The default value is false. --> 5767 <attr name="useLevel" format="boolean" /> 5768 <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the 5769 range [0, 315]. --> 5770 <attr name="angle" format="float" /> 5771 <!-- Type of gradient. The default type is linear. --> 5772 <attr name="type"> 5773 <!-- Linear gradient extending across the center point. --> 5774 <enum name="linear" value="0" /> 5775 <!-- Radial gradient extending from the center point outward. --> 5776 <enum name="radial" value="1" /> 5777 <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. --> 5778 <enum name="sweep" value="2" /> 5779 </attr> 5780 <!-- X-position of the center point of the gradient within the shape as a fraction of the 5781 width. The default value is 0.5. --> 5782 <attr name="centerX" format="float|fraction" /> 5783 <!-- Y-position of the center point of the gradient within the shape as a fraction of the 5784 height. The default value is 0.5. --> 5785 <attr name="centerY" format="float|fraction" /> 5786 <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension 5787 or a fractional value relative to the shape's minimum dimension. --> 5788 <attr name="gradientRadius" format="float|fraction|dimension" /> 5789 </declare-styleable> 5790 5791 <!-- Used to fill the shape of GradientDrawable with a solid color. --> 5792 <declare-styleable name="GradientDrawableSolid"> 5793 <!-- Solid color for the gradient shape. --> 5794 <attr name="color" format="color" /> 5795 </declare-styleable> 5796 5797 <!-- Used to describe the optional stroke of a GradientDrawable. --> 5798 <declare-styleable name="GradientDrawableStroke"> 5799 <!-- Width of the gradient shape's stroke. --> 5800 <attr name="width" /> 5801 <!-- Color of the gradient shape's stroke. --> 5802 <attr name="color" /> 5803 <!-- Length of a dash in the stroke. --> 5804 <attr name="dashWidth" format="dimension" /> 5805 <!-- Gap between dashes in the stroke. --> 5806 <attr name="dashGap" format="dimension" /> 5807 </declare-styleable> 5808 5809 <!-- Describes the corners for the rectangle shape of a GradientDrawable. 5810 This can be used to render rounded corners. --> 5811 <declare-styleable name="DrawableCorners"> 5812 <!-- Defines the radius of the four corners. --> 5813 <attr name="radius" format="dimension" /> 5814 <!-- Radius of the top left corner. --> 5815 <attr name="topLeftRadius" format="dimension" /> 5816 <!-- Radius of the top right corner. --> 5817 <attr name="topRightRadius" format="dimension" /> 5818 <!-- Radius of the bottom left corner. --> 5819 <attr name="bottomLeftRadius" format="dimension" /> 5820 <!-- Radius of the bottom right corner. --> 5821 <attr name="bottomRightRadius" format="dimension" /> 5822 </declare-styleable> 5823 5824 <!-- Used to specify the optional padding of a GradientDrawable. --> 5825 <declare-styleable name="GradientDrawablePadding"> 5826 <!-- Amount of left padding inside the gradient shape. --> 5827 <attr name="left" format="dimension" /> 5828 <!-- Amount of top padding inside the gradient shape. --> 5829 <attr name="top" format="dimension" /> 5830 <!-- Amount of right padding inside the gradient shape. --> 5831 <attr name="right" format="dimension" /> 5832 <!-- Amount of bottom padding inside the gradient shape. --> 5833 <attr name="bottom" format="dimension" /> 5834 </declare-styleable> 5835 5836 <!-- Drawable used to render several drawables stacked on top of each other. 5837 Each child drawable can be controlled individually. --> 5838 <declare-styleable name="LayerDrawable"> 5839 <!-- Indicates the opacity of the layer. This can be useful to allow the 5840 system to enable drawing optimizations. The default value is 5841 translucent. --> 5842 <attr name="opacity"> 5843 <!-- Indicates that the layer is opaque and contains no transparent 5844 nor translucent pixels. --> 5845 <enum name="opaque" value="-1" /> 5846 <!-- The layer is completely transparent (no pixel will be drawn). --> 5847 <enum name="transparent" value="-2" /> 5848 <!-- The layer has translucent pixels. --> 5849 <enum name="translucent" value="-3" /> 5850 </attr> 5851 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5852 RTL (right-to-left). --> 5853 <attr name="autoMirrored" /> 5854 <!-- Indicates how layer padding should affect the bounds of subsequent layers. 5855 The default padding mode value is nest. --> 5856 <attr name="paddingMode"> 5857 <!-- Nest each layer inside the padding of the previous layer. --> 5858 <enum name="nest" value="0" /> 5859 <!-- Stack each layer directly atop the previous layer. --> 5860 <enum name="stack" value="1" /> 5861 </attr> 5862 <!-- Explicit top padding. Overrides child padding. --> 5863 <attr name="paddingTop" /> 5864 <!-- Explicit bottom padding. Overrides child padding. --> 5865 <attr name="paddingBottom" /> 5866 <!-- Explicit left padding. Overrides child padding. --> 5867 <attr name="paddingLeft" /> 5868 <!-- Explicit right padding. Overrides child padding. --> 5869 <attr name="paddingRight" /> 5870 <!-- Explicit start padding. Overrides child padding. Takes precedence 5871 over absolute padding (for example, left when layout direction is LTR). --> 5872 <attr name="paddingStart" /> 5873 <!-- Explicit end padding. Overrides child padding. Takes precedence 5874 over absolute padding (for example, right when layout direction is LTR). --> 5875 <attr name="paddingEnd" /> 5876 </declare-styleable> 5877 5878 <!-- Describes an item (or child) of a LayerDrawable. --> 5879 <declare-styleable name="LayerDrawableItem"> 5880 <!-- Left inset to apply to the layer. --> 5881 <attr name="left" /> 5882 <!-- Top inset to apply to the layer. --> 5883 <attr name="top" /> 5884 <!-- Right inset to apply to the layer. --> 5885 <attr name="right" /> 5886 <!-- Bottom inset to apply to the layer. --> 5887 <attr name="bottom" /> 5888 <!-- Start inset to apply to the layer. Overrides {@code left} or 5889 {@code right} depending on layout direction. --> 5890 <attr name="start" format="dimension" /> 5891 <!-- End inset to apply to the layer. Overrides {@code left} or 5892 {@code right} depending on layout direction. --> 5893 <attr name="end" format="dimension" /> 5894 <!-- Width of the layer. Defaults to the layer's intrinsic width. --> 5895 <attr name="width" /> 5896 <!-- Height of the layer. Defaults to the layer's intrinsic height. --> 5897 <attr name="height" /> 5898 <!-- Gravity used to align the layer within its container. If no value 5899 is specified, the default behavior depends on whether an explicit 5900 width or height has been set, If no dimension is set, gravity in 5901 that direction defaults to {@code fill_horizontal} or 5902 {@code fill_vertical}; otherwise, it defaults to {@code left} or 5903 {@code top}. --> 5904 <attr name="gravity" /> 5905 <!-- Drawable used to render the layer. --> 5906 <attr name="drawable" /> 5907 <!-- Identifier of the layer. This can be used to retrieve the layer 5908 from a drawable container. --> 5909 <attr name="id" /> 5910 </declare-styleable> 5911 5912 <declare-styleable name="LevelListDrawableItem"> 5913 <!-- The minimum level allowed for this item. --> 5914 <attr name="minLevel" format="integer" /> 5915 <!-- The maximum level allowed for this item. --> 5916 <attr name="maxLevel" format="integer" /> 5917 <attr name="drawable" /> 5918 </declare-styleable> 5919 5920 <!-- Drawable used to rotate another drawable. --> 5921 <declare-styleable name="RotateDrawable"> 5922 <attr name="visible" /> 5923 <attr name="fromDegrees" format="float" /> 5924 <attr name="toDegrees" format="float" /> 5925 <attr name="pivotX" format="float|fraction" /> 5926 <attr name="pivotY" format="float|fraction" /> 5927 <attr name="drawable" /> 5928 </declare-styleable> 5929 5930 <declare-styleable name="AnimatedRotateDrawable"> 5931 <attr name="visible" /> 5932 <attr name="frameDuration" format="integer" /> 5933 <attr name="framesCount" format="integer" /> 5934 <attr name="pivotX" /> 5935 <attr name="pivotY" /> 5936 <attr name="drawable" /> 5937 </declare-styleable> 5938 5939 <!-- Drawable used to render the Material progress indicator. --> 5940 <declare-styleable name="MaterialProgressDrawable"> 5941 <attr name="visible" /> 5942 <attr name="thickness" /> 5943 <attr name="innerRadius" /> 5944 <attr name="width" /> 5945 <attr name="height" /> 5946 <attr name="color" /> 5947 </declare-styleable> 5948 5949 <!-- Drawable used to wrap and inset another drawable. --> 5950 <declare-styleable name="InsetDrawable"> 5951 <attr name="visible" /> 5952 <attr name="drawable" /> 5953 <attr name="inset" format="fraction|dimension"/> 5954 <attr name="insetLeft" format="fraction|dimension" /> 5955 <attr name="insetRight" format="fraction|dimension" /> 5956 <attr name="insetTop" format="fraction|dimension" /> 5957 <attr name="insetBottom" format="fraction|dimension" /> 5958 </declare-styleable> 5959 5960 <!-- Drawable used to draw animated images (gif) --> 5961 <declare-styleable name="AnimatedImageDrawable"> 5962 <!-- Identifier of the image file. This attribute is mandatory. 5963 It must be an image file with multiple frames, e.g. gif or webp --> 5964 <attr name="src" /> 5965 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5966 RTL (right-to-left). --> 5967 <attr name="autoMirrored" /> 5968 <!-- Replace the loop count in the encoded data. A repeat count of 0 means that 5969 the animation will play once, regardless of the number of times specified 5970 in the encoded data. Setting this to infinite (-1) will result in the 5971 animation repeating as long as it is displayed (once start() is called). --> 5972 <attr name="repeatCount"/> 5973 <!-- When true, automatically start animating. The default is false, meaning 5974 that the animation will not start until start() is called. --> 5975 <attr name="autoStart" /> 5976 </declare-styleable> 5977 5978 <!-- Drawable used to draw bitmaps. --> 5979 <declare-styleable name="BitmapDrawable"> 5980 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5981 <attr name="src" /> 5982 <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the 5983 edges of a bitmap when rotated. Default value is false. --> 5984 <attr name="antialias" format="boolean" /> 5985 <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is 5986 shrunk or stretched to smooth its apperance. Default value is true. --> 5987 <attr name="filter" format="boolean" /> 5988 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5989 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5990 an RGB 565 screen). Default value is true. --> 5991 <attr name="dither" /> 5992 <!-- Defines the gravity for the bitmap. The gravity indicates where to position 5993 the drawable in its container if the bitmap is smaller than the container. --> 5994 <attr name="gravity" /> 5995 <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. 5996 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5997 <attr name="tileMode"> 5998 <!-- Do not tile the bitmap. This is the default value. --> 5999 <enum name="disabled" value="-1" /> 6000 <!-- Replicates the edge color. --> 6001 <enum name="clamp" value="0" /> 6002 <!-- Repeats the bitmap in both direction. --> 6003 <enum name="repeat" value="1" /> 6004 <!-- Repeats the shader's image horizontally and vertically, alternating 6005 mirror images so that adjacent images always seam. --> 6006 <enum name="mirror" value="2" /> 6007 </attr> 6008 <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated. 6009 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 6010 <attr name="tileModeX"> 6011 <!-- Do not tile the bitmap. This is the default value. --> 6012 <enum name="disabled" value="-1" /> 6013 <!-- Replicates the edge color. --> 6014 <enum name="clamp" value="0" /> 6015 <!-- Repeats the bitmap horizontally. --> 6016 <enum name="repeat" value="1" /> 6017 <!-- Repeats the shader's image horizontally, alternating 6018 mirror images so that adjacent images always seam. --> 6019 <enum name="mirror" value="2" /> 6020 </attr> 6021 <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated. 6022 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 6023 <attr name="tileModeY"> 6024 <!-- Do not tile the bitmap. This is the default value. --> 6025 <enum name="disabled" value="-1" /> 6026 <!-- Replicates the edge color. --> 6027 <enum name="clamp" value="0" /> 6028 <!-- Repeats the bitmap vertically. --> 6029 <enum name="repeat" value="1" /> 6030 <!-- Repeats the shader's image vertically, alternating 6031 mirror images so that adjacent images always seam. --> 6032 <enum name="mirror" value="2" /> 6033 </attr> 6034 <!-- Enables or disables the mipmap hint. See 6035 {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information. 6036 Default value is false. --> 6037 <attr name="mipMap" format="boolean" /> 6038 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 6039 RTL (right-to-left). --> 6040 <attr name="autoMirrored" /> 6041 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 6042 no tint is applied. May be a color state list. --> 6043 <attr name="tint" /> 6044 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 6045 default value is src_in, which treats the drawable as an alpha mask. --> 6046 <attr name="tintMode"> 6047 <!-- The tint is drawn on top of the drawable. 6048 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 6049 <enum name="src_over" value="3" /> 6050 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 6051 color channels are thrown out. [Sa * Da, Sc * Da] --> 6052 <enum name="src_in" value="5" /> 6053 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 6054 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 6055 <enum name="src_atop" value="9" /> 6056 <!-- Multiplies the color and alpha channels of the drawable with those of 6057 the tint. [Sa * Da, Sc * Dc] --> 6058 <enum name="multiply" value="14" /> 6059 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 6060 <enum name="screen" value="15" /> 6061 <!-- Combines the tint and drawable color and alpha channels, clamping the 6062 result to valid color values. Saturate(S + D) --> 6063 <enum name="add" value="16" /> 6064 </attr> 6065 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 6066 <attr name="alpha" /> 6067 </declare-styleable> 6068 6069 <!-- Drawable used to draw 9-patches. --> 6070 <declare-styleable name="NinePatchDrawable"> 6071 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 6072 <attr name="src" /> 6073 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 6074 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 6075 an RGB 565 screen). --> 6076 <attr name="dither" /> 6077 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 6078 RTL (right-to-left). --> 6079 <attr name="autoMirrored" /> 6080 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 6081 no tint is applied. May be a color state list. --> 6082 <attr name="tint" /> 6083 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 6084 default value is src_in, which treats the drawable as an alpha mask. --> 6085 <attr name="tintMode" /> 6086 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 6087 <attr name="alpha" /> 6088 </declare-styleable> 6089 6090 <!-- Drawable used to draw a single color. --> 6091 <declare-styleable name="ColorDrawable"> 6092 <!-- The color to use. --> 6093 <attr name="color" /> 6094 </declare-styleable> 6095 6096 <!-- Drawable used to draw adaptive icons with foreground and background layers. --> 6097 <declare-styleable name="AdaptiveIconDrawableLayer"> 6098 <!-- The drawable to use for the layer. --> 6099 <attr name="drawable" /> 6100 </declare-styleable> 6101 6102 <!-- Drawable used to show animated touch feedback. --> 6103 <declare-styleable name="RippleDrawable"> 6104 <!-- The color to use for ripple effects. This attribute is required. --> 6105 <attr name="color" /> 6106 <!-- The radius of the ripple when fully expanded. By default, the 6107 radius is computed based on the size of the ripple's container. --> 6108 <attr name="radius" /> 6109 </declare-styleable> 6110 6111 <declare-styleable name="ScaleDrawable"> 6112 <!-- Scale width, expressed as a percentage of the drawable's bound. The value's 6113 format is XX%. For instance: 100%, 12.5%, etc.--> 6114 <attr name="scaleWidth" format="string" /> 6115 <!-- Scale height, expressed as a percentage of the drawable's bound. The value's 6116 format is XX%. For instance: 100%, 12.5%, etc.--> 6117 <attr name="scaleHeight" format="string" /> 6118 <!-- Specifies where the drawable is positioned after scaling. The default value is 6119 left. --> 6120 <attr name="scaleGravity"> 6121 <!-- Push object to the top of its container, not changing its size. --> 6122 <flag name="top" value="0x30" /> 6123 <!-- Push object to the bottom of its container, not changing its size. --> 6124 <flag name="bottom" value="0x50" /> 6125 <!-- Push object to the left of its container, not changing its size. --> 6126 <flag name="left" value="0x03" /> 6127 <!-- Push object to the right of its container, not changing its size. --> 6128 <flag name="right" value="0x05" /> 6129 <!-- Place object in the vertical center of its container, not changing its size. --> 6130 <flag name="center_vertical" value="0x10" /> 6131 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 6132 <flag name="fill_vertical" value="0x70" /> 6133 <!-- Place object in the horizontal center of its container, not changing its size. --> 6134 <flag name="center_horizontal" value="0x01" /> 6135 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 6136 <flag name="fill_horizontal" value="0x07" /> 6137 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 6138 <flag name="center" value="0x11" /> 6139 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 6140 <flag name="fill" value="0x77" /> 6141 <!-- Additional option that can be set to have the top and/or bottom edges of 6142 the child clipped to its container's bounds. 6143 The clip will be based on the vertical gravity: a top gravity will clip the bottom 6144 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 6145 <flag name="clip_vertical" value="0x80" /> 6146 <!-- Additional option that can be set to have the left and/or right edges of 6147 the child clipped to its container's bounds. 6148 The clip will be based on the horizontal gravity: a left gravity will clip the right 6149 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 6150 <flag name="clip_horizontal" value="0x08" /> 6151 <!-- Push object to the beginning of its container, not changing its size. --> 6152 <flag name="start" value="0x00800003" /> 6153 <!-- Push object to the end of its container, not changing its size. --> 6154 <flag name="end" value="0x00800005" /> 6155 </attr> 6156 <!-- Specifies the initial drawable level in the range 0 to 10000. --> 6157 <attr name="level" format="integer" /> 6158 <!-- Reference to a drawable resource to draw with the specified scale. --> 6159 <attr name="drawable" /> 6160 <!-- Use the drawable's intrinsic width and height as minimum size values. 6161 Useful if the target drawable is a 9-patch or otherwise should not be scaled 6162 down beyond a minimum size. --> 6163 <attr name="useIntrinsicSizeAsMinimum" format="boolean" /> 6164 </declare-styleable> 6165 6166 <declare-styleable name="ClipDrawable"> 6167 <!-- The orientation for the clip. --> 6168 <attr name="clipOrientation"> 6169 <!-- Clip the drawable horizontally. --> 6170 <flag name="horizontal" value="1" /> 6171 <!-- Clip the drawable vertically. --> 6172 <flag name="vertical" value="2" /> 6173 </attr> 6174 <!-- Specifies where to clip within the drawable. The default value is 6175 left. --> 6176 <attr name="gravity" /> 6177 <!-- Reference to a drawable resource to draw with the specified scale. --> 6178 <attr name="drawable" /> 6179 </declare-styleable> 6180 6181 <!-- Defines the padding of a ShapeDrawable. --> 6182 <declare-styleable name="ShapeDrawablePadding"> 6183 <!-- Left padding. --> 6184 <attr name="left" /> 6185 <!-- Top padding. --> 6186 <attr name="top" /> 6187 <!-- Right padding. --> 6188 <attr name="right" /> 6189 <!-- Bottom padding. --> 6190 <attr name="bottom" /> 6191 </declare-styleable> 6192 6193 <!-- Drawable used to draw shapes. --> 6194 <declare-styleable name="ShapeDrawable"> 6195 <!-- Defines the color of the shape. --> 6196 <attr name="color" /> 6197 <!-- Defines the width of the shape. --> 6198 <attr name="width" /> 6199 <!-- Defines the height of the shape. --> 6200 <attr name="height" /> 6201 <!-- Enables or disables dithering. --> 6202 <attr name="dither" /> 6203 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 6204 no tint is applied. May be a color state list. --> 6205 <attr name="tint" /> 6206 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 6207 default value is src_in, which treats the drawable as an alpha mask. --> 6208 <attr name="tintMode" /> 6209 </declare-styleable> 6210 6211 <!-- ========================== --> 6212 <!-- VectorDrawable class --> 6213 <!-- ========================== --> 6214 <eat-comment /> 6215 6216 <!-- Drawable used to draw vector paths. --> 6217 <declare-styleable name="VectorDrawable"> 6218 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 6219 no tint is applied. May be a color state list. --> 6220 <attr name="tint" /> 6221 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 6222 default value is src_in, which treats the drawable as an alpha mask. --> 6223 <attr name="tintMode" /> 6224 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 6225 RTL (right-to-left). --> 6226 <attr name="autoMirrored" /> 6227 <!-- The intrinsic width of the Vector Drawable. --> 6228 <attr name="width" /> 6229 <!-- The intrinsic height of the Vector Drawable. --> 6230 <attr name="height" /> 6231 <!-- The width of the canvas the drawing is on. --> 6232 <attr name="viewportWidth" format="float"/> 6233 <!-- The height of the canvas the drawing is on. --> 6234 <attr name="viewportHeight" format="float"/> 6235 <!-- The name of this vector drawable. --> 6236 <attr name="name" /> 6237 <!-- The opacity of the whole vector drawable, as a value between 0 6238 (completely transparent) and 1 (completely opaque). --> 6239 <attr name="alpha" /> 6240 <!-- Left optical inset. 6241 @hide Until optical insets are fully supported. --> 6242 <attr name="opticalInsetLeft" format="dimension" /> 6243 <!-- Top optical inset. 6244 @hide Until optical insets are fully supported. --> 6245 <attr name="opticalInsetTop" format="dimension" /> 6246 <!-- Right optical inset. 6247 @hide Until optical insets are fully supported. --> 6248 <attr name="opticalInsetRight" format="dimension" /> 6249 <!-- Bottom optical inset. 6250 @hide Until optical insets are fully supported. --> 6251 <attr name="opticalInsetBottom" format="dimension" /> 6252 </declare-styleable> 6253 6254 <!-- Defines the group used in VectorDrawables. --> 6255 <declare-styleable name="VectorDrawableGroup"> 6256 <!-- The name of this group. --> 6257 <attr name="name" /> 6258 <!-- The amount to rotate the group. --> 6259 <attr name="rotation" /> 6260 <!-- The X coordinate of the center of rotation of a group. --> 6261 <attr name="pivotX" /> 6262 <!-- The Y coordinate of the center of rotation of a group. --> 6263 <attr name="pivotY" /> 6264 <!-- The amount to translate the group on X coordinate. --> 6265 <attr name="translateX" format="float"/> 6266 <!-- The amount to translate the group on Y coordinate. --> 6267 <attr name="translateY" format="float"/> 6268 <!-- The amount to scale the group on X coordinate. --> 6269 <attr name="scaleX" /> 6270 <!-- The amount to scale the group on X coordinate. --> 6271 <attr name="scaleY" /> 6272 </declare-styleable> 6273 6274 <!-- Defines the path used in VectorDrawables. --> 6275 <declare-styleable name="VectorDrawablePath"> 6276 <!-- The name of this path. --> 6277 <attr name="name" /> 6278 <!-- The width a path stroke. --> 6279 <attr name="strokeWidth" format="float" /> 6280 <!-- The color to stroke the path if not defined implies no stroke. --> 6281 <attr name="strokeColor" format="color" /> 6282 <!-- The opacity of a path stroke, as a value between 0 (completely transparent) 6283 and 1 (completely opaque). --> 6284 <attr name="strokeAlpha" format="float" /> 6285 <!-- The color to fill the path if not defined implies no fill. --> 6286 <attr name="fillColor" format="color" /> 6287 <!-- The alpha of the path fill, as a value between 0 (completely transparent) 6288 and 1 (completely opaque). --> 6289 <attr name="fillAlpha" format="float" /> 6290 <!-- The specification of the operations that define the path. --> 6291 <attr name="pathData" format="string" /> 6292 <!-- The fraction of the path to trim from the start from 0 to 1. --> 6293 <attr name="trimPathStart" format="float" /> 6294 <!-- The fraction of the path to trim from the end from 0 to 1 . --> 6295 <attr name="trimPathEnd" format="float" /> 6296 <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1. --> 6297 <attr name="trimPathOffset" format="float" /> 6298 <!-- sets the linecap for a stroked path. --> 6299 <attr name="strokeLineCap" format="enum"> 6300 <enum name="butt" value="0"/> 6301 <enum name="round" value="1"/> 6302 <enum name="square" value="2"/> 6303 </attr> 6304 <!-- sets the lineJoin for a stroked path. --> 6305 <attr name="strokeLineJoin" format="enum"> 6306 <enum name="miter" value="0"/> 6307 <enum name="round" value="1"/> 6308 <enum name="bevel" value="2"/> 6309 </attr> 6310 <!-- sets the Miter limit for a stroked path. --> 6311 <attr name="strokeMiterLimit" format="float"/> 6312 <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties. 6313 For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty. --> 6314 <attr name="fillType" format="enum"> 6315 <enum name="nonZero" value="0"/> 6316 <enum name="evenOdd" value="1"/> 6317 </attr> 6318 </declare-styleable> 6319 6320 <!-- Defines the clip path used in VectorDrawables. --> 6321 <declare-styleable name="VectorDrawableClipPath"> 6322 <!-- The Name of this path. --> 6323 <attr name="name" /> 6324 <!-- The specification of the operations that define the path. --> 6325 <attr name="pathData"/> 6326 </declare-styleable> 6327 6328 <!-- ========================== --> 6329 <!-- AnimatedVectorDrawable class --> 6330 <!-- ========================== --> 6331 <eat-comment /> 6332 6333 <!-- Define the AnimatedVectorDrawable. --> 6334 <declare-styleable name="AnimatedVectorDrawable"> 6335 <!-- The static vector drawable. --> 6336 <attr name="drawable" /> 6337 </declare-styleable> 6338 6339 <!-- Defines the target used in the AnimatedVectorDrawable. --> 6340 <declare-styleable name="AnimatedVectorDrawableTarget"> 6341 <!-- The name of the target path, group or vector drawable. --> 6342 <attr name="name" /> 6343 <!-- The animation for the target path, group or vector drawable. --> 6344 <attr name="animation" /> 6345 </declare-styleable> 6346 6347 <!-- ========================== --> 6348 <!-- Animation class attributes --> 6349 <!-- ========================== --> 6350 <eat-comment /> 6351 6352 <declare-styleable name="Animation"> 6353 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6354 <attr name="interpolator" /> 6355 <!-- When set to true, the value of fillBefore is taken into account. --> 6356 <attr name="fillEnabled" format="boolean" /> 6357 <!-- When set to true or when fillEnabled is not set to true, the animation transformation 6358 is applied before the animation has started. The default value is true. --> 6359 <attr name="fillBefore" format="boolean" /> 6360 <!-- When set to true, the animation transformation is applied after the animation is 6361 over. The default value is false. If fillEnabled is not set to true and the 6362 animation is not set on a View, fillAfter is assumed to be true.--> 6363 <attr name="fillAfter" format="boolean" /> 6364 <!-- Amount of time (in milliseconds) for the animation to run. --> 6365 <attr name="duration" /> 6366 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6367 <attr name="startOffset" format="integer" /> 6368 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6369 <attr name="repeatCount" format="integer"> 6370 <enum name="infinite" value="-1" /> 6371 </attr> 6372 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6373 greater than 0 or infinite. The default value is restart. --> 6374 <attr name="repeatMode"> 6375 <!-- The animation starts again from the beginning. --> 6376 <enum name="restart" value="1" /> 6377 <!-- The animation plays backward. --> 6378 <enum name="reverse" value="2" /> 6379 </attr> 6380 <!-- Allows for an adjustment of the Z ordering of the content being 6381 animated for the duration of the animation. The default value is normal. --> 6382 <attr name="zAdjustment"> 6383 <!-- The content being animated be kept in its current Z order. --> 6384 <enum name="normal" value="0" /> 6385 <!-- The content being animated is forced on top of all other 6386 content for the duration of the animation. --> 6387 <enum name="top" value="1" /> 6388 <!-- The content being animated is forced under all other 6389 content for the duration of the animation. --> 6390 <enum name="bottom" value="-1" /> 6391 </attr> 6392 <!-- Special background behind animation. Only for use with window 6393 animations. Can only be a color, and only black. If 0, the 6394 default, there is no background. --> 6395 <attr name="background" /> 6396 <!-- Special option for window animations: if this window is on top 6397 of a wallpaper, don't animate the wallpaper with it. --> 6398 <attr name="detachWallpaper" format="boolean" /> 6399 <!-- Special option for window animations: show the wallpaper behind when running this 6400 animation. --> 6401 <attr name="showWallpaper" format="boolean" /> 6402 </declare-styleable> 6403 6404 <declare-styleable name="AnimationSet"> 6405 <attr name="shareInterpolator" format="boolean" /> 6406 <attr name="fillBefore" /> 6407 <attr name="fillAfter" /> 6408 <attr name="duration" /> 6409 <attr name="startOffset" /> 6410 <attr name="repeatMode" /> 6411 </declare-styleable> 6412 6413 <declare-styleable name="RotateAnimation"> 6414 <attr name="fromDegrees" /> 6415 <attr name="toDegrees" /> 6416 <attr name="pivotX" /> 6417 <attr name="pivotY" /> 6418 </declare-styleable> 6419 6420 <declare-styleable name="ScaleAnimation"> 6421 <attr name="fromXScale" format="float|fraction|dimension" /> 6422 <attr name="toXScale" format="float|fraction|dimension" /> 6423 <attr name="fromYScale" format="float|fraction|dimension" /> 6424 <attr name="toYScale" format="float|fraction|dimension" /> 6425 <attr name="pivotX" /> 6426 <attr name="pivotY" /> 6427 </declare-styleable> 6428 6429 <declare-styleable name="TranslateAnimation"> 6430 <attr name="fromXDelta" format="float|fraction" /> 6431 <attr name="toXDelta" format="float|fraction" /> 6432 <attr name="fromYDelta" format="float|fraction" /> 6433 <attr name="toYDelta" format="float|fraction" /> 6434 </declare-styleable> 6435 6436 <declare-styleable name="AlphaAnimation"> 6437 <attr name="fromAlpha" format="float" /> 6438 <attr name="toAlpha" format="float" /> 6439 </declare-styleable> 6440 6441 <declare-styleable name="ClipRectAnimation"> 6442 <attr name="fromLeft" format="fraction" /> 6443 <attr name="fromTop" format="fraction" /> 6444 <attr name="fromRight" format="fraction" /> 6445 <attr name="fromBottom" format="fraction" /> 6446 <attr name="toLeft" format="fraction" /> 6447 <attr name="toTop" format="fraction" /> 6448 <attr name="toRight" format="fraction" /> 6449 <attr name="toBottom" format="fraction" /> 6450 </declare-styleable> 6451 6452 <declare-styleable name="LayoutAnimation"> 6453 <!-- Fraction of the animation duration used to delay the beginning of 6454 the animation of each child. --> 6455 <attr name="delay" format="float|fraction" /> 6456 <!-- Animation to use on each child. --> 6457 <attr name="animation" format="reference" /> 6458 <!-- The order in which the animations will be started. --> 6459 <attr name="animationOrder"> 6460 <!-- Animations are started in the natural order. --> 6461 <enum name="normal" value="0" /> 6462 <!-- Animations are started in the reverse order. --> 6463 <enum name="reverse" value="1" /> 6464 <!-- Animations are started randomly. --> 6465 <enum name="random" value="2" /> 6466 </attr> 6467 <!-- Interpolator used to interpolate the delay between the start of 6468 each animation. --> 6469 <attr name="interpolator" /> 6470 </declare-styleable> 6471 6472 <declare-styleable name="GridLayoutAnimation"> 6473 <!-- Fraction of the animation duration used to delay the beginning of 6474 the animation of each column. --> 6475 <attr name="columnDelay" format="float|fraction" /> 6476 <!-- Fraction of the animation duration used to delay the beginning of 6477 the animation of each row. --> 6478 <attr name="rowDelay" format="float|fraction" /> 6479 <!-- Direction of the animation in the grid. --> 6480 <attr name="direction"> 6481 <!-- Animates columns from left to right. --> 6482 <flag name="left_to_right" value="0x0" /> 6483 <!-- Animates columns from right to left. --> 6484 <flag name="right_to_left" value="0x1" /> 6485 <!-- Animates rows from top to bottom. --> 6486 <flag name="top_to_bottom" value="0x0" /> 6487 <!-- Animates rows from bottom to top. --> 6488 <flag name="bottom_to_top" value="0x2" /> 6489 </attr> 6490 <!-- Priority of the rows and columns. When the priority is none, 6491 both rows and columns have the same priority. When the priority is 6492 column, the animations will be applied on the columns first. The same 6493 goes for rows. --> 6494 <attr name="directionPriority"> 6495 <!-- Rows and columns are animated at the same time. --> 6496 <enum name="none" value="0" /> 6497 <!-- Columns are animated first. --> 6498 <enum name="column" value="1" /> 6499 <!-- Rows are animated first. --> 6500 <enum name="row" value="2" /> 6501 </attr> 6502 </declare-styleable> 6503 6504 <declare-styleable name="AccelerateInterpolator"> 6505 <!-- This is the amount of deceleration to add when easing in. --> 6506 <attr name="factor" format="float" /> 6507 </declare-styleable> 6508 6509 <declare-styleable name="DecelerateInterpolator"> 6510 <!-- This is the amount of acceleration to add when easing out. --> 6511 <attr name="factor" /> 6512 </declare-styleable> 6513 6514 <declare-styleable name="CycleInterpolator"> 6515 <attr name="cycles" format="float" /> 6516 </declare-styleable> 6517 6518 <declare-styleable name="AnticipateInterpolator"> 6519 <!-- This is the amount of tension. --> 6520 <attr name="tension" format="float" /> 6521 </declare-styleable> 6522 6523 <declare-styleable name="OvershootInterpolator"> 6524 <!-- This is the amount of tension. --> 6525 <attr name="tension" /> 6526 </declare-styleable> 6527 6528 <declare-styleable name="AnticipateOvershootInterpolator"> 6529 <!-- This is the amount of tension. --> 6530 <attr name="tension" /> 6531 <!-- This is the amount by which to multiply the tension. --> 6532 <attr name="extraTension" format="float" /> 6533 </declare-styleable> 6534 6535 <declare-styleable name="PathInterpolator"> 6536 <!-- The x coordinate of the first control point of the cubic Bezier. --> 6537 <attr name="controlX1" format="float" /> 6538 <!-- The y coordinate of the first control point of the cubic Bezier. --> 6539 <attr name="controlY1" format="float" /> 6540 <!-- The x coordinate of the second control point of the cubic Bezier. --> 6541 <attr name="controlX2" format="float" /> 6542 <!-- The y coordinate of the second control point of the cubic Bezier. --> 6543 <attr name="controlY2" format="float" /> 6544 <!-- The control points defined as a path. 6545 When pathData is defined, then both of the control points of the 6546 cubic Bezier will be ignored. --> 6547 <attr name="pathData"/> 6548 </declare-styleable> 6549 6550 <!-- ========================== --> 6551 <!-- Transition attributes --> 6552 <!-- ========================== --> 6553 <eat-comment /> 6554 6555 <!-- Use specific transition subclass names as the root tag of the XML resource that 6556 describes a {@link android.transition.Transition Transition}, 6557 such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. --> 6558 <declare-styleable name="Transition"> 6559 <!-- Amount of time (in milliseconds) that the transition should run. --> 6560 <attr name="duration" /> 6561 <!-- Delay in milliseconds before the transition starts. --> 6562 <attr name="startDelay" format="integer" /> 6563 <!-- Interpolator to be used in the animations spawned by this transition. --> 6564 <attr name="interpolator" /> 6565 <!-- The match order to use for the transition. This is a comma-separated 6566 list of values, containing one or more of the following: 6567 id, itemId, name, instance. These correspond to 6568 {@link android.transition.Transition#MATCH_ID}, 6569 {@link android.transition.Transition#MATCH_ITEM_ID}, 6570 {@link android.transition.Transition#MATCH_NAME}, and 6571 {@link android.transition.Transition#MATCH_INSTANCE}, respectively. 6572 This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. --> 6573 <attr name="matchOrder" format="string" /> 6574 </declare-styleable> 6575 6576 <!-- @hide For internal use only. Use only as directed. --> 6577 <declare-styleable name="EpicenterTranslateClipReveal"> 6578 <attr name="interpolatorX" format="reference" /> 6579 <attr name="interpolatorY" format="reference" /> 6580 <attr name="interpolatorZ" format="reference" /> 6581 </declare-styleable> 6582 6583 <!-- Use <code>fade</code>as the root tag of the XML resource that 6584 describes a {@link android.transition.Fade Fade} transition. 6585 The attributes of the {@link android.R.styleable#Transition Transition} 6586 resource are available in addition to the specific attributes of Fade 6587 described here. --> 6588 <declare-styleable name="Fade"> 6589 <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only 6590 with the Fade transition. --> 6591 <attr name="fadingMode"> 6592 <!-- Fade will only fade appearing items in. --> 6593 <enum name="fade_in" value="1" /> 6594 <!-- Fade will only fade disappearing items out. --> 6595 <enum name="fade_out" value="2" /> 6596 <!-- Fade will fade appearing items in and disappearing items out. --> 6597 <enum name="fade_in_out" value="3" /> 6598 </attr> 6599 </declare-styleable> 6600 6601 <!-- Use <code>slide</code>as the root tag of the XML resource that 6602 describes a {@link android.transition.Slide Slide} transition. 6603 The attributes of the {@link android.R.styleable#Transition Transition} 6604 resource are available in addition to the specific attributes of Slide 6605 described here. --> 6606 <declare-styleable name="Slide"> 6607 <attr name="slideEdge"> 6608 <!-- Slide to and from the left edge of the Scene. --> 6609 <enum name="left" value="0x03" /> 6610 <!-- Slide to and from the top edge of the Scene. --> 6611 <enum name="top" value="0x30" /> 6612 <!-- Slide to and from the right edge of the Scene. --> 6613 <enum name="right" value="0x05" /> 6614 <!-- Slide to and from the bottom edge of the Scene. --> 6615 <enum name="bottom" value="0x50" /> 6616 <!-- Slide to and from the x-axis position at the start of the Scene root. --> 6617 <enum name="start" value="0x00800003"/> 6618 <!-- Slide to and from the x-axis position at the end of the Scene root. --> 6619 <enum name="end" value="0x00800005"/> 6620 </attr> 6621 </declare-styleable> 6622 6623 <!-- Use with {@link android.transition.Visibility} transitions, such as 6624 <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which 6625 views are supported. --> 6626 <declare-styleable name="VisibilityTransition"> 6627 <!-- Changes whether the transition supports appearing and/or disappearing Views. 6628 Corresponds to {@link android.transition.Visibility#setMode(int)}. --> 6629 <attr name="transitionVisibilityMode"> 6630 <!-- Only appearing Views will be supported. --> 6631 <flag name="mode_in" value="1" /> 6632 <!-- Only disappearing Views will be supported. --> 6633 <flag name="mode_out" value="2" /> 6634 </attr> 6635 </declare-styleable> 6636 <!-- Use <code>target</code> as the root tag of the XML resource that 6637 describes a {@link android.transition.Transition#addTarget(int) 6638 targetId} of a transition. There can be one or more targets inside 6639 a <code>targets</code> tag, which is itself inside an appropriate 6640 {@link android.R.styleable#Transition Transition} tag. 6641 --> 6642 <declare-styleable name="TransitionTarget"> 6643 <!-- The id of a target on which this transition will animate changes. --> 6644 <attr name="targetId" format="reference" /> 6645 <!-- The id of a target to exclude from this transition. --> 6646 <attr name="excludeId" format="reference" /> 6647 <!-- The fully-qualified name of the Class to include in this transition. --> 6648 <attr name="targetClass" /> 6649 <!-- The fully-qualified name of the Class to exclude from this transition. --> 6650 <attr name="excludeClass" format="string" /> 6651 <!-- The transitionName of the target on which this transition will animation changes. --> 6652 <attr name="targetName" format="string" /> 6653 <!-- The transitionName of the target to exclude from this transition. --> 6654 <attr name="excludeName" format="string" /> 6655 </declare-styleable> 6656 6657 <!-- Use <code>set</code> as the root tag of the XML resource that 6658 describes a {@link android.transition.TransitionSet 6659 TransitionSet} transition. --> 6660 <declare-styleable name="TransitionSet"> 6661 <attr name="transitionOrdering"> 6662 <!-- child transitions should be played together. --> 6663 <enum name="together" value="0" /> 6664 <!-- child transitions should be played sequentially, in the same order 6665 as the xml. --> 6666 <enum name="sequential" value="1" /> 6667 </attr> 6668 </declare-styleable> 6669 6670 <!-- Use <code>changeTransform</code> as the root tag of the XML resource that 6671 describes a {@link android.transition.ChangeTransform} transition. --> 6672 <declare-styleable name="ChangeTransform"> 6673 <!-- A parent change should use an overlay or affect the transform of the 6674 transitionining View. Default is true. Corresponds to 6675 {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. --> 6676 <attr name="reparentWithOverlay" format="boolean"/> 6677 6678 <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to 6679 {@link android.transition.ChangeTransform#setReparent(boolean)}. --> 6680 <attr name="reparent" format="boolean"/> 6681 </declare-styleable> 6682 6683 <!-- Use <code>changeBounds</code>as the root tag of the XML resource that 6684 describes a {@link android.transition.ChangeBounds} transition. 6685 The attributes of the {@link android.R.styleable#Transition Transition} 6686 resource are available in addition to the specific attributes of ChangeBounds 6687 described here. --> 6688 <declare-styleable name="ChangeBounds"> 6689 <!-- Resize the view by adjusting the clipBounds rather than changing the 6690 dimensions of the view itself. The default value is false. --> 6691 <attr name="resizeClip" format="boolean"/> 6692 </declare-styleable> 6693 6694 <!-- Use <code>transitionManager</code> as the root tag of the XML resource that 6695 describes a {@link android.transition.TransitionManager 6696 TransitionManager}. --> 6697 <declare-styleable name="TransitionManager"> 6698 <!-- The id of a transition to be used in a particular scene change. --> 6699 <attr name="transition" format="reference" /> 6700 <!-- The originating scene in this scene change. --> 6701 <attr name="fromScene" format="reference" /> 6702 <!-- The destination scene in this scene change. --> 6703 <attr name="toScene" format="reference" /> 6704 </declare-styleable> 6705 6706 <!-- Use <code>arcMotion</code> as the root tag of the XML resource that 6707 describes a {@link android.transition.ArcMotion}. This must be used 6708 within a transition with which the PathMotion should be associated. --> 6709 <declare-styleable name="ArcMotion"> 6710 <!-- The minimum arc angle in degrees between the start and end points when 6711 they are close to horizontal. --> 6712 <attr name="minimumHorizontalAngle" format="float" /> 6713 <!-- The minimum arc angle in degrees between the start and end points when 6714 they are close to vertical. --> 6715 <attr name="minimumVerticalAngle" format="float" /> 6716 <!-- The maximum arc angle in degrees between the start and end points. --> 6717 <attr name="maximumAngle" format="float" /> 6718 </declare-styleable> 6719 6720 <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that 6721 describes a {@link android.transition.PatternPathMotion}. This must be used 6722 within a transition with which the PathMotion should be associated. --> 6723 <declare-styleable name="PatternPathMotion"> 6724 <!-- The path string describing the pattern to use for the PathPathMotion. --> 6725 <attr name="patternPathData" format="string" /> 6726 </declare-styleable> 6727 6728 <!-- ========================== --> 6729 <!-- ValueAnimator class attributes --> 6730 <!-- ========================== --> 6731 <eat-comment /> 6732 6733 <declare-styleable name="Animator"> 6734 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6735 <attr name="interpolator" /> 6736 <!-- Amount of time (in millise