attrs.xml revision 90c27c332a7ac17cd190915a12529f66b03ec6cd
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 the edge effect on scrolling containers. --> 1118 <attr name="colorEdgeEffect" format="color" /> 1119 1120 <!-- =================== --> 1121 <!-- Lighting properties --> 1122 <!-- =================== --> 1123 <eat-comment /> 1124 1125 <!-- @hide The default Y position of the light used to project view shadows. --> 1126 <attr name="lightY" format="dimension" /> 1127 1128 <!-- @hide The default Z position of the light used to project view shadows. --> 1129 <attr name="lightZ" format="dimension" /> 1130 1131 <!-- @hide The default radius of the light used to project view shadows. --> 1132 <attr name="lightRadius" format="dimension" /> 1133 1134 <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. --> 1135 <attr name="ambientShadowAlpha" format="float" /> 1136 1137 <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. --> 1138 <attr name="spotShadowAlpha" format="float" /> 1139 </declare-styleable> 1140 1141 <!-- **************************************************************** --> 1142 <!-- Other non-theme attributes. --> 1143 <!-- **************************************************************** --> 1144 <eat-comment /> 1145 1146 <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). 1147 Supported values include the following:<p/> 1148 <ul> 1149 <li><b>px</b> Pixels</li> 1150 <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li> 1151 <li><b>pt</b> Points</li> 1152 <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li> 1153 </ul> 1154 --> 1155 <attr name="textSize" format="dimension" /> 1156 1157 <!-- Default font family. --> 1158 <attr name="fontFamily" format="string" /> 1159 1160 <!-- Default text typeface. --> 1161 <attr name="typeface"> 1162 <enum name="normal" value="0" /> 1163 <enum name="sans" value="1" /> 1164 <enum name="serif" value="2" /> 1165 <enum name="monospace" value="3" /> 1166 </attr> 1167 1168 <!-- Default text typeface style. --> 1169 <attr name="textStyle"> 1170 <flag name="normal" value="0" /> 1171 <flag name="bold" value="1" /> 1172 <flag name="italic" value="2" /> 1173 </attr> 1174 1175 <!-- Color of text (usually same as colorForeground). --> 1176 <attr name="textColor" format="reference|color" /> 1177 1178 <!-- Color of highlighted text. --> 1179 <attr name="textColorHighlight" format="reference|color" /> 1180 1181 <!-- Color of hint text (displayed when the field is empty). --> 1182 <attr name="textColorHint" format="reference|color" /> 1183 1184 <!-- Color of link text (URLs). --> 1185 <attr name="textColorLink" format="reference|color" /> 1186 1187 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 1188 <attr name="textCursorDrawable" format="reference" /> 1189 1190 <!-- Indicates that the content of a non-editable TextView can be selected. 1191 Default value is false. EditText content is always selectable. --> 1192 <attr name="textIsSelectable" format="boolean" /> 1193 1194 <!-- Where to ellipsize text. --> 1195 <attr name="ellipsize"> 1196 <enum name="none" value="0" /> 1197 <enum name="start" value="1" /> 1198 <enum name="middle" value="2" /> 1199 <enum name="end" value="3" /> 1200 <enum name="marquee" value="4" /> 1201 </attr> 1202 1203 <!-- The type of data being placed in a text field, used to help an 1204 input method decide how to let the user enter text. The constants 1205 here correspond to those defined by 1206 {@link android.text.InputType}. Generally you can select 1207 a single value, though some can be combined together as 1208 indicated. Setting this attribute to anything besides 1209 <var>none</var> also implies that the text is editable. --> 1210 <attr name="inputType"> 1211 <!-- There is no content type. The text is not editable. --> 1212 <flag name="none" value="0x00000000" /> 1213 <!-- Just plain old text. Corresponds to 1214 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1215 {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. --> 1216 <flag name="text" value="0x00000001" /> 1217 <!-- Can be combined with <var>text</var> and its variations to 1218 request capitalization of all characters. Corresponds to 1219 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. --> 1220 <flag name="textCapCharacters" value="0x00001001" /> 1221 <!-- Can be combined with <var>text</var> and its variations to 1222 request capitalization of the first character of every word. Corresponds to 1223 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. --> 1224 <flag name="textCapWords" value="0x00002001" /> 1225 <!-- Can be combined with <var>text</var> and its variations to 1226 request capitalization of the first character of every sentence. Corresponds to 1227 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. --> 1228 <flag name="textCapSentences" value="0x00004001" /> 1229 <!-- Can be combined with <var>text</var> and its variations to 1230 request auto-correction of text being input. Corresponds to 1231 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. --> 1232 <flag name="textAutoCorrect" value="0x00008001" /> 1233 <!-- Can be combined with <var>text</var> and its variations to 1234 specify that this field will be doing its own auto-completion and 1235 talking with the input method appropriately. Corresponds to 1236 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. --> 1237 <flag name="textAutoComplete" value="0x00010001" /> 1238 <!-- Can be combined with <var>text</var> and its variations to 1239 allow multiple lines of text in the field. If this flag is not set, 1240 the text field will be constrained to a single line. Corresponds to 1241 {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. --> 1242 <flag name="textMultiLine" value="0x00020001" /> 1243 <!-- Can be combined with <var>text</var> and its variations to 1244 indicate that though the regular text view should not be multiple 1245 lines, the IME should provide multiple lines if it can. Corresponds to 1246 {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. --> 1247 <flag name="textImeMultiLine" value="0x00040001" /> 1248 <!-- Can be combined with <var>text</var> and its variations to 1249 indicate that the IME should not show any 1250 dictionary-based word suggestions. Corresponds to 1251 {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. --> 1252 <flag name="textNoSuggestions" value="0x00080001" /> 1253 <!-- Text that will be used as a URI. Corresponds to 1254 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1255 {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. --> 1256 <flag name="textUri" value="0x00000011" /> 1257 <!-- Text that will be used as an e-mail address. Corresponds to 1258 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1259 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. --> 1260 <flag name="textEmailAddress" value="0x00000021" /> 1261 <!-- Text that is being supplied as the subject of an e-mail. Corresponds to 1262 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1263 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. --> 1264 <flag name="textEmailSubject" value="0x00000031" /> 1265 <!-- Text that is the content of a short message. Corresponds to 1266 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1267 {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. --> 1268 <flag name="textShortMessage" value="0x00000041" /> 1269 <!-- Text that is the content of a long message. Corresponds to 1270 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1271 {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. --> 1272 <flag name="textLongMessage" value="0x00000051" /> 1273 <!-- Text that is the name of a person. Corresponds to 1274 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1275 {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. --> 1276 <flag name="textPersonName" value="0x00000061" /> 1277 <!-- Text that is being supplied as a postal mailing address. Corresponds to 1278 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1279 {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. --> 1280 <flag name="textPostalAddress" value="0x00000071" /> 1281 <!-- Text that is a password. Corresponds to 1282 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1283 {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. --> 1284 <flag name="textPassword" value="0x00000081" /> 1285 <!-- Text that is a password that should be visible. Corresponds to 1286 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1287 {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. --> 1288 <flag name="textVisiblePassword" value="0x00000091" /> 1289 <!-- Text that is being supplied as text in a web form. Corresponds to 1290 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1291 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. --> 1292 <flag name="textWebEditText" value="0x000000a1" /> 1293 <!-- Text that is filtering some other data. Corresponds to 1294 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1295 {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. --> 1296 <flag name="textFilter" value="0x000000b1" /> 1297 <!-- Text that is for phonetic pronunciation, such as a phonetic name 1298 field in a contact entry. Corresponds to 1299 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1300 {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. --> 1301 <flag name="textPhonetic" value="0x000000c1" /> 1302 <!-- Text that will be used as an e-mail address on a web form. Corresponds to 1303 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1304 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. --> 1305 <flag name="textWebEmailAddress" value="0x000000d1" /> 1306 <!-- Text that will be used as a password on a web form. Corresponds to 1307 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1308 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. --> 1309 <flag name="textWebPassword" value="0x000000e1" /> 1310 <!-- A numeric only field. Corresponds to 1311 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1312 {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. --> 1313 <flag name="number" value="0x00000002" /> 1314 <!-- Can be combined with <var>number</var> and its other options to 1315 allow a signed number. Corresponds to 1316 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1317 {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. --> 1318 <flag name="numberSigned" value="0x00001002" /> 1319 <!-- Can be combined with <var>number</var> and its other options to 1320 allow a decimal (fractional) number. Corresponds to 1321 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1322 {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. --> 1323 <flag name="numberDecimal" value="0x00002002" /> 1324 <!-- A numeric password field. Corresponds to 1325 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1326 {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. --> 1327 <flag name="numberPassword" value="0x00000012" /> 1328 <!-- For entering a phone number. Corresponds to 1329 {@link android.text.InputType#TYPE_CLASS_PHONE}. --> 1330 <flag name="phone" value="0x00000003" /> 1331 <!-- For entering a date and time. Corresponds to 1332 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1333 {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. --> 1334 <flag name="datetime" value="0x00000004" /> 1335 <!-- For entering a date. Corresponds to 1336 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1337 {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. --> 1338 <flag name="date" value="0x00000014" /> 1339 <!-- For entering a time. Corresponds to 1340 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1341 {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. --> 1342 <flag name="time" value="0x00000024" /> 1343 </attr> 1344 1345 <!-- Additional features you can enable in an IME associated with an editor 1346 to improve the integration with your application. The constants 1347 here correspond to those defined by 1348 {@link android.view.inputmethod.EditorInfo#imeOptions}. --> 1349 <attr name="imeOptions"> 1350 <!-- There are no special semantics associated with this editor. --> 1351 <flag name="normal" value="0x00000000" /> 1352 <!-- There is no specific action associated with this editor, let the 1353 editor come up with its own if it can. 1354 Corresponds to 1355 {@link android.view.inputmethod.EditorInfo#IME_NULL}. --> 1356 <flag name="actionUnspecified" value="0x00000000" /> 1357 <!-- This editor has no action associated with it. 1358 Corresponds to 1359 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. --> 1360 <flag name="actionNone" value="0x00000001" /> 1361 <!-- The action key performs a "go" 1362 operation to take the user to the target of the text they typed. 1363 Typically used, for example, when entering a URL. 1364 Corresponds to 1365 {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. --> 1366 <flag name="actionGo" value="0x00000002" /> 1367 <!-- The action key performs a "search" 1368 operation, taking the user to the results of searching for the text 1369 the have typed (in whatever context is appropriate). 1370 Corresponds to 1371 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. --> 1372 <flag name="actionSearch" value="0x00000003" /> 1373 <!-- The action key performs a "send" 1374 operation, delivering the text to its target. This is typically used 1375 when composing a message. 1376 Corresponds to 1377 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. --> 1378 <flag name="actionSend" value="0x00000004" /> 1379 <!-- The action key performs a "next" 1380 operation, taking the user to the next field that will accept text. 1381 Corresponds to 1382 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. --> 1383 <flag name="actionNext" value="0x00000005" /> 1384 <!-- The action key performs a "done" 1385 operation, closing the soft input method. 1386 Corresponds to 1387 {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. --> 1388 <flag name="actionDone" value="0x00000006" /> 1389 <!-- The action key performs a "previous" 1390 operation, taking the user to the previous field that will accept text. 1391 Corresponds to 1392 {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. --> 1393 <flag name="actionPrevious" value="0x00000007" /> 1394 <!-- Used to request that the IME should not update any personalized data such as typing 1395 history and personalized language model based on what the user typed on this text 1396 editing object. Typical use cases are: 1397 <ul> 1398 <li>When the application is in a special mode, where user's activities are expected 1399 to be not recorded in the application's history. Some web browsers and chat 1400 applications may have this kind of modes.</li> 1401 <li>When storing typing history does not make much sense. Specifying this flag in 1402 typing games may help to avoid typing history from being filled up with words that 1403 the user is less likely to type in their daily life. Another example is that when 1404 the application already knows that the expected input is not a valid word (e.g. a 1405 promotion code that is not a valid word in any natural language).</li> 1406 </ul> 1407 <p>Applications need to be aware that the flag is not a guarantee, and some IMEs may 1408 not respect it.</p> --> 1409 <flag name="flagNoPersonalizedLearning" value="0x1000000" /> 1410 <!-- Used to request that the IME never go 1411 into fullscreen mode. Applications need to be aware that the flag is not 1412 a guarantee, and not all IMEs will respect it. 1413 <p>Corresponds to 1414 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1415 <flag name="flagNoFullscreen" value="0x2000000" /> 1416 <!-- Like flagNavigateNext, but 1417 specifies there is something interesting that a backward navigation 1418 can focus on. If the user selects the IME's facility to backward 1419 navigate, this will show up in the application as an actionPrevious 1420 at {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1421 InputConnection.performEditorAction(int)}. 1422 <p>Corresponds to 1423 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1424 <flag name="flagNavigatePrevious" value="0x4000000" /> 1425 <!-- Used to specify that there is something 1426 interesting that a forward navigation can focus on. This is like using 1427 actionNext, except allows the IME to be multiline (with 1428 an enter key) as well as provide forward navigation. Note that some 1429 IMEs may not be able to do this, especially when running on a small 1430 screen where there is little space. In that case it does not need to 1431 present a UI for this option. Like actionNext, if the 1432 user selects the IME's facility to forward navigate, this will show up 1433 in the application at 1434 {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1435 InputConnection.performEditorAction(int)}. 1436 <p>Corresponds to 1437 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. --> 1438 <flag name="flagNavigateNext" value="0x8000000" /> 1439 <!-- Used to specify that the IME does not need 1440 to show its extracted text UI. For input methods that may be fullscreen, 1441 often when in landscape mode, this allows them to be smaller and let part 1442 of the application be shown behind. Though there will likely be limited 1443 access to the application available from the user, it can make the 1444 experience of a (mostly) fullscreen IME less jarring. Note that when 1445 this flag is specified the IME may <em>not</em> be set up to be able 1446 to display text, so it should only be used in situations where this is 1447 not needed. 1448 <p>Corresponds to 1449 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. --> 1450 <flag name="flagNoExtractUi" value="0x10000000" /> 1451 <!-- Used in conjunction with a custom action, this indicates that the 1452 action should not be available as an accessory button when the 1453 input method is full-screen. 1454 Note that by setting this flag, there can be cases where the action 1455 is simply never available to the user. Setting this generally means 1456 that you think showing text being edited is more important than the 1457 action you have supplied. 1458 <p>Corresponds to 1459 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. --> 1460 <flag name="flagNoAccessoryAction" value="0x20000000" /> 1461 <!-- Used in conjunction with a custom action, 1462 this indicates that the action should not be available in-line as 1463 a replacement for the "enter" key. Typically this is 1464 because the action has such a significant impact or is not recoverable 1465 enough that accidentally hitting it should be avoided, such as sending 1466 a message. Note that {@link android.widget.TextView} will 1467 automatically set this flag for you on multi-line text views. 1468 <p>Corresponds to 1469 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. --> 1470 <flag name="flagNoEnterAction" value="0x40000000" /> 1471 <!-- Used to request that the IME should be capable of inputting ASCII 1472 characters. The intention of this flag is to ensure that the user 1473 can type Roman alphabet characters in a {@link android.widget.TextView} 1474 used for, typically, account ID or password input. It is expected that IMEs 1475 normally are able to input ASCII even without being told so (such IMEs 1476 already respect this flag in a sense), but there could be some cases they 1477 aren't when, for instance, only non-ASCII input languagaes like Arabic, 1478 Greek, Hebrew, Russian are enabled in the IME. Applications need to be 1479 aware that the flag is not a guarantee, and not all IMEs will respect it. 1480 However, it is strongly recommended for IME authors to respect this flag 1481 especially when their IME could end up with a state that has only non-ASCII 1482 input languages enabled. 1483 <p>Corresponds to 1484 {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. --> 1485 <flag name="flagForceAscii" value="0x80000000" /> 1486 </attr> 1487 1488 <!-- A coordinate in the X dimension. --> 1489 <attr name="x" format="dimension" /> 1490 <!-- A coordinate in the Y dimension. --> 1491 <attr name="y" format="dimension" /> 1492 1493 <!-- Specifies how an object should position its content, on both the X and Y axes, 1494 within its own bounds. --> 1495 <attr name="gravity"> 1496 <!-- Push object to the top of its container, not changing its size. --> 1497 <flag name="top" value="0x30" /> 1498 <!-- Push object to the bottom of its container, not changing its size. --> 1499 <flag name="bottom" value="0x50" /> 1500 <!-- Push object to the left of its container, not changing its size. --> 1501 <flag name="left" value="0x03" /> 1502 <!-- Push object to the right of its container, not changing its size. --> 1503 <flag name="right" value="0x05" /> 1504 <!-- Place object in the vertical center of its container, not changing its size. --> 1505 <flag name="center_vertical" value="0x10" /> 1506 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1507 <flag name="fill_vertical" value="0x70" /> 1508 <!-- Place object in the horizontal center of its container, not changing its size. --> 1509 <flag name="center_horizontal" value="0x01" /> 1510 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1511 <flag name="fill_horizontal" value="0x07" /> 1512 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1513 <flag name="center" value="0x11" /> 1514 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1515 <flag name="fill" value="0x77" /> 1516 <!-- Additional option that can be set to have the top and/or bottom edges of 1517 the child clipped to its container's bounds. 1518 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1519 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1520 <flag name="clip_vertical" value="0x80" /> 1521 <!-- Additional option that can be set to have the left and/or right edges of 1522 the child clipped to its container's bounds. 1523 The clip will be based on the horizontal gravity: a left gravity will clip the right 1524 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1525 <flag name="clip_horizontal" value="0x08" /> 1526 <!-- Push object to the beginning of its container, not changing its size. --> 1527 <flag name="start" value="0x00800003" /> 1528 <!-- Push object to the end of its container, not changing its size. --> 1529 <flag name="end" value="0x00800005" /> 1530 </attr> 1531 1532 <!-- Controls whether links such as urls and email addresses are 1533 automatically found and converted to clickable links. The default 1534 value is "none", disabling this feature. --> 1535 <attr name="autoLink"> 1536 <!-- Match no patterns (default). --> 1537 <flag name="none" value="0x00" /> 1538 <!-- Match Web URLs. --> 1539 <flag name="web" value="0x01" /> 1540 <!-- Match email addresses. --> 1541 <flag name="email" value="0x02" /> 1542 <!-- Match phone numbers. --> 1543 <flag name="phone" value="0x04" /> 1544 <!-- Match map addresses. --> 1545 <flag name="map" value="0x08" /> 1546 <!-- Match all patterns (equivalent to web|email|phone|map). --> 1547 <flag name="all" value="0x0f" /> 1548 </attr> 1549 1550 <!-- Reference to an array resource that will populate a list/adapter. --> 1551 <attr name="entries" format="reference" /> 1552 1553 <!-- Standard gravity constant that a child supplies to its parent. 1554 Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. --> 1555 <attr name="layout_gravity"> 1556 <!-- Push object to the top of its container, not changing its size. --> 1557 <flag name="top" value="0x30" /> 1558 <!-- Push object to the bottom of its container, not changing its size. --> 1559 <flag name="bottom" value="0x50" /> 1560 <!-- Push object to the left of its container, not changing its size. --> 1561 <flag name="left" value="0x03" /> 1562 <!-- Push object to the right of its container, not changing its size. --> 1563 <flag name="right" value="0x05" /> 1564 <!-- Place object in the vertical center of its container, not changing its size. --> 1565 <flag name="center_vertical" value="0x10" /> 1566 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1567 <flag name="fill_vertical" value="0x70" /> 1568 <!-- Place object in the horizontal center of its container, not changing its size. --> 1569 <flag name="center_horizontal" value="0x01" /> 1570 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1571 <flag name="fill_horizontal" value="0x07" /> 1572 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1573 <flag name="center" value="0x11" /> 1574 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1575 <flag name="fill" value="0x77" /> 1576 <!-- Additional option that can be set to have the top and/or bottom edges of 1577 the child clipped to its container's bounds. 1578 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1579 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1580 <flag name="clip_vertical" value="0x80" /> 1581 <!-- Additional option that can be set to have the left and/or right edges of 1582 the child clipped to its container's bounds. 1583 The clip will be based on the horizontal gravity: a left gravity will clip the right 1584 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1585 <flag name="clip_horizontal" value="0x08" /> 1586 <!-- Push object to the beginning of its container, not changing its size. --> 1587 <flag name="start" value="0x00800003" /> 1588 <!-- Push object to the end of its container, not changing its size. --> 1589 <flag name="end" value="0x00800005" /> 1590 </attr> 1591 1592 <!-- Standard orientation constant. --> 1593 <attr name="orientation"> 1594 <!-- Defines an horizontal widget. --> 1595 <enum name="horizontal" value="0" /> 1596 <!-- Defines a vertical widget. --> 1597 <enum name="vertical" value="1" /> 1598 </attr> 1599 1600 <!-- Alignment constants. --> 1601 <attr name="alignmentMode"> 1602 <!-- Align the bounds of the children. 1603 See {@link android.widget.GridLayout#ALIGN_BOUNDS}. --> 1604 <enum name="alignBounds" value="0" /> 1605 <!-- Align the margins of the children. 1606 See {@link android.widget.GridLayout#ALIGN_MARGINS}. --> 1607 <enum name="alignMargins" value="1" /> 1608 </attr> 1609 1610 <!-- ========================== --> 1611 <!-- Key Codes --> 1612 <!-- ========================== --> 1613 <eat-comment /> 1614 1615 <!-- This enum provides the same keycode values as can be found in 1616 {@link android.view.KeyEvent}. --> 1617 <attr name="keycode"> 1618 <enum name="KEYCODE_UNKNOWN" value="0" /> 1619 <enum name="KEYCODE_SOFT_LEFT" value="1" /> 1620 <enum name="KEYCODE_SOFT_RIGHT" value="2" /> 1621 <enum name="KEYCODE_HOME" value="3" /> 1622 <enum name="KEYCODE_BACK" value="4" /> 1623 <enum name="KEYCODE_CALL" value="5" /> 1624 <enum name="KEYCODE_ENDCALL" value="6" /> 1625 <enum name="KEYCODE_0" value="7" /> 1626 <enum name="KEYCODE_1" value="8" /> 1627 <enum name="KEYCODE_2" value="9" /> 1628 <enum name="KEYCODE_3" value="10" /> 1629 <enum name="KEYCODE_4" value="11" /> 1630 <enum name="KEYCODE_5" value="12" /> 1631 <enum name="KEYCODE_6" value="13" /> 1632 <enum name="KEYCODE_7" value="14" /> 1633 <enum name="KEYCODE_8" value="15" /> 1634 <enum name="KEYCODE_9" value="16" /> 1635 <enum name="KEYCODE_STAR" value="17" /> 1636 <enum name="KEYCODE_POUND" value="18" /> 1637 <enum name="KEYCODE_DPAD_UP" value="19" /> 1638 <enum name="KEYCODE_DPAD_DOWN" value="20" /> 1639 <enum name="KEYCODE_DPAD_LEFT" value="21" /> 1640 <enum name="KEYCODE_DPAD_RIGHT" value="22" /> 1641 <enum name="KEYCODE_DPAD_CENTER" value="23" /> 1642 <enum name="KEYCODE_VOLUME_UP" value="24" /> 1643 <enum name="KEYCODE_VOLUME_DOWN" value="25" /> 1644 <enum name="KEYCODE_POWER" value="26" /> 1645 <enum name="KEYCODE_CAMERA" value="27" /> 1646 <enum name="KEYCODE_CLEAR" value="28" /> 1647 <enum name="KEYCODE_A" value="29" /> 1648 <enum name="KEYCODE_B" value="30" /> 1649 <enum name="KEYCODE_C" value="31" /> 1650 <enum name="KEYCODE_D" value="32" /> 1651 <enum name="KEYCODE_E" value="33" /> 1652 <enum name="KEYCODE_F" value="34" /> 1653 <enum name="KEYCODE_G" value="35" /> 1654 <enum name="KEYCODE_H" value="36" /> 1655 <enum name="KEYCODE_I" value="37" /> 1656 <enum name="KEYCODE_J" value="38" /> 1657 <enum name="KEYCODE_K" value="39" /> 1658 <enum name="KEYCODE_L" value="40" /> 1659 <enum name="KEYCODE_M" value="41" /> 1660 <enum name="KEYCODE_N" value="42" /> 1661 <enum name="KEYCODE_O" value="43" /> 1662 <enum name="KEYCODE_P" value="44" /> 1663 <enum name="KEYCODE_Q" value="45" /> 1664 <enum name="KEYCODE_R" value="46" /> 1665 <enum name="KEYCODE_S" value="47" /> 1666 <enum name="KEYCODE_T" value="48" /> 1667 <enum name="KEYCODE_U" value="49" /> 1668 <enum name="KEYCODE_V" value="50" /> 1669 <enum name="KEYCODE_W" value="51" /> 1670 <enum name="KEYCODE_X" value="52" /> 1671 <enum name="KEYCODE_Y" value="53" /> 1672 <enum name="KEYCODE_Z" value="54" /> 1673 <enum name="KEYCODE_COMMA" value="55" /> 1674 <enum name="KEYCODE_PERIOD" value="56" /> 1675 <enum name="KEYCODE_ALT_LEFT" value="57" /> 1676 <enum name="KEYCODE_ALT_RIGHT" value="58" /> 1677 <enum name="KEYCODE_SHIFT_LEFT" value="59" /> 1678 <enum name="KEYCODE_SHIFT_RIGHT" value="60" /> 1679 <enum name="KEYCODE_TAB" value="61" /> 1680 <enum name="KEYCODE_SPACE" value="62" /> 1681 <enum name="KEYCODE_SYM" value="63" /> 1682 <enum name="KEYCODE_EXPLORER" value="64" /> 1683 <enum name="KEYCODE_ENVELOPE" value="65" /> 1684 <enum name="KEYCODE_ENTER" value="66" /> 1685 <enum name="KEYCODE_DEL" value="67" /> 1686 <enum name="KEYCODE_GRAVE" value="68" /> 1687 <enum name="KEYCODE_MINUS" value="69" /> 1688 <enum name="KEYCODE_EQUALS" value="70" /> 1689 <enum name="KEYCODE_LEFT_BRACKET" value="71" /> 1690 <enum name="KEYCODE_RIGHT_BRACKET" value="72" /> 1691 <enum name="KEYCODE_BACKSLASH" value="73" /> 1692 <enum name="KEYCODE_SEMICOLON" value="74" /> 1693 <enum name="KEYCODE_APOSTROPHE" value="75" /> 1694 <enum name="KEYCODE_SLASH" value="76" /> 1695 <enum name="KEYCODE_AT" value="77" /> 1696 <enum name="KEYCODE_NUM" value="78" /> 1697 <enum name="KEYCODE_HEADSETHOOK" value="79" /> 1698 <enum name="KEYCODE_FOCUS" value="80" /> 1699 <enum name="KEYCODE_PLUS" value="81" /> 1700 <enum name="KEYCODE_MENU" value="82" /> 1701 <enum name="KEYCODE_NOTIFICATION" value="83" /> 1702 <enum name="KEYCODE_SEARCH" value="84" /> 1703 <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" /> 1704 <enum name="KEYCODE_MEDIA_STOP" value="86" /> 1705 <enum name="KEYCODE_MEDIA_NEXT" value="87" /> 1706 <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" /> 1707 <enum name="KEYCODE_MEDIA_REWIND" value="89" /> 1708 <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" /> 1709 <enum name="KEYCODE_MUTE" value="91" /> 1710 <enum name="KEYCODE_PAGE_UP" value="92" /> 1711 <enum name="KEYCODE_PAGE_DOWN" value="93" /> 1712 <enum name="KEYCODE_PICTSYMBOLS" value="94" /> 1713 <enum name="KEYCODE_SWITCH_CHARSET" value="95" /> 1714 <enum name="KEYCODE_BUTTON_A" value="96" /> 1715 <enum name="KEYCODE_BUTTON_B" value="97" /> 1716 <enum name="KEYCODE_BUTTON_C" value="98" /> 1717 <enum name="KEYCODE_BUTTON_X" value="99" /> 1718 <enum name="KEYCODE_BUTTON_Y" value="100" /> 1719 <enum name="KEYCODE_BUTTON_Z" value="101" /> 1720 <enum name="KEYCODE_BUTTON_L1" value="102" /> 1721 <enum name="KEYCODE_BUTTON_R1" value="103" /> 1722 <enum name="KEYCODE_BUTTON_L2" value="104" /> 1723 <enum name="KEYCODE_BUTTON_R2" value="105" /> 1724 <enum name="KEYCODE_BUTTON_THUMBL" value="106" /> 1725 <enum name="KEYCODE_BUTTON_THUMBR" value="107" /> 1726 <enum name="KEYCODE_BUTTON_START" value="108" /> 1727 <enum name="KEYCODE_BUTTON_SELECT" value="109" /> 1728 <enum name="KEYCODE_BUTTON_MODE" value="110" /> 1729 <enum name="KEYCODE_ESCAPE" value="111" /> 1730 <enum name="KEYCODE_FORWARD_DEL" value="112" /> 1731 <enum name="KEYCODE_CTRL_LEFT" value="113" /> 1732 <enum name="KEYCODE_CTRL_RIGHT" value="114" /> 1733 <enum name="KEYCODE_CAPS_LOCK" value="115" /> 1734 <enum name="KEYCODE_SCROLL_LOCK" value="116" /> 1735 <enum name="KEYCODE_META_LEFT" value="117" /> 1736 <enum name="KEYCODE_META_RIGHT" value="118" /> 1737 <enum name="KEYCODE_FUNCTION" value="119" /> 1738 <enum name="KEYCODE_SYSRQ" value="120" /> 1739 <enum name="KEYCODE_BREAK" value="121" /> 1740 <enum name="KEYCODE_MOVE_HOME" value="122" /> 1741 <enum name="KEYCODE_MOVE_END" value="123" /> 1742 <enum name="KEYCODE_INSERT" value="124" /> 1743 <enum name="KEYCODE_FORWARD" value="125" /> 1744 <enum name="KEYCODE_MEDIA_PLAY" value="126" /> 1745 <enum name="KEYCODE_MEDIA_PAUSE" value="127" /> 1746 <enum name="KEYCODE_MEDIA_CLOSE" value="128" /> 1747 <enum name="KEYCODE_MEDIA_EJECT" value="129" /> 1748 <enum name="KEYCODE_MEDIA_RECORD" value="130" /> 1749 <enum name="KEYCODE_F1" value="131" /> 1750 <enum name="KEYCODE_F2" value="132" /> 1751 <enum name="KEYCODE_F3" value="133" /> 1752 <enum name="KEYCODE_F4" value="134" /> 1753 <enum name="KEYCODE_F5" value="135" /> 1754 <enum name="KEYCODE_F6" value="136" /> 1755 <enum name="KEYCODE_F7" value="137" /> 1756 <enum name="KEYCODE_F8" value="138" /> 1757 <enum name="KEYCODE_F9" value="139" /> 1758 <enum name="KEYCODE_F10" value="140" /> 1759 <enum name="KEYCODE_F11" value="141" /> 1760 <enum name="KEYCODE_F12" value="142" /> 1761 <enum name="KEYCODE_NUM_LOCK" value="143" /> 1762 <enum name="KEYCODE_NUMPAD_0" value="144" /> 1763 <enum name="KEYCODE_NUMPAD_1" value="145" /> 1764 <enum name="KEYCODE_NUMPAD_2" value="146" /> 1765 <enum name="KEYCODE_NUMPAD_3" value="147" /> 1766 <enum name="KEYCODE_NUMPAD_4" value="148" /> 1767 <enum name="KEYCODE_NUMPAD_5" value="149" /> 1768 <enum name="KEYCODE_NUMPAD_6" value="150" /> 1769 <enum name="KEYCODE_NUMPAD_7" value="151" /> 1770 <enum name="KEYCODE_NUMPAD_8" value="152" /> 1771 <enum name="KEYCODE_NUMPAD_9" value="153" /> 1772 <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" /> 1773 <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" /> 1774 <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" /> 1775 <enum name="KEYCODE_NUMPAD_ADD" value="157" /> 1776 <enum name="KEYCODE_NUMPAD_DOT" value="158" /> 1777 <enum name="KEYCODE_NUMPAD_COMMA" value="159" /> 1778 <enum name="KEYCODE_NUMPAD_ENTER" value="160" /> 1779 <enum name="KEYCODE_NUMPAD_EQUALS" value="161" /> 1780 <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" /> 1781 <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" /> 1782 <enum name="KEYCODE_VOLUME_MUTE" value="164" /> 1783 <enum name="KEYCODE_INFO" value="165" /> 1784 <enum name="KEYCODE_CHANNEL_UP" value="166" /> 1785 <enum name="KEYCODE_CHANNEL_DOWN" value="167" /> 1786 <enum name="KEYCODE_ZOOM_IN" value="168" /> 1787 <enum name="KEYCODE_ZOOM_OUT" value="169" /> 1788 <enum name="KEYCODE_TV" value="170" /> 1789 <enum name="KEYCODE_WINDOW" value="171" /> 1790 <enum name="KEYCODE_GUIDE" value="172" /> 1791 <enum name="KEYCODE_DVR" value="173" /> 1792 <enum name="KEYCODE_BOOKMARK" value="174" /> 1793 <enum name="KEYCODE_CAPTIONS" value="175" /> 1794 <enum name="KEYCODE_SETTINGS" value="176" /> 1795 <enum name="KEYCODE_TV_POWER" value="177" /> 1796 <enum name="KEYCODE_TV_INPUT" value="178" /> 1797 <enum name="KEYCODE_STB_POWER" value="179" /> 1798 <enum name="KEYCODE_STB_INPUT" value="180" /> 1799 <enum name="KEYCODE_AVR_POWER" value="181" /> 1800 <enum name="KEYCODE_AVR_INPUT" value="182" /> 1801 <enum name="KEYCODE_PROG_GRED" value="183" /> 1802 <enum name="KEYCODE_PROG_GREEN" value="184" /> 1803 <enum name="KEYCODE_PROG_YELLOW" value="185" /> 1804 <enum name="KEYCODE_PROG_BLUE" value="186" /> 1805 <enum name="KEYCODE_APP_SWITCH" value="187" /> 1806 <enum name="KEYCODE_BUTTON_1" value="188" /> 1807 <enum name="KEYCODE_BUTTON_2" value="189" /> 1808 <enum name="KEYCODE_BUTTON_3" value="190" /> 1809 <enum name="KEYCODE_BUTTON_4" value="191" /> 1810 <enum name="KEYCODE_BUTTON_5" value="192" /> 1811 <enum name="KEYCODE_BUTTON_6" value="193" /> 1812 <enum name="KEYCODE_BUTTON_7" value="194" /> 1813 <enum name="KEYCODE_BUTTON_8" value="195" /> 1814 <enum name="KEYCODE_BUTTON_9" value="196" /> 1815 <enum name="KEYCODE_BUTTON_10" value="197" /> 1816 <enum name="KEYCODE_BUTTON_11" value="198" /> 1817 <enum name="KEYCODE_BUTTON_12" value="199" /> 1818 <enum name="KEYCODE_BUTTON_13" value="200" /> 1819 <enum name="KEYCODE_BUTTON_14" value="201" /> 1820 <enum name="KEYCODE_BUTTON_15" value="202" /> 1821 <enum name="KEYCODE_BUTTON_16" value="203" /> 1822 <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" /> 1823 <enum name="KEYCODE_MANNER_MODE" value="205" /> 1824 <enum name="KEYCODE_3D_MODE" value="206" /> 1825 <enum name="KEYCODE_CONTACTS" value="207" /> 1826 <enum name="KEYCODE_CALENDAR" value="208" /> 1827 <enum name="KEYCODE_MUSIC" value="209" /> 1828 <enum name="KEYCODE_CALCULATOR" value="210" /> 1829 <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" /> 1830 <enum name="KEYCODE_EISU" value="212" /> 1831 <enum name="KEYCODE_MUHENKAN" value="213" /> 1832 <enum name="KEYCODE_HENKAN" value="214" /> 1833 <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" /> 1834 <enum name="KEYCODE_YEN" value="216" /> 1835 <enum name="KEYCODE_RO" value="217" /> 1836 <enum name="KEYCODE_KANA" value="218" /> 1837 <enum name="KEYCODE_ASSIST" value="219" /> 1838 <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" /> 1839 <enum name="KEYCODE_BRIGHTNESS_UP" value="221" /> 1840 <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" /> 1841 <enum name="KEYCODE_MEDIA_SLEEP" value="223" /> 1842 <enum name="KEYCODE_MEDIA_WAKEUP" value="224" /> 1843 <enum name="KEYCODE_PAIRING" value="225" /> 1844 <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" /> 1845 <enum name="KEYCODE_11" value="227" /> 1846 <enum name="KEYCODE_12" value="228" /> 1847 <enum name="KEYCODE_LAST_CHANNEL" value="229" /> 1848 <enum name="KEYCODE_TV_DATA_SERVICE" value="230" /> 1849 <enum name="KEYCODE_VOICE_ASSIST" value="231" /> 1850 <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" /> 1851 <enum name="KEYCODE_TV_TELETEXT" value="233" /> 1852 <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" /> 1853 <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" /> 1854 <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" /> 1855 <enum name="KEYCODE_TV_SATELLITE" value="237" /> 1856 <enum name="KEYCODE_TV_SATELLITE_BS" value="238" /> 1857 <enum name="KEYCODE_TV_SATELLITE_CS" value="239" /> 1858 <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" /> 1859 <enum name="KEYCODE_TV_NETWORK" value="241" /> 1860 <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" /> 1861 <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" /> 1862 <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" /> 1863 <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" /> 1864 <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" /> 1865 <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" /> 1866 <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" /> 1867 <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" /> 1868 <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" /> 1869 <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" /> 1870 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" /> 1871 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" /> 1872 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" /> 1873 <enum name="KEYCODE_TV_ZOOM_MODE" value="255" /> 1874 <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" /> 1875 <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" /> 1876 <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" /> 1877 <enum name="KEYCODE_HELP" value="259" /> 1878 <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" /> 1879 <enum name="KEYCODE_NAVIGATE_NEXT" value="261" /> 1880 <enum name="KEYCODE_NAVIGATE_IN" value="262" /> 1881 <enum name="KEYCODE_NAVIGATE_OUT" value="263" /> 1882 <enum name="KEYCODE_STEM_PRIMARY" value="264" /> 1883 <enum name="KEYCODE_STEM_1" value="265" /> 1884 <enum name="KEYCODE_STEM_2" value="266" /> 1885 <enum name="KEYCODE_STEM_3" value="267" /> 1886 <enum name="KEYCODE_DPAD_UP_LEFT" value="268" /> 1887 <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" /> 1888 <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" /> 1889 <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" /> 1890 <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" /> 1891 <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" /> 1892 <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" /> 1893 <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" /> 1894 <enum name="KEYCODE_SOFT_SLEEP" value="276" /> 1895 <enum name="KEYCODE_CUT" value="277" /> 1896 <enum name="KEYCODE_COPY" value="278" /> 1897 <enum name="KEYCODE_PASTE" value="279" /> 1898 <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" /> 1899 <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" /> 1900 <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" /> 1901 <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" /> 1902 <enum name="KEYCODE_ALL_APPS" value="284" /> 1903 <enum name="KEYCODE_REFRESH" value="285" /> 1904 </attr> 1905 1906 <!-- ***************************************************************** --> 1907 <!-- These define collections of attributes that can are with classes. --> 1908 <!-- ***************************************************************** --> 1909 1910 <!-- ========================== --> 1911 <!-- Special attribute classes. --> 1912 <!-- ========================== --> 1913 <eat-comment /> 1914 1915 <!-- The set of attributes that describe a Windows's theme. --> 1916 <declare-styleable name="Window"> 1917 <attr name="windowBackground" /> 1918 <attr name="windowBackgroundFallback" /> 1919 <attr name="windowContentOverlay" /> 1920 <attr name="windowFrame" /> 1921 <attr name="windowNoTitle" /> 1922 <attr name="windowFullscreen" /> 1923 <attr name="windowOverscan" /> 1924 <attr name="windowIsFloating" /> 1925 <attr name="windowIsTranslucent" /> 1926 <attr name="windowShowWallpaper" /> 1927 <attr name="windowAnimationStyle" /> 1928 <attr name="windowSoftInputMode" /> 1929 <attr name="windowDisablePreview" /> 1930 <attr name="windowNoDisplay" /> 1931 <attr name="textColor" /> 1932 <attr name="backgroundDimEnabled" /> 1933 <attr name="backgroundDimAmount" /> 1934 <attr name="windowActionBar" /> 1935 <attr name="windowActionModeOverlay" /> 1936 <attr name="windowActionBarOverlay" /> 1937 <attr name="windowEnableSplitTouch" /> 1938 <attr name="windowCloseOnTouchOutside" /> 1939 <attr name="windowTranslucentStatus" /> 1940 <attr name="windowTranslucentNavigation" /> 1941 <attr name="windowSwipeToDismiss" /> 1942 <attr name="windowContentTransitions" /> 1943 <attr name="windowActivityTransitions" /> 1944 <attr name="windowContentTransitionManager" /> 1945 <attr name="windowActionBarFullscreenDecorLayout" /> 1946 1947 <!-- The minimum width the window is allowed to be, along the major 1948 axis of the screen. That is, when in landscape. Can be either 1949 an absolute dimension or a fraction of the screen size in that 1950 dimension. --> 1951 <attr name="windowMinWidthMajor" format="dimension|fraction" /> 1952 <!-- The minimum width the window is allowed to be, along the minor 1953 axis of the screen. That is, when in portrait. Can be either 1954 an absolute dimension or a fraction of the screen size in that 1955 dimension. --> 1956 <attr name="windowMinWidthMinor" format="dimension|fraction" /> 1957 1958 <!-- A fixed width for the window along the major axis of the screen, 1959 that is, when in landscape. Can be either an absolute dimension 1960 or a fraction of the screen size in that dimension. --> 1961 <attr name="windowFixedWidthMajor" format="dimension|fraction" /> 1962 <!-- A fixed height for the window along the minor axis of the screen, 1963 that is, when in landscape. Can be either an absolute dimension 1964 or a fraction of the screen size in that dimension. --> 1965 <attr name="windowFixedHeightMinor" format="dimension|fraction" /> 1966 1967 <!-- A fixed width for the window along the minor axis of the screen, 1968 that is, when in portrait. Can be either an absolute dimension 1969 or a fraction of the screen size in that dimension. --> 1970 <attr name="windowFixedWidthMinor" format="dimension|fraction" /> 1971 <!-- A fixed height for the window along the major axis of the screen, 1972 that is, when in portrait. Can be either an absolute dimension 1973 or a fraction of the screen size in that dimension. --> 1974 <attr name="windowFixedHeightMajor" format="dimension|fraction" /> 1975 <attr name="windowOutsetBottom" format="dimension" /> 1976 <!-- Reference to a Transition XML resource defining the desired Transition 1977 used to move Views into the initial Window's content Scene. Corresponds to 1978 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 1979 <attr name="windowEnterTransition"/> 1980 1981 <!-- Reference to a Transition XML resource defining the desired Transition 1982 used to move Views out of the scene when the Window is 1983 preparing to close. Corresponds to 1984 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 1985 <attr name="windowReturnTransition"/> 1986 1987 <!-- Reference to a Transition XML resource defining the desired Transition 1988 used to move Views out of the Window's content Scene when launching a new Activity. 1989 Corresponds to 1990 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 1991 <attr name="windowExitTransition"/> 1992 1993 <!-- Reference to a Transition XML resource defining the desired Transition 1994 used to move Views in to the scene when returning from a previously-started Activity. 1995 Corresponds to 1996 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 1997 <attr name="windowReenterTransition"/> 1998 1999 <!-- Reference to a Transition XML resource defining the desired Transition 2000 used to move shared elements transferred into the Window's initial content Scene. 2001 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 2002 android.transition.Transition)}. --> 2003 <attr name="windowSharedElementEnterTransition"/> 2004 2005 <!-- Reference to a Transition XML resource defining the desired Transition 2006 used to move shared elements transferred back to a calling Activity. 2007 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 2008 android.transition.Transition)}. --> 2009 <attr name="windowSharedElementReturnTransition"/> 2010 2011 <!-- Reference to a Transition XML resource defining the desired Transition 2012 used when starting a new Activity to move shared elements prior to transferring 2013 to the called Activity. 2014 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 2015 android.transition.Transition)}. --> 2016 <attr name="windowSharedElementExitTransition"/> 2017 2018 <!-- Reference to a Transition XML resource defining the desired Transition 2019 used for shared elements transferred back to a calling Activity. 2020 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 2021 android.transition.Transition)}. --> 2022 <attr name="windowSharedElementReenterTransition"/> 2023 2024 2025 <!-- Flag indicating whether this Window's transition should overlap with 2026 the exiting transition of the calling Activity. Corresponds to 2027 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> 2028 <attr name="windowAllowEnterTransitionOverlap"/> 2029 2030 <!-- Flag indicating whether this Window's transition should overlap with 2031 the exiting transition of the called Activity when the called Activity 2032 finishes. Corresponds to 2033 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. --> 2034 <attr name="windowAllowReturnTransitionOverlap"/> 2035 2036 <!-- Indicates whether or not shared elements should use an overlay 2037 during transitions. The default value is true. --> 2038 <attr name="windowSharedElementsUseOverlay"/> 2039 2040 <!-- Flag indicating whether this Window is responsible for drawing the background for the 2041 system bars. If true and the window is not floating, the system bars are drawn with a 2042 transparent background and the corresponding areas in this window are filled with the 2043 colors specified in {@link android.R.attr#statusBarColor} and 2044 {@link android.R.attr#navigationBarColor}. Corresponds to 2045 {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. --> 2046 <attr name="windowDrawsSystemBarBackgrounds" format="boolean" /> 2047 2048 <!-- The color for the status bar. If the color is not opaque, consider setting 2049 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 2050 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}. 2051 For this to take effect, the window must be drawing the system bar backgrounds with 2052 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2053 have been requested to be translucent with 2054 {@link android.R.attr#windowTranslucentStatus}. 2055 Corresponds to {@link android.view.Window#setStatusBarColor(int)}. --> 2056 <attr name="statusBarColor" format="color" /> 2057 2058 <!-- The color for the navigation bar. If the color is not opaque, consider setting 2059 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 2060 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}. 2061 For this to take effect, the window must be drawing the system bar backgrounds with 2062 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 2063 have been requested to be translucent with 2064 {@link android.R.attr#windowTranslucentNavigation}. 2065 Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. --> 2066 <attr name="navigationBarColor" format="color" /> 2067 2068 <!-- Shows a thin line of the specified color between the navigation bar and the app 2069 content. 2070 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2071 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 2072 have been requested to be translucent with 2073 {@link android.R.attr#windowTranslucentNavigation}. 2074 Corresponds to {@link android.view.Window#setNavigationBarDividerColor(int)}. --> 2075 <attr name="navigationBarDividerColor" format="color" /> 2076 2077 <!-- The duration, in milliseconds, of the window background fade duration 2078 when transitioning into or away from an Activity when called with an 2079 Activity Transition. Corresponds to 2080 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 2081 <attr name="windowTransitionBackgroundFadeDuration" /> 2082 2083 <!-- Elevation to use for the window. --> 2084 <attr name="windowElevation" format="dimension" /> 2085 2086 <!-- Whether to clip window content to the outline of the window background. --> 2087 <attr name="windowClipToOutline" format="boolean" /> 2088 2089 <!-- If set, the status bar will be drawn such that it is compatible with a light 2090 status bar background. 2091 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2092 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2093 have been requested to be translucent with 2094 {@link android.R.attr#windowTranslucentStatus}. 2095 Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on 2096 the decor view. --> 2097 <attr name="windowLightStatusBar" format="boolean" /> 2098 2099 <!-- Reference to a drawable to be used as the splash screen content of the window. This 2100 drawable will be placed on top of the {@link android.R.attr#windowBackground} with its 2101 bounds inset by the system bars. If the drawable should not be inset by the system 2102 bars, use a fullscreen theme. 2103 <p> 2104 Note that even if no splashscreen content is set on the theme, the system may still 2105 show a splash screen using the other attributes on the theme, like the 2106 {@link android.R.attr#windowBackground}. 2107 --> 2108 <attr name="windowSplashscreenContent" format="reference" /> 2109 2110 <!-- If set, the navigation bar will be drawn such that it is compatible with a light 2111 navigation bar background. 2112 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2113 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 2114 have been requested to be translucent with 2115 {@link android.R.attr#windowTranslucentNavigation}. 2116 Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR} on 2117 the decor view. --> 2118 <attr name="windowLightNavigationBar" format="boolean" /> 2119 2120 <!-- Controls how the window is laid out if there is a {@code DisplayCutout}. 2121 <p> 2122 Defaults to {@code default}. 2123 2124 @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT 2125 @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS 2126 @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER 2127 @see android.view.DisplayCutout 2128 @see android.R.attr#layoutInDisplayCutoutMode --> 2129 <attr name="windowLayoutInDisplayCutoutMode"> 2130 <!-- The window is allowed to extend into the {@code DisplayCutout} area, only if the 2131 {@code DisplayCutout} is fully contained within the status bar. Otherwise, the window is 2132 laid out such that it does not overlap with the {@code DisplayCutout} area. 2133 2134 @see android.view.DisplayCutout 2135 @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT 2136 --> 2137 <enum name="default" value="0" /> 2138 <!-- The window is always allowed to extend into the {@code DisplayCutout} area, 2139 even if fullscreen or in landscape. 2140 <p> 2141 The window must make sure that no important content overlaps with the 2142 {@link DisplayCutout}. 2143 2144 @see android.view.DisplayCutout 2145 @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS 2146 --> 2147 <enum name="always" value="1" /> 2148 <!-- The window is never allowed to overlap with the DisplayCutout area. 2149 <p> 2150 This should be used with windows that transiently set {@code SYSTEM_UI_FLAG_FULLSCREEN} 2151 to avoid a relayout of the window when the flag is set or cleared. 2152 2153 @see android.view.DisplayCutout 2154 @see android.view.WindowManager.LayoutParams#LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER 2155 --> 2156 <enum name="never" value="2" /> 2157 </attr> 2158 </declare-styleable> 2159 2160 <!-- The set of attributes that describe a AlertDialog's theme. --> 2161 <declare-styleable name="AlertDialog"> 2162 <attr name="fullDark" format="reference|color" /> 2163 <attr name="topDark" format="reference|color" /> 2164 <attr name="centerDark" format="reference|color" /> 2165 <attr name="bottomDark" format="reference|color" /> 2166 <attr name="fullBright" format="reference|color" /> 2167 <attr name="topBright" format="reference|color" /> 2168 <attr name="centerBright" format="reference|color" /> 2169 <attr name="bottomBright" format="reference|color" /> 2170 <attr name="bottomMedium" format="reference|color" /> 2171 <attr name="centerMedium" format="reference|color" /> 2172 <attr name="layout" /> 2173 <attr name="buttonPanelSideLayout" format="reference" /> 2174 <attr name="listLayout" format="reference" /> 2175 <attr name="multiChoiceItemLayout" format="reference" /> 2176 <attr name="singleChoiceItemLayout" format="reference" /> 2177 <attr name="listItemLayout" format="reference" /> 2178 <attr name="progressLayout" format="reference" /> 2179 <attr name="horizontalProgressLayout" format="reference" /> 2180 <!-- @hide Not ready for public use. --> 2181 <attr name="showTitle" format="boolean" /> 2182 <!-- @hide Whether fullDark, etc. should use default values if null. --> 2183 <attr name="needsDefaultBackgrounds" format="boolean" /> 2184 <!-- @hide Workaround until we replace AlertController with custom layout. --> 2185 <attr name="controllerType"> 2186 <!-- The default controller. --> 2187 <enum name="normal" value="0" /> 2188 <!-- Controller for micro specific layout. --> 2189 <enum name="micro" value="1" /> 2190 </attr> 2191 <!-- @hide Offset when scrolling to a selection. --> 2192 <attr name="selectionScrollOffset" format="dimension" /> 2193 </declare-styleable> 2194 2195 <!-- @hide --> 2196 <declare-styleable name="ButtonBarLayout"> 2197 <!-- Whether to automatically stack the buttons when there is not 2198 enough space to lay them out side-by-side. --> 2199 <attr name="allowStacking" format="boolean" /> 2200 </declare-styleable> 2201 2202 <!-- Fragment animation class attributes. --> 2203 <declare-styleable name="FragmentAnimation"> 2204 <attr name="fragmentOpenEnterAnimation" format="reference" /> 2205 <attr name="fragmentOpenExitAnimation" format="reference" /> 2206 <attr name="fragmentCloseEnterAnimation" format="reference" /> 2207 <attr name="fragmentCloseExitAnimation" format="reference" /> 2208 <attr name="fragmentFadeEnterAnimation" format="reference" /> 2209 <attr name="fragmentFadeExitAnimation" format="reference" /> 2210 </declare-styleable> 2211 2212 <!-- Window animation class attributes. --> 2213 <declare-styleable name="WindowAnimation"> 2214 <!-- The animation used when a window is being added. --> 2215 <attr name="windowEnterAnimation" format="reference" /> 2216 <!-- The animation used when a window is being removed. --> 2217 <attr name="windowExitAnimation" format="reference" /> 2218 <!-- The animation used when a window is going from INVISIBLE to VISIBLE. --> 2219 <attr name="windowShowAnimation" format="reference" /> 2220 <!-- The animation used when a window is going from VISIBLE to INVISIBLE. --> 2221 <attr name="windowHideAnimation" format="reference" /> 2222 2223 <!-- When opening a new activity, this is the animation that is 2224 run on the next activity (which is entering the screen). --> 2225 <attr name="activityOpenEnterAnimation" format="reference" /> 2226 <!-- When opening a new activity, this is the animation that is 2227 run on the previous activity (which is exiting the screen). --> 2228 <attr name="activityOpenExitAnimation" format="reference" /> 2229 <!-- When closing the current activity, this is the animation that is 2230 run on the next activity (which is entering the screen). --> 2231 <attr name="activityCloseEnterAnimation" format="reference" /> 2232 <!-- When closing the current activity, this is the animation that is 2233 run on the current activity (which is exiting the screen). --> 2234 <attr name="activityCloseExitAnimation" format="reference" /> 2235 <!-- When opening an activity in a new task, this is the animation that is 2236 run on the activity of the new task (which is entering the screen). --> 2237 <attr name="taskOpenEnterAnimation" format="reference" /> 2238 <!-- When opening an activity in a new task, this is the animation that is 2239 run on the activity of the old task (which is exiting the screen). --> 2240 <attr name="taskOpenExitAnimation" format="reference" /> 2241 <!-- When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, 2242 this is the animation that is run on the activity of the new task (which is 2243 entering the screen and then leaving). --> 2244 <attr name="launchTaskBehindTargetAnimation" format="reference" /> 2245 <!-- When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, 2246 this is the animation that is run on the activity of the old task (which is 2247 already on the screen and then stays on). --> 2248 <attr name="launchTaskBehindSourceAnimation" format="reference" /> 2249 <!-- When closing the last activity of a task, this is the animation that is 2250 run on the activity of the next task (which is entering the screen). --> 2251 <attr name="taskCloseEnterAnimation" format="reference" /> 2252 <!-- When opening an activity in a new task, this is the animation that is 2253 run on the activity of the old task (which is exiting the screen). --> 2254 <attr name="taskCloseExitAnimation" format="reference" /> 2255 <!-- When bringing an existing task to the foreground, this is the 2256 animation that is run on the top activity of the task being brought 2257 to the foreground (which is entering the screen). --> 2258 <attr name="taskToFrontEnterAnimation" format="reference" /> 2259 <!-- When bringing an existing task to the foreground, this is the 2260 animation that is run on the current foreground activity 2261 (which is exiting the screen). --> 2262 <attr name="taskToFrontExitAnimation" format="reference" /> 2263 <!-- When sending the current task to the background, this is the 2264 animation that is run on the top activity of the task behind 2265 it (which is entering the screen). --> 2266 <attr name="taskToBackEnterAnimation" format="reference" /> 2267 <!-- When sending the current task to the background, this is the 2268 animation that is run on the top activity of the current task 2269 (which is exiting the screen). --> 2270 <attr name="taskToBackExitAnimation" format="reference" /> 2271 2272 <!-- When opening a new activity that shows the wallpaper, while 2273 currently not showing the wallpaper, this is the animation that 2274 is run on the new wallpaper activity (which is entering the screen). --> 2275 <attr name="wallpaperOpenEnterAnimation" format="reference" /> 2276 <!-- When opening a new activity that shows the wallpaper, while 2277 currently not showing the wallpaper, this is the animation that 2278 is run on the current activity (which is exiting the screen). --> 2279 <attr name="wallpaperOpenExitAnimation" format="reference" /> 2280 <!-- When opening a new activity that hides the wallpaper, while 2281 currently showing the wallpaper, this is the animation that 2282 is run on the new activity (which is entering the screen). --> 2283 <attr name="wallpaperCloseEnterAnimation" format="reference" /> 2284 <!-- When opening a new activity that hides the wallpaper, while 2285 currently showing the wallpaper, this is the animation that 2286 is run on the old wallpaper activity (which is exiting the screen). --> 2287 <attr name="wallpaperCloseExitAnimation" format="reference" /> 2288 2289 <!-- When opening a new activity that is on top of the wallpaper 2290 when the current activity is also on top of the wallpaper, 2291 this is the animation that is run on the new activity 2292 (which is entering the screen). The wallpaper remains 2293 static behind the animation. --> 2294 <attr name="wallpaperIntraOpenEnterAnimation" format="reference" /> 2295 <!-- When opening a new activity that is on top of the wallpaper 2296 when the current activity is also on top of the wallpaper, 2297 this is the animation that is run on the current activity 2298 (which is exiting the screen). The wallpaper remains 2299 static behind the animation. --> 2300 <attr name="wallpaperIntraOpenExitAnimation" format="reference" /> 2301 <!-- When closing a foreround activity that is on top of the wallpaper 2302 when the previous activity is also on top of the wallpaper, 2303 this is the animation that is run on the previous activity 2304 (which is entering the screen). The wallpaper remains 2305 static behind the animation. --> 2306 <attr name="wallpaperIntraCloseEnterAnimation" format="reference" /> 2307 <!-- When closing a foreround activity that is on top of the wallpaper 2308 when the previous activity is also on top of the wallpaper, 2309 this is the animation that is run on the current activity 2310 (which is exiting the screen). The wallpaper remains 2311 static behind the animation. --> 2312 <attr name="wallpaperIntraCloseExitAnimation" format="reference" /> 2313 2314 <!-- When opening a new activity from a RemoteViews, this is the 2315 animation that is run on the next activity (which is entering the 2316 screen). Requires config_overrideRemoteViewsActivityTransition to 2317 be true. --> 2318 <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" /> 2319 2320 </declare-styleable> 2321 2322 <!-- ============================= --> 2323 <!-- View package class attributes --> 2324 <!-- ============================= --> 2325 <eat-comment /> 2326 2327 <!-- Attributes that can be used with {@link android.view.View} or 2328 any of its subclasses. Also see {@link #ViewGroup_Layout} for 2329 attributes that are processed by the view's parent. --> 2330 <declare-styleable name="View"> 2331 <!-- Supply an identifier name for this view, to later retrieve it 2332 with {@link android.view.View#findViewById View.findViewById()} or 2333 {@link android.app.Activity#findViewById Activity.findViewById()}. 2334 This must be a 2335 resource reference; typically you set this using the 2336 <code>@+</code> syntax to create a new ID resources. 2337 For example: <code>android:id="@+id/my_id"</code> which 2338 allows you to later retrieve the view 2339 with <code>findViewById(R.id.my_id)</code>. --> 2340 <attr name="id" format="reference" /> 2341 2342 <!-- Supply a tag for this view containing a String, to be retrieved 2343 later with {@link android.view.View#getTag View.getTag()} or 2344 searched for with {@link android.view.View#findViewWithTag 2345 View.findViewWithTag()}. It is generally preferable to use 2346 IDs (through the android:id attribute) instead of tags because 2347 they are faster and allow for compile-time type checking. --> 2348 <attr name="tag" format="string" /> 2349 2350 <!-- The initial horizontal scroll offset, in pixels.--> 2351 <attr name="scrollX" format="dimension" /> 2352 2353 <!-- The initial vertical scroll offset, in pixels. --> 2354 <attr name="scrollY" format="dimension" /> 2355 2356 <!-- A drawable to use as the background. This can be either a reference 2357 to a full drawable resource (such as a PNG image, 9-patch, 2358 XML state list description, etc), or a solid color such as "#ff000000" 2359 (black). --> 2360 <attr name="background" format="reference|color" /> 2361 2362 <!-- Sets the padding, in pixels, of all four edges. Padding is defined as 2363 space between the edges of the view and the view's content. This value will take 2364 precedence over any of the edge-specific values (paddingLeft, paddingTop, 2365 paddingRight, paddingBottom, paddingHorizontal and paddingVertical), but will 2366 not override paddingStart or paddingEnd, if set. A view's size 2367 will include its padding. If a {@link android.R.attr#background} 2368 is provided, the padding will initially be set to that (0 if the 2369 drawable does not have padding). Explicitly setting a padding value 2370 will override the corresponding padding found in the background. --> 2371 <attr name="padding" format="dimension" /> 2372 <!-- Sets the padding, in pixels, of the left and right edges; see 2373 {@link android.R.attr#padding}. This value will take precedence over 2374 paddingLeft and paddingRight, but not paddingStart or paddingEnd (if set). --> 2375 <attr name="paddingHorizontal" format="dimension" /> 2376 <!-- Sets the padding, in pixels, of the top and bottom edges; see 2377 {@link android.R.attr#padding}. This value will take precedence over 2378 paddingTop and paddingBottom, if set. --> 2379 <attr name="paddingVertical" format="dimension" /> 2380 <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. --> 2381 <attr name="paddingLeft" format="dimension" /> 2382 <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. --> 2383 <attr name="paddingTop" format="dimension" /> 2384 <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. --> 2385 <attr name="paddingRight" format="dimension" /> 2386 <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. --> 2387 <attr name="paddingBottom" format="dimension" /> 2388 <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. --> 2389 <attr name="paddingStart" format="dimension" /> 2390 <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. --> 2391 <attr name="paddingEnd" format="dimension" /> 2392 2393 <!-- Controls whether a view can take focus. By default, this is "auto" which lets the 2394 framework determine whether a user can move focus to a view. By setting this attribute 2395 to true the view is allowed to take focus. By setting it to "false" the view will not 2396 take focus. This value does not impact the behavior of 2397 directly calling {@link android.view.View#requestFocus}, which will 2398 always request focus regardless of this view. It only impacts where 2399 focus navigation will try to move focus. --> 2400 <attr name="focusable" format="boolean|enum"> 2401 <enum name="auto" value="0x00000010" /> 2402 </attr> 2403 2404 <attr name="__removed3" /> 2405 2406 <!-- Describes the content of a view so that a autofill service can fill in the appropriate 2407 data. Multiple hints can be combined in a comma separated list or an array of strings 2408 to mean e.g. emailAddress or postalAddress. --> 2409 <attr name="autofillHints" format="string|reference" /> 2410 2411 <!-- Hints the Android System whether the view node associated with this View should be 2412 included in a view structure used for autofill purposes. --> 2413 <attr name="importantForAutofill"> 2414 <!-- Let the Android System use its heuristics to determine if the view is important for autofill. --> 2415 <flag name="auto" value="0" /> 2416 <!-- Hint the Android System that this view is important for autofill, 2417 and its children (if any) will be traversed.. --> 2418 <flag name="yes" value="0x1" /> 2419 <!-- Hint the Android System that this view is *not* important for autofill, 2420 but its children (if any) will be traversed.. --> 2421 <flag name="no" value="0x2" /> 2422 <!-- Hint the Android System that this view is important for autofill, 2423 but its children (if any) will not be traversed. --> 2424 <flag name="yesExcludeDescendants" value="0x4" /> 2425 <!-- Hint the Android System that this view is *not* important for autofill, 2426 and its children (if any) will not be traversed. --> 2427 <flag name="noExcludeDescendants" value="0x8" /> 2428 </attr> 2429 2430 <!-- Boolean that controls whether a view can take focus while in touch mode. 2431 If this is true for a view, that view can gain focus when clicked on, and can keep 2432 focus if another view is clicked on that doesn't have this attribute set to true. --> 2433 <attr name="focusableInTouchMode" format="boolean" /> 2434 2435 <!-- Controls the initial visibility of the view. --> 2436 <attr name="visibility"> 2437 <!-- Visible on screen; the default value. --> 2438 <enum name="visible" value="0" /> 2439 <!-- Not displayed, but taken into account during layout (space is left for it). --> 2440 <enum name="invisible" value="1" /> 2441 <!-- Completely hidden, as if the view had not been added. --> 2442 <enum name="gone" value="2" /> 2443 </attr> 2444 2445 <!-- Boolean internal attribute to adjust view layout based on 2446 system windows such as the status bar. 2447 If true, adjusts the padding of this view to leave space for the system windows. 2448 Will only take effect if this view is in a non-embedded activity. --> 2449 <attr name="fitsSystemWindows" format="boolean" /> 2450 2451 <!-- Defines which scrollbars should be displayed on scrolling or not. --> 2452 <attr name="scrollbars"> 2453 <!-- No scrollbar is displayed. --> 2454 <flag name="none" value="0x00000000" /> 2455 <!-- Displays horizontal scrollbar only. --> 2456 <flag name="horizontal" value="0x00000100" /> 2457 <!-- Displays vertical scrollbar only. --> 2458 <flag name="vertical" value="0x00000200" /> 2459 </attr> 2460 2461 <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or 2462 inset. When inset, they add to the padding of the view. And the 2463 scrollbars can be drawn inside the padding area or on the edge of 2464 the view. For example, if a view has a background drawable and you 2465 want to draw the scrollbars inside the padding specified by the 2466 drawable, you can use insideOverlay or insideInset. If you want them 2467 to appear at the edge of the view, ignoring the padding, then you can 2468 use outsideOverlay or outsideInset.--> 2469 <attr name="scrollbarStyle"> 2470 <!-- Inside the padding and overlaid. --> 2471 <enum name="insideOverlay" value="0x0" /> 2472 <!-- Inside the padding and inset. --> 2473 <enum name="insideInset" value="0x01000000" /> 2474 <!-- Edge of the view and overlaid. --> 2475 <enum name="outsideOverlay" value="0x02000000" /> 2476 <!-- Edge of the view and inset. --> 2477 <enum name="outsideInset" value="0x03000000" /> 2478 </attr> 2479 2480 <!-- Set this if the view will serve as a scrolling container, meaning 2481 that it can be resized to shrink its overall window so that there 2482 will be space for an input method. If not set, the default 2483 value will be true if "scrollbars" has the vertical scrollbar 2484 set, else it will be false. --> 2485 <attr name="isScrollContainer" format="boolean" /> 2486 2487 <!-- Defines whether to fade out scrollbars when they are not in use. --> 2488 <attr name="fadeScrollbars" format="boolean" /> 2489 <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. --> 2490 <attr name="scrollbarFadeDuration" format="integer" /> 2491 <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. --> 2492 <attr name="scrollbarDefaultDelayBeforeFade" format="integer" /> 2493 <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. --> 2494 <attr name="scrollbarSize" format="dimension" /> 2495 <!-- Defines the horizontal scrollbar thumb drawable. --> 2496 <attr name="scrollbarThumbHorizontal" format="reference" /> 2497 <!-- Defines the vertical scrollbar thumb drawable. --> 2498 <attr name="scrollbarThumbVertical" format="reference" /> 2499 <!-- Defines the horizontal scrollbar track drawable. --> 2500 <attr name="scrollbarTrackHorizontal" format="reference" /> 2501 <!-- Defines the vertical scrollbar track drawable. --> 2502 <attr name="scrollbarTrackVertical" format="reference" /> 2503 <!-- Defines whether the horizontal scrollbar track should always be drawn. --> 2504 <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" /> 2505 <!-- Defines whether the vertical scrollbar track should always be drawn. --> 2506 <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" /> 2507 2508 <!-- This attribute is ignored in API level 14 2509 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher. 2510 Using fading edges may introduce noticeable performance 2511 degradations and should be used only when required by the application's 2512 visual design. To request fading edges with API level 14 and above, 2513 use the <code>android:requiresFadingEdge</code> attribute instead. --> 2514 <attr name="fadingEdge"> 2515 <!-- No edge is faded. --> 2516 <flag name="none" value="0x00000000" /> 2517 <!-- Fades horizontal edges only. --> 2518 <flag name="horizontal" value="0x00001000" /> 2519 <!-- Fades vertical edges only. --> 2520 <flag name="vertical" value="0x00002000" /> 2521 </attr> 2522 <!-- Defines which edges should be faded on scrolling. --> 2523 <attr name="requiresFadingEdge"> 2524 <!-- No edge is faded. --> 2525 <flag name="none" value="0x00000000" /> 2526 <!-- Fades horizontal edges only. --> 2527 <flag name="horizontal" value="0x00001000" /> 2528 <!-- Fades vertical edges only. --> 2529 <flag name="vertical" value="0x00002000" /> 2530 </attr> 2531 <!-- Defines the length of the fading edges. --> 2532 <attr name="fadingEdgeLength" format="dimension" /> 2533 2534 <!-- Defines the next view to give focus to when the next focus is 2535 {@link android.view.View#FOCUS_LEFT}. 2536 2537 If the reference refers to a view that does not exist or is part 2538 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2539 will result when the reference is accessed.--> 2540 <attr name="nextFocusLeft" format="reference"/> 2541 2542 <!-- Defines the next view to give focus to when the next focus is 2543 {@link android.view.View#FOCUS_RIGHT} 2544 2545 If the reference refers to a view that does not exist or is part 2546 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2547 will result when the reference is accessed.--> 2548 <attr name="nextFocusRight" format="reference"/> 2549 2550 <!-- Defines the next view to give focus to when the next focus is 2551 {@link android.view.View#FOCUS_UP} 2552 2553 If the reference refers to a view that does not exist or is part 2554 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2555 will result when the reference is accessed.--> 2556 <attr name="nextFocusUp" format="reference"/> 2557 2558 <!-- Defines the next view to give focus to when the next focus is 2559 {@link android.view.View#FOCUS_DOWN} 2560 2561 If the reference refers to a view that does not exist or is part 2562 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2563 will result when the reference is accessed.--> 2564 <attr name="nextFocusDown" format="reference"/> 2565 2566 <!-- Defines the next view to give focus to when the next focus is 2567 {@link android.view.View#FOCUS_FORWARD} 2568 2569 If the reference refers to a view that does not exist or is part 2570 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2571 will result when the reference is accessed.--> 2572 <attr name="nextFocusForward" format="reference"/> 2573 2574 <!-- Defines whether this view reacts to click events. --> 2575 <attr name="clickable" format="boolean" /> 2576 2577 <!-- Defines whether this view reacts to long click events. --> 2578 <attr name="longClickable" format="boolean" /> 2579 2580 <!-- Defines whether this view reacts to context click events. --> 2581 <attr name="contextClickable" format="boolean" /> 2582 2583 <!-- If false, no state will be saved for this view when it is being 2584 frozen. The default is true, allowing the view to be saved 2585 (however it also must have an ID assigned to it for its 2586 state to be saved). Setting this to false only disables the 2587 state for this view, not for its children which may still 2588 be saved. --> 2589 <attr name="saveEnabled" format="boolean" /> 2590 2591 <!-- Specifies whether to filter touches when the view's window is obscured by 2592 another visible window. When set to true, the view will not receive touches 2593 whenever a toast, dialog or other window appears above the view's window. 2594 Refer to the {@link android.view.View} security documentation for more details. --> 2595 <attr name="filterTouchesWhenObscured" format="boolean" /> 2596 2597 <!-- Defines the quality of translucent drawing caches. This property is used 2598 only when the drawing cache is enabled and translucent. The default value is auto. 2599 Deprecated: The view drawing cache was largely made obsolete with the introduction of 2600 hardware-accelerated rendering in API 11. --> 2601 <attr name="drawingCacheQuality"> 2602 <!-- Lets the framework decide what quality level should be used 2603 for the drawing cache. 2604 Deprecated: The view drawing cache was largely made obsolete with the introduction 2605 of hardware-accelerated rendering in API 11. --> 2606 <enum name="auto" value="0" /> 2607 <!-- Low quality. When set to low quality, the drawing cache uses a lower color 2608 depth, thus losing precision in rendering gradients, but uses less memory. 2609 Deprecated: The view drawing cache was largely made obsolete with the introduction 2610 of hardware-accelerated rendering in API 11. --> 2611 <enum name="low" value="1" /> 2612 <!-- High quality. When set to high quality, the drawing cache uses a higher 2613 color depth but uses more memory. 2614 Deprecated: The view drawing cache was largely made obsolete with the introduction 2615 of hardware-accelerated rendering in API 11. --> 2616 <enum name="high" value="2" /> 2617 </attr> 2618 2619 <!-- Controls whether the view's window should keep the screen on 2620 while visible. --> 2621 <attr name="keepScreenOn" format="boolean" /> 2622 2623 <!-- When this attribute is set to true, the view gets its drawable state 2624 (focused, pressed, etc.) from its direct parent rather than from itself. --> 2625 <attr name="duplicateParentState" format="boolean" /> 2626 2627 <!-- Defines the minimum height of the view. It is not guaranteed 2628 the view will be able to achieve this minimum height (for example, 2629 if its parent layout constrains it with less available height). --> 2630 <attr name="minHeight" /> 2631 2632 <!-- Defines the minimum width of the view. It is not guaranteed 2633 the view will be able to achieve this minimum width (for example, 2634 if its parent layout constrains it with less available width). --> 2635 <attr name="minWidth" /> 2636 2637 <!-- Boolean that controls whether a view should have sound effects 2638 enabled for events such as clicking and touching. --> 2639 <attr name="soundEffectsEnabled" format="boolean" /> 2640 2641 <!-- Boolean that controls whether a view should have haptic feedback 2642 enabled for events such as long presses. --> 2643 <attr name="hapticFeedbackEnabled" format="boolean" /> 2644 2645 <!-- Defines text that briefly describes content of the view. This property is used 2646 primarily for accessibility. Since some views do not have textual 2647 representation this attribute can be used for providing such. --> 2648 <attr name="contentDescription" format="string" localization="suggested" /> 2649 2650 <!-- Sets the id of a view before which this one is visited in accessibility traversal. 2651 A screen-reader must visit the content of this view before the content of the one 2652 it precedes. 2653 {@see android.view.View#setAccessibilityTraversalBefore(int)} --> 2654 <attr name="accessibilityTraversalBefore" format="integer" /> 2655 2656 <!-- Sets the id of a view after which this one is visited in accessibility traversal. 2657 A screen-reader must visit the content of the other view before the content of 2658 this one. 2659 {@see android.view.View#setAccessibilityTraversalAfter(int)} --> 2660 <attr name="accessibilityTraversalAfter" format="integer" /> 2661 2662 <!-- Name of the method in this View's context to invoke when the view is 2663 clicked. This name must correspond to a public method that takes 2664 exactly one parameter of type View. For instance, if you specify 2665 <code>android:onClick="sayHello"</code>, you must declare a 2666 <code>public void sayHello(View v)</code> method of your context 2667 (typically, your Activity). --> 2668 <attr name="onClick" format="string" /> 2669 2670 <!-- Defines over-scrolling behavior. This property is used only if the 2671 View is scrollable. Over-scrolling is the ability for the user to 2672 receive feedback when attempting to scroll beyond meaningful content. --> 2673 <attr name="overScrollMode"> 2674 <!-- Always show over-scroll effects, even if the content fits entirely 2675 within the available space. --> 2676 <enum name="always" value="0" /> 2677 <!-- Only show over-scroll effects if the content is large 2678 enough to meaningfully scroll. --> 2679 <enum name="ifContentScrolls" value="1" /> 2680 <!-- Never show over-scroll effects. --> 2681 <enum name="never" value="2" /> 2682 </attr> 2683 2684 <!-- alpha property of the view, as a value between 0 (completely transparent) and 1 2685 (completely opaque). --> 2686 <attr name="alpha" format="float" /> 2687 2688 <!-- base z depth of the view. --> 2689 <attr name="elevation" format="dimension" /> 2690 2691 <!-- translation in x of the view. This value is added post-layout to the left 2692 property of the view, which is set by its layout. --> 2693 <attr name="translationX" format="dimension" /> 2694 2695 <!-- translation in y of the view. This value is added post-layout to the top 2696 property of the view, which is set by its layout. --> 2697 <attr name="translationY" format="dimension" /> 2698 2699 <!-- translation in z of the view. This value is added to its elevation. --> 2700 <attr name="translationZ" format="dimension" /> 2701 2702 <!-- x location of the pivot point around which the view will rotate and scale. 2703 This xml attribute sets the pivotX property of the View. --> 2704 <attr name="transformPivotX" format="dimension" /> 2705 2706 <!-- y location of the pivot point around which the view will rotate and scale. 2707 This xml attribute sets the pivotY property of the View. --> 2708 <attr name="transformPivotY" format="dimension" /> 2709 2710 <!-- rotation of the view, in degrees. --> 2711 <attr name="rotation" format="float" /> 2712 2713 <!-- rotation of the view around the x axis, in degrees. --> 2714 <attr name="rotationX" format="float" /> 2715 2716 <!-- rotation of the view around the y axis, in degrees. --> 2717 <attr name="rotationY" format="float" /> 2718 2719 <!-- scale of the view in the x direction. --> 2720 <attr name="scaleX" format="float" /> 2721 2722 <!-- scale of the view in the y direction. --> 2723 <attr name="scaleY" format="float" /> 2724 2725 <!-- Determines which side the vertical scroll bar should be placed on. --> 2726 <attr name="verticalScrollbarPosition"> 2727 <!-- Place the scroll bar wherever the system default determines. --> 2728 <enum name="defaultPosition" value="0" /> 2729 <!-- Place the scroll bar on the left. --> 2730 <enum name="left" value="1" /> 2731 <!-- Place the scroll bar on the right. --> 2732 <enum name="right" value="2" /> 2733 </attr> 2734 2735 <!-- Specifies the type of layer backing this view. The default value is none. 2736 Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)} 2737 for more information.--> 2738 <attr name="layerType"> 2739 <!-- Don't use a layer. --> 2740 <enum name="none" value="0" /> 2741 <!-- Use a software layer. Refer to 2742 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2743 more information. --> 2744 <enum name="software" value="1" /> 2745 <!-- Use a hardware layer. Refer to 2746 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2747 more information. --> 2748 <enum name="hardware" value="2" /> 2749 </attr> 2750 2751 <!-- Defines the direction of layout drawing. This typically is associated with writing 2752 direction of the language script used. The possible values are "ltr" for Left-to-Right, 2753 "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing 2754 to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction 2755 used in "en-US". The default for this attribute is "inherit". --> 2756 <attr name="layoutDirection"> 2757 <!-- Left-to-Right. --> 2758 <enum name="ltr" value="0" /> 2759 <!-- Right-to-Left. --> 2760 <enum name="rtl" value="1" /> 2761 <!-- Inherit from parent. --> 2762 <enum name="inherit" value="2" /> 2763 <!-- Locale. --> 2764 <enum name="locale" value="3" /> 2765 </attr> 2766 2767 <!-- Defines the direction of the text. --> 2768 <attr name="textDirection" format="integer"> 2769 <!-- Default. --> 2770 <enum name="inherit" value="0" /> 2771 <!-- Default for the root view. The first strong directional character determines the 2772 paragraph direction. If there is no strong directional character, the paragraph 2773 direction is the view’s resolved layout direction. --> 2774 <enum name="firstStrong" value="1" /> 2775 <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise 2776 it is LTR if it contains any strong LTR characters. If there are neither, the 2777 paragraph direction is the view’s resolved layout direction. --> 2778 <enum name="anyRtl" value="2" /> 2779 <!-- The paragraph direction is left to right. --> 2780 <enum name="ltr" value="3" /> 2781 <!-- The paragraph direction is right to left. --> 2782 <enum name="rtl" value="4" /> 2783 <!-- The paragraph direction is coming from the system Locale. --> 2784 <enum name="locale" value="5" /> 2785 <!-- The first strong directional character determines the paragraph direction. If 2786 there is no strong directional character, the paragraph direction is LTR. --> 2787 <enum name="firstStrongLtr" value="6" /> 2788 <!-- The first strong directional character determines the paragraph direction. If 2789 there is no strong directional character, the paragraph direction is RTL. --> 2790 <enum name="firstStrongRtl" value="7" /> 2791 </attr> 2792 2793 <!-- Defines the alignment of the text. --> 2794 <attr name="textAlignment" format="integer"> 2795 <!-- Default. --> 2796 <enum name="inherit" value="0" /> 2797 <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, 2798 ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s 2799 text direction. --> 2800 <enum name="gravity" value="1" /> 2801 <!-- Align to the start of the paragraph, for example: ALIGN_NORMAL. --> 2802 <enum name="textStart" value="2" /> 2803 <!-- Align to the end of the paragraph, for example: ALIGN_OPPOSITE. --> 2804 <enum name="textEnd" value="3" /> 2805 <!-- Center the paragraph, for example: ALIGN_CENTER. --> 2806 <enum name="center" value="4" /> 2807 <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved 2808 layoutDirection is LTR, and ALIGN_RIGHT otherwise. --> 2809 <enum name="viewStart" value="5" /> 2810 <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved 2811 layoutDirection is LTR, and ALIGN_LEFT otherwise. --> 2812 <enum name="viewEnd" value="6" /> 2813 </attr> 2814 2815 <!-- Describes whether or not this view is important for accessibility. 2816 If it is important, the view fires accessibility events and is 2817 reported to accessibility services that query the screen. Note: 2818 While not recommended, an accessibility service may decide to 2819 ignore this attribute and operate on all views in the view tree. --> 2820 <attr name="importantForAccessibility" format="integer"> 2821 <!-- The system determines whether the view is important for accessibility - default 2822 (recommended). --> 2823 <enum name="auto" value="0" /> 2824 <!-- The view is important for accessibility. --> 2825 <enum name="yes" value="1" /> 2826 <!-- The view is not important for accessibility. --> 2827 <enum name="no" value="2" /> 2828 <!-- The view is not important for accessibility, nor are any of its descendant 2829 views. --> 2830 <enum name="noHideDescendants" value="4" /> 2831 </attr> 2832 2833 <!-- Indicates to accessibility services whether the user should be notified when 2834 this view changes. --> 2835 <attr name="accessibilityLiveRegion" format="integer"> 2836 <!-- Accessibility services should not announce changes to this view. --> 2837 <enum name="none" value="0" /> 2838 <!-- Accessibility services should announce changes to this view. --> 2839 <enum name="polite" value="1" /> 2840 <!-- Accessibility services should interrupt ongoing speech to immediately 2841 announce changes to this view. --> 2842 <enum name="assertive" value="2" /> 2843 </attr> 2844 2845 <!-- Specifies the id of a view for which this view serves as a label for 2846 accessibility purposes. For example, a TextView before an EditText in 2847 the UI usually specifies what infomation is contained in the EditText. 2848 Hence, the TextView is a label for the EditText. --> 2849 <attr name="labelFor" format="reference" /> 2850 2851 <!-- Specifies a theme override for a view. When a theme override is set, the 2852 view will be inflated using a {@link android.content.Context} themed with 2853 the specified resource. During XML inflation, any child views under the 2854 view with a theme override will inherit the themed context. --> 2855 <attr name="theme" /> 2856 2857 <!-- Names a View such that it can be identified for Transitions. Names should be 2858 unique in the View hierarchy. --> 2859 <attr name="transitionName" format="string" /> 2860 2861 <!-- Specifies that this view should permit nested scrolling within a compatible 2862 ancestor view. --> 2863 <attr name="nestedScrollingEnabled" format="boolean" /> 2864 2865 <!-- Sets the state-based animator for the View. --> 2866 <attr name="stateListAnimator" format="reference"/> 2867 2868 <!-- Tint to apply to the background. --> 2869 <attr name="backgroundTint" format="color" /> 2870 2871 <!-- Blending mode used to apply the background tint. --> 2872 <attr name="backgroundTintMode"> 2873 <!-- The tint is drawn on top of the drawable. 2874 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2875 <enum name="src_over" value="3" /> 2876 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2877 color channels are thrown out. [Sa * Da, Sc * Da] --> 2878 <enum name="src_in" value="5" /> 2879 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2880 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2881 <enum name="src_atop" value="9" /> 2882 <!-- Multiplies the color and alpha channels of the drawable with those of 2883 the tint. [Sa * Da, Sc * Dc] --> 2884 <enum name="multiply" value="14" /> 2885 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2886 <enum name="screen" value="15" /> 2887 <!-- Combines the tint and drawable color and alpha channels, clamping the 2888 result to valid color values. Saturate(S + D) --> 2889 <enum name="add" value="16" /> 2890 </attr> 2891 2892 <!-- ViewOutlineProvider used to determine the View's Outline. --> 2893 <attr name="outlineProvider"> 2894 <!-- Default, background drawable-driven outline. --> 2895 <enum name="background" value="0" /> 2896 <!-- No outline provider. --> 2897 <enum name="none" value="1" /> 2898 <!-- Generates an opaque outline for the bounds of the view. --> 2899 <enum name="bounds" value="2" /> 2900 <!-- Generates an opaque outline for the padded bounds of the view. --> 2901 <enum name="paddedBounds" value="3" /> 2902 </attr> 2903 2904 <!-- Defines the drawable to draw over the content. This can be used as an overlay. 2905 The foreground drawable participates in the padding of the content if the gravity 2906 is set to fill. --> 2907 <attr name="foreground" format="reference|color" /> 2908 <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults 2909 to fill. --> 2910 <attr name="foregroundGravity"> 2911 <!-- Push object to the top of its container, not changing its size. --> 2912 <flag name="top" value="0x30" /> 2913 <!-- Push object to the bottom of its container, not changing its size. --> 2914 <flag name="bottom" value="0x50" /> 2915 <!-- Push object to the left of its container, not changing its size. --> 2916 <flag name="left" value="0x03" /> 2917 <!-- Push object to the right of its container, not changing its size. --> 2918 <flag name="right" value="0x05" /> 2919 <!-- Place object in the vertical center of its container, not changing its size. --> 2920 <flag name="center_vertical" value="0x10" /> 2921 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 2922 <flag name="fill_vertical" value="0x70" /> 2923 <!-- Place object in the horizontal center of its container, not changing its size. --> 2924 <flag name="center_horizontal" value="0x01" /> 2925 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 2926 <flag name="fill_horizontal" value="0x07" /> 2927 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 2928 <flag name="center" value="0x11" /> 2929 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 2930 <flag name="fill" value="0x77" /> 2931 <!-- Additional option that can be set to have the top and/or bottom edges of 2932 the child clipped to its container's bounds. 2933 The clip will be based on the vertical gravity: a top gravity will clip the bottom 2934 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 2935 <flag name="clip_vertical" value="0x80" /> 2936 <!-- Additional option that can be set to have the left and/or right edges of 2937 the child clipped to its container's bounds. 2938 The clip will be based on the horizontal gravity: a left gravity will clip the right 2939 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 2940 <flag name="clip_horizontal" value="0x08" /> 2941 </attr> 2942 <!-- Defines whether the foreground drawable should be drawn inside the padding. 2943 This property is turned on by default. --> 2944 <attr name="foregroundInsidePadding" format="boolean" /> 2945 <!-- Tint to apply to the foreground. --> 2946 <attr name="foregroundTint" format="color" /> 2947 <!-- Blending mode used to apply the foreground tint. --> 2948 <attr name="foregroundTintMode"> 2949 <!-- The tint is drawn on top of the drawable. 2950 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2951 <enum name="src_over" value="3" /> 2952 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2953 color channels are thrown out. [Sa * Da, Sc * Da] --> 2954 <enum name="src_in" value="5" /> 2955 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2956 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2957 <enum name="src_atop" value="9" /> 2958 <!-- Multiplies the color and alpha channels of the drawable with those of 2959 the tint. [Sa * Da, Sc * Dc] --> 2960 <enum name="multiply" value="14" /> 2961 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2962 <enum name="screen" value="15" /> 2963 <!-- Combines the tint and drawable color and alpha channels, clamping the 2964 result to valid color values. Saturate(S + D) --> 2965 <enum name="add" value="16" /> 2966 </attr> 2967 2968 <!-- Defines which scroll indicators should be displayed when the view 2969 can be scrolled. Multiple values may be combined using logical OR, 2970 for example "top|bottom". --> 2971 <attr name="scrollIndicators"> 2972 <!-- No scroll indicators are displayed. --> 2973 <flag name="none" value="0x00" /> 2974 <!-- Displays top scroll indicator when view can be scrolled up. --> 2975 <flag name="top" value="0x01" /> 2976 <!-- Displays bottom scroll indicator when vew can be scrolled down. --> 2977 <flag name="bottom" value="0x02" /> 2978 <!-- Displays left scroll indicator when vew can be scrolled left. --> 2979 <flag name="left" value="0x04" /> 2980 <!-- Displays right scroll indicator when vew can be scrolled right. --> 2981 <flag name="right" value="0x08" /> 2982 <!-- Displays right scroll indicator when vew can be scrolled in the 2983 start direction. --> 2984 <flag name="start" value="0x10" /> 2985 <!-- Displays right scroll indicator when vew can be scrolled in the 2986 end direction. --> 2987 <flag name="end" value="0x20" /> 2988 </attr> 2989 2990 <attr name="pointerIcon"> 2991 <!-- Null icon, pointer becomes invisible. --> 2992 <enum name="none" value="0" /> 2993 <!-- The default icon of arrow pointer. --> 2994 <enum name="arrow" value="1000" /> 2995 <!-- Pointer icon indicating context-menu will appear. --> 2996 <enum name="context_menu" value="1001" /> 2997 <!-- Pointer icon of a hand with the index finger. --> 2998 <enum name="hand" value="1002" /> 2999 <!-- Pointer icon indicating help. --> 3000 <enum name="help" value="1003" /> 3001 <!-- Pointer icon indicating something is going on and waiting. --> 3002 <enum name="wait" value="1004" /> 3003 <!-- Pointer icon for cell and grid. --> 3004 <enum name="cell" value="1006" /> 3005 <!-- Pointer icon of crosshair, indicating to spot a location. --> 3006 <enum name="crosshair" value="1007" /> 3007 <!-- Pointer icon of I-beam, usually for text. --> 3008 <enum name="text" value="1008" /> 3009 <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. --> 3010 <enum name="vertical_text" value="1009" /> 3011 <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be 3012 created. --> 3013 <enum name="alias" value="1010" /> 3014 <!-- Pointer icon of 'copy', used for drag/drop. --> 3015 <enum name="copy" value="1011" /> 3016 <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the 3017 current location. --> 3018 <enum name="no_drop" value="1012" /> 3019 <!-- Pointer icon of four-way arrows, indicating scrolling all direction. --> 3020 <enum name="all_scroll" value="1013" /> 3021 <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. --> 3022 <enum name="horizontal_double_arrow" value="1014" /> 3023 <!-- Pointer icon of vertical double arrow, indicating vertical resize. --> 3024 <enum name="vertical_double_arrow" value="1015" /> 3025 <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left. 3026 Indicating freeform resize. --> 3027 <enum name="top_right_diagonal_double_arrow" value="1016" /> 3028 <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right. 3029 Indicating freeform resize. --> 3030 <enum name="top_left_diagonal_double_arrow" value="1017" /> 3031 <!-- Pointer icon indicating zoom-in. --> 3032 <enum name="zoom_in" value="1018" /> 3033 <!-- Pointer icon indicating zoom-out. --> 3034 <enum name="zoom_out" value="1019" /> 3035 <!-- Pointer icon of a hand sign to grab something. --> 3036 <enum name="grab" value="1020" /> 3037 <!-- Pointer icon of a hand sign while grabbing something. --> 3038 <enum name="grabbing" value="1021" /> 3039 </attr> 3040 3041 <!-- Whether this view has elements that may overlap when drawn. See 3042 {@link android.view.View#forceHasOverlappingRendering(boolean)}. --> 3043 <attr name="forceHasOverlappingRendering" format="boolean" /> 3044 3045 <!-- Defines text displayed in a small popup window on hover or long press. --> 3046 <attr name="tooltipText" format="string" localization="suggested" /> 3047 3048 <!-- Whether this view is a root of a keyboard navigation cluster. 3049 See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. --> 3050 <attr name="keyboardNavigationCluster" format="boolean" /> 3051 3052 <attr name="__removed0" format="boolean" /> 3053 3054 <!-- Defines the next keyboard navigation cluster. 3055 3056 If the reference refers to a view that does not exist or is part 3057 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 3058 will result when the reference is accessed.--> 3059 <attr name="nextClusterForward" format="reference"/> 3060 3061 <attr name="__removed1" format="reference"/> 3062 3063 <!-- Whether this view is a default-focus view. 3064 Only one view per keyboard navigation cluster can have this attribute set to true. 3065 See {@link android.view.View#setFocusedByDefault(boolean)}. --> 3066 <attr name="focusedByDefault" format="boolean" /> 3067 3068 <!-- Whether this View should use a default focus highlight when it gets focused but 3069 doesn't have {@link android.R.attr#state_focused} defined in its background. --> 3070 <attr name="defaultFocusHighlightEnabled" format="boolean" /> 3071 3072 <!-- Whether this view should be treated as a focusable unit by screen reader accessibility 3073 tools. See {@link android.view.View#setScreenReaderFocusable(boolean)}. The default 3074 value, {@code false}, leaves the screen reader to consider other signals, such as 3075 focusability or the presence of text, to decide what it focus.--> 3076 <attr name="screenReaderFocusable" format="boolean" /> 3077 3078 <!-- The title this view should present to accessibility as a pane title. 3079 See {@link android.view.View#setAccessibilityPaneTitle(CharSequence)} --> 3080 <attr name="accessibilityPaneTitle" format="string" /> 3081 3082 <!-- Sets the color of the spot shadow that is drawn when the view has a positive Z or 3083 elevation value. 3084 <p> 3085 By default the shadow color is black. Generally, this color will be opaque so the 3086 intensity of the shadow is consistent between different views with different colors. 3087 <p> 3088 The opacity of the final spot shadow is a function of the shadow caster height, the 3089 alpha channel of the outlineSpotShadowColor (typically opaque), and the 3090 {@link android.R.attr#spotShadowAlpha} theme attribute. --> 3091 <attr name="outlineSpotShadowColor" format="color" /> 3092 3093 <!-- Sets the color of the ambient shadow that is drawn when the view has a positive Z 3094 or elevation value. 3095 <p> 3096 By default the shadow color is black. Generally, this color will be opaque so the 3097 intensity of the shadow is consistent between different views with different colors. 3098 <p> 3099 The opacity of the final ambient shadow is a function of the shadow caster height, 3100 the alpha channel of the outlineAmbientShadowColor (typically opaque), and the 3101 {@link android.R.attr#ambientShadowAlpha} theme attribute. --> 3102 <attr name="outlineAmbientShadowColor" format="color" /> 3103 </declare-styleable> 3104 3105 <!-- Attributes that can be assigned to a tag for a particular View. --> 3106 <declare-styleable name="ViewTag"> 3107 <!-- Specifies the key identifying a tag. This must be a resource reference. --> 3108 <attr name="id" /> 3109 <!-- Specifies the value with which to tag the view. --> 3110 <attr name="value" /> 3111 </declare-styleable> 3112 3113 <!-- Attributes that can be assigned to an <include> tag. 3114 @hide --> 3115 <declare-styleable name="Include"> 3116 <attr name="id" /> 3117 <attr name="visibility" /> 3118 </declare-styleable> 3119 3120 <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any 3121 of its subclasses. Also see {@link #ViewGroup_Layout} for 3122 attributes that this class processes in its children. --> 3123 <declare-styleable name="ViewGroup"> 3124 <!-- Defines whether changes in layout (caused by adding and removing items) should 3125 cause a LayoutTransition to run. When this flag is set to true, a default 3126 LayoutTransition object will be set on the ViewGroup container and default 3127 animations will run when these layout changes occur.--> 3128 <attr name="animateLayoutChanges" format="boolean" /> 3129 <!-- Defines whether a child is limited to draw inside of its bounds or not. 3130 This is useful with animations that scale the size of the children to more 3131 than 100% for instance. In such a case, this property should be set to false 3132 to allow the children to draw outside of their bounds. The default value of 3133 this property is true. --> 3134 <attr name="clipChildren" format="boolean" /> 3135 <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any 3136 EdgeEffect to its padding, if padding is not zero. This property is set to true by 3137 default. --> 3138 <attr name="clipToPadding" format="boolean" /> 3139 <!-- Defines the layout animation to use the first time the ViewGroup is laid out. 3140 Layout animations can also be started manually after the first layout. --> 3141 <attr name="layoutAnimation" format="reference" /> 3142 <!-- Defines whether layout animations should create a drawing cache for their 3143 children. Enabling the animation cache consumes more memory and requires 3144 a longer initialization but provides better performance. The animation 3145 cache is enabled by default. --> 3146 <attr name="animationCache" format="boolean" /> 3147 <!-- Defines the persistence of the drawing cache. The drawing cache might be 3148 enabled by a ViewGroup for all its children in specific situations (for 3149 instance during a scrolling.) This property lets you persist the cache 3150 in memory after its initial usage. Persisting the cache consumes more 3151 memory but may prevent frequent garbage collection is the cache is created 3152 over and over again. By default the persistence is set to scrolling. 3153 Deprecated: The view drawing cache was largely made obsolete with the introduction of 3154 hardware-accelerated rendering in API 11. --> 3155 <attr name="persistentDrawingCache"> 3156 <!-- The drawing cache is not persisted after use. --> 3157 <flag name="none" value="0x0" /> 3158 <!-- The drawing cache is persisted after a layout animation. --> 3159 <flag name="animation" value="0x1" /> 3160 <!-- The drawing cache is persisted after a scroll. --> 3161 <flag name="scrolling" value="0x2" /> 3162 <!-- The drawing cache is always persisted. --> 3163 <flag name="all" value="0x3" /> 3164 </attr> 3165 <!-- Defines whether the ViewGroup should always draw its children using their 3166 drawing cache or not. The default value is true. 3167 Deprecated: The view drawing cache was largely made obsolete with the introduction of 3168 hardware-accelerated rendering in API 11. --> 3169 <attr name="alwaysDrawnWithCache" format="boolean" /> 3170 <!-- Sets whether this ViewGroup's drawable states also include 3171 its children's drawable states. This is used, for example, to 3172 make a group appear to be focused when its child EditText or button 3173 is focused. --> 3174 <attr name="addStatesFromChildren" format="boolean" /> 3175 3176 <!-- Defines the relationship between the ViewGroup and its descendants 3177 when looking for a View to take focus. --> 3178 <attr name="descendantFocusability"> 3179 <!-- The ViewGroup will get focus before any of its descendants. --> 3180 <enum name="beforeDescendants" value="0" /> 3181 <!-- The ViewGroup will get focus only if none of its descendants want it. --> 3182 <enum name="afterDescendants" value="1" /> 3183 <!-- The ViewGroup will block its descendants from receiving focus. --> 3184 <enum name="blocksDescendants" value="2" /> 3185 </attr> 3186 3187 <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. --> 3188 <attr name="touchscreenBlocksFocus" format="boolean" /> 3189 3190 <!-- Sets whether this ViewGroup should split MotionEvents 3191 to separate child views during touch event dispatch. 3192 If false (default), touch events will be dispatched to 3193 the child view where the first pointer went down until 3194 the last pointer goes up. 3195 If true, touch events may be dispatched to multiple children. 3196 MotionEvents for each pointer will be dispatched to the child 3197 view where the initial ACTION_DOWN event happened. 3198 See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)} 3199 for more information. --> 3200 <attr name="splitMotionEvents" format="boolean" /> 3201 3202 <!-- Defines the layout mode of this ViewGroup. --> 3203 <attr name="layoutMode"> 3204 <!-- Use the children's clip bounds when laying out this container. --> 3205 <enum name="clipBounds" value="0" /> 3206 <!-- Use the children's optical bounds when laying out this container. --> 3207 <enum name="opticalBounds" value="1" /> 3208 </attr> 3209 3210 <!-- Sets whether or not this ViewGroup should be treated as a single entity 3211 when doing an Activity transition. Typically, the elements inside a 3212 ViewGroup are each transitioned from the scene individually. The default 3213 for a ViewGroup is false unless it has a background. See 3214 {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity, 3215 android.view.View, String)} for more information. Corresponds to 3216 {@link android.view.ViewGroup#setTransitionGroup(boolean)}.--> 3217 <attr name="transitionGroup" format="boolean" /> 3218 </declare-styleable> 3219 3220 <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts 3221 inside your application at runtime. --> 3222 <declare-styleable name="ViewStub"> 3223 <!-- Supply an identifier name for this view. --> 3224 <attr name="id" /> 3225 <!-- Supply an identifier for the layout resource to inflate when the ViewStub 3226 becomes visible or when forced to do so. The layout resource must be a 3227 valid reference to a layout. --> 3228 <attr name="layout" format="reference" /> 3229 <!-- Overrides the id of the inflated View with this value. --> 3230 <attr name="inflatedId" format="reference" /> 3231 </declare-styleable> 3232 3233 <!-- ===================================== --> 3234 <!-- View package parent layout attributes --> 3235 <!-- ===================================== --> 3236 <eat-comment /> 3237 3238 <!-- This is the basic set of layout attributes that are common to all 3239 layout managers. These attributes are specified with the rest of 3240 a view's normal attributes (such as {@link android.R.attr#background}, 3241 but will be parsed by the view's parent and ignored by the child. 3242 <p>The values defined here correspond to the base layout attribute 3243 class {@link android.view.ViewGroup.LayoutParams}. --> 3244 <declare-styleable name="ViewGroup_Layout"> 3245 <!-- Specifies the basic width of the view. This is a required attribute 3246 for any view inside of a containing layout manager. Its value may 3247 be a dimension (such as "12dip") for a constant width or one of 3248 the special constants. --> 3249 <attr name="layout_width" format="dimension"> 3250 <!-- The view should be as big as its parent (minus padding). 3251 This constant is deprecated starting from API Level 8 and 3252 is replaced by {@code match_parent}. --> 3253 <enum name="fill_parent" value="-1" /> 3254 <!-- The view should be as big as its parent (minus padding). 3255 Introduced in API Level 8. --> 3256 <enum name="match_parent" value="-1" /> 3257 <!-- The view should be only big enough to enclose its content (plus padding). --> 3258 <enum name="wrap_content" value="-2" /> 3259 </attr> 3260 3261 <!-- Specifies the basic height of the view. This is a required attribute 3262 for any view inside of a containing layout manager. Its value may 3263 be a dimension (such as "12dip") for a constant height or one of 3264 the special constants. --> 3265 <attr name="layout_height" format="dimension"> 3266 <!-- The view should be as big as its parent (minus padding). 3267 This constant is deprecated starting from API Level 8 and 3268 is replaced by {@code match_parent}. --> 3269 <enum name="fill_parent" value="-1" /> 3270 <!-- The view should be as big as its parent (minus padding). 3271 Introduced in API Level 8. --> 3272 <enum name="match_parent" value="-1" /> 3273 <!-- The view should be only big enough to enclose its content (plus padding). --> 3274 <enum name="wrap_content" value="-2" /> 3275 </attr> 3276 </declare-styleable> 3277 3278 <!-- This is the basic set of layout attributes for layout managers that 3279 wish to place margins around their child views. 3280 These attributes are specified with the rest of 3281 a view's normal attributes (such as {@link android.R.attr#background}, 3282 but will be parsed by the view's parent and ignored by the child. 3283 <p>The values defined here correspond to the base layout attribute 3284 class {@link android.view.ViewGroup.MarginLayoutParams}. --> 3285 <declare-styleable name="ViewGroup_MarginLayout"> 3286 <attr name="layout_width" /> 3287 <attr name="layout_height" /> 3288 <!-- Specifies extra space on the left, top, right and bottom 3289 sides of this view. If both layout_margin and any of layout_marginLeft, 3290 layout_marginRight, layout_marginStart, layout_marginEnd, 3291 layout_marginTop, and layout_marginBottom are 3292 also specified, the layout_margin value will take precedence over the 3293 edge-specific values. This space is outside this view's bounds. 3294 Margin values should be positive. --> 3295 <attr name="layout_margin" format="dimension" /> 3296 <!-- Specifies extra space on the left side of this view. 3297 This space is outside this view's bounds. 3298 Margin values should be positive. --> 3299 <attr name="layout_marginLeft" format="dimension" /> 3300 <!-- Specifies extra space on the top side of this view. 3301 This space is outside this view's bounds. 3302 Margin values should be positive.--> 3303 <attr name="layout_marginTop" format="dimension" /> 3304 <!-- Specifies extra space on the right side of this view. 3305 This space is outside this view's bounds. 3306 Margin values should be positive.--> 3307 <attr name="layout_marginRight" format="dimension" /> 3308 <!-- Specifies extra space on the bottom side of this view. 3309 This space is outside this view's bounds. 3310 Margin values should be positive.--> 3311 <attr name="layout_marginBottom" format="dimension" /> 3312 <!-- Specifies extra space on the start side of this view. 3313 This space is outside this view's bounds. 3314 Margin values should be positive.--> 3315 <attr name="layout_marginStart" format="dimension" /> 3316 <!-- Specifies extra space on the end side of this view. 3317 This space is outside this view's bounds. 3318 Margin values should be positive.--> 3319 <attr name="layout_marginEnd" format="dimension" /> 3320 <!-- Specifies extra space on the left and right sides of this view. 3321 Specifying layout_marginHorizontal is equivalent to specifying 3322 layout_marginLeft and layout_marginRight. 3323 If both layout_marginHorizontal and either/both of layout_marginLeft 3324 and layout_marginRight are also specified, the layout_marginHorizontal 3325 value will take precedence over the 3326 edge-specific values. Also, layout_margin will always take precedence over 3327 any of these values, including layout_marginHorizontal. 3328 This space is outside this view's bounds. 3329 Margin values should be positive.--> 3330 <attr name="layout_marginHorizontal" format="dimension" /> 3331 <!-- Specifies extra space on the top and bottom sides of this view. 3332 Specifying layout_marginVertical is equivalent to specifying 3333 layout_marginTop and layout_marginBottom with that same value. 3334 If both layout_marginVertical and either/both of layout_marginTop and 3335 layout_marginBottom are also specified, the layout_marginVertical value 3336 will take precedence over the edge-specific values. 3337 Also, layout_margin will always take precedence over 3338 any of these values, including layout_marginVertical. 3339 This space is outside this view's bounds. 3340 Margin values should be positive.--> 3341 <attr name="layout_marginVertical" format="dimension" /> 3342 </declare-styleable> 3343 3344 <!-- Use <code>input-method</code> as the root tag of the XML resource that 3345 describes an 3346 {@link android.view.inputmethod.InputMethod} service, which is 3347 referenced from its 3348 {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA} 3349 meta-data entry. Described here are the attributes that can be 3350 included in that tag. --> 3351 <declare-styleable name="InputMethod"> 3352 <!-- Component name of an activity that allows the user to modify 3353 the settings for this service. --> 3354 <attr name="settingsActivity" format="string" /> 3355 <!-- Set to true in all of the configurations for which this input 3356 method should be considered an option as the default. --> 3357 <attr name="isDefault" format="boolean" /> 3358 <!-- Set to true if this input method supports ways to switch to 3359 a next input method (for example, a globe key.). When this is true and 3360 InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true, 3361 the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod() 3362 accordingly. 3363 <p> Note that the system determines the most appropriate next input method 3364 and subtype in order to provide the consistent user experience in switching 3365 between IMEs and subtypes. --> 3366 <attr name="supportsSwitchingToNextInputMethod" format="boolean" /> 3367 <!-- Specifies if an IME can only be used while a device is in VR mode or on a dedicated 3368 device --> 3369 <attr name="isVrOnly" format="boolean"/> 3370 <attr name="__removed2" format="boolean" /> 3371 </declare-styleable> 3372 3373 <!-- This is the subtype of InputMethod. Subtype can describe locales (for example, en_US and 3374 fr_FR) and modes (for example, voice and keyboard), and is used for IME switch. This 3375 subtype allows the system to call the specified subtype of the IME directly. --> 3376 <declare-styleable name="InputMethod_Subtype"> 3377 <!-- The name of the subtype. --> 3378 <attr name="label" /> 3379 <!-- The icon of the subtype. --> 3380 <attr name="icon" /> 3381 <!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR) 3382 and will be passed to the IME when the framework calls the IME 3383 with the subtype. This is also used by the framework to know the supported locales 3384 of the IME. --> 3385 <attr name="imeSubtypeLocale" format="string" /> 3386 <!-- The mode of the subtype. This string can be a mode (for example, voice and keyboard) 3387 and this string will be passed to the IME when the framework calls the IME with the 3388 subtype. {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the 3389 value specified in this attribute. --> 3390 <attr name="imeSubtypeMode" format="string" /> 3391 <!-- Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the 3392 input method selection list in the settings app. 3393 InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it 3394 chooses a target subtype. --> 3395 <attr name="isAuxiliary" format="boolean" /> 3396 <!-- Set true when this subtype should be selected by default if no other subtypes are 3397 selected explicitly. Note that a subtype with this parameter being true will 3398 not be shown in the subtypes list. --> 3399 <attr name="overridesImplicitlyEnabledSubtype" format="boolean" /> 3400 <!-- The extra value of the subtype. This string can be any string and will be passed to 3401 the IME when the framework calls the IME with the subtype. --> 3402 <attr name="imeSubtypeExtraValue" format="string" /> 3403 <!-- The unique id for the subtype. The input method framework keeps track of enabled 3404 subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even 3405 if other attributes are different. If the ID is unspecified (by calling the other 3406 constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue, 3407 isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. --> 3408 <attr name="subtypeId" format="integer"/> 3409 <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII 3410 capable, it should guarantee that the user can input ASCII characters with 3411 this subtype. This is important because many password fields only allow 3412 ASCII-characters. --> 3413 <attr name="isAsciiCapable" format="boolean" /> 3414 <!-- The BCP-47 Language Tag of the subtype. This replaces 3415 {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}. --> 3416 <attr name="languageTag" format="string" /> 3417 </declare-styleable> 3418 3419 <!-- Use <code>spell-checker</code> as the root tag of the XML resource that 3420 describes an 3421 {@link android.service.textservice.SpellCheckerService} service, which is 3422 referenced from its 3423 {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA} 3424 meta-data entry. Described here are the attributes that can be 3425 included in that tag. --> 3426 <declare-styleable name="SpellChecker"> 3427 <!-- The name of the spell checker. --> 3428 <attr name="label" /> 3429 <!-- Component name of an activity that allows the user to modify 3430 the settings for this service. --> 3431 <attr name="settingsActivity"/> 3432 </declare-styleable> 3433 3434 <!-- This is the subtype of the spell checker. Subtype can describe locales (for example, 3435 en_US and fr_FR). --> 3436 <declare-styleable name="SpellChecker_Subtype"> 3437 <!-- The name of the subtype. --> 3438 <attr name="label" /> 3439 <!-- The locale of the subtype. This string should be a locale (for example, en_US and 3440 fr_FR). This is also used by the framework to know the supported locales 3441 of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()} 3442 returns the value specified in this attribute. --> 3443 <attr name="subtypeLocale" format="string" /> 3444 <!-- The extra value of the subtype. This string can be any string and will be passed to 3445 the SpellChecker. --> 3446 <attr name="subtypeExtraValue" format="string" /> 3447 <!-- The unique id for the subtype. The text service (spell checker) framework keeps track 3448 of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs 3449 will stay enabled even if other attributes are different. If the ID is unspecified or 3450 explicitly specified to 0 in XML resources, 3451 {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue})} will be used instead. 3452 --> 3453 <attr name="subtypeId" /> 3454 <!-- The BCP-47 Language Tag of the subtype. This replaces 3455 {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}. --> 3456 <attr name="languageTag" /> 3457 </declare-styleable> 3458 3459 <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that 3460 describes an {@link android.accessibilityservice.AccessibilityService} service, 3461 which is referenced from its 3462 {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA} 3463 meta-data entry. --> 3464 <declare-styleable name="AccessibilityService"> 3465 <!-- The event types this service would like to receive as specified in 3466 {@link android.view.accessibility.AccessibilityEvent}. This setting 3467 can be changed at runtime by calling 3468 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3469 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3470 <attr name="accessibilityEventTypes"> 3471 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.--> 3472 <flag name="typeViewClicked" value="0x00000001" /> 3473 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. --> 3474 <flag name="typeViewLongClicked" value="0x00000002" /> 3475 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. --> 3476 <flag name="typeViewSelected" value="0x00000004" /> 3477 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. --> 3478 <flag name="typeViewFocused" value="0x00000008" /> 3479 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. --> 3480 <flag name="typeViewTextChanged" value="0x00000010" /> 3481 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. --> 3482 <flag name="typeWindowStateChanged" value="0x00000020" /> 3483 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. --> 3484 <flag name="typeNotificationStateChanged" value="0x00000040" /> 3485 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. --> 3486 <flag name="typeViewHoverEnter" value="0x00000080" /> 3487 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. --> 3488 <flag name="typeViewHoverExit" value="0x00000100" /> 3489 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. --> 3490 <flag name="typeTouchExplorationGestureStart" value="0x00000200" /> 3491 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. --> 3492 <flag name="typeTouchExplorationGestureEnd" value="0x00000400" /> 3493 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. --> 3494 <flag name="typeWindowContentChanged" value="0x00000800" /> 3495 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. --> 3496 <flag name="typeViewScrolled" value="0x000001000" /> 3497 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. --> 3498 <flag name="typeViewTextSelectionChanged" value="0x000002000" /> 3499 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. --> 3500 <flag name="typeAnnouncement" value="0x00004000" /> 3501 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. --> 3502 <flag name="typeViewAccessibilityFocused" value="0x00008000" /> 3503 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. --> 3504 <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" /> 3505 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. --> 3506 <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" /> 3507 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. --> 3508 <flag name="typeGestureDetectionStart" value="0x00040000" /> 3509 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. --> 3510 <flag name="typeGestureDetectionEnd" value="0x00080000" /> 3511 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. --> 3512 <flag name="typeTouchInteractionStart" value="0x00100000" /> 3513 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. --> 3514 <flag name="typeTouchInteractionEnd" value="0x00200000" /> 3515 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. --> 3516 <flag name="typeWindowsChanged" value="0x00400000" /> 3517 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. --> 3518 <flag name="typeContextClicked" value="0x00800000" /> 3519 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. --> 3520 <flag name="typeAssistReadingContext" value="0x01000000" /> 3521 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. --> 3522 <flag name="typeAllMask" value="0xffffffff" /> 3523 </attr> 3524 <!-- Comma separated package names from which this service would like to receive events (leave out for all packages). 3525 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3526 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3527 <attr name="packageNames" format="string" /> 3528 <!-- The feedback types this service provides as specified in 3529 {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting 3530 can be changed at runtime by calling 3531 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3532 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3533 <attr name="accessibilityFeedbackType"> 3534 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. --> 3535 <flag name="feedbackSpoken" value="0x00000001" /> 3536 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. --> 3537 <flag name="feedbackHaptic" value="0x00000002" /> 3538 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. --> 3539 <flag name="feedbackAudible" value="0x00000004" /> 3540 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. --> 3541 <flag name="feedbackVisual" value="0x00000008" /> 3542 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. --> 3543 <flag name="feedbackGeneric" value="0x00000010" /> 3544 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. --> 3545 <flag name="feedbackAllMask" value="0xffffffff" /> 3546 </attr> 3547 <!-- The minimal period in milliseconds between two accessibility events of the same type 3548 are sent to this service. This setting can be changed at runtime by calling 3549 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3550 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3551 <attr name="notificationTimeout" format="integer" /> 3552 <!-- Additional flags as specified in 3553 {@link android.accessibilityservice.AccessibilityServiceInfo}. 3554 This setting can be changed at runtime by calling 3555 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3556 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3557 <attr name="accessibilityFlags"> 3558 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT}. --> 3559 <flag name="flagDefault" value="0x00000001" /> 3560 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS}. --> 3561 <flag name="flagIncludeNotImportantViews" value="0x00000002" /> 3562 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE}. --> 3563 <flag name="flagRequestTouchExplorationMode" value="0x00000004" /> 3564 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY}. 3565 Not used by the framework. 3566 --> 3567 <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" /> 3568 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS}. --> 3569 <flag name="flagReportViewIds" value="0x00000010" /> 3570 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS}. --> 3571 <flag name="flagRequestFilterKeyEvents" value="0x00000020" /> 3572 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS}. --> 3573 <flag name="flagRetrieveInteractiveWindows" value="0x00000040" /> 3574 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME}. --> 3575 <flag name="flagEnableAccessibilityVolume" value="0x00000080" /> 3576 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON}. --> 3577 <flag name="flagRequestAccessibilityButton" value="0x00000100" /> 3578 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES}. --> 3579 <flag name="flagRequestFingerprintGestures" value="0x00000200" /> 3580 </attr> 3581 <!-- Component name of an activity that allows the user to modify 3582 the settings for this service. This setting cannot be changed at runtime. --> 3583 <attr name="settingsActivity" /> 3584 <!-- Attribute whether the accessibility service wants to be able to retrieve the 3585 active window content. This setting cannot be changed at runtime. --> 3586 <attr name="canRetrieveWindowContent" format="boolean" /> 3587 <!-- Attribute whether the accessibility service wants to be able to request touch 3588 exploration mode in which touched items are spoken aloud and the UI can be 3589 explored via gestures. 3590 <p> 3591 Required to allow setting the {@link android.accessibilityservice 3592 #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag. 3593 </p> 3594 --> 3595 <attr name="canRequestTouchExplorationMode" format="boolean" /> 3596 <!-- Attribute whether the accessibility service wants to be able to request enhanced 3597 web accessibility enhancements. 3598 {@deprecated Not used by the framework} 3599 --> 3600 <attr name="canRequestEnhancedWebAccessibility" format="boolean" /> 3601 <!-- Attribute whether the accessibility service wants to be able to request to 3602 filter key events. 3603 <p> 3604 Required to allow setting the {@link android.accessibilityservice 3605 #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag. 3606 </p> 3607 --> 3608 <attr name="canRequestFilterKeyEvents" format="boolean" /> 3609 <!-- Attribute whether the accessibility service wants to be able to control 3610 display magnification. 3611 --> 3612 <attr name="canControlMagnification" format="boolean" /> 3613 <!-- Attribute whether the accessibility service wants to be able to perform gestures. --> 3614 <attr name="canPerformGestures" format="boolean" /> 3615 <!-- Attribute whether the accessibility service wants to be able to capture gestures from 3616 the fingerprint sensor. 3617 <p> 3618 Required to allow setting the {@link android.accessibilityservice 3619 #AccessibilityServiceInfo#FLAG_REQUEST_FINGERPRINT_GESTURES} flag to have any effect. 3620 </p> 3621 --> 3622 <attr name="canRequestFingerprintGestures" format="boolean" /> 3623 <!-- Short description of the accessibility service purpose or behavior.--> 3624 <attr name="description" /> 3625 <!-- Brief summary of the accessibility service purpose or behavior. --> 3626 <attr name="summary" /> 3627 </declare-styleable> 3628 3629 <!-- Use <code>print-service</code> as the root tag of the XML resource that 3630 describes an {@link android.printservice.PrintService} service, which is 3631 referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA} 3632 meta-data entry. --> 3633 <declare-styleable name="PrintService"> 3634 <!-- Fully qualified class name of an activity that allows the user to modify 3635 the settings for this service. --> 3636 <attr name="settingsActivity" /> 3637 <!-- Fully qualified class name of an activity that allows the user to manually 3638 add printers to this print service. --> 3639 <attr name="addPrintersActivity" format="string"/> 3640 <!-- Fully qualified class name of an activity with advanced print options 3641 specific to this print service. --> 3642 <attr name="advancedPrintOptionsActivity" format="string"/> 3643 <!-- The vendor name if this print service is vendor specific. --> 3644 <attr name="vendor" format="string"/> 3645 </declare-styleable> 3646 3647 <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that 3648 describes an {@link android.nfc.cardemulation.HostApduService} service, which 3649 is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA} 3650 entry. --> 3651 <declare-styleable name="HostApduService"> 3652 <!-- Short description of the functionality the service implements. This attribute 3653 is mandatory.--> 3654 <attr name="description" /> 3655 <!-- Whether the device must be unlocked before routing data to this service. 3656 The default is false.--> 3657 <attr name="requireDeviceUnlock" format="boolean"/> 3658 <!-- A drawable that can be rendered in Android's system UI for representing 3659 the service. --> 3660 <attr name="apduServiceBanner" format="reference"/> 3661 <!-- Component name of an activity that allows the user to modify 3662 the settings for this service. --> 3663 <attr name="settingsActivity"/> 3664 </declare-styleable> 3665 3666 <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that 3667 describes an {@link android.nfc.cardemulation.OffHostApduService} 3668 service, which is referenced from its 3669 {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. --> 3670 <declare-styleable name="OffHostApduService"> 3671 <!-- Short description of the functionality the service implements. This attribute 3672 is mandatory.--> 3673 <attr name="description" /> 3674 <!-- A drawable that can be rendered in Android's system UI for representing 3675 the service. --> 3676 <attr name="apduServiceBanner"/> 3677 <!-- Component name of an activity that allows the user to modify 3678 the settings for this service. --> 3679 <attr name="settingsActivity"/> 3680 </declare-styleable> 3681 3682 <!-- Specify one or more <code>aid-group</code> elements inside a 3683 <code>host-apdu-service</code> or <code>offhost-apdu-service</code> 3684 element to define a group of ISO7816 Application ID (AIDs) that 3685 your service can handle.--> 3686 <declare-styleable name="AidGroup"> 3687 <!-- Short description of what the AID group implements. This attribute is mandatory.--> 3688 <attr name="description" /> 3689 <!-- The category attribute will be used by the Android platform to present 3690 multiple applications that register ISO 7816 Application IDs (AIDs) in the 3691 same category uniformly. 3692 Additionally, when a category is specified, Android will ensure that either 3693 all AIDs in this group are routed to this application, or none at all. 3694 This attribute is optional.--> 3695 <attr name="category" format="string" /> 3696 </declare-styleable> 3697 3698 <!-- Specify one or more <code>aid-filter</code> elements inside a 3699 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3700 your service can handle. --> 3701 <declare-styleable name="AidFilter"> 3702 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3703 <attr name="name" /> 3704 </declare-styleable> 3705 3706 <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a 3707 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3708 prefix your service can handle. --> 3709 <declare-styleable name="AidPrefixFilter"> 3710 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3711 <attr name="name" /> 3712 </declare-styleable> 3713 3714 <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that 3715 describes an {@link android.nfc.cardemulation.HostNfcFService} service, which 3716 is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA} 3717 entry. --> 3718 <declare-styleable name="HostNfcFService"> 3719 <!-- Short description of the functionality the service implements. This attribute 3720 is mandatory.--> 3721 <attr name="description" /> 3722 </declare-styleable> 3723 3724 <!-- Specify one or more <code>system-code-filter</code> elements inside a 3725 <code>host-nfcf-service</code> element to specify a System Code 3726 your service can handle. --> 3727 <declare-styleable name="SystemCodeFilter"> 3728 <!-- The System Code. This attribute is mandatory. --> 3729 <attr name="name" /> 3730 </declare-styleable> 3731 3732 <!-- Specify one or more <code>nfcid2-filter</code> elements inside a 3733 <code>host-nfcf-service</code> element to specify a NFCID2 3734 your service can handle. --> 3735 <declare-styleable name="Nfcid2Filter"> 3736 <!-- The NFCID2. This attribute is mandatory. --> 3737 <attr name="name" /> 3738 </declare-styleable> 3739 3740 <!-- Specify one or more <code>t3tPmm-filter</code> elements inside a 3741 <code>host-nfcf-service</code> element to specify a LF_T3T_PMM. --> 3742 <declare-styleable name="T3tPmmFilter"> 3743 <attr name="name" /> 3744 3745 </declare-styleable> 3746 3747 <declare-styleable name="ActionMenuItemView"> 3748 <attr name="minWidth" /> 3749 </declare-styleable> 3750 3751 <!-- =============================== --> 3752 <!-- Widget package class attributes --> 3753 <!-- =============================== --> 3754 <eat-comment /> 3755 3756 <declare-styleable name="AbsListView"> 3757 <!-- Drawable used to indicate the currently selected item in the list. --> 3758 <attr name="listSelector" format="color|reference" /> 3759 <!-- When set to true, the selector will be drawn over the selected item. 3760 Otherwise the selector is drawn behind the selected item. The default 3761 value is false. --> 3762 <attr name="drawSelectorOnTop" format="boolean" /> 3763 <!-- Used by ListView and GridView to stack their content from the bottom. --> 3764 <attr name="stackFromBottom" format="boolean" /> 3765 <!-- When set to true, the list uses a drawing cache during scrolling. 3766 This makes the rendering faster but uses more memory. The default 3767 value is true. --> 3768 <attr name="scrollingCache" format="boolean" /> 3769 <!-- When set to true, the list will filter results as the user types. The 3770 List's adapter must support the Filterable interface for this to work. --> 3771 <attr name="textFilterEnabled" format="boolean" /> 3772 <!-- Sets the transcript mode for the list. In transcript mode, the list 3773 scrolls to the bottom to make new items visible when they are added. --> 3774 <attr name="transcriptMode"> 3775 <!-- Disables transcript mode. This is the default value. --> 3776 <enum name="disabled" value="0"/> 3777 <!-- The list will automatically scroll to the bottom when 3778 a data set change notification is received and only if the last item is 3779 already visible on screen. --> 3780 <enum name="normal" value="1" /> 3781 <!-- The list will automatically scroll to the bottom, no matter what items 3782 are currently visible. --> 3783 <enum name="alwaysScroll" value="2" /> 3784 </attr> 3785 <!-- Indicates that this list will always be drawn on top of solid, single-color 3786 opaque background. This allows the list to optimize drawing. --> 3787 <attr name="cacheColorHint" format="color" /> 3788 <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through 3789 the list. --> 3790 <attr name="fastScrollEnabled" format="boolean" /> 3791 <!-- Specifies the style of the fast scroll decorations. --> 3792 <attr name="fastScrollStyle" format="reference" /> 3793 <!-- When set to true, the list will use a more refined calculation 3794 method based on the pixels height of the items visible on screen. This 3795 property is set to true by default but should be set to false if your adapter 3796 will display items of varying heights. When this property is set to true and 3797 your adapter displays items of varying heights, the scrollbar thumb will 3798 change size as the user scrolls through the list. When set to false, the list 3799 will use only the number of items in the adapter and the number of items visible 3800 on screen to determine the scrollbar's properties. --> 3801 <attr name="smoothScrollbar" format="boolean" /> 3802 <!-- Defines the choice behavior for the view. By default, lists do not have 3803 any choice behavior. By setting the choiceMode to singleChoice, the list 3804 allows up to one item to be in a chosen state. By setting the choiceMode to 3805 multipleChoice, the list allows any number of items to be chosen. 3806 Finally, by setting the choiceMode to multipleChoiceModal the list allows 3807 any number of items to be chosen in a special selection mode. 3808 The application will supply a 3809 {@link android.widget.AbsListView.MultiChoiceModeListener} using 3810 {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the 3811 selection mode. This uses the {@link android.view.ActionMode} API. --> 3812 <attr name="choiceMode"> 3813 <!-- Normal list that does not indicate choices. --> 3814 <enum name="none" value="0" /> 3815 <!-- The list allows up to one choice. --> 3816 <enum name="singleChoice" value="1" /> 3817 <!-- The list allows multiple choices. --> 3818 <enum name="multipleChoice" value="2" /> 3819 <!-- The list allows multiple choices in a custom selection mode. --> 3820 <enum name="multipleChoiceModal" value="3" /> 3821 </attr> 3822 3823 <!-- When set to true, the list will always show the fast scroll interface. 3824 This setting implies fastScrollEnabled. --> 3825 <attr name="fastScrollAlwaysVisible" format="boolean" /> 3826 </declare-styleable> 3827 <!-- @hide --> 3828 <declare-styleable name="RecycleListView"> 3829 <!-- Bottom padding to use when no buttons are present. --> 3830 <attr name="paddingBottomNoButtons" format="dimension" /> 3831 <!-- Top padding to use when no title is present. --> 3832 <attr name="paddingTopNoTitle" format="dimension" /> 3833 </declare-styleable> 3834 <declare-styleable name="AbsSpinner"> 3835 <!-- Reference to an array resource that will populate the Spinner. For static content, 3836 this is simpler than populating the Spinner programmatically. --> 3837 <attr name="entries" /> 3838 </declare-styleable> 3839 <declare-styleable name="AnalogClock"> 3840 <attr name="dial" format="reference"/> 3841 <attr name="hand_hour" format="reference"/> 3842 <attr name="hand_minute" format="reference"/> 3843 </declare-styleable> 3844 <declare-styleable name="Button"> 3845 </declare-styleable> 3846 <declare-styleable name="Chronometer"> 3847 <!-- Format string: if specified, the Chronometer will display this 3848 string, with the first "%s" replaced by the current timer value 3849 in "MM:SS" or "H:MM:SS" form. 3850 If no format string is specified, the Chronometer will simply display 3851 "MM:SS" or "H:MM:SS". --> 3852 <attr name="format" format="string" localization="suggested" /> 3853 <!-- Specifies whether this Chronometer counts down or counts up from the base. 3854 If not specified this is false and the Chronometer counts up. --> 3855 <attr name="countDown" format="boolean" /> 3856 </declare-styleable> 3857 <declare-styleable name="CompoundButton"> 3858 <!-- Indicates the initial checked state of this button. --> 3859 <attr name="checked" format="boolean" /> 3860 <!-- Drawable used for the button graphic (for example, checkbox and radio button). --> 3861 <attr name="button" format="reference" /> 3862 <!-- Tint to apply to the button graphic. --> 3863 <attr name="buttonTint" format="color" /> 3864 <!-- Blending mode used to apply the button graphic tint. --> 3865 <attr name="buttonTintMode"> 3866 <!-- The tint is drawn on top of the drawable. 3867 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3868 <enum name="src_over" value="3" /> 3869 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3870 color channels are thrown out. [Sa * Da, Sc * Da] --> 3871 <enum name="src_in" value="5" /> 3872 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3873 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3874 <enum name="src_atop" value="9" /> 3875 <!-- Multiplies the color and alpha channels of the drawable with those of 3876 the tint. [Sa * Da, Sc * Dc] --> 3877 <enum name="multiply" value="14" /> 3878 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3879 <enum name="screen" value="15" /> 3880 <!-- Combines the tint and drawable color and alpha channels, clamping the 3881 result to valid color values. Saturate(S + D) --> 3882 <enum name="add" value="16" /> 3883 </attr> 3884 </declare-styleable> 3885 <declare-styleable name="CheckedTextView"> 3886 <!-- Indicates the initial checked state of this text. --> 3887 <attr name="checked" /> 3888 <!-- Drawable used for the check mark graphic. --> 3889 <attr name="checkMark" format="reference"/> 3890 <!-- Tint to apply to the check mark. --> 3891 <attr name="checkMarkTint" format="color" /> 3892 <!-- Blending mode used to apply the check mark tint. --> 3893 <attr name="checkMarkTintMode"> 3894 <!-- The tint is drawn on top of the drawable. 3895 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3896 <enum name="src_over" value="3" /> 3897 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3898 color channels are thrown out. [Sa * Da, Sc * Da] --> 3899 <enum name="src_in" value="5" /> 3900 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3901 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3902 <enum name="src_atop" value="9" /> 3903 <!-- Multiplies the color and alpha channels of the drawable with those of 3904 the tint. [Sa * Da, Sc * Dc] --> 3905 <enum name="multiply" value="14" /> 3906 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3907 <enum name="screen" value="15" /> 3908 <!-- Combines the tint and drawable color and alpha channels, clamping the 3909 result to valid color values. Saturate(S + D) --> 3910 <enum name="add" value="16" /> 3911 </attr> 3912 <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. --> 3913 <attr name="checkMarkGravity"> 3914 <!-- Push object to the left of its container, not changing its size. --> 3915 <flag name="left" value="0x03" /> 3916 <!-- Push object to the right of its container, not changing its size. --> 3917 <flag name="right" value="0x05" /> 3918 <!-- Push object to the beginning of its container, not changing its size. --> 3919 <flag name="start" value="0x00800003" /> 3920 <!-- Push object to the end of its container, not changing its size. --> 3921 <flag name="end" value="0x00800005" /> 3922 </attr> 3923 </declare-styleable> 3924 <declare-styleable name="EditText"> 3925 </declare-styleable> 3926 <declare-styleable name="FastScroll"> 3927 <!-- Drawable used for the scroll bar thumb. --> 3928 <attr name="thumbDrawable" format="reference" /> 3929 <!-- Minimum width of the thumb. --> 3930 <attr name="thumbMinWidth" format="dimension" /> 3931 <!-- Minimum height of the thumb. --> 3932 <attr name="thumbMinHeight" format="dimension" /> 3933 <!-- Drawable used for the scroll bar track. --> 3934 <attr name="trackDrawable" format="reference" /> 3935 <!-- Drawable used for the section header preview when right-aligned. --> 3936 <attr name="backgroundRight" format="reference" /> 3937 <!-- Drawable used for the section header preview when left-aligned. --> 3938 <attr name="backgroundLeft" format="reference" /> 3939 <!-- Position of section header preview. --> 3940 <attr name="position"> 3941 <!-- Floating at the top of the content. --> 3942 <enum name="floating" value="0" /> 3943 <!-- Pinned to the thumb, vertically centered with the middle of the thumb. --> 3944 <enum name="atThumb" value="1" /> 3945 <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. --> 3946 <enum name="aboveThumb" value="2" /> 3947 </attr> 3948 <attr name="textAppearance" /> 3949 <attr name="textColor" /> 3950 <attr name="textSize" /> 3951 <!-- Minimum width of the section header preview. --> 3952 <attr name="minWidth" /> 3953 <!-- Minimum height of the section header preview. --> 3954 <attr name="minHeight" /> 3955 <!-- Padding for the section header preview. --> 3956 <attr name="padding" /> 3957 <!-- Position of thumb in relation to the track. --> 3958 <attr name="thumbPosition"> 3959 <!-- The thumb's midpoint is anchored to the track. At its 3960 extremes, the thumb will extend half-way outside the 3961 track. --> 3962 <enum name="midpoint" value="0" /> 3963 <!-- The thumb is entirely inside the track. At its extremes, 3964 the thumb will be contained entirely within the track. --> 3965 <enum name="inside" value="1" /> 3966 </attr> 3967 </declare-styleable> 3968 <declare-styleable name="FrameLayout"> 3969 <!-- Determines whether to measure all children or just those in 3970 the VISIBLE or INVISIBLE state when measuring. Defaults to false. --> 3971 <attr name="measureAllChildren" format="boolean" /> 3972 </declare-styleable> 3973 <declare-styleable name="ExpandableListView"> 3974 <!-- Indicator shown beside the group View. This can be a stateful Drawable. --> 3975 <attr name="groupIndicator" format="reference" /> 3976 <!-- Indicator shown beside the child View. This can be a stateful Drawable. --> 3977 <attr name="childIndicator" format="reference" /> 3978 <!-- The left bound for an item's indicator. To specify a left bound specific to children, 3979 use childIndicatorLeft. --> 3980 <attr name="indicatorLeft" format="dimension" /> 3981 <!-- The right bound for an item's indicator. To specify a right bound specific to children, 3982 use childIndicatorRight. --> 3983 <attr name="indicatorRight" format="dimension" /> 3984 <!-- The left bound for a child's indicator. --> 3985 <attr name="childIndicatorLeft" format="dimension" /> 3986 <!-- The right bound for a child's indicator. --> 3987 <attr name="childIndicatorRight" format="dimension" /> 3988 <!-- Drawable or color that is used as a divider for children. (It will drawn 3989 below and above child items.) The height of this will be the same as 3990 the height of the normal list item divider. --> 3991 <attr name="childDivider" format="reference|color" /> 3992 <!-- The start bound for an item's indicator. To specify a start bound specific to children, 3993 use childIndicatorStart. --> 3994 <attr name="indicatorStart" format="dimension" /> 3995 <!-- The end bound for an item's indicator. To specify a right bound specific to children, 3996 use childIndicatorEnd. --> 3997 <attr name="indicatorEnd" format="dimension" /> 3998 <!-- The start bound for a child's indicator. --> 3999 <attr name="childIndicatorStart" format="dimension" /> 4000 <!-- The end bound for a child's indicator. --> 4001 <attr name="childIndicatorEnd" format="dimension" /> 4002 </declare-styleable> 4003 <declare-styleable name="Gallery"> 4004 <attr name="gravity" /> 4005 <!-- Sets how long a transition animation should run (in milliseconds) 4006 when layout has changed. Only relevant if animation is turned on. --> 4007 <attr name="animationDuration" format="integer" min="0" /> 4008 <attr name="spacing" format="dimension" /> 4009 <!-- Sets the alpha on the items that are not selected. --> 4010 <attr name="unselectedAlpha" format="float" /> 4011 </declare-styleable> 4012 <declare-styleable name="GridView"> 4013 <!-- Defines the default horizontal spacing between columns. --> 4014 <attr name="horizontalSpacing" format="dimension" /> 4015 <!-- Defines the default vertical spacing between rows. --> 4016 <attr name="verticalSpacing" format="dimension" /> 4017 <!-- Defines how columns should stretch to fill the available empty space, if any. --> 4018 <attr name="stretchMode"> 4019 <!-- Stretching is disabled. --> 4020 <enum name="none" value="0"/> 4021 <!-- The spacing between each column is stretched. --> 4022 <enum name="spacingWidth" value="1" /> 4023 <!-- Each column is stretched equally. --> 4024 <enum name="columnWidth" value="2" /> 4025 <!-- The spacing between each column is uniformly stretched.. --> 4026 <enum name="spacingWidthUniform" value="3" /> 4027 </attr> 4028 <!-- Specifies the fixed width for each column. --> 4029 <attr name="columnWidth" format="dimension" /> 4030 <!-- Defines how many columns to show. --> 4031 <attr name="numColumns" format="integer" min="0"> 4032 <!-- Display as many columns as possible to fill the available space. --> 4033 <enum name="auto_fit" value="-1" /> 4034 </attr> 4035 <!-- Specifies the gravity within each cell. --> 4036 <attr name="gravity" /> 4037 </declare-styleable> 4038 <declare-styleable name="ImageSwitcher"> 4039 </declare-styleable> 4040 <declare-styleable name="ImageView"> 4041 <!-- Sets a drawable as the content of this ImageView. --> 4042 <attr name="src" format="reference|color" /> 4043 <!-- Controls how the image should be resized or moved to match the size 4044 of this ImageView. See {@link android.widget.ImageView.ScaleType} --> 4045 <attr name="scaleType"> 4046 <!-- Scale using the image matrix when drawing. See 4047 {@link android.widget.ImageView#setImageMatrix(Matrix)}. --> 4048 <enum name="matrix" value="0" /> 4049 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. --> 4050 <enum name="fitXY" value="1" /> 4051 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. --> 4052 <enum name="fitStart" value="2" /> 4053 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. --> 4054 <enum name="fitCenter" value="3" /> 4055 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. --> 4056 <enum name="fitEnd" value="4" /> 4057 <!-- Center the image in the view, but perform no scaling. --> 4058 <enum name="center" value="5" /> 4059 <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions 4060 (width and height) of the image will be equal to or larger than the corresponding 4061 dimension of the view (minus padding). The image is then centered in the view. --> 4062 <enum name="centerCrop" value="6" /> 4063 <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both 4064 dimensions (width and height) of the image will be equal to or less than the 4065 corresponding dimension of the view (minus padding). The image is then centered in 4066 the view. --> 4067 <enum name="centerInside" value="7" /> 4068 </attr> 4069 <!-- Set this to true if you want the ImageView to adjust its bounds 4070 to preserve the aspect ratio of its drawable. --> 4071 <attr name="adjustViewBounds" format="boolean" /> 4072 <!-- An optional argument to supply a maximum width for this view. 4073 See {see android.widget.ImageView#setMaxWidth} for details. --> 4074 <attr name="maxWidth" format="dimension" /> 4075 <!-- An optional argument to supply a maximum height for this view. 4076 See {see android.widget.ImageView#setMaxHeight} for details. --> 4077 <attr name="maxHeight" format="dimension" /> 4078 <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode. 4079 Please note that for compatibility reasons, this is NOT consistent with the default 4080 SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by 4081 similar tint attributes on other views. --> 4082 <attr name="tint" format="color" /> 4083 <!-- If true, the image view will be baseline aligned with based on its 4084 bottom edge. --> 4085 <attr name="baselineAlignBottom" format="boolean" /> 4086 <!-- If true, the image will be cropped to fit within its padding. --> 4087 <attr name="cropToPadding" format="boolean" /> 4088 <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline} 4089 for details --> 4090 <attr name="baseline" format="dimension" /> 4091 <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent 4092 to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). --> 4093 <attr name="drawableAlpha" format="integer" /> 4094 <!-- Blending mode used to apply the image tint. --> 4095 <attr name="tintMode" /> 4096 </declare-styleable> 4097 <declare-styleable name="ToggleButton"> 4098 <!-- The text for the button when it is checked. --> 4099 <attr name="textOn" format="string" /> 4100 <!-- The text for the button when it is not checked. --> 4101 <attr name="textOff" format="string" /> 4102 <!-- The alpha to apply to the indicator when disabled. --> 4103 <attr name="disabledAlpha" /> 4104 </declare-styleable> 4105 <declare-styleable name="RelativeLayout"> 4106 <attr name="gravity" /> 4107 <!-- Indicates what view should not be affected by gravity. --> 4108 <attr name="ignoreGravity" format="reference" /> 4109 </declare-styleable> 4110 <declare-styleable name="LinearLayout"> 4111 <!-- Should the layout be a column or a row? Use "horizontal" 4112 for a row, "vertical" for a column. The default is 4113 horizontal. --> 4114 <attr name="orientation" /> 4115 <attr name="gravity" /> 4116 <!-- When set to false, prevents the layout from aligning its children's 4117 baselines. This attribute is particularly useful when the children 4118 use different values for gravity. The default value is true. --> 4119 <attr name="baselineAligned" format="boolean" /> 4120 <!-- When a linear layout is part of another layout that is baseline 4121 aligned, it can specify which of its children to baseline align to 4122 (that is, which child TextView).--> 4123 <attr name="baselineAlignedChildIndex" format="integer" min="0"/> 4124 <!-- Defines the maximum weight sum. If unspecified, the sum is computed 4125 by adding the layout_weight of all of the children. This can be 4126 used for instance to give a single child 50% of the total available 4127 space by giving it a layout_weight of 0.5 and setting the weightSum 4128 to 1.0. --> 4129 <attr name="weightSum" format="float" /> 4130 <!-- When set to true, all children with a weight will be considered having 4131 the minimum size of the largest child. If false, all children are 4132 measured normally. --> 4133 <attr name="measureWithLargestChild" format="boolean" /> 4134 <!-- Drawable to use as a vertical divider between buttons. --> 4135 <attr name="divider" /> 4136 <!-- Setting for which dividers to show. --> 4137 <attr name="showDividers"> 4138 <flag name="none" value="0" /> 4139 <flag name="beginning" value="1" /> 4140 <flag name="middle" value="2" /> 4141 <flag name="end" value="4" /> 4142 </attr> 4143 <!-- Size of padding on either end of a divider. --> 4144 <attr name="dividerPadding" format="dimension" /> 4145 </declare-styleable> 4146 <declare-styleable name="GridLayout"> 4147 <!-- The orientation property is not used during layout. It is only used to 4148 allocate row and column parameters when they are not specified by its children's 4149 layout paramters. GridLayout works like LinearLayout in this case; 4150 putting all the components either in a single row or in a single column - 4151 depending on the value of this flag. In the horizontal case, a columnCount 4152 property may be additionally supplied to force new rows to be created when a 4153 row is full. The rowCount attribute may be used similarly in the vertical case. 4154 The default is horizontal. --> 4155 <attr name="orientation" /> 4156 <!-- The maxmimum number of rows to create when automatically positioning children. --> 4157 <attr name="rowCount" format="integer" /> 4158 <!-- The maxmimum number of columns to create when automatically positioning children. --> 4159 <attr name="columnCount" format="integer" /> 4160 <!-- When set to true, tells GridLayout to use default margins when none are specified 4161 in a view's layout parameters. 4162 The default value is false. 4163 See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.--> 4164 <attr name="useDefaultMargins" format="boolean" /> 4165 <!-- When set to alignMargins, causes alignment to take place between the outer 4166 boundary of a view, as defined by its margins. When set to alignBounds, 4167 causes alignment to take place between the edges of the view. 4168 The default is alignMargins. 4169 See {@link android.widget.GridLayout#setAlignmentMode(int)}.--> 4170 <attr name="alignmentMode" /> 4171 <!-- When set to true, forces row boundaries to appear in the same order 4172 as row indices. 4173 The default is true. 4174 See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.--> 4175 <attr name="rowOrderPreserved" format="boolean" /> 4176 <!-- When set to true, forces column boundaries to appear in the same order 4177 as column indices. 4178 The default is true. 4179 See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.--> 4180 <attr name="columnOrderPreserved" format="boolean" /> 4181 </declare-styleable> 4182 <declare-styleable name="ListView"> 4183 <!-- Reference to an array resource that will populate the ListView. For static content, 4184 this is simpler than populating the ListView programmatically. --> 4185 <attr name="entries" /> 4186 <!-- Drawable or color to draw between list items. --> 4187 <attr name="divider" format="reference|color" /> 4188 <!-- Height of the divider. Will use the intrinsic height of the divider if this 4189 is not specified. --> 4190 <attr name="dividerHeight" format="dimension" /> 4191 <!-- When set to false, the ListView will not draw the divider after each header view. 4192 The default value is true. --> 4193 <attr name="headerDividersEnabled" format="boolean" /> 4194 <!-- When set to false, the ListView will not draw the divider before each footer view. 4195 The default value is true. --> 4196 <attr name="footerDividersEnabled" format="boolean" /> 4197 <!-- Drawable to draw above list content. --> 4198 <attr name="overScrollHeader" format="reference|color" /> 4199 <!-- Drawable to draw below list content. --> 4200 <attr name="overScrollFooter" format="reference|color" /> 4201 </declare-styleable> 4202 <declare-styleable name="PreferenceFrameLayout"> 4203 <!-- Padding to use at the top of the prefs content. --> 4204 <attr name="borderTop" format="dimension" /> 4205 <!-- Padding to use at the bottom of the prefs content. --> 4206 <attr name="borderBottom" format="dimension" /> 4207 <!-- Padding to use at the left of the prefs content. --> 4208 <attr name="borderLeft" format="dimension" /> 4209 <!-- Padding to use at the right of the prefs content. --> 4210 <attr name="borderRight" format="dimension" /> 4211 </declare-styleable> 4212 <declare-styleable name="PreferenceFrameLayout_Layout"> 4213 <!-- Padding to use at the top of the prefs content. --> 4214 <attr name="layout_removeBorders" format="boolean" /> 4215 </declare-styleable> 4216 <declare-styleable name="MenuView"> 4217 <!-- Default appearance of menu item text. --> 4218 <attr name="itemTextAppearance" format="reference" /> 4219 <!-- Default horizontal divider between rows of menu items. --> 4220 <attr name="horizontalDivider" format="reference" /> 4221 <!-- Default vertical divider between menu items. --> 4222 <attr name="verticalDivider" format="reference" /> 4223 <!-- Default background for the menu header. --> 4224 <attr name="headerBackground" format="color|reference" /> 4225 <!-- Default background for each menu item. --> 4226 <attr name="itemBackground" format="color|reference" /> 4227 <!-- Default animations for the menu. --> 4228 <attr name="windowAnimationStyle" /> 4229 <!-- Default disabled icon alpha for each menu item that shows an icon. --> 4230 <attr name="itemIconDisabledAlpha" format="float" /> 4231 <!-- Whether space should be reserved in layout when an icon is missing. --> 4232 <attr name="preserveIconSpacing" format="boolean" /> 4233 <!-- Drawable for the arrow icon indicating a particular item is a submenu. --> 4234 <attr name="subMenuArrow" format="reference" /> 4235 </declare-styleable> 4236 <declare-styleable name="IconMenuView"> 4237 <!-- Defines the height of each row. --> 4238 <attr name="rowHeight" format="dimension" /> 4239 <!-- Defines the maximum number of rows displayed. --> 4240 <attr name="maxRows" format="integer" /> 4241 <!-- Defines the maximum number of items per row. --> 4242 <attr name="maxItemsPerRow" format="integer" /> 4243 <!-- Defines the maximum number of items to show. --> 4244 <attr name="maxItems" format="integer" /> 4245 <!-- 'More' icon. --> 4246 <attr name="moreIcon" format="reference" /> 4247 </declare-styleable> 4248 4249 <declare-styleable name="ProgressBar"> 4250 <!-- Defines the minimum value. --> 4251 <attr name="min" format="integer" /> 4252 <!-- Defines the maximum value. --> 4253 <attr name="max" format="integer" /> 4254 <!-- Defines the default progress value, between 0 and max. --> 4255 <attr name="progress" format="integer" /> 4256 <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between 4257 the primary progress and the background. It can be ideal for media scenarios such as 4258 showing the buffering progress while the default progress shows the play progress. --> 4259 <attr name="secondaryProgress" format="integer" /> 4260 <!-- Allows to enable the indeterminate mode. In this mode the progress 4261 bar plays an infinite looping animation. --> 4262 <attr name="indeterminate" format="boolean" /> 4263 <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). --> 4264 <attr name="indeterminateOnly" format="boolean" /> 4265 <!-- Drawable used for the indeterminate mode. --> 4266 <attr name="indeterminateDrawable" format="reference" /> 4267 <!-- Drawable used for the progress mode. --> 4268 <attr name="progressDrawable" format="reference" /> 4269 <!-- Duration of the indeterminate animation. --> 4270 <attr name="indeterminateDuration" format="integer" min="1" /> 4271 <!-- Defines how the indeterminate mode should behave when the progress 4272 reaches max. --> 4273 <attr name="indeterminateBehavior"> 4274 <!-- Progress starts over from 0. --> 4275 <enum name="repeat" value="1" /> 4276 <!-- Progress keeps the current value and goes back to 0. --> 4277 <enum name="cycle" value="2" /> 4278 </attr> 4279 <attr name="minWidth" format="dimension" /> 4280 <attr name="maxWidth" /> 4281 <attr name="minHeight" format="dimension" /> 4282 <attr name="maxHeight" /> 4283 <attr name="interpolator" format="reference" /> 4284 <!-- Timeout between frames of animation in milliseconds. 4285 {@deprecated Not used by the framework}. --> 4286 <attr name="animationResolution" format="integer" /> 4287 <!-- Defines if the associated drawables need to be mirrored when in RTL mode. 4288 Default is false. --> 4289 <attr name="mirrorForRtl" format="boolean" /> 4290 <!-- Tint to apply to the progress indicator. --> 4291 <attr name="progressTint" format="color" /> 4292 <!-- Blending mode used to apply the progress indicator tint. --> 4293 <attr name="progressTintMode"> 4294 <!-- The tint is drawn on top of the drawable. 4295 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4296 <enum name="src_over" value="3" /> 4297 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4298 color channels are thrown out. [Sa * Da, Sc * Da] --> 4299 <enum name="src_in" value="5" /> 4300 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4301 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4302 <enum name="src_atop" value="9" /> 4303 <!-- Multiplies the color and alpha channels of the drawable with those of 4304 the tint. [Sa * Da, Sc * Dc] --> 4305 <enum name="multiply" value="14" /> 4306 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4307 <enum name="screen" value="15" /> 4308 <!-- Combines the tint and drawable color and alpha channels, clamping the 4309 result to valid color values. Saturate(S + D) --> 4310 <enum name="add" value="16" /> 4311 </attr> 4312 <!-- Tint to apply to the progress indicator background. --> 4313 <attr name="progressBackgroundTint" format="color" /> 4314 <!-- Blending mode used to apply the progress indicator background tint. --> 4315 <attr name="progressBackgroundTintMode"> 4316 <!-- The tint is drawn on top of the drawable. 4317 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4318 <enum name="src_over" value="3" /> 4319 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4320 color channels are thrown out. [Sa * Da, Sc * Da] --> 4321 <enum name="src_in" value="5" /> 4322 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4323 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4324 <enum name="src_atop" value="9" /> 4325 <!-- Multiplies the color and alpha channels of the drawable with those of 4326 the tint. [Sa * Da, Sc * Dc] --> 4327 <enum name="multiply" value="14" /> 4328 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4329 <enum name="screen" value="15" /> 4330 <!-- Combines the tint and drawable color and alpha channels, clamping the 4331 result to valid color values. Saturate(S + D) --> 4332 <enum name="add" value="16" /> 4333 </attr> 4334 <!-- Tint to apply to the secondary progress indicator. --> 4335 <attr name="secondaryProgressTint" format="color" /> 4336 <!-- Blending mode used to apply the secondary progress indicator tint. --> 4337 <attr name="secondaryProgressTintMode"> 4338 <!-- The tint is drawn on top of the drawable. 4339 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4340 <enum name="src_over" value="3" /> 4341 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4342 color channels are thrown out. [Sa * Da, Sc * Da] --> 4343 <enum name="src_in" value="5" /> 4344 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4345 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4346 <enum name="src_atop" value="9" /> 4347 <!-- Multiplies the color and alpha channels of the drawable with those of 4348 the tint. [Sa * Da, Sc * Dc] --> 4349 <enum name="multiply" value="14" /> 4350 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4351 <enum name="screen" value="15" /> 4352 <!-- Combines the tint and drawable color and alpha channels, clamping the 4353 result to valid color values. Saturate(S + D) --> 4354 <enum name="add" value="16" /> 4355 </attr> 4356 <!-- Tint to apply to the indeterminate progress indicator. --> 4357 <attr name="indeterminateTint" format="color" /> 4358 <!-- Blending mode used to apply the indeterminate progress indicator tint. --> 4359 <attr name="indeterminateTintMode"> 4360 <!-- The tint is drawn on top of the drawable. 4361 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4362 <enum name="src_over" value="3" /> 4363 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4364 color channels are thrown out. [Sa * Da, Sc * Da] --> 4365 <enum name="src_in" value="5" /> 4366 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4367 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4368 <enum name="src_atop" value="9" /> 4369 <!-- Multiplies the color and alpha channels of the drawable with those of 4370 the tint. [Sa * Da, Sc * Dc] --> 4371 <enum name="multiply" value="14" /> 4372 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4373 <enum name="screen" value="15" /> 4374 <!-- Combines the tint and drawable color and alpha channels, clamping the 4375 result to valid color values. Saturate(S + D) --> 4376 <enum name="add" value="16" /> 4377 </attr> 4378 <!-- Tint to apply to the background. --> 4379 <attr name="backgroundTint" /> 4380 <!-- Blending mode used to apply the background tint. --> 4381 <attr name="backgroundTintMode" /> 4382 </declare-styleable> 4383 4384 <declare-styleable name="SeekBar"> 4385 <!-- Draws the thumb on a seekbar. --> 4386 <attr name="thumb" format="reference" /> 4387 <!-- An offset for the thumb that allows it to extend out of the range of the track. --> 4388 <attr name="thumbOffset" format="dimension" /> 4389 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 4390 <attr name="splitTrack" format="boolean" /> 4391 <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha 4392 when disabled. This is required for Holo and Gingerbread, but 4393 should always be false for Material and beyond. 4394 @hide Developers shouldn't need to change this. --> 4395 <attr name="useDisabledAlpha" format="boolean" /> 4396 <!-- Tint to apply to the thumb drawable. --> 4397 <attr name="thumbTint" format="color" /> 4398 <!-- Blending mode used to apply the thumb tint. --> 4399 <attr name="thumbTintMode"> 4400 <!-- The tint is drawn on top of the drawable. 4401 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4402 <enum name="src_over" value="3" /> 4403 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4404 color channels are thrown out. [Sa * Da, Sc * Da] --> 4405 <enum name="src_in" value="5" /> 4406 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4407 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4408 <enum name="src_atop" value="9" /> 4409 <!-- Multiplies the color and alpha channels of the drawable with those of 4410 the tint. [Sa * Da, Sc * Dc] --> 4411 <enum name="multiply" value="14" /> 4412 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4413 <enum name="screen" value="15" /> 4414 <!-- Combines the tint and drawable color and alpha channels, clamping the 4415 result to valid color values. Saturate(S + D) --> 4416 <enum name="add" value="16" /> 4417 </attr> 4418 <!-- Drawable displayed at each progress position on a seekbar. --> 4419 <attr name="tickMark" format="reference" /> 4420 <!-- Tint to apply to the tick mark drawable. --> 4421 <attr name="tickMarkTint" format="color" /> 4422 <!-- Blending mode used to apply the tick mark tint. --> 4423 <attr name="tickMarkTintMode"> 4424 <!-- The tint is drawn on top of the drawable. 4425 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4426 <enum name="src_over" value="3" /> 4427 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4428 color channels are thrown out. [Sa * Da, Sc * Da] --> 4429 <enum name="src_in" value="5" /> 4430 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4431 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4432 <enum name="src_atop" value="9" /> 4433 <!-- Multiplies the color and alpha channels of the drawable with those of 4434 the tint. [Sa * Da, Sc * Dc] --> 4435 <enum name="multiply" value="14" /> 4436 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4437 <enum name="screen" value="15" /> 4438 <!-- Combines the tint and drawable color and alpha channels, clamping the 4439 result to valid color values. Saturate(S + D) --> 4440 <enum name="add" value="16" /> 4441 </attr> 4442 </declare-styleable> 4443 4444 <declare-styleable name="StackView"> 4445 <!-- Color of the res-out outline. --> 4446 <attr name="resOutColor" format="color" /> 4447 <!-- Color of the outline of click feedback. --> 4448 <attr name="clickColor" format="color" /> 4449 </declare-styleable> 4450 4451 <declare-styleable name="RatingBar"> 4452 <!-- The number of stars (or rating items) to show. --> 4453 <attr name="numStars" format="integer" /> 4454 <!-- The rating to set by default. --> 4455 <attr name="rating" format="float" /> 4456 <!-- The step size of the rating. --> 4457 <attr name="stepSize" format="float" /> 4458 <!-- Whether this rating bar is an indicator (and non-changeable by the user). --> 4459 <attr name="isIndicator" format="boolean" /> 4460 </declare-styleable> 4461 4462 <declare-styleable name="RadioGroup"> 4463 <!-- The id of the child radio button that should be checked by default 4464 within this radio group. --> 4465 <attr name="checkedButton" format="integer" /> 4466 <!-- Should the radio group be a column or a row? Use "horizontal" 4467 for a row, "vertical" for a column. The default is 4468 vertical. --> 4469 <attr name="orientation" /> 4470 </declare-styleable> 4471 <declare-styleable name="TableLayout"> 4472 <!-- The zero-based index of the columns to stretch. The column indices 4473 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4474 indices are ignored. You can stretch all columns by using the 4475 value "*" instead. Note that a column can be marked stretchable 4476 and shrinkable at the same time. --> 4477 <attr name="stretchColumns" format="string" /> 4478 <!-- The zero-based index of the columns to shrink. The column indices 4479 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4480 indices are ignored. You can shrink all columns by using the 4481 value "*" instead. Note that a column can be marked stretchable 4482 and shrinkable at the same time. --> 4483 <attr name="shrinkColumns" format="string" /> 4484 <!-- The zero-based index of the columns to collapse. The column indices 4485 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4486 indices are ignored. --> 4487 <attr name="collapseColumns" format="string" /> 4488 </declare-styleable> 4489 <declare-styleable name="TableRow"> 4490 4491 </declare-styleable> 4492 <declare-styleable name="TableRow_Cell"> 4493 <!-- The index of the column in which this child should be. --> 4494 <attr name="layout_column" format="integer" /> 4495 <!-- Defines how many columns this child should span. Must be >= 1.--> 4496 <attr name="layout_span" format="integer" /> 4497 </declare-styleable> 4498 <declare-styleable name="TabWidget"> 4499 <!-- Drawable used to draw the divider between tabs. --> 4500 <attr name="divider" /> 4501 <!-- Determines whether the strip under the tab indicators is drawn or not. --> 4502 <attr name="tabStripEnabled" format="boolean" /> 4503 <!-- Drawable used to draw the left part of the strip underneath the tabs. --> 4504 <attr name="tabStripLeft" format="reference" /> 4505 <!-- Drawable used to draw the right part of the strip underneath the tabs. --> 4506 <attr name="tabStripRight" format="reference" /> 4507 <!-- Layout used to organize each tab's content. --> 4508 <attr name="tabLayout" format="reference" /> 4509 </declare-styleable> 4510 <declare-styleable name="TextAppearance"> 4511 <!-- Text color. --> 4512 <attr name="textColor" /> 4513 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4514 <attr name="textSize" /> 4515 <!-- Style (normal, bold, italic, bold|italic) for the text. --> 4516 <attr name="textStyle" /> 4517 <!-- Weight for the font used in the TextView. --> 4518 <attr name="textFontWeight" /> 4519 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4520 <attr name="typeface" /> 4521 <!-- Font family (named by string or as a font resource reference) for the text. --> 4522 <attr name="fontFamily" /> 4523 <!-- Color of the text selection highlight. --> 4524 <attr name="textColorHighlight" /> 4525 <!-- Color of the hint text. --> 4526 <attr name="textColorHint" /> 4527 <!-- Color of the links. --> 4528 <attr name="textColorLink" /> 4529 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4530 <attr name="textAllCaps" format="boolean" /> 4531 <!-- Place a blurred shadow of text underneath the text, drawn with the 4532 specified color. The text shadow produced does not interact with 4533 properties on View that are responsible for real time shadows, 4534 {@link android.R.styleable#View_elevation elevation} and 4535 {@link android.R.styleable#View_translationZ translationZ}. --> 4536 <attr name="shadowColor" format="color" /> 4537 <!-- Horizontal offset of the text shadow. --> 4538 <attr name="shadowDx" format="float" /> 4539 <!-- Vertical offset of the text shadow. --> 4540 <attr name="shadowDy" format="float" /> 4541 <!-- Blur radius of the text shadow. --> 4542 <attr name="shadowRadius" format="float" /> 4543 <!-- Elegant text height, especially for less compacted complex script text. --> 4544 <attr name="elegantTextHeight" format="boolean" /> 4545 <!-- Whether to respect the ascent and descent of the fallback fonts that are used in 4546 displaying the text. When true, fallback fonts that end up getting used can increase 4547 the ascent and descent of the lines that they are used on. --> 4548 <attr name="fallbackLineSpacing" format="boolean"/> 4549 <!-- Text letter-spacing. --> 4550 <attr name="letterSpacing" format="float" /> 4551 <!-- Font feature settings. --> 4552 <attr name="fontFeatureSettings" format="string" /> 4553 </declare-styleable> 4554 <declare-styleable name="TextClock"> 4555 <!-- Specifies the formatting pattern used to show the time and/or date 4556 in 12-hour mode. Please refer to {@link android.text.format.DateFormat} 4557 for a complete description of accepted formatting patterns. 4558 The default pattern is a locale-appropriate equivalent of "h:mm a". --> 4559 <attr name="format12Hour" format="string"/> 4560 <!-- Specifies the formatting pattern used to show the time and/or date 4561 in 24-hour mode. Please refer to {@link android.text.format.DateFormat} 4562 for a complete description of accepted formatting patterns. 4563 The default pattern is a locale-appropriate equivalent of "H:mm". --> 4564 <attr name="format24Hour" format="string"/> 4565 <!-- Specifies the time zone to use. When this attribute is specified, the 4566 TextClock will ignore the time zone of the system. To use the user's 4567 time zone, do not specify this attribute. The default value is the 4568 user's time zone. Please refer to {@link java.util.TimeZone} for more 4569 information about time zone ids. --> 4570 <attr name="timeZone" format="string"/> 4571 </declare-styleable> 4572 <declare-styleable name="TextSwitcher"> 4573 </declare-styleable> 4574 <declare-styleable name="TextView"> 4575 <!-- Determines the minimum type that getText() will return. 4576 The default is "normal". 4577 Note that EditText and LogTextBox always return Editable, 4578 even if you specify something less powerful here. --> 4579 <attr name="bufferType"> 4580 <!-- Can return any CharSequence, possibly a 4581 Spanned one if the source text was Spanned. --> 4582 <enum name="normal" value="0" /> 4583 <!-- Can only return Spannable. --> 4584 <enum name="spannable" value="1" /> 4585 <!-- Can only return Spannable and Editable. --> 4586 <enum name="editable" value="2" /> 4587 </attr> 4588 <!-- Text to display. --> 4589 <attr name="text" format="string" localization="suggested" /> 4590 <!-- Hint text to display when the text is empty. --> 4591 <attr name="hint" format="string" /> 4592 <!-- Text color. --> 4593 <attr name="textColor" /> 4594 <!-- Color of the text selection highlight. --> 4595 <attr name="textColorHighlight" /> 4596 <!-- Color of the hint text. --> 4597 <attr name="textColorHint" /> 4598 <!-- Base text color, typeface, size, and style. --> 4599 <attr name="textAppearance" /> 4600 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4601 <attr name="textSize" /> 4602 <!-- Sets the horizontal scaling factor for the text. --> 4603 <attr name="textScaleX" format="float" /> 4604 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4605 <attr name="typeface" /> 4606 <!-- Style (normal, bold, italic, bold|italic) for the text. --> 4607 <attr name="textStyle" /> 4608 <!-- Weight for the font used in the TextView. --> 4609 <attr name="textFontWeight" /> 4610 <!-- Font family (named by string or as a font resource reference) for the text. --> 4611 <attr name="fontFamily" /> 4612 <!-- Text color for links. --> 4613 <attr name="textColorLink" /> 4614 <!-- Makes the cursor visible (the default) or invisible. --> 4615 <attr name="cursorVisible" format="boolean" /> 4616 <!-- Makes the TextView be at most this many lines tall. 4617 4618 When used on an editable text, the <code>inputType</code> attribute's value must be 4619 combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. --> 4620 <attr name="maxLines" format="integer" min="0" /> 4621 <!-- Makes the TextView be at most this many pixels tall. --> 4622 <attr name="maxHeight" /> 4623 <!-- Makes the TextView be exactly this many lines tall. --> 4624 <attr name="lines" format="integer" min="0" /> 4625 <!-- Makes the TextView be exactly this tall. 4626 You could get the same effect by specifying this number in the 4627 layout parameters. --> 4628 <attr name="height" format="dimension" /> 4629 <!-- Makes the TextView be at least 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 minLines attribute to apply. --> 4633 <attr name="minLines" format="integer" min="0" /> 4634 <!-- Makes the TextView be at least this many pixels tall. --> 4635 <attr name="minHeight" /> 4636 <!-- Makes the TextView be at most this many ems wide. --> 4637 <attr name="maxEms" format="integer" min="0" /> 4638 <!-- Makes the TextView be at most this many pixels wide. --> 4639 <attr name="maxWidth" /> 4640 <!-- Makes the TextView be exactly this many ems wide. --> 4641 <attr name="ems" format="integer" min="0" /> 4642 <!-- Makes the TextView be exactly this wide. 4643 You could get the same effect by specifying this number in the 4644 layout parameters. --> 4645 <attr name="width" format="dimension" /> 4646 <!-- Makes the TextView be at least this many ems wide. --> 4647 <attr name="minEms" format="integer" min="0" /> 4648 <!-- Makes the TextView be at least this many pixels wide. --> 4649 <attr name="minWidth" /> 4650 <!-- Specifies how to align the text by the view's x- and/or y-axis 4651 when the text is smaller than the view. --> 4652 <attr name="gravity" /> 4653 <!-- Whether the text is allowed to be wider than the view (and 4654 therefore can be scrolled horizontally). --> 4655 <attr name="scrollHorizontally" format="boolean" /> 4656 <!-- Whether the characters of the field are displayed as 4657 password dots instead of themselves. 4658 {@deprecated Use inputType instead.} --> 4659 <attr name="password" format="boolean" /> 4660 <!-- Constrains the text to a single horizontally scrolling line 4661 instead of letting it wrap onto multiple lines, and advances 4662 focus instead of inserting a newline when you press the 4663 enter key. 4664 4665 The default value is false (multi-line wrapped text mode) for non-editable text, but if 4666 you specify any value for inputType, the default is true (single-line input field mode). 4667 4668 {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change 4669 the layout of a static text, and use the <code>textMultiLine</code> flag in the 4670 inputType attribute instead for editable text views (if both singleLine and inputType 4671 are supplied, the inputType flags will override the value of singleLine). } --> 4672 <attr name="singleLine" format="boolean" /> 4673 <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. 4674 For example, a non-enabled EditText prevents the user from editing the contained text, and 4675 a non-enabled Button prevents the user from tapping the button. 4676 The appearance of enabled and non-enabled widgets may differ, if the drawables referenced 4677 from evaluating state_enabled differ. --> 4678 <attr name="enabled" format="boolean" /> 4679 <!-- If the text is selectable, select it all when the view takes 4680 focus. --> 4681 <attr name="selectAllOnFocus" format="boolean" /> 4682 <!-- Leave enough room for ascenders and descenders instead of 4683 using the font ascent and descent strictly. (Normally true). --> 4684 <attr name="includeFontPadding" format="boolean" /> 4685 <!-- Set an input filter to constrain the text length to the 4686 specified number. --> 4687 <attr name="maxLength" format="integer" min="0" /> 4688 <!-- Place a blurred shadow of text underneath the text, drawn with the 4689 specified color. The text shadow produced does not interact with 4690 properties on View that are responsible for real time shadows, 4691 {@link android.R.styleable#View_elevation elevation} and 4692 {@link android.R.styleable#View_translationZ translationZ}. --> 4693 <attr name="shadowColor" /> 4694 <!-- Horizontal offset of the text shadow. --> 4695 <attr name="shadowDx" /> 4696 <!-- Vertical offset of the text shadow. --> 4697 <attr name="shadowDy" /> 4698 <!-- Blur radius of the text shadow. --> 4699 <attr name="shadowRadius" /> 4700 <attr name="autoLink" /> 4701 <!-- If set to false, keeps the movement method from being set 4702 to the link movement method even if autoLink causes links 4703 to be found. --> 4704 <attr name="linksClickable" format="boolean" /> 4705 <!-- If set, specifies that this TextView has a numeric input method. 4706 The default is false. 4707 {@deprecated Use inputType instead.} --> 4708 <attr name="numeric"> 4709 <!-- Input is numeric. --> 4710 <flag name="integer" value="0x01" /> 4711 <!-- Input is numeric, with sign allowed. --> 4712 <flag name="signed" value="0x03" /> 4713 <!-- Input is numeric, with decimals allowed. --> 4714 <flag name="decimal" value="0x05" /> 4715 </attr> 4716 <!-- If set, specifies that this TextView has a numeric input method 4717 and that these specific characters are the ones that it will 4718 accept. 4719 If this is set, numeric is implied to be true. 4720 The default is false. --> 4721 <attr name="digits" format="string" /> 4722 <!-- If set, specifies that this TextView has a phone number input 4723 method. The default is false. 4724 {@deprecated Use inputType instead.} --> 4725 <attr name="phoneNumber" format="boolean" /> 4726 <!-- If set, specifies that this TextView should use the specified 4727 input method (specified by fully-qualified class name). 4728 {@deprecated Use inputType instead.} --> 4729 <attr name="inputMethod" format="string" /> 4730 <!-- If set, specifies that this TextView has a textual input method 4731 and should automatically capitalize what the user types. 4732 The default is "none". 4733 {@deprecated Use inputType instead.} --> 4734 <attr name="capitalize"> 4735 <!-- Don't automatically capitalize anything. --> 4736 <enum name="none" value="0" /> 4737 <!-- Capitalize the first word of each sentence. --> 4738 <enum name="sentences" value="1" /> 4739 <!-- Capitalize the first letter of every word. --> 4740 <enum name="words" value="2" /> 4741 <!-- Capitalize every character. --> 4742 <enum name="characters" value="3" /> 4743 </attr> 4744 <!-- If set, specifies that this TextView has a textual input method 4745 and automatically corrects some common spelling errors. 4746 The default is "false". 4747 {@deprecated Use inputType instead.} --> 4748 <attr name="autoText" format="boolean" /> 4749 <!-- If set, specifies that this TextView has an input method. 4750 It will be a textual one unless it has otherwise been specified. 4751 For TextView, this is false by default. For EditText, it is 4752 true by default. 4753 {@deprecated Use inputType instead.} --> 4754 <attr name="editable" format="boolean" /> 4755 <!-- If set, the text view will include its current complete text 4756 inside of its frozen icicle in addition to meta-data such as 4757 the current cursor position. By default this is disabled; 4758 it can be useful when the contents of a text view is not stored 4759 in a persistent place such as a content provider. For 4760 {@link android.widget.EditText} it is always enabled, regardless 4761 of the value of the attribute. --> 4762 <attr name="freezesText" format="boolean" /> 4763 <!-- If set, causes words that are longer than the view is wide 4764 to be ellipsized instead of broken in the middle. 4765 You will often also want to set scrollHorizontally or singleLine 4766 as well so that the text as a whole is also constrained to 4767 a single line instead of still allowed to be broken onto 4768 multiple lines. --> 4769 <attr name="ellipsize" /> 4770 <!-- The drawable to be drawn above the text. --> 4771 <attr name="drawableTop" format="reference|color" /> 4772 <!-- The drawable to be drawn below the text. --> 4773 <attr name="drawableBottom" format="reference|color" /> 4774 <!-- The drawable to be drawn to the left of the text. --> 4775 <attr name="drawableLeft" format="reference|color" /> 4776 <!-- The drawable to be drawn to the right of the text. --> 4777 <attr name="drawableRight" format="reference|color" /> 4778 <!-- The drawable to be drawn to the start of the text. --> 4779 <attr name="drawableStart" format="reference|color" /> 4780 <!-- The drawable to be drawn to the end of the text. --> 4781 <attr name="drawableEnd" format="reference|color" /> 4782 <!-- The padding between the drawables and the text. --> 4783 <attr name="drawablePadding" format="dimension" /> 4784 <!-- Tint to apply to the compound (left, top, etc.) drawables. --> 4785 <attr name="drawableTint" format="color" /> 4786 <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. --> 4787 <attr name="drawableTintMode"> 4788 <!-- The tint is drawn on top of the drawable. 4789 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4790 <enum name="src_over" value="3" /> 4791 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4792 color channels are thrown out. [Sa * Da, Sc * Da] --> 4793 <enum name="src_in" value="5" /> 4794 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4795 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4796 <enum name="src_atop" value="9" /> 4797 <!-- Multiplies the color and alpha channels of the drawable with those of 4798 the tint. [Sa * Da, Sc * Dc] --> 4799 <enum name="multiply" value="14" /> 4800 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4801 <enum name="screen" value="15" /> 4802 <!-- Combines the tint and drawable color and alpha channels, clamping the 4803 result to valid color values. Saturate(S + D) --> 4804 <enum name="add" value="16" /> 4805 </attr> 4806 <!-- Extra spacing between lines of text. The value will not be applied for the last 4807 line of text. --> 4808 <attr name="lineSpacingExtra" format="dimension" /> 4809 <!-- Extra spacing between lines of text, as a multiplier. The value will not be applied 4810 for the last line of text.--> 4811 <attr name="lineSpacingMultiplier" format="float" /> 4812 <!-- Explicit height between lines of text. If set, this will override the values set 4813 for lineSpacingExtra and lineSpacingMultiplier. --> 4814 <attr name="lineHeight" format="dimension" /> 4815 <!-- Distance from the top of the TextView to the first text baseline. If set, this 4816 overrides the value set for paddingTop. --> 4817 <attr name="firstBaselineToTopHeight" format="dimension" /> 4818 <!-- Distance from the bottom of the TextView to the last text baseline. If set, this 4819 overrides the value set for paddingBottom. --> 4820 <attr name="lastBaselineToBottomHeight" format="dimension" /> 4821 <!-- The number of times to repeat the marquee animation. Only applied if the 4822 TextView has marquee enabled. --> 4823 <attr name="marqueeRepeatLimit" format="integer"> 4824 <!-- Indicates that marquee should repeat indefinitely. --> 4825 <enum name="marquee_forever" value="-1" /> 4826 </attr> 4827 <attr name="inputType" /> 4828 <!-- Whether undo should be allowed for editable text. Defaults to true. --> 4829 <attr name="allowUndo" format="boolean" /> 4830 <attr name="imeOptions" /> 4831 <!-- An addition content type description to supply to the input 4832 method attached to the text view, which is private to the 4833 implementation of the input method. This simply fills in 4834 the {@link android.view.inputmethod.EditorInfo#privateImeOptions 4835 EditorInfo.privateImeOptions} field when the input 4836 method is connected. --> 4837 <attr name="privateImeOptions" format="string" /> 4838 <!-- Supply a value for 4839 {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel} 4840 used when an input method is connected to the text view. --> 4841 <attr name="imeActionLabel" format="string" /> 4842 <!-- Supply a value for 4843 {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId} 4844 used when an input method is connected to the text view. --> 4845 <attr name="imeActionId" format="integer" /> 4846 <!-- Reference to an 4847 {@link android.R.styleable#InputExtras <input-extras>} 4848 XML resource containing additional data to 4849 supply to an input method, which is private to the implementation 4850 of the input method. This simply fills in 4851 the {@link android.view.inputmethod.EditorInfo#extras 4852 EditorInfo.extras} field when the input 4853 method is connected. --> 4854 <attr name="editorExtras" format="reference" /> 4855 4856 <!-- Reference to a drawable that will be used to display a text selection 4857 anchor on the left side of a selection region. --> 4858 <attr name="textSelectHandleLeft" /> 4859 <!-- Reference to a drawable that will be used to display a text selection 4860 anchor on the right side of a selection region. --> 4861 <attr name="textSelectHandleRight" /> 4862 <!-- Reference to a drawable that will be used to display a text selection 4863 anchor for positioning the cursor within text. --> 4864 <attr name="textSelectHandle" /> 4865 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 4866 TextEdit field. --> 4867 <attr name="textEditPasteWindowLayout" /> 4868 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 4869 <attr name="textEditNoPasteWindowLayout" /> 4870 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 4871 insertion cursor because it would be clipped if it were positioned on top. --> 4872 <attr name="textEditSidePasteWindowLayout" /> 4873 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 4874 <attr name="textEditSideNoPasteWindowLayout" /> 4875 4876 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 4877 <attr name="textEditSuggestionItemLayout" /> 4878 <!-- Layout of the container of the suggestion popup window. --> 4879 <attr name="textEditSuggestionContainerLayout" /> 4880 <!-- Style of the highlighted string in the suggestion popup window. --> 4881 <attr name="textEditSuggestionHighlightStyle" /> 4882 4883 4884 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 4885 <attr name="textCursorDrawable" /> 4886 4887 <!-- Indicates that the content of a non-editable text can be selected. --> 4888 <attr name="textIsSelectable" /> 4889 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4890 <attr name="textAllCaps" /> 4891 <!-- Elegant text height, especially for less compacted complex script text. --> 4892 <attr name="elegantTextHeight" /> 4893 <!-- Whether to respect the ascent and descent of the fallback fonts that are used in 4894 displaying the text. When true, fallback fonts that end up getting used can increase 4895 the ascent and descent of the lines that they are used on. --> 4896 <attr name="fallbackLineSpacing" format="boolean"/> 4897 <!-- Text letter-spacing. --> 4898 <attr name="letterSpacing" /> 4899 <!-- Font feature settings. --> 4900 <attr name="fontFeatureSettings" /> 4901 <!-- Break strategy (control over paragraph layout). --> 4902 <attr name="breakStrategy"> 4903 <!-- Line breaking uses simple strategy. --> 4904 <enum name="simple" value="0" /> 4905 <!-- Line breaking uses high-quality strategy, including hyphenation. --> 4906 <enum name="high_quality" value="1" /> 4907 <!-- Line breaking strategy balances line lengths. --> 4908 <enum name="balanced" value="2" /> 4909 </attr> 4910 <!-- Frequency of automatic hyphenation. --> 4911 <attr name="hyphenationFrequency"> 4912 <!-- No hyphenation. --> 4913 <enum name="none" value="0" /> 4914 <!-- Less frequent hyphenation, useful for informal use cases, such 4915 as chat messages. --> 4916 <enum name="normal" value="1" /> 4917 <!-- Standard amount of hyphenation, useful for running text and for 4918 screens with limited space for text. --> 4919 <enum name="full" value="2" /> 4920 </attr> 4921 <!-- Specify the type of auto-size. Note that this feature is not supported by EditText, 4922 works only for TextView. --> 4923 <attr name="autoSizeTextType" format="enum"> 4924 <!-- No auto-sizing (default). --> 4925 <enum name="none" value="0" /> 4926 <!-- Uniform horizontal and vertical text size scaling to fit within the 4927 container. --> 4928 <enum name="uniform" value="1" /> 4929 </attr> 4930 <!-- Specify the auto-size step size if <code>autoSizeTextType</code> is set to 4931 <code>uniform</code>. The default is 1px. Overwrites 4932 <code>autoSizePresetSizes</code> if set. --> 4933 <attr name="autoSizeStepGranularity" format="dimension" /> 4934 <!-- Resource array of dimensions to be used in conjunction with 4935 <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides 4936 <code>autoSizeStepGranularity</code> if set. --> 4937 <attr name="autoSizePresetSizes"/> 4938 <!-- The minimum text size constraint to be used when auto-sizing text. --> 4939 <attr name="autoSizeMinTextSize" format="dimension" /> 4940 <!-- The maximum text size constraint to be used when auto-sizing text. --> 4941 <attr name="autoSizeMaxTextSize" format="dimension" /> 4942 <!-- Mode for justification. --> 4943 <attr name="justificationMode"> 4944 <!-- No justification. --> 4945 <enum name="none" value="0" /> 4946 <!-- Justification by stretching word spacing. --> 4947 <enum name="inter_word" value = "1" /> 4948 </attr> 4949 <!-- Whether or not this view is a heading for accessibility purposes. --> 4950 <attr name="accessibilityHeading" format="boolean"/> 4951 </declare-styleable> 4952 <declare-styleable name="TextViewAppearance"> 4953 <!-- Base text color, typeface, size, and style. --> 4954 <attr name="textAppearance" /> 4955 </declare-styleable> 4956 <declare-styleable name="SelectionModeDrawables"> 4957 <attr name="actionModeSelectAllDrawable" /> 4958 <attr name="actionModeCutDrawable" /> 4959 <attr name="actionModeCopyDrawable" /> 4960 <attr name="actionModePasteDrawable" /> 4961 </declare-styleable> 4962 <declare-styleable name="SuggestionSpan"> 4963 <attr name="textUnderlineColor" /> 4964 <attr name="textUnderlineThickness" /> 4965 </declare-styleable> 4966 <!-- An <code>input-extras</code> is a container for extra data to supply to 4967 an input method. Contains 4968 one more more {@link #Extra <extra>} tags. --> 4969 <declare-styleable name="InputExtras"> 4970 </declare-styleable> 4971 <declare-styleable name="AutoCompleteTextView"> 4972 <!-- Defines the hint displayed in the drop down menu. --> 4973 <attr name="completionHint" format="string" /> 4974 <!-- Defines the hint view displayed in the drop down menu. --> 4975 <attr name="completionHintView" format="reference" /> 4976 <!-- Defines the number of characters that the user must type before 4977 completion suggestions are displayed in a drop down menu. --> 4978 <attr name="completionThreshold" format="integer" min="1" /> 4979 <!-- Selector in a drop down list. --> 4980 <attr name="dropDownSelector" format="reference|color" /> 4981 <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself 4982 is used. --> 4983 <attr name="dropDownAnchor" format="reference" /> 4984 <!-- Specifies the basic width of the dropdown. Its value may 4985 be a dimension (such as "12dip") for a constant width, 4986 fill_parent or match_parent to match the width of the 4987 screen, or wrap_content to match the width of 4988 the anchored view. --> 4989 <attr name="dropDownWidth" format="dimension"> 4990 <!-- The dropdown should fill the width of the screen. 4991 This constant is deprecated starting from API Level 8 and 4992 is replaced by {@code match_parent}. --> 4993 <enum name="fill_parent" value="-1" /> 4994 <!-- The dropdown should fit the width of the screen. 4995 Introduced in API Level 8. --> 4996 <enum name="match_parent" value="-1" /> 4997 <!-- The dropdown should fit the width of its anchor. --> 4998 <enum name="wrap_content" value="-2" /> 4999 </attr> 5000 <!-- Specifies the basic height of the dropdown. Its value may 5001 be a dimension (such as "12dip") for a constant height, 5002 fill_parent or match_parent to fill the height of the 5003 screen, or wrap_content to match the height of 5004 the content of the drop down. --> 5005 <attr name="dropDownHeight" format="dimension"> 5006 <!-- The dropdown should fit the height of the screen. 5007 This constant is deprecated starting from API Level 8 and 5008 is replaced by {@code match_parent}. --> 5009 <enum name="fill_parent" value="-1" /> 5010 <!-- The dropdown should fit the height of the screen. 5011 Introduced in API Level 8. --> 5012 <enum name="match_parent" value="-1" /> 5013 <!-- The dropdown should fit the height of the content. --> 5014 <enum name="wrap_content" value="-2" /> 5015 </attr> 5016 <attr name="inputType" /> 5017 <!-- Theme to use for the completion popup window. --> 5018 <attr name="popupTheme" /> 5019 </declare-styleable> 5020 <declare-styleable name="PopupWindow"> 5021 <!-- The background to use for the popup window. --> 5022 <attr name="popupBackground" format="reference|color" /> 5023 <!-- Window elevation to use for the popup window. --> 5024 <attr name="popupElevation" format="dimension" /> 5025 <!-- The animation style to use for the popup window. --> 5026 <attr name="popupAnimationStyle" format="reference" /> 5027 <!-- Whether the popup window should overlap its anchor view. --> 5028 <attr name="overlapAnchor" format="boolean" /> 5029 <!-- Transition used to move views into the popup window. --> 5030 <attr name="popupEnterTransition" format="reference" /> 5031 <!-- Transition used to move views out of the popup window. --> 5032 <attr name="popupExitTransition" format="reference" /> 5033 </declare-styleable> 5034 <declare-styleable name="ListPopupWindow"> 5035 <!-- Amount of pixels by which the drop down should be offset vertically. --> 5036 <attr name="dropDownVerticalOffset" format="dimension" /> 5037 <!-- Amount of pixels by which the drop down should be offset horizontally. --> 5038 <attr name="dropDownHorizontalOffset" format="dimension" /> 5039 </declare-styleable> 5040 <declare-styleable name="ViewAnimator"> 5041 <!-- Identifier for the animation to use when a view is shown. --> 5042 <attr name="inAnimation" format="reference" /> 5043 <!-- Identifier for the animation to use when a view is hidden. --> 5044 <attr name="outAnimation" format="reference" /> 5045 <!-- Defines whether to animate the current View when the ViewAnimation 5046 is first displayed. --> 5047 <attr name="animateFirstView" format="boolean" /> 5048 </declare-styleable> 5049 <declare-styleable name="ViewFlipper"> 5050 <attr name="flipInterval" format="integer" min="0" /> 5051 <!-- When true, automatically start animating. --> 5052 <attr name="autoStart" format="boolean" /> 5053 </declare-styleable> 5054 <declare-styleable name="AdapterViewAnimator"> 5055 <!-- Identifier for the animation to use when a view is shown. --> 5056 <attr name="inAnimation" /> 5057 <!-- Identifier for the animation to use when a view is hidden. --> 5058 <attr name="outAnimation" /> 5059 <!--Defines whether the animator loops to the first view once it 5060 has reached the end of the list. --> 5061 <attr name="loopViews" format="boolean" /> 5062 <!-- Defines whether to animate the current View when the ViewAnimation 5063 is first displayed. --> 5064 <attr name="animateFirstView" /> 5065 </declare-styleable> 5066 <declare-styleable name="AdapterViewFlipper"> 5067 <attr name="flipInterval" /> 5068 <!-- When true, automatically start animating. --> 5069 <attr name="autoStart" /> 5070 </declare-styleable> 5071 <declare-styleable name="ViewSwitcher"> 5072 </declare-styleable> 5073 <declare-styleable name="ScrollView"> 5074 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 5075 <attr name="fillViewport" format="boolean" /> 5076 </declare-styleable> 5077 <declare-styleable name="HorizontalScrollView"> 5078 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 5079 <attr name="fillViewport" /> 5080 </declare-styleable> 5081 <declare-styleable name="Spinner"> 5082 <!-- The prompt to display when the spinner's dialog is shown. --> 5083 <attr name="prompt" format="reference" /> 5084 <!-- Display mode for spinner options. --> 5085 <attr name="spinnerMode" format="enum"> 5086 <!-- Spinner options will be presented to the user as a dialog window. --> 5087 <enum name="dialog" value="0" /> 5088 <!-- Spinner options will be presented to the user as an inline dropdown 5089 anchored to the spinner widget itself. --> 5090 <enum name="dropdown" value="1" /> 5091 </attr> 5092 <!-- List selector to use for spinnerMode="dropdown" display. --> 5093 <attr name="dropDownSelector" /> 5094 <!-- Theme to use for the drop-down or dialog popup window. --> 5095 <attr name="popupTheme" /> 5096 <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". --> 5097 <attr name="popupBackground" /> 5098 <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". --> 5099 <attr name="popupElevation" /> 5100 <!-- Width of the dropdown in spinnerMode="dropdown". --> 5101 <attr name="dropDownWidth" /> 5102 <!-- Reference to a layout to use for displaying a prompt in the dropdown for 5103 spinnerMode="dropdown". This layout must contain a TextView with the id 5104 {@code @android:id/text1} to be populated with the prompt text. --> 5105 <attr name="popupPromptView" format="reference" /> 5106 <!-- Gravity setting for positioning the currently selected item. --> 5107 <attr name="gravity" /> 5108 <!-- Whether this spinner should mark child views as enabled/disabled when 5109 the spinner itself is enabled/disabled. --> 5110 <attr name="disableChildrenWhenDisabled" format="boolean" /> 5111 </declare-styleable> 5112 5113 <declare-styleable name="DatePicker"> 5114 <!-- The first day of week according to {@link java.util.Calendar}. --> 5115 <attr name="firstDayOfWeek" /> 5116 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 5117 <attr name="minDate" format="string" /> 5118 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 5119 <attr name="maxDate" format="string" /> 5120 5121 <!-- Whether the spinners are shown. Only valid for "spinner" mode. --> 5122 <attr name="spinnersShown" format="boolean" /> 5123 <!-- Whether the calendar view is shown. Only valid for "spinner" mode. --> 5124 <attr name="calendarViewShown" format="boolean" /> 5125 5126 <!-- @hide The layout of the date picker. --> 5127 <attr name="internalLayout" format="reference" /> 5128 <!-- @hide The layout of the legacy DatePicker. --> 5129 <attr name="legacyLayout" /> 5130 5131 <!-- The text color for the selected date header text, ex. "2014" or 5132 "Tue, Mar 18". This should be a color state list where the 5133 activated state will be used when the year picker or day picker is 5134 active.--> 5135 <attr name="headerTextColor" format="color" /> 5136 <!-- The background for the selected date header. --> 5137 <attr name="headerBackground" /> 5138 5139 <!-- The list year's text appearance in the list. 5140 {@deprecated Use yearListTextColor. }--> 5141 <attr name="yearListItemTextAppearance" format="reference" /> 5142 <!-- @hide The list year's text appearance in the list when activated. --> 5143 <attr name="yearListItemActivatedTextAppearance" format="reference" /> 5144 <!-- The text color list of the calendar. --> 5145 <attr name="calendarTextColor" format="color" /> 5146 5147 <!-- Defines the look of the widget. Prior to the L release, the only choice was 5148 spinner. As of L, with the Material theme selected, the default layout is calendar, 5149 but this attribute can be used to force spinner to be used instead. --> 5150 <attr name="datePickerMode"> 5151 <!-- Date picker with spinner controls to select the date. --> 5152 <enum name="spinner" value="1" /> 5153 <!-- Date picker with calendar to select the date. --> 5154 <enum name="calendar" value="2" /> 5155 </attr> 5156 5157 <!-- The first year (inclusive), for example "1940". 5158 {@deprecated Use minDate instead.} --> 5159 <attr name="startYear" format="integer" /> 5160 <!-- The last year (inclusive), for example "2010". 5161 {@deprecated Use maxDate instead.} --> 5162 <attr name="endYear" format="integer" /> 5163 <!-- The text appearance for the month (ex. May) in the selected date header. 5164 {@deprecated Use headerTextColor instead.} --> 5165 <attr name="headerMonthTextAppearance" format="reference" /> 5166 <!-- The text appearance for the day of month (ex. 28) in the selected date header. 5167 {@deprecated Use headerTextColor instead.} --> 5168 <attr name="headerDayOfMonthTextAppearance" format="reference" /> 5169 <!-- The text appearance for the year (ex. 2014) in the selected date header. 5170 {@deprecated Use headerTextColor instead.} --> 5171 <attr name="headerYearTextAppearance" format="reference" /> 5172 <!-- The background color for the header's day of week. 5173 {@deprecated No longer displayed.} --> 5174 <attr name="dayOfWeekBackground" format="color" /> 5175 <!-- The text color for the header's day of week. 5176 {@deprecated No longer displayed.} --> 5177 <attr name="dayOfWeekTextAppearance" format="reference" /> 5178 <!-- The list year's selected circle color in the list. 5179 {@deprecated No longer displayed.} --> 5180 <attr name="yearListSelectorColor" format="color" /> 5181 5182 <!-- @hide Whether this time picker is being displayed within a dialog, 5183 in which case it may ignore the requested time picker mode due to 5184 space considerations. --> 5185 <attr name="dialogMode" format="boolean" /> 5186 </declare-styleable> 5187 5188 <declare-styleable name="TwoLineListItem"> 5189 <attr name="mode"> 5190 <!-- Always show only the first line. --> 5191 <enum name="oneLine" value="1" /> 5192 <!-- When selected show both lines, otherwise show only the first line. 5193 This is the default mode. --> 5194 <enum name="collapsing" value="2" /> 5195 <!-- Always show both lines. --> 5196 <enum name="twoLine" value="3" /> 5197 </attr> 5198 </declare-styleable> 5199 5200 <!-- SlidingDrawer specific attributes. These attributes are used to configure 5201 a SlidingDrawer from XML. --> 5202 <declare-styleable name="SlidingDrawer"> 5203 <!-- Identifier for the child that represents the drawer's handle. --> 5204 <attr name="handle" format="reference" /> 5205 <!-- Identifier for the child that represents the drawer's content. --> 5206 <attr name="content" format="reference" /> 5207 <!-- Orientation of the SlidingDrawer. --> 5208 <attr name="orientation" /> 5209 <!-- Extra offset for the handle at the bottom of the SlidingDrawer. --> 5210 <attr name="bottomOffset" format="dimension" /> 5211 <!-- Extra offset for the handle at the top of the SlidingDrawer. --> 5212 <attr name="topOffset" format="dimension" /> 5213 <!-- Indicates whether the drawer can be opened/closed by a single tap 5214 on the handle. (If false, the user must drag or fling, or click 5215 using the trackball, to open/close the drawer.) Default is true. --> 5216 <attr name="allowSingleTap" format="boolean" /> 5217 <!-- Indicates whether the drawer should be opened/closed with an animation 5218 when the user clicks the handle. Default is true. --> 5219 <attr name="animateOnClick" format="boolean" /> 5220 </declare-styleable> 5221 5222 <!-- GestureOverlayView specific attributes. These attributes are used to configure 5223 a GestureOverlayView from XML. --> 5224 <declare-styleable name="GestureOverlayView"> 5225 <!-- Width of the stroke used to draw the gesture. --> 5226 <attr name="gestureStrokeWidth" format="float" /> 5227 <!-- Color used to draw a gesture. --> 5228 <attr name="gestureColor" format="color" /> 5229 <!-- Color used to draw the user's strokes until we are sure it's a gesture. --> 5230 <attr name="uncertainGestureColor" format="color" /> 5231 <!-- Time, in milliseconds, to wait before the gesture fades out after the user 5232 is done drawing it. --> 5233 <attr name="fadeOffset" format="integer" /> 5234 <!-- Duration, in milliseconds, of the fade out effect after the user is done 5235 drawing a gesture. --> 5236 <attr name="fadeDuration" format="integer" /> 5237 <!-- Defines the type of strokes that define a gesture. --> 5238 <attr name="gestureStrokeType"> 5239 <!-- A gesture is made of only one stroke. --> 5240 <enum name="single" value="0" /> 5241 <!-- A gesture is made of multiple strokes. --> 5242 <enum name="multiple" value="1" /> 5243 </attr> 5244 <!-- Minimum length of a stroke before it is recognized as a gesture. --> 5245 <attr name="gestureStrokeLengthThreshold" format="float" /> 5246 <!-- Squareness threshold of a stroke before it is recognized as a gesture. --> 5247 <attr name="gestureStrokeSquarenessThreshold" format="float" /> 5248 <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. --> 5249 <attr name="gestureStrokeAngleThreshold" format="float" /> 5250 <!-- Defines whether the overlay should intercept the motion events when a gesture 5251 is recognized. --> 5252 <attr name="eventsInterceptionEnabled" format="boolean" /> 5253 <!-- Defines whether the gesture will automatically fade out after being recognized. --> 5254 <attr name="fadeEnabled" format="boolean" /> 5255 <!-- Indicates whether horizontal (when the orientation is vertical) or vertical 5256 (when orientation is horizontal) strokes automatically define a gesture. --> 5257 <attr name="orientation" /> 5258 </declare-styleable> 5259 5260 <declare-styleable name="QuickContactBadge"> 5261 <attr name="quickContactWindowSize"> 5262 <enum name="modeSmall" value="1" /> 5263 <enum name="modeMedium" value="2" /> 5264 <enum name="modeLarge" value="3" /> 5265 </attr> 5266 </declare-styleable> 5267 5268 <!-- ======================================= --> 5269 <!-- Widget package parent layout attributes --> 5270 <!-- ======================================= --> 5271 <eat-comment /> 5272 5273 <declare-styleable name="AbsoluteLayout_Layout"> 5274 <attr name="layout_x" format="dimension" /> 5275 <attr name="layout_y" format="dimension" /> 5276 </declare-styleable> 5277 <declare-styleable name="LinearLayout_Layout"> 5278 <attr name="layout_width" /> 5279 <attr name="layout_height" /> 5280 <!-- Indicates how much of the extra space in the LinearLayout is 5281 allocated to the view associated with these LayoutParams. Specify 5282 0 if the view should not be stretched. Otherwise the extra pixels 5283 will be pro-rated among all views whose weight is greater than 0. --> 5284 <attr name="layout_weight" format="float" /> 5285 <!-- Gravity specifies how a component should be placed in its group of cells. 5286 The default is {@link android.view.Gravity#TOP}. 5287 See {@link android.widget.LinearLayout#setGravity(int)}. --> 5288 <attr name="layout_gravity" /> 5289 </declare-styleable> 5290 <declare-styleable name="GridLayout_Layout"> 5291 <!-- The row boundary delimiting the top of the group of cells 5292 occupied by this view. --> 5293 <attr name="layout_row" format="integer" /> 5294 <!-- The row span: the difference between the top and bottom 5295 boundaries delimiting the group of cells occupied by this view. 5296 The default is one. 5297 See {@link android.widget.GridLayout.Spec}. --> 5298 <attr name="layout_rowSpan" format="integer" min="1" /> 5299 <!-- The relative proportion of vertical space that should be allocated to this view 5300 during excess space distribution. --> 5301 <attr name="layout_rowWeight" format="float" /> 5302 <!-- The column boundary delimiting the left of the group of cells 5303 occupied by this view. --> 5304 <attr name="layout_column" /> 5305 <!-- The column span: the difference between the right and left 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_columnSpan" format="integer" min="1" /> 5310 <!-- The relative proportion of horizontal space that should be allocated to this view 5311 during excess space distribution. --> 5312 <attr name="layout_columnWeight" format="float" /> 5313 <!-- Gravity specifies how a component should be placed in its group of cells. 5314 The default is LEFT | BASELINE. 5315 See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. --> 5316 <attr name="layout_gravity" /> 5317 </declare-styleable> 5318 <declare-styleable name="FrameLayout_Layout"> 5319 <attr name="layout_gravity" /> 5320 </declare-styleable> 5321 <declare-styleable name="RelativeLayout_Layout"> 5322 <!-- Positions the right edge of this view to the left of the given anchor view ID. 5323 Accommodates right margin of this view and left margin of anchor view. --> 5324 <attr name="layout_toLeftOf" format="reference" /> 5325 <!-- Positions the left edge of this view to the right of the given anchor view ID. 5326 Accommodates left margin of this view and right margin of anchor view. --> 5327 <attr name="layout_toRightOf" format="reference" /> 5328 <!-- Positions the bottom edge of this view above the given anchor view ID. 5329 Accommodates bottom margin of this view and top margin of anchor view. --> 5330 <attr name="layout_above" format="reference" /> 5331 <!-- Positions the top edge of this view below the given anchor view ID. 5332 Accommodates top margin of this view and bottom margin of anchor view. --> 5333 <attr name="layout_below" format="reference" /> 5334 <!-- Positions the baseline of this view on the baseline of the given anchor view ID. --> 5335 <attr name="layout_alignBaseline" format="reference" /> 5336 <!-- Makes the left edge of this view match the left edge of the given anchor view ID. 5337 Accommodates left margin. --> 5338 <attr name="layout_alignLeft" format="reference" /> 5339 <!-- Makes the top edge of this view match the top edge of the given anchor view ID. 5340 Accommodates top margin. --> 5341 <attr name="layout_alignTop" format="reference" /> 5342 <!-- Makes the right edge of this view match the right edge of the given anchor view ID. 5343 Accommodates right margin. --> 5344 <attr name="layout_alignRight" format="reference" /> 5345 <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID. 5346 Accommodates bottom margin. --> 5347 <attr name="layout_alignBottom" format="reference" /> 5348 <!-- If true, makes the left edge of this view match the left edge of the parent. 5349 Accommodates left margin. --> 5350 <attr name="layout_alignParentLeft" format="boolean" /> 5351 <!-- If true, makes the top edge of this view match the top edge of the parent. 5352 Accommodates top margin. --> 5353 <attr name="layout_alignParentTop" format="boolean" /> 5354 <!-- If true, makes the right edge of this view match the right edge of the parent. 5355 Accommodates right margin. --> 5356 <attr name="layout_alignParentRight" format="boolean" /> 5357 <!-- If true, makes the bottom edge of this view match the bottom edge of the parent. 5358 Accommodates bottom margin. --> 5359 <attr name="layout_alignParentBottom" format="boolean" /> 5360 <!-- If true, centers this child horizontally and vertically within its parent. --> 5361 <attr name="layout_centerInParent" format="boolean" /> 5362 <!-- If true, centers this child horizontally within its parent. --> 5363 <attr name="layout_centerHorizontal" format="boolean" /> 5364 <!-- If true, centers this child vertically within its parent. --> 5365 <attr name="layout_centerVertical" format="boolean" /> 5366 <!-- If set to true, the parent will be used as the anchor when the anchor cannot be 5367 be found for layout_toLeftOf, layout_toRightOf, etc. --> 5368 <attr name="layout_alignWithParentIfMissing" format="boolean" /> 5369 <!-- Positions the end edge of this view to the start of the given anchor view ID. 5370 Accommodates end margin of this view and start margin of anchor view. --> 5371 <attr name="layout_toStartOf" format="reference" /> 5372 <!-- Positions the start edge of this view to the end of the given anchor view ID. 5373 Accommodates start margin of this view and end margin of anchor view. --> 5374 <attr name="layout_toEndOf" format="reference" /> 5375 <!-- Makes the start edge of this view match the start edge of the given anchor view ID. 5376 Accommodates start margin. --> 5377 <attr name="layout_alignStart" format="reference" /> 5378 <!-- Makes the end edge of this view match the end edge of the given anchor view ID. 5379 Accommodates end margin. --> 5380 <attr name="layout_alignEnd" format="reference" /> 5381 <!-- If true, makes the start edge of this view match the start edge of the parent. 5382 Accommodates start margin. --> 5383 <attr name="layout_alignParentStart" format="boolean" /> 5384 <!-- If true, makes the end edge of this view match the end edge of the parent. 5385 Accommodates end margin. --> 5386 <attr name="layout_alignParentEnd" format="boolean" /> 5387 </declare-styleable> 5388 <declare-styleable name="VerticalSlider_Layout"> 5389 <attr name="layout_scale" format="float" /> 5390 </declare-styleable> 5391 5392 <!-- @hide --> 5393 <declare-styleable name="WeightedLinearLayout"> 5394 <attr name="majorWeightMin" format="float" /> 5395 <attr name="minorWeightMin" format="float" /> 5396 <attr name="majorWeightMax" format="float" /> 5397 <attr name="minorWeightMax" format="float" /> 5398 </declare-styleable> 5399 5400 <declare-styleable name="CalendarView"> 5401 <!-- The first day of week according to {@link java.util.Calendar}. --> 5402 <attr name="firstDayOfWeek" format="integer" /> 5403 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 5404 <attr name="minDate" /> 5405 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 5406 <attr name="maxDate" /> 5407 <!-- The text appearance for the month and year in the calendar header. --> 5408 <attr name="monthTextAppearance" format="reference" /> 5409 <!-- The text appearance for the week day abbreviation in the calendar header. --> 5410 <attr name="weekDayTextAppearance" format="reference" /> 5411 <!-- The text appearance for the day numbers in the calendar grid. --> 5412 <attr name="dateTextAppearance" format="reference" /> 5413 <!-- @hide The background color used for the day selection indicator. --> 5414 <attr name="daySelectorColor" format="color" /> 5415 <!-- @hide The background color used for the day highlight indicator. --> 5416 <attr name="dayHighlightColor" format="color" /> 5417 <!-- @hide Which style of calendar delegate to use. --> 5418 <attr name="calendarViewMode"> 5419 <enum name="holo" value="0" /> 5420 <enum name="material" value="1" /> 5421 </attr> 5422 5423 <!-- @deprecated Whether do show week numbers. --> 5424 <attr name="showWeekNumber" format="boolean" /> 5425 <!-- @deprecated The number of weeks to be shown. --> 5426 <attr name="shownWeekCount" format="integer"/> 5427 <!-- @deprecated The background color for the selected week. --> 5428 <attr name="selectedWeekBackgroundColor" format="color|reference" /> 5429 <!-- @deprecated The color for the dates of the focused month. --> 5430 <attr name="focusedMonthDateColor" format="color|reference" /> 5431 <!-- @deprecated The color for the dates of an unfocused month. --> 5432 <attr name="unfocusedMonthDateColor" format="color|reference" /> 5433 <!-- @deprecated The color for the week numbers. --> 5434 <attr name="weekNumberColor" format="color|reference" /> 5435 <!-- @deprecated The color for the separator line between weeks. --> 5436 <attr name="weekSeparatorLineColor" format="color|reference" /> 5437 <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. --> 5438 <attr name="selectedDateVerticalBar" format="reference" /> 5439 </declare-styleable> 5440 5441 <declare-styleable name="NumberPicker"> 5442 <!-- @hide Color for the solid color background if such for optimized rendering. --> 5443 <attr name="solidColor" format="color|reference" /> 5444 <!-- @hide The divider for making the selection area. --> 5445 <attr name="selectionDivider" format="reference" /> 5446 <!-- @hide The height of the selection divider. --> 5447 <attr name="selectionDividerHeight" format="dimension" /> 5448 <!-- @hide The distance between the two selection dividers. --> 5449 <attr name="selectionDividersDistance" format="dimension" /> 5450 <!-- @hide The min height of the NumberPicker. --> 5451 <attr name="internalMinHeight" format="dimension" /> 5452 <!-- @hide The max height of the NumberPicker. --> 5453 <attr name="internalMaxHeight" format="dimension" /> 5454 <!-- @hide The min width of the NumberPicker. --> 5455 <attr name="internalMinWidth" format="dimension" /> 5456 <!-- @hide The max width of the NumberPicker. --> 5457 <attr name="internalMaxWidth" format="dimension" /> 5458 <!-- @hide The layout of the number picker. --> 5459 <attr name="internalLayout" /> 5460 <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. --> 5461 <attr name="virtualButtonPressedDrawable" format="reference"/> 5462 <!-- @hide If true then the selector wheel is hidden until the picker has focus. --> 5463 <attr name="hideWheelUntilFocused" format="boolean"/> 5464 </declare-styleable> 5465 5466 <declare-styleable name="TimePicker"> 5467 <!-- @hide The layout of the legacy time picker. --> 5468 <attr name="legacyLayout" format="reference" /> 5469 <!-- @hide The layout of the time picker. --> 5470 <attr name="internalLayout" /> 5471 5472 <!-- The text color for the selected time header text, ex. "12" or 5473 "PM". This should be a color state list where the activated state 5474 will be used when the minute picker or hour picker is active.--> 5475 <attr name="headerTextColor" /> 5476 <!-- The background for the header containing the currently selected time. --> 5477 <attr name="headerBackground" /> 5478 5479 <!-- The color for the hours/minutes numbers. This should be a color 5480 state list where the activated state will be used when the number 5481 is active.--> 5482 <attr name="numbersTextColor" format="color" /> 5483 <!-- The color for the inner hours numbers used in 24-hour mode. This 5484 should be a color state list where the activated state will be 5485 used when the number is active.--> 5486 <attr name="numbersInnerTextColor" format="color" /> 5487 <!-- The background color for the hours/minutes numbers. --> 5488 <attr name="numbersBackgroundColor" format="color" /> 5489 <!-- The color for the hours/minutes selector. --> 5490 <attr name="numbersSelectorColor" format="color" /> 5491 5492 <!-- Defines the look of the widget. Prior to the L release, the only choice was 5493 spinner. As of L, with the Material theme selected, the default layout is clock, 5494 but this attribute can be used to force spinner to be used instead. --> 5495 <attr name="timePickerMode"> 5496 <!-- Time picker with spinner controls to select the time. --> 5497 <enum name="spinner" value="1" /> 5498 <!-- Time picker with clock face to select the time. --> 5499 <enum name="clock" value="2" /> 5500 </attr> 5501 5502 <!-- The text appearance for the AM/PM header. 5503 @deprecated Use headerTextColor instead. --> 5504 <attr name="headerAmPmTextAppearance" format="reference" /> 5505 <!-- The text appearance for the time header. 5506 @deprecated Use headerTextColor instead. --> 5507 <attr name="headerTimeTextAppearance" format="reference" /> 5508 <!-- The color for the AM/PM selectors. 5509 {@deprecated Use headerTextColor instead.}--> 5510 <attr name="amPmTextColor" format="color" /> 5511 <!-- The background color state list for the AM/PM selectors. 5512 {@deprecated Use headerBackground instead.}--> 5513 <attr name="amPmBackgroundColor" format="color" /> 5514 5515 <!-- @hide Whether this time picker is being displayed within a dialog, 5516 in which case it may ignore the requested time picker mode due to 5517 space considerations. --> 5518 <attr name="dialogMode" /> 5519 </declare-styleable> 5520 5521 <!-- ========================= --> 5522 <!-- Drawable class attributes --> 5523 <!-- ========================= --> 5524 <eat-comment /> 5525 5526 <!-- Base attributes that are available to all Drawable objects. --> 5527 <declare-styleable name="Drawable"> 5528 <!-- Provides initial visibility state of the drawable; the default 5529 value is false. See 5530 {@link android.graphics.drawable.Drawable#setVisible}. --> 5531 <attr name="visible" format="boolean" /> 5532 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5533 RTL (right-to-left). See 5534 {@link android.graphics.drawable.Drawable#setAutoMirrored}. --> 5535 <attr name="autoMirrored" format="boolean" /> 5536 </declare-styleable> 5537 5538 <!-- Drawable class used to wrap other drawables. --> 5539 <declare-styleable name="DrawableWrapper"> 5540 <!-- The wrapped drawable. --> 5541 <attr name="drawable" /> 5542 </declare-styleable> 5543 5544 <!-- Drawable used to render several states. Each state is represented by 5545 a child drawable. --> 5546 <declare-styleable name="StateListDrawable"> 5547 <!-- Indicates whether the drawable should be initially visible. --> 5548 <attr name="visible" /> 5549 <!-- If true, allows the drawable's padding to change based on the 5550 current state that is selected. If false, the padding will 5551 stay the same (based on the maximum padding of all the states). 5552 Enabling this feature requires that the owner of the drawable 5553 deal with performing layout when the state changes, which is 5554 often not supported. --> 5555 <attr name="variablePadding" format="boolean" /> 5556 <!-- If true, the drawable's reported internal size will remain 5557 constant as the state changes; the size is the maximum of all 5558 of the states. If false, the size will vary based on the 5559 current state. --> 5560 <attr name="constantSize" format="boolean" /> 5561 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5562 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5563 an RGB 565 screen). --> 5564 <attr name="dither" format="boolean" /> 5565 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5566 <attr name="enterFadeDuration" format="integer" /> 5567 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5568 <attr name="exitFadeDuration" format="integer" /> 5569 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5570 RTL (right-to-left). --> 5571 <attr name="autoMirrored"/> 5572 </declare-styleable> 5573 5574 <!-- Drawable used to render several states with animated transitions. Each state 5575 is represented by a child drawable with an optional keyframe ID. --> 5576 <declare-styleable name="AnimatedStateListDrawable"> 5577 <!-- Indicates whether the drawable should be initially visible. --> 5578 <attr name="visible" /> 5579 <!-- If true, allows the drawable's padding to change based on the 5580 current state that is selected. If false, the padding will 5581 stay the same (based on the maximum padding of all the states). 5582 Enabling this feature requires that the owner of the drawable 5583 deal with performing layout when the state changes, which is 5584 often not supported. --> 5585 <attr name="variablePadding" /> 5586 <!-- If true, the drawable's reported internal size will remain 5587 constant as the state changes; the size is the maximum of all 5588 of the states. If false, the size will vary based on the 5589 current state. --> 5590 <attr name="constantSize" /> 5591 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5592 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5593 an RGB 565 screen). --> 5594 <attr name="dither" /> 5595 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5596 <attr name="enterFadeDuration" /> 5597 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5598 <attr name="exitFadeDuration" /> 5599 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5600 RTL (right-to-left). --> 5601 <attr name="autoMirrored"/> 5602 </declare-styleable> 5603 5604 <!-- Represents a single state inside a StateListDrawable. --> 5605 <declare-styleable name="StateListDrawableItem"> 5606 <!-- Reference to a drawable resource to use for the state. If not 5607 given, the drawable must be defined by the first child tag. --> 5608 <attr name="drawable" /> 5609 </declare-styleable> 5610 5611 <!-- Transition used to animate between states with keyframe IDs. --> 5612 <declare-styleable name="AnimatedStateListDrawableItem"> 5613 <!-- Reference to a drawable resource to use for the frame. If not 5614 given, the drawable must be defined by the first child tag. --> 5615 <attr name="drawable" /> 5616 <!-- Keyframe identifier for use in specifying transitions. --> 5617 <attr name="id" /> 5618 </declare-styleable> 5619 5620 <!-- Transition used to animate between states with keyframe IDs. --> 5621 <declare-styleable name="AnimatedStateListDrawableTransition"> 5622 <!-- Keyframe identifier for the starting state. --> 5623 <attr name="fromId" format="reference" /> 5624 <!-- Keyframe identifier for the ending state. --> 5625 <attr name="toId" format="reference" /> 5626 <!-- Reference to a animation drawable resource to use for the frame. If not 5627 given, the animation drawable must be defined by the first child tag. --> 5628 <attr name="drawable" /> 5629 <!-- Whether this transition is reversible. --> 5630 <attr name="reversible" format="boolean" /> 5631 </declare-styleable> 5632 5633 <!-- Drawable used to render several animated frames. --> 5634 <declare-styleable name="AnimationDrawable"> 5635 <attr name="visible" /> 5636 <attr name="variablePadding" /> 5637 <!-- If true, the animation will only run a single time and then 5638 stop. If false (the default), it will continually run, 5639 restarting at the first frame after the last has finished. --> 5640 <attr name="oneshot" format="boolean" /> 5641 </declare-styleable> 5642 5643 <!-- Represents a single frame inside an AnimationDrawable. --> 5644 <declare-styleable name="AnimationDrawableItem"> 5645 <!-- Amount of time (in milliseconds) to display this frame. --> 5646 <attr name="duration" format="integer" /> 5647 <!-- Reference to a drawable resource to use for the frame. If not 5648 given, the drawable must be defined by the first child tag. --> 5649 <attr name="drawable" format="reference" /> 5650 </declare-styleable> 5651 5652 <!-- Attributes that can be assigned to a StateListAnimator item. --> 5653 <declare-styleable name="StateListAnimatorItem"> 5654 <attr name="animation"/> 5655 </declare-styleable> 5656 5657 <!-- Attributes that can be assigned to a ColorStateList item. --> 5658 <declare-styleable name="ColorStateListItem"> 5659 <!-- Base color for this state. --> 5660 <attr name="color" /> 5661 <!-- Alpha multiplier applied to the base color. --> 5662 <attr name="alpha" /> 5663 </declare-styleable> 5664 5665 <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery 5666 saver mode. It should contain one animatable drawable and one static drawable. 5667 @hide --> 5668 <declare-styleable name="AnimationScaleListDrawable"> 5669 </declare-styleable> 5670 5671 <!-- Attributes that can be assigned to a AnimationScaleListDrawable item. 5672 @hide --> 5673 <declare-styleable name="AnimationScaleListDrawableItem"> 5674 <!-- Reference to a drawable resource to use for the state. If not 5675 given, the drawable must be defined by the first child tag. --> 5676 <attr name="drawable" /> 5677 </declare-styleable> 5678 5679 5680 <!-- Drawable used to render a geometric shape, with a gradient or a solid color. --> 5681 <declare-styleable name="GradientDrawable"> 5682 <!-- Indicates whether the drawable should intially be visible. --> 5683 <attr name="visible" /> 5684 <!-- Enables or disables dithering. --> 5685 <attr name="dither" /> 5686 <!-- Indicates what shape to fill with a gradient. --> 5687 <attr name="shape"> 5688 <!-- Rectangle shape, with optional rounder corners. --> 5689 <enum name="rectangle" value="0" /> 5690 <!-- Oval shape. --> 5691 <enum name="oval" value="1" /> 5692 <!-- Line shape. --> 5693 <enum name="line" value="2" /> 5694 <!-- Ring shape. --> 5695 <enum name="ring" value="3" /> 5696 </attr> 5697 <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance, 5698 if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. 5699 This value is ignored if innerRadius is defined. Default value is 9. --> 5700 <attr name="innerRadiusRatio" format="float" /> 5701 <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance, 5702 if thicknessRatio=3, then the thickness equals the ring's width divided by 3. 5703 This value is ignored if innerRadius is defined. Default value is 3. --> 5704 <attr name="thicknessRatio" format="float" /> 5705 <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. --> 5706 <attr name="innerRadius" format="dimension" /> 5707 <!-- Thickness of the ring. When defined, thicknessRatio is ignored. --> 5708 <attr name="thickness" format="dimension" /> 5709 <!-- Whether the drawable level value (see 5710 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape. 5711 Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to 5712 360. For all other types, there is no effect. The default value is true. --> 5713 <attr name="useLevel" /> 5714 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5715 no tint is applied. May be a color state list. --> 5716 <attr name="tint" /> 5717 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5718 default value is src_in, which treats the drawable as an alpha mask. --> 5719 <attr name="tintMode" /> 5720 <!-- Left optical inset. 5721 @hide Until optical insets are fully supported. --> 5722 <attr name="opticalInsetLeft" /> 5723 <!-- Top optical inset. 5724 @hide Until optical insets are fully supported. --> 5725 <attr name="opticalInsetTop" /> 5726 <!-- Right optical inset. 5727 @hide Until optical insets are fully supported. --> 5728 <attr name="opticalInsetRight" /> 5729 <!-- Bottom optical inset. 5730 @hide Until optical insets are fully supported. --> 5731 <attr name="opticalInsetBottom" /> 5732 </declare-styleable> 5733 5734 <!-- Used to specify the size of the shape for GradientDrawable. --> 5735 <declare-styleable name="GradientDrawableSize"> 5736 <!-- Width of the gradient shape. --> 5737 <attr name="width" /> 5738 <!-- Height of the gradient shape. --> 5739 <attr name="height" /> 5740 </declare-styleable> 5741 5742 <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. --> 5743 <declare-styleable name="GradientDrawableGradient"> 5744 <!-- Start color of the gradient. --> 5745 <attr name="startColor" format="color" /> 5746 <!-- Optional center color. For linear gradients, use centerX or centerY to place the center 5747 color. --> 5748 <attr name="centerColor" format="color" /> 5749 <!-- End color of the gradient. --> 5750 <attr name="endColor" format="color" /> 5751 <!-- Whether the drawable level value (see 5752 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient. 5753 Scaling behavior varies based on gradient type. For "linear", adjusts the ending 5754 position along the gradient's axis of orientation. For "radial", adjusts the outer 5755 radius. For "sweep", adjusts the ending angle. The default value is false. --> 5756 <attr name="useLevel" format="boolean" /> 5757 <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the 5758 range [0, 315]. --> 5759 <attr name="angle" format="float" /> 5760 <!-- Type of gradient. The default type is linear. --> 5761 <attr name="type"> 5762 <!-- Linear gradient extending across the center point. --> 5763 <enum name="linear" value="0" /> 5764 <!-- Radial gradient extending from the center point outward. --> 5765 <enum name="radial" value="1" /> 5766 <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. --> 5767 <enum name="sweep" value="2" /> 5768 </attr> 5769 <!-- X-position of the center point of the gradient within the shape as a fraction of the 5770 width. The default value is 0.5. --> 5771 <attr name="centerX" format="float|fraction" /> 5772 <!-- Y-position of the center point of the gradient within the shape as a fraction of the 5773 height. The default value is 0.5. --> 5774 <attr name="centerY" format="float|fraction" /> 5775 <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension 5776 or a fractional value relative to the shape's minimum dimension. --> 5777 <attr name="gradientRadius" format="float|fraction|dimension" /> 5778 </declare-styleable> 5779 5780 <!-- Used to fill the shape of GradientDrawable with a solid color. --> 5781 <declare-styleable name="GradientDrawableSolid"> 5782 <!-- Solid color for the gradient shape. --> 5783 <attr name="color" format="color" /> 5784 </declare-styleable> 5785 5786 <!-- Used to describe the optional stroke of a GradientDrawable. --> 5787 <declare-styleable name="GradientDrawableStroke"> 5788 <!-- Width of the gradient shape's stroke. --> 5789 <attr name="width" /> 5790 <!-- Color of the gradient shape's stroke. --> 5791 <attr name="color" /> 5792 <!-- Length of a dash in the stroke. --> 5793 <attr name="dashWidth" format="dimension" /> 5794 <!-- Gap between dashes in the stroke. --> 5795 <attr name="dashGap" format="dimension" /> 5796 </declare-styleable> 5797 5798 <!-- Describes the corners for the rectangle shape of a GradientDrawable. 5799 This can be used to render rounded corners. --> 5800 <declare-styleable name="DrawableCorners"> 5801 <!-- Defines the radius of the four corners. --> 5802 <attr name="radius" format="dimension" /> 5803 <!-- Radius of the top left corner. --> 5804 <attr name="topLeftRadius" format="dimension" /> 5805 <!-- Radius of the top right corner. --> 5806 <attr name="topRightRadius" format="dimension" /> 5807 <!-- Radius of the bottom left corner. --> 5808 <attr name="bottomLeftRadius" format="dimension" /> 5809 <!-- Radius of the bottom right corner. --> 5810 <attr name="bottomRightRadius" format="dimension" /> 5811 </declare-styleable> 5812 5813 <!-- Used to specify the optional padding of a GradientDrawable. --> 5814 <declare-styleable name="GradientDrawablePadding"> 5815 <!-- Amount of left padding inside the gradient shape. --> 5816 <attr name="left" format="dimension" /> 5817 <!-- Amount of top padding inside the gradient shape. --> 5818 <attr name="top" format="dimension" /> 5819 <!-- Amount of right padding inside the gradient shape. --> 5820 <attr name="right" format="dimension" /> 5821 <!-- Amount of bottom padding inside the gradient shape. --> 5822 <attr name="bottom" format="dimension" /> 5823 </declare-styleable> 5824 5825 <!-- Drawable used to render several drawables stacked on top of each other. 5826 Each child drawable can be controlled individually. --> 5827 <declare-styleable name="LayerDrawable"> 5828 <!-- Indicates the opacity of the layer. This can be useful to allow the 5829 system to enable drawing optimizations. The default value is 5830 translucent. --> 5831 <attr name="opacity"> 5832 <!-- Indicates that the layer is opaque and contains no transparent 5833 nor translucent pixels. --> 5834 <enum name="opaque" value="-1" /> 5835 <!-- The layer is completely transparent (no pixel will be drawn). --> 5836 <enum name="transparent" value="-2" /> 5837 <!-- The layer has translucent pixels. --> 5838 <enum name="translucent" value="-3" /> 5839 </attr> 5840 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5841 RTL (right-to-left). --> 5842 <attr name="autoMirrored" /> 5843 <!-- Indicates how layer padding should affect the bounds of subsequent layers. 5844 The default padding mode value is nest. --> 5845 <attr name="paddingMode"> 5846 <!-- Nest each layer inside the padding of the previous layer. --> 5847 <enum name="nest" value="0" /> 5848 <!-- Stack each layer directly atop the previous layer. --> 5849 <enum name="stack" value="1" /> 5850 </attr> 5851 <!-- Explicit top padding. Overrides child padding. --> 5852 <attr name="paddingTop" /> 5853 <!-- Explicit bottom padding. Overrides child padding. --> 5854 <attr name="paddingBottom" /> 5855 <!-- Explicit left padding. Overrides child padding. --> 5856 <attr name="paddingLeft" /> 5857 <!-- Explicit right padding. Overrides child padding. --> 5858 <attr name="paddingRight" /> 5859 <!-- Explicit start padding. Overrides child padding. Takes precedence 5860 over absolute padding (for example, left when layout direction is LTR). --> 5861 <attr name="paddingStart" /> 5862 <!-- Explicit end padding. Overrides child padding. Takes precedence 5863 over absolute padding (for example, right when layout direction is LTR). --> 5864 <attr name="paddingEnd" /> 5865 </declare-styleable> 5866 5867 <!-- Describes an item (or child) of a LayerDrawable. --> 5868 <declare-styleable name="LayerDrawableItem"> 5869 <!-- Left inset to apply to the layer. --> 5870 <attr name="left" /> 5871 <!-- Top inset to apply to the layer. --> 5872 <attr name="top" /> 5873 <!-- Right inset to apply to the layer. --> 5874 <attr name="right" /> 5875 <!-- Bottom inset to apply to the layer. --> 5876 <attr name="bottom" /> 5877 <!-- Start inset to apply to the layer. Overrides {@code left} or 5878 {@code right} depending on layout direction. --> 5879 <attr name="start" format="dimension" /> 5880 <!-- End inset to apply to the layer. Overrides {@code left} or 5881 {@code right} depending on layout direction. --> 5882 <attr name="end" format="dimension" /> 5883 <!-- Width of the layer. Defaults to the layer's intrinsic width. --> 5884 <attr name="width" /> 5885 <!-- Height of the layer. Defaults to the layer's intrinsic height. --> 5886 <attr name="height" /> 5887 <!-- Gravity used to align the layer within its container. If no value 5888 is specified, the default behavior depends on whether an explicit 5889 width or height has been set, If no dimension is set, gravity in 5890 that direction defaults to {@code fill_horizontal} or 5891 {@code fill_vertical}; otherwise, it defaults to {@code left} or 5892 {@code top}. --> 5893 <attr name="gravity" /> 5894 <!-- Drawable used to render the layer. --> 5895 <attr name="drawable" /> 5896 <!-- Identifier of the layer. This can be used to retrieve the layer 5897 from a drawable container. --> 5898 <attr name="id" /> 5899 </declare-styleable> 5900 5901 <declare-styleable name="LevelListDrawableItem"> 5902 <!-- The minimum level allowed for this item. --> 5903 <attr name="minLevel" format="integer" /> 5904 <!-- The maximum level allowed for this item. --> 5905 <attr name="maxLevel" format="integer" /> 5906 <attr name="drawable" /> 5907 </declare-styleable> 5908 5909 <!-- Drawable used to rotate another drawable. --> 5910 <declare-styleable name="RotateDrawable"> 5911 <attr name="visible" /> 5912 <attr name="fromDegrees" format="float" /> 5913 <attr name="toDegrees" format="float" /> 5914 <attr name="pivotX" format="float|fraction" /> 5915 <attr name="pivotY" format="float|fraction" /> 5916 <attr name="drawable" /> 5917 </declare-styleable> 5918 5919 <declare-styleable name="AnimatedRotateDrawable"> 5920 <attr name="visible" /> 5921 <attr name="frameDuration" format="integer" /> 5922 <attr name="framesCount" format="integer" /> 5923 <attr name="pivotX" /> 5924 <attr name="pivotY" /> 5925 <attr name="drawable" /> 5926 </declare-styleable> 5927 5928 <!-- Drawable used to render the Material progress indicator. --> 5929 <declare-styleable name="MaterialProgressDrawable"> 5930 <attr name="visible" /> 5931 <attr name="thickness" /> 5932 <attr name="innerRadius" /> 5933 <attr name="width" /> 5934 <attr name="height" /> 5935 <attr name="color" /> 5936 </declare-styleable> 5937 5938 <!-- Drawable used to wrap and inset another drawable. --> 5939 <declare-styleable name="InsetDrawable"> 5940 <attr name="visible" /> 5941 <attr name="drawable" /> 5942 <attr name="inset" format="fraction|dimension"/> 5943 <attr name="insetLeft" format="fraction|dimension" /> 5944 <attr name="insetRight" format="fraction|dimension" /> 5945 <attr name="insetTop" format="fraction|dimension" /> 5946 <attr name="insetBottom" format="fraction|dimension" /> 5947 </declare-styleable> 5948 5949 <!-- Drawable used to draw animated images (gif) --> 5950 <declare-styleable name="AnimatedImageDrawable"> 5951 <!-- Identifier of the image file. This attribute is mandatory. 5952 It must be an image file with multiple frames, e.g. gif or webp --> 5953 <attr name="src" /> 5954 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5955 RTL (right-to-left). --> 5956 <attr name="autoMirrored" /> 5957 </declare-styleable> 5958 5959 <!-- Drawable used to draw bitmaps. --> 5960 <declare-styleable name="BitmapDrawable"> 5961 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5962 <attr name="src" /> 5963 <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the 5964 edges of a bitmap when rotated. Default value is false. --> 5965 <attr name="antialias" format="boolean" /> 5966 <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is 5967 shrunk or stretched to smooth its apperance. Default value is true. --> 5968 <attr name="filter" format="boolean" /> 5969 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5970 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5971 an RGB 565 screen). Default value is true. --> 5972 <attr name="dither" /> 5973 <!-- Defines the gravity for the bitmap. The gravity indicates where to position 5974 the drawable in its container if the bitmap is smaller than the container. --> 5975 <attr name="gravity" /> 5976 <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. 5977 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5978 <attr name="tileMode"> 5979 <!-- Do not tile the bitmap. This is the default value. --> 5980 <enum name="disabled" value="-1" /> 5981 <!-- Replicates the edge color. --> 5982 <enum name="clamp" value="0" /> 5983 <!-- Repeats the bitmap in both direction. --> 5984 <enum name="repeat" value="1" /> 5985 <!-- Repeats the shader's image horizontally and vertically, alternating 5986 mirror images so that adjacent images always seam. --> 5987 <enum name="mirror" value="2" /> 5988 </attr> 5989 <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated. 5990 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5991 <attr name="tileModeX"> 5992 <!-- Do not tile the bitmap. This is the default value. --> 5993 <enum name="disabled" value="-1" /> 5994 <!-- Replicates the edge color. --> 5995 <enum name="clamp" value="0" /> 5996 <!-- Repeats the bitmap horizontally. --> 5997 <enum name="repeat" value="1" /> 5998 <!-- Repeats the shader's image horizontally, alternating 5999 mirror images so that adjacent images always seam. --> 6000 <enum name="mirror" value="2" /> 6001 </attr> 6002 <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated. 6003 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 6004 <attr name="tileModeY"> 6005 <!-- Do not tile the bitmap. This is the default value. --> 6006 <enum name="disabled" value="-1" /> 6007 <!-- Replicates the edge color. --> 6008 <enum name="clamp" value="0" /> 6009 <!-- Repeats the bitmap vertically. --> 6010 <enum name="repeat" value="1" /> 6011 <!-- Repeats the shader's image vertically, alternating 6012 mirror images so that adjacent images always seam. --> 6013 <enum name="mirror" value="2" /> 6014 </attr> 6015 <!-- Enables or disables the mipmap hint. See 6016 {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information. 6017 Default value is false. --> 6018 <attr name="mipMap" format="boolean" /> 6019 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 6020 RTL (right-to-left). --> 6021 <attr name="autoMirrored" /> 6022 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 6023 no tint is applied. May be a color state list. --> 6024 <attr name="tint" /> 6025 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 6026 default value is src_in, which treats the drawable as an alpha mask. --> 6027 <attr name="tintMode"> 6028 <!-- The tint is drawn on top of the drawable. 6029 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 6030 <enum name="src_over" value="3" /> 6031 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 6032 color channels are thrown out. [Sa * Da, Sc * Da] --> 6033 <enum name="src_in" value="5" /> 6034 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 6035 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 6036 <enum name="src_atop" value="9" /> 6037 <!-- Multiplies the color and alpha channels of the drawable with those of 6038 the tint. [Sa * Da, Sc * Dc] --> 6039 <enum name="multiply" value="14" /> 6040 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 6041 <enum name="screen" value="15" /> 6042 <!-- Combines the tint and drawable color and alpha channels, clamping the 6043 result to valid color values. Saturate(S + D) --> 6044 <enum name="add" value="16" /> 6045 </attr> 6046 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 6047 <attr name="alpha" /> 6048 </declare-styleable> 6049 6050 <!-- Drawable used to draw 9-patches. --> 6051 <declare-styleable name="NinePatchDrawable"> 6052 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 6053 <attr name="src" /> 6054 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 6055 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 6056 an RGB 565 screen). --> 6057 <attr name="dither" /> 6058 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 6059 RTL (right-to-left). --> 6060 <attr name="autoMirrored" /> 6061 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 6062 no tint is applied. May be a color state list. --> 6063 <attr name="tint" /> 6064 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 6065 default value is src_in, which treats the drawable as an alpha mask. --> 6066 <attr name="tintMode" /> 6067 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 6068 <attr name="alpha" /> 6069 </declare-styleable> 6070 6071 <!-- Drawable used to draw a single color. --> 6072 <declare-styleable name="ColorDrawable"> 6073 <!-- The color to use. --> 6074 <attr name="color" /> 6075 </declare-styleable> 6076 6077 <!-- Drawable used to draw adaptive icons with foreground and background layers. --> 6078 <declare-styleable name="AdaptiveIconDrawableLayer"> 6079 <!-- The drawable to use for the layer. --> 6080 <attr name="drawable" /> 6081 </declare-styleable> 6082 6083 <!-- Drawable used to show animated touch feedback. --> 6084 <declare-styleable name="RippleDrawable"> 6085 <!-- The color to use for ripple effects. This attribute is required. --> 6086 <attr name="color" /> 6087 <!-- The radius of the ripple when fully expanded. By default, the 6088 radius is computed based on the size of the ripple's container. --> 6089 <attr name="radius" /> 6090 </declare-styleable> 6091 6092 <declare-styleable name="ScaleDrawable"> 6093 <!-- Scale width, expressed as a percentage of the drawable's bound. The value's 6094 format is XX%. For instance: 100%, 12.5%, etc.--> 6095 <attr name="scaleWidth" format="string" /> 6096 <!-- Scale height, expressed as a percentage of the drawable's bound. The value's 6097 format is XX%. For instance: 100%, 12.5%, etc.--> 6098 <attr name="scaleHeight" format="string" /> 6099 <!-- Specifies where the drawable is positioned after scaling. The default value is 6100 left. --> 6101 <attr name="scaleGravity"> 6102 <!-- Push object to the top of its container, not changing its size. --> 6103 <flag name="top" value="0x30" /> 6104 <!-- Push object to the bottom of its container, not changing its size. --> 6105 <flag name="bottom" value="0x50" /> 6106 <!-- Push object to the left of its container, not changing its size. --> 6107 <flag name="left" value="0x03" /> 6108 <!-- Push object to the right of its container, not changing its size. --> 6109 <flag name="right" value="0x05" /> 6110 <!-- Place object in the vertical center of its container, not changing its size. --> 6111 <flag name="center_vertical" value="0x10" /> 6112 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 6113 <flag name="fill_vertical" value="0x70" /> 6114 <!-- Place object in the horizontal center of its container, not changing its size. --> 6115 <flag name="center_horizontal" value="0x01" /> 6116 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 6117 <flag name="fill_horizontal" value="0x07" /> 6118 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 6119 <flag name="center" value="0x11" /> 6120 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 6121 <flag name="fill" value="0x77" /> 6122 <!-- Additional option that can be set to have the top and/or bottom edges of 6123 the child clipped to its container's bounds. 6124 The clip will be based on the vertical gravity: a top gravity will clip the bottom 6125 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 6126 <flag name="clip_vertical" value="0x80" /> 6127 <!-- Additional option that can be set to have the left and/or right edges of 6128 the child clipped to its container's bounds. 6129 The clip will be based on the horizontal gravity: a left gravity will clip the right 6130 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 6131 <flag name="clip_horizontal" value="0x08" /> 6132 <!-- Push object to the beginning of its container, not changing its size. --> 6133 <flag name="start" value="0x00800003" /> 6134 <!-- Push object to the end of its container, not changing its size. --> 6135 <flag name="end" value="0x00800005" /> 6136 </attr> 6137 <!-- Specifies the initial drawable level in the range 0 to 10000. --> 6138 <attr name="level" format="integer" /> 6139 <!-- Reference to a drawable resource to draw with the specified scale. --> 6140 <attr name="drawable" /> 6141 <!-- Use the drawable's intrinsic width and height as minimum size values. 6142 Useful if the target drawable is a 9-patch or otherwise should not be scaled 6143 down beyond a minimum size. --> 6144 <attr name="useIntrinsicSizeAsMinimum" format="boolean" /> 6145 </declare-styleable> 6146 6147 <declare-styleable name="ClipDrawable"> 6148 <!-- The orientation for the clip. --> 6149 <attr name="clipOrientation"> 6150 <!-- Clip the drawable horizontally. --> 6151 <flag name="horizontal" value="1" /> 6152 <!-- Clip the drawable vertically. --> 6153 <flag name="vertical" value="2" /> 6154 </attr> 6155 <!-- Specifies where to clip within the drawable. The default value is 6156 left. --> 6157 <attr name="gravity" /> 6158 <!-- Reference to a drawable resource to draw with the specified scale. --> 6159 <attr name="drawable" /> 6160 </declare-styleable> 6161 6162 <!-- Defines the padding of a ShapeDrawable. --> 6163 <declare-styleable name="ShapeDrawablePadding"> 6164 <!-- Left padding. --> 6165 <attr name="left" /> 6166 <!-- Top padding. --> 6167 <attr name="top" /> 6168 <!-- Right padding. --> 6169 <attr name="right" /> 6170 <!-- Bottom padding. --> 6171 <attr name="bottom" /> 6172 </declare-styleable> 6173 6174 <!-- Drawable used to draw shapes. --> 6175 <declare-styleable name="ShapeDrawable"> 6176 <!-- Defines the color of the shape. --> 6177 <attr name="color" /> 6178 <!-- Defines the width of the shape. --> 6179 <attr name="width" /> 6180 <!-- Defines the height of the shape. --> 6181 <attr name="height" /> 6182 <!-- Enables or disables dithering. --> 6183 <attr name="dither" /> 6184 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 6185 no tint is applied. May be a color state list. --> 6186 <attr name="tint" /> 6187 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 6188 default value is src_in, which treats the drawable as an alpha mask. --> 6189 <attr name="tintMode" /> 6190 </declare-styleable> 6191 6192 <!-- ========================== --> 6193 <!-- VectorDrawable class --> 6194 <!-- ========================== --> 6195 <eat-comment /> 6196 6197 <!-- Drawable used to draw vector paths. --> 6198 <declare-styleable name="VectorDrawable"> 6199 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 6200 no tint is applied. May be a color state list. --> 6201 <attr name="tint" /> 6202 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 6203 default value is src_in, which treats the drawable as an alpha mask. --> 6204 <attr name="tintMode" /> 6205 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 6206 RTL (right-to-left). --> 6207 <attr name="autoMirrored" /> 6208 <!-- The intrinsic width of the Vector Drawable. --> 6209 <attr name="width" /> 6210 <!-- The intrinsic height of the Vector Drawable. --> 6211 <attr name="height" /> 6212 <!-- The width of the canvas the drawing is on. --> 6213 <attr name="viewportWidth" format="float"/> 6214 <!-- The height of the canvas the drawing is on. --> 6215 <attr name="viewportHeight" format="float"/> 6216 <!-- The name of this vector drawable. --> 6217 <attr name="name" /> 6218 <!-- The opacity of the whole vector drawable, as a value between 0 6219 (completely transparent) and 1 (completely opaque). --> 6220 <attr name="alpha" /> 6221 <!-- Left optical inset. 6222 @hide Until optical insets are fully supported. --> 6223 <attr name="opticalInsetLeft" format="dimension" /> 6224 <!-- Top optical inset. 6225 @hide Until optical insets are fully supported. --> 6226 <attr name="opticalInsetTop" format="dimension" /> 6227 <!-- Right optical inset. 6228 @hide Until optical insets are fully supported. --> 6229 <attr name="opticalInsetRight" format="dimension" /> 6230 <!-- Bottom optical inset. 6231 @hide Until optical insets are fully supported. --> 6232 <attr name="opticalInsetBottom" format="dimension" /> 6233 </declare-styleable> 6234 6235 <!-- Defines the group used in VectorDrawables. --> 6236 <declare-styleable name="VectorDrawableGroup"> 6237 <!-- The name of this group. --> 6238 <attr name="name" /> 6239 <!-- The amount to rotate the group. --> 6240 <attr name="rotation" /> 6241 <!-- The X coordinate of the center of rotation of a group. --> 6242 <attr name="pivotX" /> 6243 <!-- The Y coordinate of the center of rotation of a group. --> 6244 <attr name="pivotY" /> 6245 <!-- The amount to translate the group on X coordinate. --> 6246 <attr name="translateX" format="float"/> 6247 <!-- The amount to translate the group on Y coordinate. --> 6248 <attr name="translateY" format="float"/> 6249 <!-- The amount to scale the group on X coordinate. --> 6250 <attr name="scaleX" /> 6251 <!-- The amount to scale the group on X coordinate. --> 6252 <attr name="scaleY" /> 6253 </declare-styleable> 6254 6255 <!-- Defines the path used in VectorDrawables. --> 6256 <declare-styleable name="VectorDrawablePath"> 6257 <!-- The name of this path. --> 6258 <attr name="name" /> 6259 <!-- The width a path stroke. --> 6260 <attr name="strokeWidth" format="float" /> 6261 <!-- The color to stroke the path if not defined implies no stroke. --> 6262 <attr name="strokeColor" format="color" /> 6263 <!-- The opacity of a path stroke, as a value between 0 (completely transparent) 6264 and 1 (completely opaque). --> 6265 <attr name="strokeAlpha" format="float" /> 6266 <!-- The color to fill the path if not defined implies no fill. --> 6267 <attr name="fillColor" format="color" /> 6268 <!-- The alpha of the path fill, as a value between 0 (completely transparent) 6269 and 1 (completely opaque). --> 6270 <attr name="fillAlpha" format="float" /> 6271 <!-- The specification of the operations that define the path. --> 6272 <attr name="pathData" format="string" /> 6273 <!-- The fraction of the path to trim from the start from 0 to 1. --> 6274 <attr name="trimPathStart" format="float" /> 6275 <!-- The fraction of the path to trim from the end from 0 to 1 . --> 6276 <attr name="trimPathEnd" format="float" /> 6277 <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1. --> 6278 <attr name="trimPathOffset" format="float" /> 6279 <!-- sets the linecap for a stroked path. --> 6280 <attr name="strokeLineCap" format="enum"> 6281 <enum name="butt" value="0"/> 6282 <enum name="round" value="1"/> 6283 <enum name="square" value="2"/> 6284 </attr> 6285 <!-- sets the lineJoin for a stroked path. --> 6286 <attr name="strokeLineJoin" format="enum"> 6287 <enum name="miter" value="0"/> 6288 <enum name="round" value="1"/> 6289 <enum name="bevel" value="2"/> 6290 </attr> 6291 <!-- sets the Miter limit for a stroked path. --> 6292 <attr name="strokeMiterLimit" format="float"/> 6293 <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties. 6294 For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty. --> 6295 <attr name="fillType" format="enum"> 6296 <enum name="nonZero" value="0"/> 6297 <enum name="evenOdd" value="1"/> 6298 </attr> 6299 </declare-styleable> 6300 6301 <!-- Defines the clip path used in VectorDrawables. --> 6302 <declare-styleable name="VectorDrawableClipPath"> 6303 <!-- The Name of this path. --> 6304 <attr name="name" /> 6305 <!-- The specification of the operations that define the path. --> 6306 <attr name="pathData"/> 6307 </declare-styleable> 6308 6309 <!-- ========================== --> 6310 <!-- AnimatedVectorDrawable class --> 6311 <!-- ========================== --> 6312 <eat-comment /> 6313 6314 <!-- Define the AnimatedVectorDrawable. --> 6315 <declare-styleable name="AnimatedVectorDrawable"> 6316 <!-- The static vector drawable. --> 6317 <attr name="drawable" /> 6318 </declare-styleable> 6319 6320 <!-- Defines the target used in the AnimatedVectorDrawable. --> 6321 <declare-styleable name="AnimatedVectorDrawableTarget"> 6322 <!-- The name of the target path, group or vector drawable. --> 6323 <attr name="name" /> 6324 <!-- The animation for the target path, group or vector drawable. --> 6325 <attr name="animation" /> 6326 </declare-styleable> 6327 6328 <!-- ========================== --> 6329 <!-- Animation class attributes --> 6330 <!-- ========================== --> 6331 <eat-comment /> 6332 6333 <declare-styleable name="Animation"> 6334 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6335 <attr name="interpolator" /> 6336 <!-- When set to true, the value of fillBefore is taken into account. --> 6337 <attr name="fillEnabled" format="boolean" /> 6338 <!-- When set to true or when fillEnabled is not set to true, the animation transformation 6339 is applied before the animation has started. The default value is true. --> 6340 <attr name="fillBefore" format="boolean" /> 6341 <!-- When set to true, the animation transformation is applied after the animation is 6342 over. The default value is false. If fillEnabled is not set to true and the 6343 animation is not set on a View, fillAfter is assumed to be true.--> 6344 <attr name="fillAfter" format="boolean" /> 6345 <!-- Amount of time (in milliseconds) for the animation to run. --> 6346 <attr name="duration" /> 6347 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6348 <attr name="startOffset" format="integer" /> 6349 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6350 <attr name="repeatCount" format="integer"> 6351 <enum name="infinite" value="-1" /> 6352 </attr> 6353 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6354 greater than 0 or infinite. The default value is restart. --> 6355 <attr name="repeatMode"> 6356 <!-- The animation starts again from the beginning. --> 6357 <enum name="restart" value="1" /> 6358 <!-- The animation plays backward. --> 6359 <enum name="reverse" value="2" /> 6360 </attr> 6361 <!-- Allows for an adjustment of the Z ordering of the content being 6362 animated for the duration of the animation. The default value is normal. --> 6363 <attr name="zAdjustment"> 6364 <!-- The content being animated be kept in its current Z order. --> 6365 <enum name="normal" value="0" /> 6366 <!-- The content being animated is forced on top of all other 6367 content for the duration of the animation. --> 6368 <enum name="top" value="1" /> 6369 <!-- The content being animated is forced under all other 6370 content for the duration of the animation. --> 6371 <enum name="bottom" value="-1" /> 6372 </attr> 6373 <!-- Special background behind animation. Only for use with window 6374 animations. Can only be a color, and only black. If 0, the 6375 default, there is no background. --> 6376 <attr name="background" /> 6377 <!-- Special option for window animations: if this window is on top 6378 of a wallpaper, don't animate the wallpaper with it. --> 6379 <attr name="detachWallpaper" format="boolean" /> 6380 <!-- Special option for window animations: show the wallpaper behind when running this 6381 animation. --> 6382 <attr name="showWallpaper" format="boolean" /> 6383 </declare-styleable> 6384 6385 <declare-styleable name="AnimationSet"> 6386 <attr name="shareInterpolator" format="boolean" /> 6387 <attr name="fillBefore" /> 6388 <attr name="fillAfter" /> 6389 <attr name="duration" /> 6390 <attr name="startOffset" /> 6391 <attr name="repeatMode" /> 6392 </declare-styleable> 6393 6394 <declare-styleable name="RotateAnimation"> 6395 <attr name="fromDegrees" /> 6396 <attr name="toDegrees" /> 6397 <attr name="pivotX" /> 6398 <attr name="pivotY" /> 6399 </declare-styleable> 6400 6401 <declare-styleable name="ScaleAnimation"> 6402 <attr name="fromXScale" format="float|fraction|dimension" /> 6403 <attr name="toXScale" format="float|fraction|dimension" /> 6404 <attr name="fromYScale" format="float|fraction|dimension" /> 6405 <attr name="toYScale" format="float|fraction|dimension" /> 6406 <attr name="pivotX" /> 6407 <attr name="pivotY" /> 6408 </declare-styleable> 6409 6410 <declare-styleable name="TranslateAnimation"> 6411 <attr name="fromXDelta" format="float|fraction" /> 6412 <attr name="toXDelta" format="float|fraction" /> 6413 <attr name="fromYDelta" format="float|fraction" /> 6414 <attr name="toYDelta" format="float|fraction" /> 6415 </declare-styleable> 6416 6417 <declare-styleable name="AlphaAnimation"> 6418 <attr name="fromAlpha" format="float" /> 6419 <attr name="toAlpha" format="float" /> 6420 </declare-styleable> 6421 6422 <declare-styleable name="ClipRectAnimation"> 6423 <attr name="fromLeft" format="fraction" /> 6424 <attr name="fromTop" format="fraction" /> 6425 <attr name="fromRight" format="fraction" /> 6426 <attr name="fromBottom" format="fraction" /> 6427 <attr name="toLeft" format="fraction" /> 6428 <attr name="toTop" format="fraction" /> 6429 <attr name="toRight" format="fraction" /> 6430 <attr name="toBottom" format="fraction" /> 6431 </declare-styleable> 6432 6433 <declare-styleable name="LayoutAnimation"> 6434 <!-- Fraction of the animation duration used to delay the beginning of 6435 the animation of each child. --> 6436 <attr name="delay" format="float|fraction" /> 6437 <!-- Animation to use on each child. --> 6438 <attr name="animation" format="reference" /> 6439 <!-- The order in which the animations will be started. --> 6440 <attr name="animationOrder"> 6441 <!-- Animations are started in the natural order. --> 6442 <enum name="normal" value="0" /> 6443 <!-- Animations are started in the reverse order. --> 6444 <enum name="reverse" value="1" /> 6445 <!-- Animations are started randomly. --> 6446 <enum name="random" value="2" /> 6447 </attr> 6448 <!-- Interpolator used to interpolate the delay between the start of 6449 each animation. --> 6450 <attr name="interpolator" /> 6451 </declare-styleable> 6452 6453 <declare-styleable name="GridLayoutAnimation"> 6454 <!-- Fraction of the animation duration used to delay the beginning of 6455 the animation of each column. --> 6456 <attr name="columnDelay" format="float|fraction" /> 6457 <!-- Fraction of the animation duration used to delay the beginning of 6458 the animation of each row. --> 6459 <attr name="rowDelay" format="float|fraction" /> 6460 <!-- Direction of the animation in the grid. --> 6461 <attr name="direction"> 6462 <!-- Animates columns from left to right. --> 6463 <flag name="left_to_right" value="0x0" /> 6464 <!-- Animates columns from right to left. --> 6465 <flag name="right_to_left" value="0x1" /> 6466 <!-- Animates rows from top to bottom. --> 6467 <flag name="top_to_bottom" value="0x0" /> 6468 <!-- Animates rows from bottom to top. --> 6469 <flag name="bottom_to_top" value="0x2" /> 6470 </attr> 6471 <!-- Priority of the rows and columns. When the priority is none, 6472 both rows and columns have the same priority. When the priority is 6473 column, the animations will be applied on the columns first. The same 6474 goes for rows. --> 6475 <attr name="directionPriority"> 6476 <!-- Rows and columns are animated at the same time. --> 6477 <enum name="none" value="0" /> 6478 <!-- Columns are animated first. --> 6479 <enum name="column" value="1" /> 6480 <!-- Rows are animated first. --> 6481 <enum name="row" value="2" /> 6482 </attr> 6483 </declare-styleable> 6484 6485 <declare-styleable name="AccelerateInterpolator"> 6486 <!-- This is the amount of deceleration to add when easing in. --> 6487 <attr name="factor" format="float" /> 6488 </declare-styleable> 6489 6490 <declare-styleable name="DecelerateInterpolator"> 6491 <!-- This is the amount of acceleration to add when easing out. --> 6492 <attr name="factor" /> 6493 </declare-styleable> 6494 6495 <declare-styleable name="CycleInterpolator"> 6496 <attr name="cycles" format="float" /> 6497 </declare-styleable> 6498 6499 <declare-styleable name="AnticipateInterpolator"> 6500 <!-- This is the amount of tension. --> 6501 <attr name="tension" format="float" /> 6502 </declare-styleable> 6503 6504 <declare-styleable name="OvershootInterpolator"> 6505 <!-- This is the amount of tension. --> 6506 <attr name="tension" /> 6507 </declare-styleable> 6508 6509 <declare-styleable name="AnticipateOvershootInterpolator"> 6510 <!-- This is the amount of tension. --> 6511 <attr name="tension" /> 6512 <!-- This is the amount by which to multiply the tension. --> 6513 <attr name="extraTension" format="float" /> 6514 </declare-styleable> 6515 6516 <declare-styleable name="PathInterpolator"> 6517 <!-- The x coordinate of the first control point of the cubic Bezier. --> 6518 <attr name="controlX1" format="float" /> 6519 <!-- The y coordinate of the first control point of the cubic Bezier. --> 6520 <attr name="controlY1" format="float" /> 6521 <!-- The x coordinate of the second control point of the cubic Bezier. --> 6522 <attr name="controlX2" format="float" /> 6523 <!-- The y coordinate of the second control point of the cubic Bezier. --> 6524 <attr name="controlY2" format="float" /> 6525 <!-- The control points defined as a path. 6526 When pathData is defined, then both of the control points of the 6527 cubic Bezier will be ignored. --> 6528 <attr name="pathData"/> 6529 </declare-styleable> 6530 6531 <!-- ========================== --> 6532 <!-- Transition attributes --> 6533 <!-- ========================== --> 6534 <eat-comment /> 6535 6536 <!-- Use specific transition subclass names as the root tag of the XML resource that 6537 describes a {@link android.transition.Transition Transition}, 6538 such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. --> 6539 <declare-styleable name="Transition"> 6540 <!-- Amount of time (in milliseconds) that the transition should run. --> 6541 <attr name="duration" /> 6542 <!-- Delay in milliseconds before the transition starts. --> 6543 <attr name="startDelay" format="integer" /> 6544 <!-- Interpolator to be used in the animations spawned by this transition. --> 6545 <attr name="interpolator" /> 6546 <!-- The match order to use for the transition. This is a comma-separated 6547 list of values, containing one or more of the following: 6548 id, itemId, name, instance. These correspond to 6549 {@link android.transition.Transition#MATCH_ID}, 6550 {@link android.transition.Transition#MATCH_ITEM_ID}, 6551 {@link android.transition.Transition#MATCH_NAME}, and 6552 {@link android.transition.Transition#MATCH_INSTANCE}, respectively. 6553 This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. --> 6554 <attr name="matchOrder" format="string" /> 6555 </declare-styleable> 6556 6557 <!-- @hide For internal use only. Use only as directed. --> 6558 <declare-styleable name="EpicenterTranslateClipReveal"> 6559 <attr name="interpolatorX" format="reference" /> 6560 <attr name="interpolatorY" format="reference" /> 6561 <attr name="interpolatorZ" format="reference" /> 6562 </declare-styleable> 6563 6564 <!-- Use <code>fade</code>as the root tag of the XML resource that 6565 describes a {@link android.transition.Fade Fade} transition. 6566 The attributes of the {@link android.R.styleable#Transition Transition} 6567 resource are available in addition to the specific attributes of Fade 6568 described here. --> 6569 <declare-styleable name="Fade"> 6570 <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only 6571 with the Fade transition. --> 6572 <attr name="fadingMode"> 6573 <!-- Fade will only fade appearing items in. --> 6574 <enum name="fade_in" value="1" /> 6575 <!-- Fade will only fade disappearing items out. --> 6576 <enum name="fade_out" value="2" /> 6577 <!-- Fade will fade appearing items in and disappearing items out. --> 6578 <enum name="fade_in_out" value="3" /> 6579 </attr> 6580 </declare-styleable> 6581 6582 <!-- Use <code>slide</code>as the root tag of the XML resource that 6583 describes a {@link android.transition.Slide Slide} transition. 6584 The attributes of the {@link android.R.styleable#Transition Transition} 6585 resource are available in addition to the specific attributes of Slide 6586 described here. --> 6587 <declare-styleable name="Slide"> 6588 <attr name="slideEdge"> 6589 <!-- Slide to and from the left edge of the Scene. --> 6590 <enum name="left" value="0x03" /> 6591 <!-- Slide to and from the top edge of the Scene. --> 6592 <enum name="top" value="0x30" /> 6593 <!-- Slide to and from the right edge of the Scene. --> 6594 <enum name="right" value="0x05" /> 6595 <!-- Slide to and from the bottom edge of the Scene. --> 6596 <enum name="bottom" value="0x50" /> 6597 <!-- Slide to and from the x-axis position at the start of the Scene root. --> 6598 <enum name="start" value="0x00800003"/> 6599 <!-- Slide to and from the x-axis position at the end of the Scene root. --> 6600 <enum name="end" value="0x00800005"/> 6601 </attr> 6602 </declare-styleable> 6603 6604 <!-- Use with {@link android.transition.Visibility} transitions, such as 6605 <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which 6606 views are supported. --> 6607 <declare-styleable name="VisibilityTransition"> 6608 <!-- Changes whether the transition supports appearing and/or disappearing Views. 6609 Corresponds to {@link android.transition.Visibility#setMode(int)}. --> 6610 <attr name="transitionVisibilityMode"> 6611 <!-- Only appearing Views will be supported. --> 6612 <flag name="mode_in" value="1" /> 6613 <!-- Only disappearing Views will be supported. --> 6614 <flag name="mode_out" value="2" /> 6615 </attr> 6616 </declare-styleable> 6617 <!-- Use <code>target</code> as the root tag of the XML resource that 6618 describes a {@link android.transition.Transition#addTarget(int) 6619 targetId} of a transition. There can be one or more targets inside 6620 a <code>targets</code> tag, which is itself inside an appropriate 6621 {@link android.R.styleable#Transition Transition} tag. 6622 --> 6623 <declare-styleable name="TransitionTarget"> 6624 <!-- The id of a target on which this transition will animate changes. --> 6625 <attr name="targetId" format="reference" /> 6626 <!-- The id of a target to exclude from this transition. --> 6627 <attr name="excludeId" format="reference" /> 6628 <!-- The fully-qualified name of the Class to include in this transition. --> 6629 <attr name="targetClass" /> 6630 <!-- The fully-qualified name of the Class to exclude from this transition. --> 6631 <attr name="excludeClass" format="string" /> 6632 <!-- The transitionName of the target on which this transition will animation changes. --> 6633 <attr name="targetName" format="string" /> 6634 <!-- The transitionName of the target to exclude from this transition. --> 6635 <attr name="excludeName" format="string" /> 6636 </declare-styleable> 6637 6638 <!-- Use <code>set</code> as the root tag of the XML resource that 6639 describes a {@link android.transition.TransitionSet 6640 TransitionSet} transition. --> 6641 <declare-styleable name="TransitionSet"> 6642 <attr name="transitionOrdering"> 6643 <!-- child transitions should be played together. --> 6644 <enum name="together" value="0" /> 6645 <!-- child transitions should be played sequentially, in the same order 6646 as the xml. --> 6647 <enum name="sequential" value="1" /> 6648 </attr> 6649 </declare-styleable> 6650 6651 <!-- Use <code>changeTransform</code> as the root tag of the XML resource that 6652 describes a {@link android.transition.ChangeTransform} transition. --> 6653 <declare-styleable name="ChangeTransform"> 6654 <!-- A parent change should use an overlay or affect the transform of the 6655 transitionining View. Default is true. Corresponds to 6656 {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. --> 6657 <attr name="reparentWithOverlay" format="boolean"/> 6658 6659 <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to 6660 {@link android.transition.ChangeTransform#setReparent(boolean)}. --> 6661 <attr name="reparent" format="boolean"/> 6662 </declare-styleable> 6663 6664 <!-- Use <code>changeBounds</code>as the root tag of the XML resource that 6665 describes a {@link android.transition.ChangeBounds} transition. 6666 The attributes of the {@link android.R.styleable#Transition Transition} 6667 resource are available in addition to the specific attributes of ChangeBounds 6668 described here. --> 6669 <declare-styleable name="ChangeBounds"> 6670 <!-- Resize the view by adjusting the clipBounds rather than changing the 6671 dimensions of the view itself. The default value is false. --> 6672 <attr name="resizeClip" format="boolean"/> 6673 </declare-styleable> 6674 6675 <!-- Use <code>transitionManager</code> as the root tag of the XML resource that 6676 describes a {@link android.transition.TransitionManager 6677 TransitionManager}. --> 6678 <declare-styleable name="TransitionManager"> 6679 <!-- The id of a transition to be used in a particular scene change. --> 6680 <attr name="transition" format="reference" /> 6681 <!-- The originating scene in this scene change. --> 6682 <attr name="fromScene" format="reference" /> 6683 <!-- The destination scene in this scene change. --> 6684 <attr name="toScene" format="reference" /> 6685 </declare-styleable> 6686 6687 <!-- Use <code>arcMotion</code> as the root tag of the XML resource that 6688 describes a {@link android.transition.ArcMotion}. This must be used 6689 within a transition with which the PathMotion should be associated. --> 6690 <declare-styleable name="ArcMotion"> 6691 <!-- The minimum arc angle in degrees between the start and end points when 6692 they are close to horizontal. --> 6693 <attr name="minimumHorizontalAngle" format="float" /> 6694 <!-- The minimum arc angle in degrees between the start and end points when 6695 they are close to vertical. --> 6696 <attr name="minimumVerticalAngle" format="float" /> 6697 <!-- The maximum arc angle in degrees between the start and end points. --> 6698 <attr name="maximumAngle" format="float" /> 6699 </declare-styleable> 6700 6701 <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that 6702 describes a {@link android.transition.PatternPathMotion}. This must be used 6703 within a transition with which the PathMotion should be associated. --> 6704 <declare-styleable name="PatternPathMotion"> 6705 <!-- The path string describing the pattern to use for the PathPathMotion. --> 6706 <attr name="patternPathData" format="string" /> 6707 </declare-styleable> 6708 6709 <!-- ========================== --> 6710 <!-- ValueAnimator class attributes --> 6711 <!-- ========================== --> 6712 <eat-comment /> 6713 6714 <declare-styleable name="Animator"> 6715 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6716 <attr name="interpolator" /> 6717 <!-- Amount of time (in milliseconds) for the animation to run. --> 6718 <attr name="duration" /> 6719 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6720 <attr name="startOffset"/> 6721 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6722 <attr name="repeatCount"/> 6723 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6724 greater than 0 or infinite. The default value is restart. --> 6725 <attr name="repeatMode"/> 6726 <!-- Value the animation starts from. --> 6727 <attr name="valueFrom" format="float|integer|color|dimension|string"/> 6728 <!-- Value the animation animates to. --> 6729 <attr name="valueTo" format="float|integer|color|dimension|string"/> 6730 <!-- The type of valueFrom and valueTo. --> 6731 <attr name="valueType"> 6732 <!-- The given values are floats. This is the default value if valueType is 6733 unspecified. Note that if any value attribute has a color value 6734 (beginning with "#"), then this attribute is ignored and the color values are 6735 interpreted as integers. --> 6736 <enum name="floatType" value="0" /> 6737 <!-- values are integers. --> 6738 <enum name="intType" value="1" /> 6739 <!-- values are paths defined as strings. 6740 This type is used for path morphing in AnimatedVectorDrawable. --> 6741 <enum name="pathType" value="2" /> 6742 <!-- values are colors, which are integers starting with "#". --> 6743 <enum name="colorType" value="3" /> 6744 </attr> 6745 <!-- Placeholder for a deleted attribute. This should be removed before M release. --> 6746 <attr name="removeBeforeMRelease" format="integer" /> 6747 </declare-styleable> 6748 6749 <declare-styleable name="PropertyValuesHolder"> 6750 <attr name="valueType" /> 6751 <attr name="propertyName" /> 6752 <attr name="valueFrom" /> 6753 <attr name="valueTo" /> 6754 </declare-styleable> 6755 6756 <declare-styleable name="Keyframe"> 6757 <attr name="valueType" /> 6758 <attr name="value" /> 6759 <attr name="fraction" format="float" /> 6760 <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used 6761 to interpolate between this keyframe and the previous keyframe. --> 6762 <attr name="interpolator" /> 6763 </declare-styleable> 6764 6765 <!-- ========================== --> 6766 <!-- ObjectAnimator class attributes --> 6767 <!-- ========================== --> 6768 <eat-comment /> 6769 6770 <declare-styleable name="PropertyAnimator"> 6771 <!-- Name of the property being animated. --> 6772 <attr name="propertyName" format="string"/> 6773 <!-- Name of the property being animated as the X coordinate of the pathData. --> 6774 <attr name="propertyXName" format="string"/> 6775 <!-- Name of the property being animated as the Y coordinate of the pathData. --> 6776 <attr name="propertyYName" format="string"/> 6777 <!-- The path used to animate the properties in the ObjectAnimator. --> 6778 <attr name="pathData"/> 6779 </declare-styleable> 6780 6781 6782 <!-- ========================== --> 6783 <!-- AnimatorSet class attributes --> 6784 <!-- ========================== --> 6785 <eat-comment /> 6786 6787 <declare-styleable name="AnimatorSet"> 6788 <!-- Name of the property being animated. --> 6789 <attr name="ordering"> 6790 <!-- child animations should be played together. --> 6791 <enum name="together" value="0" /> 6792 <!-- child animations should be played sequentially, in the same order as the xml. --> 6793 <enum name="sequentially" value="1" /> 6794 </attr> 6795 </declare-styleable> 6796 6797 <!-- ========================== --> 6798 <!-- State attributes --> 6799 <!-- ========================== --> 6800 <eat-comment /> 6801 6802 <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of 6803 states may vary between view implementations, as documented on the individual state 6804 attributes. --> 6805 <declare-styleable name="DrawableStates"> 6806 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6807 set when a view has input focus. --> 6808 <attr name="state_focused" format="boolean" /> 6809 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6810 set when a view's window has input focus. --> 6811 <attr name="state_window_focused" format="boolean" /> 6812 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6813 set when a view is enabled. --> 6814 <attr name="state_enabled" format="boolean" /> 6815 <!-- State identifier indicating that the object <var>may</var> display a check mark. See 6816 {@link android.R.attr#state_checked} for the identifier that indicates whether it is 6817 actually checked. --> 6818 <attr name="state_checkable" format="boolean"/> 6819 <!-- State identifier indicating that the object is currently checked. See 6820 {@link android.R.attr#state_checkable} for an additional identifier that can indicate 6821 if any object may ever display a check, regardless of whether state_checked is 6822 currently set. --> 6823 <attr name="state_checked" format="boolean"/> 6824 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6825 set when a view (or one of its parents) is currently selected. --> 6826 <attr name="state_selected" format="boolean" /> 6827 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6828 set when the user is pressing down in a view. --> 6829 <attr name="state_pressed" format="boolean" /> 6830 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6831 set when a view or its parent has been "activated" meaning the user has currently 6832 marked it as being of interest. This is an alternative representation of 6833 state_checked for when the state should be propagated down the view hierarchy. --> 6834 <attr name="state_activated" format="boolean" /> 6835 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6836 set when a view or drawable is considered "active" by its host. Actual usage may vary 6837 between views. Consult the host view documentation for details. --> 6838 <attr name="state_active" format="boolean" /> 6839 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6840 set when a view or drawable is considered "single" by its host. Actual usage may vary 6841 between views. Consult the host view documentation for details. --> 6842 <attr name="state_single" format="boolean" /> 6843 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6844 set when a view or drawable is in the first position in an ordered set. Actual usage 6845 may vary between views. Consult the host view documentation for details. --> 6846 <attr name="state_first" format="boolean" /> 6847 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6848 set when a view or drawable is in the middle position in an ordered set. Actual usage 6849 may vary between views. Consult the host view documentation for details. --> 6850 <attr name="state_middle" format="boolean" /> 6851 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6852 set when a view or drawable is in the last position in an ordered set. Actual usage 6853 may vary between views. Consult the host view documentation for details. --> 6854 <attr name="state_last" format="boolean" /> 6855 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6856 indicating that the Drawable is in a view that is hardware accelerated. 6857 This means that the device can at least render a full-screen scaled 6858 bitmap with one layer of text and bitmaps composited on top of it 6859 at 60fps. When this is set, the colorBackgroundCacheHint will be 6860 ignored even if it specifies a solid color, since that optimization 6861 is not needed. --> 6862 <attr name="state_accelerated" format="boolean" /> 6863 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6864 set when a pointer is hovering over the view. --> 6865 <attr name="state_hovered" format="boolean" /> 6866 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6867 indicating that the Drawable is in a view that is capable of accepting a drop of 6868 the content currently being manipulated in a drag-and-drop operation. --> 6869 <attr name="state_drag_can_accept" format="boolean" /> 6870 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6871 indicating that a drag operation (for which the Drawable's view is a valid recipient) 6872 is currently positioned over the Drawable. --> 6873 <attr name="state_drag_hovered" format="boolean" /> 6874 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6875 indicating that a View has accessibility focus. --> 6876 <attr name="state_accessibility_focused" format="boolean" /> 6877 </declare-styleable> 6878 <declare-styleable name="ViewDrawableStates"> 6879 <attr name="state_pressed" /> 6880 <attr name="state_focused" /> 6881 <attr name="state_selected" /> 6882 <attr name="state_window_focused" /> 6883 <attr name="state_enabled" /> 6884 <attr name="state_activated" /> 6885 <attr name="state_accelerated" /> 6886 <attr name="state_hovered" /> 6887 <attr name="state_drag_can_accept" /> 6888 <attr name="state_drag_hovered" /> 6889 </declare-styleable> 6890 <!-- State array representing a menu item that is currently checked. --> 6891 <declare-styleable name="MenuItemCheckedState"> 6892 <attr name="state_checkable" /> 6893 <attr name="state_checked" /> 6894 </declare-styleable> 6895 <!-- State array representing a menu item that is checkable but is not currently checked. --> 6896 <declare-styleable name="MenuItemUncheckedState"> 6897 <attr name="state_checkable" /> 6898 </declare-styleable> 6899 <!-- State array representing a menu item that is currently focused and checked. --> 6900 <declare-styleable name="MenuItemCheckedFocusedState"> 6901 <attr name="state_checkable" /> 6902 <attr name="state_checked" /> 6903 <attr name="state_focused" /> 6904 </declare-styleable> 6905 <!-- State array representing a menu item that is focused and checkable but is not currently checked. --> 6906 <declare-styleable name="MenuItemUncheckedFocusedState"> 6907 <attr name="state_checkable" /> 6908 <attr name="state_focused" /> 6909 </declare-styleable> 6910 <!-- State array representing an expandable list child's indicator. --> 6911 <declare-styleable name="ExpandableListChildIndicatorState"> 6912 <!-- State identifier indicating the child is the last child within its group. --> 6913 <attr name="state_last" /> 6914 </declare-styleable> 6915 <!-- State array representing an expandable list group's indicator. --> 6916 <declare-styleable name="ExpandableListGroupIndicatorState"> 6917 <!-- State identifier indicating the group is expanded. --> 6918 <attr name="state_expanded" format="boolean" /> 6919 <!-- State identifier indicating the group is empty (has no children). --> 6920 <attr name="state_empty" format="boolean" /> 6921 </declare-styleable> 6922 <declare-styleable name="PopupWindowBackgroundState"> 6923 <!-- State identifier indicating the popup will be above the anchor. --> 6924 <attr name="state_above_anchor" format="boolean" /> 6925 </declare-styleable> 6926 <declare-styleable name="TextViewMultiLineBackgroundState"> 6927 <!-- State identifier indicating a TextView has a multi-line layout. --> 6928 <attr name="state_multiline" format="boolean" /> 6929 </declare-styleable> 6930 6931 <!-- ***************************************************************** --> 6932 <!-- Support for Searchable activities. --> 6933 <!-- ***************************************************************** --> 6934 <eat-comment /> 6935 6936 <!-- Searchable activities and applications must provide search configuration information 6937 in an XML file, typically called searchable.xml. This file is referenced in your manifest. 6938 For a more in-depth discussion of search configuration, please refer to 6939 {@link android.app.SearchManager}. --> 6940 <declare-styleable name="Searchable"> 6941 <!--<strong>This is deprecated.</strong><br/>The default 6942 application icon is now always used, so this attribute is 6943 obsolete.--> 6944 <attr name="icon" /> 6945 <!-- This is the user-displayed name of the searchable activity. <i>Required 6946 attribute.</i> --> 6947 <attr name="label" /> 6948 <!-- If supplied, this string will be displayed as a hint to the user. <i>Optional 6949 attribute.</i> --> 6950 <attr name="hint" /> 6951 <!-- If supplied, this string will be displayed as the text of the "Search" button. 6952 <i>Optional attribute.</i> 6953 {@deprecated This will create a non-standard UI appearance, because the search bar UI is 6954 changing to use only icons for its buttons.}--> 6955 <attr name="searchButtonText" format="string" /> 6956 <attr name="inputType" /> 6957 <attr name="imeOptions" /> 6958 6959 <!-- Additional features are controlled by mode bits in this field. Omitting 6960 this field, or setting to zero, provides default behavior. <i>Optional attribute.</i> 6961 --> 6962 <attr name="searchMode"> 6963 <!-- If set, this flag enables the display of the search target (label) within the 6964 search bar. If neither bad mode is selected, no badge will be shown. --> 6965 <flag name="showSearchLabelAsBadge" value="0x04" /> 6966 <!--<strong>This is deprecated.</strong><br/>The default 6967 application icon is now always used, so this option is 6968 obsolete.--> 6969 <flag name="showSearchIconAsBadge" value="0x08" /> 6970 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to 6971 be considered as the text for suggestion query rewriting. This should only 6972 be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user 6973 inspection and editing - typically, HTTP/HTTPS Uri's. --> 6974 <flag name="queryRewriteFromData" value="0x10" /> 6975 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to 6976 be considered as the text for suggestion query rewriting. This should be used 6977 for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA 6978 values are not suitable for user inspection and editing. --> 6979 <flag name="queryRewriteFromText" value="0x20" /> 6980 </attr> 6981 6982 <!-- Voice search features are controlled by mode bits in this field. Omitting 6983 this field, or setting to zero, provides default behavior. 6984 If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must 6985 also be set. <i>Optional attribute.</i> 6986 --> 6987 <attr name="voiceSearchMode"> 6988 <!-- If set, display a voice search button. This only takes effect if voice search is 6989 available on the device. --> 6990 <flag name="showVoiceSearchButton" value="0x01" /> 6991 <!-- If set, the voice search button will take the user directly to a built-in 6992 voice web search activity. Most applications will not use this flag, as it 6993 will take the user away from the activity in which search was invoked. --> 6994 <flag name="launchWebSearch" value="0x02" /> 6995 <!-- If set, the voice search button will take the user directly to a built-in 6996 voice recording activity. This activity will prompt the user to speak, 6997 transcribe the spoken text, and forward the resulting query 6998 text to the searchable activity, just as if the user had typed it into 6999 the search UI and clicked the search button. --> 7000 <flag name="launchRecognizer" value="0x04" /> 7001 </attr> 7002 7003 <!-- If provided, this specifies the language model that should be used by the 7004 voice recognition system. See 7005 {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information. 7006 If not provided, the default value 7007 {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. --> 7008 <attr name="voiceLanguageModel" format="string" /> 7009 <!-- If provided, this specifies a prompt that will be displayed during voice input. --> 7010 <attr name="voicePromptText" format="string" /> 7011 <!-- If provided, this specifies the spoken language to be expected, and that it will be 7012 different than the one set in the {@link java.util.Locale#getDefault()}. --> 7013 <attr name="voiceLanguage" format="string" /> 7014 <!-- If provided, enforces the maximum number of results to return, including the "best" 7015 result which will always be provided as the SEARCH intent's primary query. Must be one 7016 or greater. If not provided, the recognizer will choose how many results to return. 7017 --> 7018 <attr name="voiceMaxResults" format="integer" /> 7019 7020 <!-- If provided, this is the trigger indicating that the searchable activity 7021 provides suggestions as well. The value must be a fully-qualified content provider 7022 authority (for example, "com.example.android.apis.SuggestionProvider") and should match 7023 the "android:authorities" tag in your content provider's manifest entry. <i>Optional 7024 attribute.</i> --> 7025 <attr name="searchSuggestAuthority" format="string" /> 7026 <!-- If provided, this will be inserted in the suggestions query Uri, after the authority 7027 you have provide but before the standard suggestions path. <i>Optional attribute.</i> 7028 --> 7029 <attr name="searchSuggestPath" format="string" /> 7030 <!-- If provided, suggestion queries will be passed into your query function 7031 as the <i>selection</i> parameter. Typically this will be a WHERE clause for your 7032 database, and will contain a single question mark, which represents the actual query 7033 string that has been typed by the user. If not provided, then the user query text 7034 will be appended to the query Uri (after an additional "/".) <i>Optional 7035 attribute.</i> --> 7036 <attr name="searchSuggestSelection" format="string" /> 7037 7038 <!-- If provided, and not overridden by an action in the selected suggestion, this 7039 string will be placed in the action field of the {@link android.content.Intent Intent} 7040 when the user clicks a suggestion. <i>Optional attribute.</i> --> 7041 <attr name="searchSuggestIntentAction" format="string" /> 7042 <!-- If provided, and not overridden by an action in the selected suggestion, this 7043 string will be placed in the data field of the {@link android.content.Intent Intent} 7044 when the user clicks a suggestion. <i>Optional attribute.</i> --> 7045 <attr name="searchSuggestIntentData" format="string" /> 7046 7047 <!-- If provided, this is the minimum number of characters needed to trigger 7048 search suggestions. The default value is 0. <i>Optional attribute.</i> --> 7049 <attr name="searchSuggestThreshold" format="integer" /> 7050 7051 <!-- If provided and <code>true</code>, this searchable activity will be 7052 included in any global lists of search targets. 7053 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 7054 <attr name="includeInGlobalSearch" format="boolean" /> 7055 7056 <!-- If provided and <code>true</code>, this searchable activity will be invoked for all 7057 queries in a particular session. If set to <code>false</code> and the activity 7058 returned zero results for a query, it will not be invoked again in that session for 7059 supersets of that zero-results query. For example, if the activity returned zero 7060 results for "bo", it would not be queried again for "bob". 7061 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 7062 <attr name="queryAfterZeroResults" format="boolean" /> 7063 <!-- If provided, this string will be used to describe the searchable item in the 7064 searchable items settings within system search settings. <i>Optional 7065 attribute.</i> --> 7066 <attr name="searchSettingsDescription" format="string" /> 7067 7068 <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching 7069 within this activity would be detected and treated as URLs (show a 'go' button in the 7070 keyboard and invoke the browser directly when user launches the URL instead of passing 7071 the URL to the activity). If set to <code>false</code> any URLs entered are treated as 7072 normal query text. 7073 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 7074 <attr name="autoUrlDetect" format="boolean" /> 7075 7076 </declare-styleable> 7077 7078 <!-- In order to process special action keys during search, you must define them using 7079 one or more "ActionKey" elements in your Searchable metadata. For a more in-depth 7080 discussion of action code handling, please refer to {@link android.app.SearchManager}. 7081 --> 7082 <declare-styleable name="SearchableActionKey"> 7083 <!-- This attribute denotes the action key you wish to respond to. Note that not 7084 all action keys are actually supported using this mechanism, as many of them are 7085 used for typing, navigation, or system functions. This will be added to the 7086 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 7087 searchable activity. To examine the key code, use 7088 {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}. 7089 <p>Note, in addition to the keycode, you must also provide one or more of the action 7090 specifier attributes. <i>Required attribute.</i> --> 7091 <attr name="keycode" /> 7092 7093 <!-- If you wish to handle an action key during normal search query entry, you 7094 must define an action string here. This will be added to the 7095 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 7096 searchable activity. To examine the string, use 7097 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 7098 <i>Optional attribute.</i> --> 7099 <attr name="queryActionMsg" format="string" /> 7100 7101 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 7102 selected</i>, there are two ways to handle this. If <i>all</i> of your suggestions 7103 can handle the action key, you can simply define the action message using this 7104 attribute. This will be added to the 7105 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 7106 searchable activity. To examine the string, use 7107 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 7108 <i>Optional attribute.</i> --> 7109 <attr name="suggestActionMsg" format="string" /> 7110 7111 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 7112 selected</i>, but you do not wish to enable this action key for every suggestion, 7113 then you can use this attribute to control it on a suggestion-by-suggestion basis. 7114 First, you must define a column (and name it here) where your suggestions will include 7115 the action string. Then, in your content provider, you must provide this column, and 7116 when desired, provide data in this column. 7117 The search manager will look at your suggestion cursor, using the string 7118 provided here in order to select a column, and will use that to select a string from 7119 the cursor. That string will be added to the 7120 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to 7121 your searchable activity. To examine the string, use 7122 {@link android.content.Intent#getStringExtra 7123 getStringExtra(SearchManager.ACTION_MSG)}. <i>If the data does not exist for the 7124 selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> --> 7125 <attr name="suggestActionMsgColumn" format="string" /> 7126 7127 </declare-styleable> 7128 7129 <!-- ***************************************************************** --> 7130 <!-- Support for MapView. --> 7131 <!-- ***************************************************************** --> 7132 <eat-comment /> 7133 7134 <!-- The set of attributes for a MapView. --> 7135 <declare-styleable name="MapView"> 7136 <!-- Value is a string that specifies the Maps API Key to use. --> 7137 <attr name="apiKey" format="string" /> 7138 </declare-styleable> 7139 7140 <!-- **************************************************************** --> 7141 <!-- Menu XML inflation. --> 7142 <!-- **************************************************************** --> 7143 <eat-comment /> 7144 7145 <!-- Base attributes that are available to all Menu objects. --> 7146 <declare-styleable name="Menu"> 7147 </declare-styleable> 7148 7149 <!-- Base attributes that are available to all groups. --> 7150 <declare-styleable name="MenuGroup"> 7151 7152 <!-- The ID of the group. --> 7153 <attr name="id" /> 7154 7155 <!-- The category applied to all items within this group. 7156 (This will be or'ed with the orderInCategory attribute.) --> 7157 <attr name="menuCategory"> 7158 <!-- Items are part of a container. --> 7159 <enum name="container" value="0x00010000" /> 7160 <!-- Items are provided by the system. --> 7161 <enum name="system" value="0x00020000" /> 7162 <!-- Items are user-supplied secondary (infrequently used). --> 7163 <enum name="secondary" value="0x00030000" /> 7164 <!-- Items are alternative actions. --> 7165 <enum name="alternative" value="0x00040000" /> 7166 </attr> 7167 7168 <!-- The order within the category applied to all items within this group. 7169 (This will be or'ed with the category attribute.) --> 7170 <attr name="orderInCategory" format="integer" /> 7171 7172 <!-- Whether the items are capable of displaying a check mark. --> 7173 <attr name="checkableBehavior"> 7174 <!-- The items are not checkable. --> 7175 <enum name="none" value="0" /> 7176 <!-- The items are all checkable. --> 7177 <enum name="all" value="1" /> 7178 <!-- The items are checkable and there will only be a single checked item in 7179 this group. --> 7180 <enum name="single" value="2" /> 7181 </attr> 7182 7183 <!-- Whether the items are shown/visible. --> 7184 <attr name="visible" /> 7185 7186 <!-- Whether the items are enabled. --> 7187 <attr name="enabled" /> 7188 7189 </declare-styleable> 7190 7191 <!-- Base attributes that are available to all Item objects. --> 7192 <declare-styleable name="MenuItem"> 7193 7194 <!-- The ID of the item. --> 7195 <attr name="id" /> 7196 7197 <!-- The category applied to the item. 7198 (This will be or'ed with the orderInCategory attribute.) --> 7199 <attr name="menuCategory" /> 7200 7201 <!-- The order within the category applied to the item. 7202 (This will be or'ed with the category attribute.) --> 7203 <attr name="orderInCategory" /> 7204 7205 <!-- The title associated with the item. --> 7206 <attr name="title" format="string" /> 7207 7208 <!-- The condensed title associated with the item. This is used in situations where the 7209 normal title may be too long to be displayed. --> 7210 <attr name="titleCondensed" format="string" /> 7211 7212 <!-- The icon associated with this item. This icon will not always be shown, so 7213 the title should be sufficient in describing this item. --> 7214 <attr name="icon" /> 7215 7216 <!-- Tint to apply to the icon. --> 7217 <attr name="iconTint" format="color" /> 7218 7219 <!-- Blending mode used to apply the icon tint. --> 7220 <attr name="iconTintMode"> 7221 <!-- The tint is drawn on top of the icon. 7222 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 7223 <enum name="src_over" value="3" /> 7224 <!-- The tint is masked by the alpha channel of the icon. The icon’s 7225 color channels are thrown out. [Sa * Da, Sc * Da] --> 7226 <enum name="src_in" value="5" /> 7227 <!-- The tint is drawn above the icon, but with the icon’s alpha 7228 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 7229 <enum name="src_atop" value="9" /> 7230 <!-- Multiplies the color and alpha channels of the icon with those of 7231 the tint. [Sa * Da, Sc * Dc] --> 7232 <enum name="multiply" value="14" /> 7233 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 7234 <enum name="screen" value="15" /> 7235 <!-- Combines the tint and icon color and alpha channels, clamping the 7236 result to valid color values. Saturate(S + D) --> 7237 <enum name="add" value="16" /> 7238 </attr> 7239 7240 <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard 7241 with alphabetic keys. --> 7242 <attr name="alphabeticShortcut" format="string" /> 7243 7244 <!-- The alphabetic modifier key. This is the modifier when using a keyboard 7245 with alphabetic keys. The values should be kept in sync with KeyEvent --> 7246 <attr name="alphabeticModifiers"> 7247 <flag name="META" value="0x10000" /> 7248 <flag name="CTRL" value="0x1000" /> 7249 <flag name="ALT" value="0x02" /> 7250 <flag name="SHIFT" value="0x1" /> 7251 <flag name="SYM" value="0x4" /> 7252 <flag name="FUNCTION" value="0x8" /> 7253 </attr> 7254 7255 <!-- The numeric shortcut key. This is the shortcut when using a numeric (for example, 7256 12-key) keyboard. --> 7257 <attr name="numericShortcut" format="string" /> 7258 7259 <!-- The numeric modifier key. This is the modifier when using a numeric (for example, 7260 12-key) keyboard. The values should be kept in sync with KeyEvent --> 7261 <attr name="numericModifiers"> 7262 <flag name="META" value="0x10000" /> 7263 <flag name="CTRL" value="0x1000" /> 7264 <flag name="ALT" value="0x02" /> 7265 <flag name="SHIFT" value="0x1" /> 7266 <flag name="SYM" value="0x4" /> 7267 <flag name="FUNCTION" value="0x8" /> 7268 </attr> 7269 7270 <!-- Whether the item is capable of displaying a check mark. --> 7271 <attr name="checkable" format="boolean" /> 7272 7273 <!-- Whether the item is checked. Note that you must first have enabled checking with 7274 the checkable attribute or else the check mark will not appear. --> 7275 <attr name="checked" /> 7276 7277 <!-- Whether the item is shown/visible. --> 7278 <attr name="visible" /> 7279 7280 <!-- Whether the item is enabled. --> 7281 <attr name="enabled" /> 7282 7283 <!-- Name of a method on the Context used to inflate the menu that will be 7284 called when the item is clicked. --> 7285 <attr name="onClick" /> 7286 7287 <!-- How this item should display in the Action Bar, if present. --> 7288 <attr name="showAsAction"> 7289 <!-- Never show this item in an action bar, show it in the overflow menu instead. 7290 Mutually exclusive with "ifRoom" and "always". --> 7291 <flag name="never" value="0" /> 7292 <!-- Show this item in an action bar if there is room for it as determined 7293 by the system. Favor this option over "always" where possible. 7294 Mutually exclusive with "never" and "always". --> 7295 <flag name="ifRoom" value="1" /> 7296 <!-- Always show this item in an actionbar, even if it would override 7297 the system's limits of how much stuff to put there. This may make 7298 your action bar look bad on some screens. In most cases you should 7299 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". --> 7300 <flag name="always" value="2" /> 7301 <!-- When this item is shown as an action in the action bar, show a text 7302 label with it even if it has an icon representation. --> 7303 <flag name="withText" value="4" /> 7304 <!-- This item's action view collapses to a normal menu 7305 item. When expanded, the action view takes over a 7306 larger segment of its container. --> 7307 <flag name="collapseActionView" value="8" /> 7308 </attr> 7309 7310 <!-- An optional layout to be used as an action view. 7311 See {@link android.view.MenuItem#setActionView(android.view.View)} 7312 for more info. --> 7313 <attr name="actionLayout" format="reference" /> 7314 7315 <!-- The name of an optional View class to instantiate and use as an 7316 action view. See {@link android.view.MenuItem#setActionView(android.view.View)} 7317 for more info. --> 7318 <attr name="actionViewClass" format="string" /> 7319 7320 <!-- The name of an optional ActionProvider class to instantiate an action view 7321 and perform operations such as default action for that menu item. 7322 See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)} 7323 for more info. --> 7324 <attr name="actionProviderClass" format="string" /> 7325 7326 <!-- The content description associated with the item. --> 7327 <attr name="contentDescription" format="string" /> 7328 7329 <!-- The tooltip text associated with the item. --> 7330 <attr name="tooltipText" format="string" /> 7331 7332 </declare-styleable> 7333 7334 <!-- Attrbitutes for a ActvityChooserView. --> 7335 <declare-styleable name="ActivityChooserView"> 7336 <!-- The maximal number of items initially shown in the activity list. --> 7337 <attr name="initialActivityCount" format="string" /> 7338 <!-- The drawable to show in the button for expanding the activities overflow popup. 7339 <strong>Note:</strong> Clients would like to set this drawable 7340 as a clue about the action the chosen activity will perform. For 7341 example, if share activity is to be chosen the drawable should 7342 give a clue that sharing is to be performed. 7343 --> 7344 <attr name="expandActivityOverflowButtonDrawable" format="reference" /> 7345 </declare-styleable> 7346 7347 <!-- **************************************************************** --> 7348 <!-- Preferences framework. --> 7349 <!-- **************************************************************** --> 7350 <eat-comment /> 7351 7352 <!-- Base attributes available to PreferenceGroup. --> 7353 <declare-styleable name="PreferenceGroup"> 7354 <!-- Whether to order the Preference under this group as they appear in the XML file. 7355 If this is false, the ordering will follow the Preference order attribute and 7356 default to alphabetic for those without the order attribute. --> 7357 <attr name="orderingFromXml" format="boolean" /> 7358 </declare-styleable> 7359 7360 <!-- Attribute for a header describing the item shown in the top-level list 7361 from which the selects the set of preference to dig in to. --> 7362 <declare-styleable name="PreferenceHeader"> 7363 <!-- Identifier value for the header. --> 7364 <attr name="id" /> 7365 <!-- The title of the item that is shown to the user. --> 7366 <attr name="title" /> 7367 <!-- The summary for the item. --> 7368 <attr name="summary" format="string" /> 7369 <!-- The title for the bread crumb of this item. --> 7370 <attr name="breadCrumbTitle" format="string" /> 7371 <!-- The short title for the bread crumb of this item. --> 7372 <attr name="breadCrumbShortTitle" format="string" /> 7373 <!-- An icon for the item. --> 7374 <attr name="icon" /> 7375 <!-- The fragment that is displayed when the user selects this item. --> 7376 <attr name="fragment" format="string" /> 7377 </declare-styleable> 7378 7379 <!-- WARNING: If adding attributes to Preference, make sure it does not conflict 7380 with a View's attributes. Some subclasses (for example, EditTextPreference) 7381 proxy all attributes to its EditText widget. --> 7382 <eat-comment /> 7383 7384 <!-- Base attributes available to Preference. --> 7385 <declare-styleable name="Preference"> 7386 <!-- The optional icon for the preference. --> 7387 <attr name="icon" /> 7388 <!-- The key to store the Preference value. --> 7389 <attr name="key" format="string" /> 7390 <!-- The title for the Preference. In API 25 and earlier, this value is read as a 7391 plain string with styling information stripped. --> 7392 <attr name="title" /> 7393 <!-- The summary for the Preference. In API 25 and earlier, this value is read as a 7394 plain string with styling information stripped. --> 7395 <attr name="summary" /> 7396 <!-- The order for the Preference (lower values are to be ordered first). If this is not 7397 specified, the default ordering will be alphabetic. --> 7398 <attr name="order" format="integer" /> 7399 <!-- When used inside of a modern PreferenceActivity, this declares 7400 a new PreferenceFragment to be shown when the user selects this item. --> 7401 <attr name="fragment" /> 7402 <!-- The layout for the Preference in a PreferenceActivity screen. This should 7403 rarely need to be changed, look at widgetLayout instead. --> 7404 <attr name="layout" /> 7405 <!-- The layout for the controllable widget portion of a Preference. This is inflated 7406 into the layout for a Preference and should be used more frequently than 7407 the layout attribute. For example, a checkbox preference would specify 7408 a custom layout (consisting of just the CheckBox) here. --> 7409 <attr name="widgetLayout" format="reference" /> 7410 <!-- Whether the Preference is enabled. --> 7411 <attr name="enabled" /> 7412 <!-- Whether the Preference is selectable. --> 7413 <attr name="selectable" format="boolean" /> 7414 <!-- The key of another Preference that this Preference will depend on. If the other 7415 Preference is not set or is off, this Preference will be disabled. --> 7416 <attr name="dependency" format="string" /> 7417 <!-- Whether the Preference stores its value to the storage. --> 7418 <attr name="persistent" /> 7419 <!-- The default value for the preference, which will be set either if persistence 7420 is off or persistence is on and the preference is not found in the persistent 7421 storage. --> 7422 <attr name="defaultValue" format="string|boolean|integer|reference|float" /> 7423 <!-- Whether the view of this Preference should be disabled when 7424 this Preference is disabled. --> 7425 <attr name="shouldDisableView" format="boolean" /> 7426 <!-- Whether the preference has enabled to have its view recycled when used in the list 7427 view. This is true by default. --> 7428 <attr name="recycleEnabled" format="boolean" /> 7429 <!-- Whether to use single line for the preference title text. By default, preference title 7430 will be constrained to one line, so the default value of this attribute is true. --> 7431 <attr name="singleLineTitle" format="boolean" /> 7432 <!-- Whether the space for the preference icon view will be reserved. By default, preference 7433 icon view visibility will be set to GONE when there is no icon provided, so the default 7434 value of this attribute is false. --> 7435 <attr name="iconSpaceReserved" format="boolean" /> 7436 </declare-styleable> 7437 7438 <!-- Base attributes available to CheckBoxPreference. --> 7439 <declare-styleable name="CheckBoxPreference"> 7440 <!-- The summary for the Preference in a PreferenceActivity screen when the 7441 CheckBoxPreference is checked. If separate on/off summaries are not 7442 needed, the summary attribute can be used instead. --> 7443 <attr name="summaryOn" format="string" /> 7444 <!-- The summary for the Preference in a PreferenceActivity screen when the 7445 CheckBoxPreference is unchecked. If separate on/off summaries are not 7446 needed, the summary attribute can be used instead. --> 7447 <attr name="summaryOff" format="string" /> 7448 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 7449 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 7450 <attr name="disableDependentsState" format="boolean" /> 7451 </declare-styleable> 7452 7453 <!-- Base attributes available to DialogPreference. --> 7454 <declare-styleable name="DialogPreference"> 7455 <!-- The title in the dialog. --> 7456 <attr name="dialogTitle" format="string" /> 7457 <!-- The message in the dialog. If a dialogLayout is provided and contains 7458 a TextView with ID android:id/message, this message will be placed in there. --> 7459 <attr name="dialogMessage" format="string" /> 7460 <!-- The icon for the dialog. --> 7461 <attr name="dialogIcon" format="reference" /> 7462 <!-- The positive button text for the dialog. Set to @null to hide the positive button. --> 7463 <attr name="positiveButtonText" format="string" /> 7464 <!-- The negative button text for the dialog. Set to @null to hide the negative button. --> 7465 <attr name="negativeButtonText" format="string" /> 7466 <!-- A layout to be used as the content View for the dialog. By default, this shouldn't 7467 be needed. If a custom DialogPreference is required, this should be set. For example, 7468 the EditTextPreference uses a layout with an EditText as this attribute. --> 7469 <attr name="dialogLayout" format="reference" /> 7470 </declare-styleable> 7471 7472 <!-- Base attributes available to ListPreference. --> 7473 <declare-styleable name="ListPreference"> 7474 <!-- The human-readable array to present as a list. Each entry must have a corresponding 7475 index in entryValues. --> 7476 <attr name="entries" /> 7477 <!-- The array to find the value to save for a preference when an entry from 7478 entries is selected. If a user clicks on the second item in entries, the 7479 second item in this array will be saved to the preference. --> 7480 <attr name="entryValues" format="reference" /> 7481 </declare-styleable> 7482 7483 <declare-styleable name="MultiSelectListPreference"> 7484 <!-- The human-readable array to present as a list. Each entry must have a corresponding 7485 index in entryValues. --> 7486 <attr name="entries" /> 7487 <!-- The array to find the value to save for a preference when an entry from 7488 entries is selected. If a user clicks the second item in entries, the 7489 second item in this array will be saved to the preference. --> 7490 <attr name="entryValues" /> 7491 </declare-styleable> 7492 7493 <!-- Base attributes available to RingtonePreference. --> 7494 <declare-styleable name="RingtonePreference"> 7495 <!-- Which ringtone type(s) to show in the picker. --> 7496 <attr name="ringtoneType"> 7497 <!-- Ringtones. --> 7498 <flag name="ringtone" value="1" /> 7499 <!-- Notification sounds. --> 7500 <flag name="notification" value="2" /> 7501 <!-- Alarm sounds. --> 7502 <flag name="alarm" value="4" /> 7503 <!-- All available ringtone sounds. --> 7504 <flag name="all" value="7" /> 7505 </attr> 7506 <!-- Whether to show an item for a default sound. --> 7507 <attr name="showDefault" format="boolean" /> 7508 <!-- Whether to show an item for 'Silent'. --> 7509 <attr name="showSilent" format="boolean" /> 7510 </declare-styleable> 7511 7512 <!-- Base attributes available to VolumePreference. --> 7513 <declare-styleable name="VolumePreference"> 7514 <!-- Different audio stream types. --> 7515 <attr name="streamType"> 7516 <enum name="voice" value="0" /> 7517 <enum name="system" value="1" /> 7518 <enum name="ring" value="2" /> 7519 <enum name="music" value="3" /> 7520 <enum name="alarm" value="4" /> 7521 </attr> 7522 </declare-styleable> 7523 7524 <declare-styleable name="InputMethodService"> 7525 <!-- Background to use for entire input method when it is being 7526 shown in fullscreen mode with the extract view, to ensure 7527 that it completely covers the application. This allows, 7528 for example, the candidate view to be hidden 7529 while in fullscreen mode without having the application show through 7530 behind it.--> 7531 <attr name="imeFullscreenBackground" format="reference|color" /> 7532 <!-- Animation to use when showing the fullscreen extract UI after 7533 it had previously been hidden. --> 7534 <attr name="imeExtractEnterAnimation" format="reference" /> 7535 <!-- Animation to use when hiding the fullscreen extract UI after 7536 it had previously been shown. --> 7537 <attr name="imeExtractExitAnimation" format="reference" /> 7538 </declare-styleable> 7539 7540 <declare-styleable name="VoiceInteractionSession"> 7541 </declare-styleable> 7542 7543 <declare-styleable name="KeyboardView"> 7544 <!-- Default KeyboardView style. --> 7545 <attr name="keyboardViewStyle" format="reference" /> 7546 7547 <!-- Image for the key. This image needs to be a StateListDrawable, with the following 7548 possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, 7549 checkable+checked+pressed. --> 7550 <attr name="keyBackground" format="reference" /> 7551 7552 <!-- Size of the text for character keys. --> 7553 <attr name="keyTextSize" format="dimension" /> 7554 7555 <!-- Size of the text for custom keys with some text and no icon. --> 7556 <attr name="labelTextSize" format="dimension" /> 7557 7558 <!-- Color to use for the label in a key. --> 7559 <attr name="keyTextColor" format="color" /> 7560 7561 <!-- Layout resource for key press feedback.--> 7562 <attr name="keyPreviewLayout" format="reference" /> 7563 7564 <!-- Vertical offset of the key press feedback from the key. --> 7565 <attr name="keyPreviewOffset" format="dimension" /> 7566 7567 <!-- Height of the key press feedback popup. --> 7568 <attr name="keyPreviewHeight" format="dimension" /> 7569 7570 <!-- Amount to offset the touch Y coordinate by, for bias correction. --> 7571 <attr name="verticalCorrection" format="dimension" /> 7572 7573 <!-- Layout resource for popup keyboards. --> 7574 <attr name="popupLayout" format="reference" /> 7575 7576 <attr name="shadowColor" /> 7577 <attr name="shadowRadius" /> 7578 </declare-styleable> 7579 7580 <declare-styleable name="KeyboardViewPreviewState"> 7581 <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView} 7582 key preview background. --> 7583 <attr name="state_long_pressable" format="boolean" /> 7584 </declare-styleable> 7585 7586 <declare-styleable name="Keyboard"> 7587 <!-- Default width of a key, in pixels or percentage of display width. --> 7588 <attr name="keyWidth" format="dimension|fraction" /> 7589 <!-- Default height of a key, in pixels or percentage of display width. --> 7590 <attr name="keyHeight" format="dimension|fraction" /> 7591 <!-- Default horizontal gap between keys. --> 7592 <attr name="horizontalGap" format="dimension|fraction" /> 7593 <!-- Default vertical gap between rows of keys. --> 7594 <attr name="verticalGap" format="dimension|fraction" /> 7595 </declare-styleable> 7596 7597 <declare-styleable name="Keyboard_Row"> 7598 <!-- Row edge flags. --> 7599 <attr name="rowEdgeFlags"> 7600 <!-- Row is anchored to the top of the keyboard. --> 7601 <flag name="top" value="4" /> 7602 <!-- Row is anchored to the bottom of the keyboard. --> 7603 <flag name="bottom" value="8" /> 7604 </attr> 7605 <!-- Mode of the keyboard. If the mode doesn't match the 7606 requested keyboard mode, the row will be skipped. --> 7607 <attr name="keyboardMode" format="reference" /> 7608 </declare-styleable> 7609 7610 <declare-styleable name="Keyboard_Key"> 7611 <!-- The unicode value or comma-separated values that this key outputs. --> 7612 <attr name="codes" format="integer|string" /> 7613 <!-- The XML keyboard layout of any popup keyboard. --> 7614 <attr name="popupKeyboard" format="reference" /> 7615 <!-- The characters to display in the popup keyboard. --> 7616 <attr name="popupCharacters" format="string" /> 7617 <!-- Key edge flags. --> 7618 <attr name="keyEdgeFlags"> 7619 <!-- Key is anchored to the left of the keyboard. --> 7620 <flag name="left" value="1" /> 7621 <!-- Key is anchored to the right of the keyboard. --> 7622 <flag name="right" value="2" /> 7623 </attr> 7624 <!-- Whether this is a modifier key such as Alt or Shift. --> 7625 <attr name="isModifier" format="boolean" /> 7626 <!-- Whether this is a toggle key. --> 7627 <attr name="isSticky" format="boolean" /> 7628 <!-- Whether long-pressing on this key will make it repeat. --> 7629 <attr name="isRepeatable" format="boolean" /> 7630 <!-- The icon to show in the popup preview. --> 7631 <attr name="iconPreview" format="reference" /> 7632 <!-- The string of characters to output when this key is pressed. --> 7633 <attr name="keyOutputText" format="string" /> 7634 <!-- The label to display on the key. --> 7635 <attr name="keyLabel" format="string" /> 7636 <!-- The icon to display on the key instead of the label. --> 7637 <attr name="keyIcon" format="reference" /> 7638 <!-- Mode of the keyboard. If the mode doesn't match the 7639 requested keyboard mode, the key will be skipped. --> 7640 <attr name="keyboardMode" /> 7641 </declare-styleable> 7642 7643 <!-- =============================== --> 7644 <!-- AppWidget package class attributes --> 7645 <!-- =============================== --> 7646 <eat-comment /> 7647 7648 <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that 7649 describes an AppWidget provider. See {@link android.appwidget android.appwidget} 7650 package for more info. 7651 --> 7652 <declare-styleable name="AppWidgetProviderInfo"> 7653 <!-- Minimum width of the AppWidget. --> 7654 <attr name="minWidth"/> 7655 <!-- Minimum height of the AppWidget. --> 7656 <attr name="minHeight"/> 7657 <!-- Minimum width that the AppWidget can be resized to. --> 7658 <attr name="minResizeWidth" format="dimension"/> 7659 <!-- Minimum height that the AppWidget can be resized to. --> 7660 <attr name="minResizeHeight" format="dimension"/> 7661 <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. --> 7662 <attr name="updatePeriodMillis" format="integer" /> 7663 <!-- A resource id of a layout. --> 7664 <attr name="initialLayout" format="reference" /> 7665 <!-- A resource id of a layout. --> 7666 <attr name="initialKeyguardLayout" format="reference" /> 7667 <!-- A class name in the AppWidget's package to be launched to configure. 7668 If not supplied, then no activity will be launched. --> 7669 <attr name="configure" format="string" /> 7670 <!-- A preview of what the AppWidget will look like after it's configured. 7671 If not supplied, the AppWidget's icon will be used. --> 7672 <attr name="previewImage" format="reference" /> 7673 <!-- The view id of the AppWidget subview which should be auto-advanced. 7674 by the widget's host. --> 7675 <attr name="autoAdvanceViewId" format="reference" /> 7676 <!-- Optional parameter which indicates if and how this widget can be 7677 resized. Supports combined values using | operator. --> 7678 <attr name="resizeMode" format="integer"> 7679 <flag name="none" value="0x0" /> 7680 <flag name="horizontal" value="0x1" /> 7681 <flag name="vertical" value="0x2" /> 7682 </attr> 7683 <!-- Optional parameter which indicates where this widget can be shown, 7684 ie. home screen, keyguard, search bar or any combination thereof. 7685 Supports combined values using | operator. --> 7686 <attr name="widgetCategory" format="integer"> 7687 <flag name="home_screen" value="0x1" /> 7688 <flag name="keyguard" value="0x2" /> 7689 <flag name="searchbox" value="0x4" /> 7690 </attr> 7691 <!-- Flags indicating various features supported by the widget. These are hints to the 7692 widget host, and do not actually change the behavior of the widget. --> 7693 <attr name="widgetFeatures" format="integer"> 7694 <!-- The widget can be reconfigured anytime after it is bound --> 7695 <flag name="reconfigurable" value="0x1" /> 7696 <!-- The widget is added directly by the app, and does not need to appear in 7697 the global list of available widgets --> 7698 <flag name="hide_from_picker" value="0x2" /> 7699 </attr> 7700 </declare-styleable> 7701 7702 <!-- =============================== --> 7703 <!-- Wallpaper preview attributes --> 7704 <!-- =============================== --> 7705 <eat-comment /> 7706 7707 <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that 7708 describes a wallpaper preview. --> 7709 <declare-styleable name="WallpaperPreviewInfo"> 7710 <!-- A resource id of a static drawable. --> 7711 <attr name="staticWallpaperPreview" format="reference" /> 7712 </declare-styleable> 7713 7714 <!-- =============================== --> 7715 <!-- App package class attributes --> 7716 <!-- =============================== --> 7717 <eat-comment /> 7718 7719 <!-- ============================= --> 7720 <!-- View package class attributes --> 7721 <!-- ============================= --> 7722 <eat-comment /> 7723 7724 <!-- Attributes that can be used with <code><fragment></code> 7725 tags inside of the layout of an Activity. This instantiates 7726 the given {@link android.app.Fragment} and inserts its content 7727 view into the current location in the layout. --> 7728 <declare-styleable name="Fragment"> 7729 <!-- Supply the name of the fragment class to instantiate. --> 7730 <attr name="name" /> 7731 7732 <!-- Supply an identifier name for the top-level view, to later retrieve it 7733 with {@link android.view.View#findViewById View.findViewById()} or 7734 {@link android.app.Activity#findViewById Activity.findViewById()}. 7735 This must be a 7736 resource reference; typically you set this using the 7737 <code>@+</code> syntax to create a new ID resources. 7738 For example: <code>android:id="@+id/my_id"</code> which 7739 allows you to later retrieve the view 7740 with <code>findViewById(R.id.my_id)</code>. --> 7741 <attr name="id" /> 7742 7743 <!-- Supply a tag for the top-level view containing a String, to be retrieved 7744 later with {@link android.view.View#getTag View.getTag()} or 7745 searched for with {@link android.view.View#findViewWithTag 7746 View.findViewWithTag()}. It is generally preferable to use 7747 IDs (through the android:id attribute) instead of tags because 7748 they are faster and allow for compile-time type checking. --> 7749 <attr name="tag" /> 7750 7751 <!-- The Transition that will be used to move Views out of the scene when the 7752 fragment is removed, hidden, or detached when not popping the back stack. 7753 Corresponds to {@link android.app.Fragment#setExitTransition( 7754 android.transition.Transition)} --> 7755 <attr name="fragmentExitTransition" format="reference"/> 7756 7757 <!-- The Transition that will be used to move Views into the initial scene. 7758 Corresponds to {@link android.app.Fragment#setEnterTransition( 7759 android.transition.Transition)} --> 7760 <attr name="fragmentEnterTransition" format="reference"/> 7761 7762 <!-- The Transition that will be used for shared elements transferred into the content 7763 Scene. 7764 Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition( 7765 android.transition.Transition)} --> 7766 <attr name="fragmentSharedElementEnterTransition" format="reference"/> 7767 7768 <!-- The Transition that will be used to move Views out of the scene when the Fragment is 7769 preparing to be removed, hidden, or detached because of popping the back stack. 7770 Corresponds to {@link android.app.Fragment#setReturnTransition( 7771 android.transition.Transition)} --> 7772 <attr name="fragmentReturnTransition" format="reference"/> 7773 7774 <!-- The Transition that will be used for shared elements transferred back during a 7775 pop of the back stack. This Transition acts in the leaving Fragment. 7776 Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition( 7777 android.transition.Transition)} --> 7778 <attr name="fragmentSharedElementReturnTransition" format="reference"/> 7779 7780 <!-- The Transition that will be used to move Views in to the scene when returning due 7781 to popping a back stack. 7782 Corresponds to {@link android.app.Fragment#setReenterTransition( 7783 android.transition.Transition)} --> 7784 <attr name="fragmentReenterTransition" format="reference"/> 7785 7786 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7787 forward. 7788 Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap( 7789 boolean)} --> 7790 <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/> 7791 7792 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7793 because of popping the back stack. 7794 Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap( 7795 boolean)} --> 7796 <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/> 7797 </declare-styleable> 7798 7799 <!-- Use <code>device-admin</code> as the root tag of the XML resource that 7800 describes a 7801 {@link android.app.admin.DeviceAdminReceiver}, which is 7802 referenced from its 7803 {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA} 7804 meta-data entry. Described here are the attributes that can be 7805 included in that tag. --> 7806 <declare-styleable name="DeviceAdmin"> 7807 <!-- Control whether the admin is visible to the user, even when it 7808 is not enabled. This is true by default. You may want to make 7809 it false if your admin does not make sense to be turned on 7810 unless some explicit action happens in your app. --> 7811 <attr name="visible" /> 7812 </declare-styleable> 7813 7814 <!-- Use <code>wallpaper</code> as the root tag of the XML resource that 7815 describes an 7816 {@link android.service.wallpaper.WallpaperService}, which is 7817 referenced from its 7818 {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA} 7819 meta-data entry. Described here are the attributes that can be 7820 included in that tag. --> 7821 <declare-styleable name="Wallpaper"> 7822 <attr name="settingsActivity" /> 7823 7824 <!-- Reference to the wallpaper's thumbnail bitmap. --> 7825 <attr name="thumbnail" format="reference" /> 7826 7827 <!-- Name of the author and/or source/collection of this component, for example, 7828 Art Collection, Picasso. --> 7829 <attr name="author" format="reference" /> 7830 7831 <!-- Short description of the component's purpose or behavior. --> 7832 <attr name="description" /> 7833 7834 <!-- Uri that specifies a link for further context of this wallpaper, for example, 7835 http://www.picasso.org. --> 7836 <attr name="contextUri" format="reference" /> 7837 7838 <!-- Title of the uri that specifies a link for further context of this wallpaper, 7839 for example, Explore collection. --> 7840 <attr name="contextDescription" format="reference" /> 7841 7842 <!-- Whether to show any metadata when previewing the wallpaper. If this value is 7843 set to true, any component that shows a preview of this live wallpaper should also show 7844 accompanying information like the title, the description, the author and the context 7845 description of this wallpaper so the user gets to know further information about this 7846 wallpaper. --> 7847 <attr name="showMetadataInPreview" format="boolean" /> 7848 7849 <!-- Wallpapers optimized and capable of drawing in ambient mode will return true. 7850 @hide --> 7851 <attr name="supportsAmbientMode" format="boolean" /> 7852 7853 </declare-styleable> 7854 7855 <!-- Use <code>dream</code> as the root tag of the XML resource that 7856 describes an 7857 {@link android.service.dreams.DreamService}, which is 7858 referenced from its 7859 {@link android.service.dreams.DreamService#DREAM_META_DATA} 7860 meta-data entry. Described here are the attributes that can be 7861 included in that tag. --> 7862 <declare-styleable name="Dream"> 7863 <!-- Component name of an activity that allows the user to modify 7864 the settings for this dream. --> 7865 <attr name="settingsActivity" /> 7866 </declare-styleable> 7867 7868 <!-- Use <code>trust-agent</code> as the root tag of the XML resource that 7869 describes an {@link android.service.trust.TrustAgentService}, which is 7870 referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA} 7871 meta-data entry. Described here are the attributes that can be included in that tag. 7872 @hide --> 7873 <declare-styleable name="TrustAgent"> 7874 <!-- Component name of an activity that allows the user to modify 7875 the settings for this trust agent. @hide --> 7876 <attr name="settingsActivity" /> 7877 <!-- Title for a preference that allows that user to launch the 7878 activity to modify trust agent settings. @hide --> 7879 <attr name="title" /> 7880 <!-- Summary for the same preference as the title. @hide --> 7881 <attr name="summary" /> 7882 <!-- Whether trust agent can unlock a user profile @hide --> 7883 <attr name="unlockProfile" format="boolean"/> 7884 </declare-styleable> 7885 7886 <!-- =============================== --> 7887 <!-- Accounts package class attributes --> 7888 <!-- =============================== --> 7889 <eat-comment /> 7890 7891 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7892 describes an account authenticator. 7893 --> 7894 <declare-styleable name="AccountAuthenticator"> 7895 <!-- The account type this authenticator handles. --> 7896 <attr name="accountType" format="string"/> 7897 <!-- The user-visible name of the authenticator. --> 7898 <attr name="label"/> 7899 <!-- The icon of the authenticator. --> 7900 <attr name="icon"/> 7901 <!-- Smaller icon of the authenticator. --> 7902 <attr name="smallIcon" format="reference"/> 7903 <!-- A preferences.xml file for authenticator-specific settings. --> 7904 <attr name="accountPreferences" format="reference"/> 7905 <!-- Account handles its own token storage and permissions. 7906 Default to false 7907 --> 7908 <attr name="customTokens" format="boolean"/> 7909 </declare-styleable> 7910 7911 <!-- =============================== --> 7912 <!-- Accounts package class attributes --> 7913 <!-- =============================== --> 7914 <eat-comment /> 7915 7916 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7917 describes an account authenticator. 7918 --> 7919 <declare-styleable name="SyncAdapter"> 7920 <!-- the authority of a content provider. --> 7921 <attr name="contentAuthority" format="string"/> 7922 <attr name="accountType"/> 7923 <attr name="userVisible" format="boolean"/> 7924 <attr name="supportsUploading" format="boolean"/> 7925 <!-- Set to true to tell the SyncManager that this SyncAdapter supports 7926 multiple simultaneous syncs for the same account type and authority. 7927 Otherwise the SyncManager will be sure not to issue a start sync request 7928 to this SyncAdapter if the SyncAdapter is already syncing another account. 7929 Defaults to false. 7930 --> 7931 <attr name="allowParallelSyncs" format="boolean"/> 7932 <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) 7933 for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. 7934 Defaults to false. 7935 --> 7936 <attr name="isAlwaysSyncable" format="boolean"/> 7937 <!-- If provided, specifies the action of the settings 7938 activity for this SyncAdapter. 7939 --> 7940 <attr name="settingsActivity"/> 7941 </declare-styleable> 7942 7943 <!-- =============================== --> 7944 <!-- Autofill attributes --> 7945 <!-- =============================== --> 7946 <eat-comment /> 7947 7948 <!-- Use <code>autofill-service</code> as the root tag of the XML resource that describes a 7949 {@link android.service.autofill.AutofillService}, which is referenced from its 7950 {@link android.service.autofill#SERVICE_META_DATA} meta-data entry. 7951 --> 7952 <declare-styleable name="AutofillService"> 7953 <!-- Fully qualified class name of an activity that allows the user to modify 7954 the settings for this service. --> 7955 <attr name="settingsActivity" /> 7956 </declare-styleable> 7957 7958 <!-- Use <code>compatibility-package</code> as a child tag of <code>autofill-service</code> 7959 in the XML resource that describes an {@link android.service.autofill.AutofillService} 7960 to specify a package and an optional max version code for which to request compatibility 7961 mode. If no max version code is specified compatibility mode is requested for all package 7962 versions. The max version code is useful to avoid requesting compatibility mode for newer 7963 package versions that are known to natively support autofill. 7964 --> 7965 <declare-styleable name="AutofillService_CompatibilityPackage"> 7966 <!-- The package name for which compatibility mode is requested. --> 7967 <attr name="name" /> 7968 <!-- The max version code of the package for which compatibility mode is 7969 requested. This corresponds to the long value returned by {@link 7970 android.content.pm.PackageInfo#getLongVersionCode()} for the target package. 7971 --> 7972 <attr name="maxLongVersionCode" format="string" /> 7973 <!-- The resource id of view that contains the URL bar of the HTML page being loaded. 7974 Typically used when compatibility mode is used in a browser. 7975 --> 7976 <attr name="urlBarResourceId" format="string" /> 7977 </declare-styleable> 7978 7979 <!-- =============================== --> 7980 <!-- Contacts meta-data attributes --> 7981 <!-- =============================== --> 7982 <eat-comment /> 7983 7984 <!-- TODO: remove this deprecated styleable. --> 7985 <eat-comment /> 7986 <declare-styleable name="Icon"> 7987 <attr name="icon" /> 7988 <attr name="mimeType" /> 7989 </declare-styleable> 7990 7991 <!-- TODO: remove this deprecated styleable --> 7992 <eat-comment /> 7993 <declare-styleable name="IconDefault"> 7994 <attr name="icon" /> 7995 </declare-styleable> 7996 7997 <!-- Maps a specific contact data MIME-type to styling information. --> 7998 <declare-styleable name="ContactsDataKind"> 7999 <!-- Mime-type handled by this mapping. --> 8000 <attr name="mimeType" /> 8001 <!-- Icon used to represent data of this kind. --> 8002 <attr name="icon" /> 8003 <!-- Column in data table that summarizes this data. --> 8004 <attr name="summaryColumn" format="string" /> 8005 <!-- Column in data table that contains details for this data. --> 8006 <attr name="detailColumn" format="string" /> 8007 <!-- Flag indicating that detail should be built from SocialProvider. --> 8008 <attr name="detailSocialSummary" format="boolean" /> 8009 <!-- Resource representing the term "All Contacts" (for example, "All Friends" or 8010 "All connections"). Optional (Default is "All Contacts"). --> 8011 <attr name="allContactsName" format="string" /> 8012 </declare-styleable> 8013 8014 <!-- =============================== --> 8015 <!-- TabSelector class attributes --> 8016 <!-- =============================== --> 8017 <eat-comment /> 8018 8019 <declare-styleable name="SlidingTab"> 8020 <!-- Use "horizontal" for a row, "vertical" for a column. The default is horizontal. --> 8021 <attr name="orientation" /> 8022 </declare-styleable> 8023 8024 <!-- =============================== --> 8025 <!-- GlowPadView class attributes --> 8026 <!-- =============================== --> 8027 <eat-comment /> 8028 <declare-styleable name="GlowPadView"> 8029 <!-- Reference to an array resource that be used as description for the targets around the circle. 8030 {@deprecated Removed.} --> 8031 <attr name="targetDescriptions" format="reference" /> 8032 8033 <!-- Reference to an array resource that be used to announce the directions with targets around the circle. 8034 {@deprecated Removed.} --> 8035 <attr name="directionDescriptions" format="reference" /> 8036 </declare-styleable> 8037 8038 <!-- =============================== --> 8039 <!-- Location package class attributes --> 8040 <!-- =============================== --> 8041 <eat-comment /> 8042 8043 <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that 8044 describes an injected "Location services" setting. Note that the status value (subtitle) 8045 for the setting is specified dynamically by a subclass of SettingInjectorService. 8046 --> 8047 <declare-styleable name="SettingInjectorService"> 8048 <!-- The title for the preference. --> 8049 <attr name="title"/> 8050 <!-- The icon for the preference, should refer to all apps covered by the setting. Typically 8051 a generic icon for the developer. --> 8052 <attr name="icon"/> 8053 <!-- The activity to launch when the setting is clicked on. --> 8054 <attr name="settingsActivity"/> 8055 <!-- The user restriction for this preference. --> 8056 <attr name="userRestriction"/> 8057 </declare-styleable> 8058 8059 <!-- =============================== --> 8060 <!-- LockPatternView class attributes --> 8061 <!-- =============================== --> 8062 <eat-comment /> 8063 8064 <declare-styleable name="LockPatternView"> 8065 <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width" 8066 or "lock_height" --> 8067 <attr name="aspect" format="string" /> 8068 <!-- Color to use when drawing LockPatternView paths. --> 8069 <attr name="pathColor" format="color|reference" /> 8070 <!-- The regular pattern color --> 8071 <attr name="regularColor" format="color|reference" /> 8072 <!-- The error color --> 8073 <attr name="errorColor" format="color|reference" /> 8074 <!-- The success color --> 8075 <attr name="successColor" format="color|reference"/> 8076 </declare-styleable> 8077 8078 <!-- Use <code>recognition-service</code> as the root tag of the XML resource that 8079 describes a {@link android.speech.RecognitionService}, which is referenced from 8080 its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry. 8081 Described here are the attributes that can be included in that tag. --> 8082 <declare-styleable name="RecognitionService"> 8083 <attr name="settingsActivity" /> 8084 </declare-styleable> 8085 8086 <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that 8087 describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from 8088 its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry. 8089 Described here are the attributes that can be included in that tag. --> 8090 <declare-styleable name="VoiceInteractionService"> 8091 <!-- The service that hosts active voice interaction sessions. This is required. --> 8092 <attr name="sessionService" format="string" /> 8093 <!-- The service that provides voice recognition. This is required. When the user 8094 selects this voice interaction service, they will also be implicitly selecting 8095 the component here for their recognition service. --> 8096 <attr name="recognitionService" format="string" /> 8097 <attr name="settingsActivity" /> 8098 <!-- Flag indicating whether this voice interaction service is capable of handling the 8099 assist action. --> 8100 <attr name="supportsAssist" format="boolean" /> 8101 <!-- Flag indicating whether this voice interaction service is capable of being launched 8102 from the keyguard. --> 8103 <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" /> 8104 <!-- Flag indicating whether this voice interaction service can handle local voice 8105 interaction requests from an Activity. This flag is new in 8106 {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. --> 8107 <attr name="supportsLocalInteraction" format="boolean" /> 8108 </declare-styleable> 8109 8110 <!-- Use <code>voice-enrollment-application</code> 8111 as the root tag of the XML resource that escribes the supported keyphrases (hotwords) 8112 by the enrollment application. 8113 Described here are the attributes that can be included in that tag. 8114 @hide 8115 --> 8116 <declare-styleable name="VoiceEnrollmentApplication"> 8117 <!-- A globally unique ID for the keyphrase. @hide --> 8118 <attr name="searchKeyphraseId" format="integer" /> 8119 <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide --> 8120 <attr name="searchKeyphrase" format="string" /> 8121 <!-- A comma separated list of BCP-47 language tag for locales that are supported 8122 for this keyphrase, or empty if not locale dependent. @hide --> 8123 <attr name="searchKeyphraseSupportedLocales" format="string" /> 8124 <!-- Flags for supported recognition modes. @hide --> 8125 <attr name="searchKeyphraseRecognitionFlags"> 8126 <flag name="none" value="0" /> 8127 <flag name="voiceTrigger" value="0x1" /> 8128 <flag name="userIdentification" value="0x2" /> 8129 </attr> 8130 </declare-styleable> 8131 8132 <!-- Attributes used to style the Action Bar. --> 8133 <declare-styleable name="ActionBar"> 8134 <!-- The type of navigation to use. --> 8135 <attr name="navigationMode"> 8136 <!-- Normal static title text. --> 8137 <enum name="normal" value="0" /> 8138 <!-- The action bar will use a selection list for navigation. --> 8139 <enum name="listMode" value="1" /> 8140 <!-- The action bar will use a series of horizontal tabs for navigation. --> 8141 <enum name="tabMode" value="2" /> 8142 </attr> 8143 <!-- Options affecting how the action bar is displayed. --> 8144 <attr name="displayOptions"> 8145 <flag name="none" value="0" /> 8146 <flag name="useLogo" value="0x1" /> 8147 <flag name="showHome" value="0x2" /> 8148 <flag name="homeAsUp" value="0x4" /> 8149 <flag name="showTitle" value="0x8" /> 8150 <flag name="showCustom" value="0x10" /> 8151 <flag name="disableHome" value="0x20" /> 8152 </attr> 8153 <!-- Specifies title text used for navigationMode="normal". --> 8154 <attr name="title" /> 8155 <!-- Specifies subtitle text used for navigationMode="normal". --> 8156 <attr name="subtitle" format="string" /> 8157 <!-- Specifies a style to use for title text. --> 8158 <attr name="titleTextStyle" format="reference" /> 8159 <!-- Specifies a style to use for subtitle text. --> 8160 <attr name="subtitleTextStyle" format="reference" /> 8161 <!-- Specifies the drawable used for the application icon. --> 8162 <attr name="icon" /> 8163 <!-- Specifies the drawable used for the application logo. --> 8164 <attr name="logo" /> 8165 <!-- Specifies the drawable used for item dividers. --> 8166 <attr name="divider" /> 8167 <!-- Specifies a background drawable for the action bar. --> 8168 <attr name="background" /> 8169 <!-- Specifies a background drawable for a second stacked row of the action bar. --> 8170 <attr name="backgroundStacked" format="reference|color" /> 8171 <!-- Specifies a background drawable for the bottom component of a split action bar. --> 8172 <attr name="backgroundSplit" format="reference|color" /> 8173 <!-- Specifies a layout for custom navigation. Overrides navigationMode. --> 8174 <attr name="customNavigationLayout" format="reference" /> 8175 <!-- Specifies a fixed height. --> 8176 <attr name="height" /> 8177 <!-- Specifies a layout to use for the "home" section of the action bar. --> 8178 <attr name="homeLayout" format="reference" /> 8179 <!-- Specifies a style resource to use for an embedded progress bar. --> 8180 <attr name="progressBarStyle" /> 8181 <!-- Specifies a style resource to use for an indeterminate progress spinner. --> 8182 <attr name="indeterminateProgressStyle" format="reference" /> 8183 <!-- Specifies the horizontal padding on either end for an embedded progress bar. --> 8184 <attr name="progressBarPadding" format="dimension" /> 8185 <!-- Up navigation glyph. --> 8186 <attr name="homeAsUpIndicator" /> 8187 <!-- Specifies padding that should be applied to the left and right sides of 8188 system-provided items in the bar. --> 8189 <attr name="itemPadding" format="dimension" /> 8190 <!-- Set true to hide the action bar on a vertical nested scroll of content. --> 8191 <attr name="hideOnContentScroll" format="boolean" /> 8192 <!-- Minimum inset for content views within a bar. Navigation buttons and 8193 menu views are excepted. Only valid for some themes and configurations. --> 8194 <attr name="contentInsetStart" format="dimension" /> 8195 <!-- Minimum inset for content views within a bar. Navigation buttons and 8196 menu views are excepted. Only valid for some themes and configurations. --> 8197 <attr name="contentInsetEnd" format="dimension" /> 8198 <!-- Minimum inset for content views within a bar. Navigation buttons and 8199 menu views are excepted. Only valid for some themes and configurations. --> 8200 <attr name="contentInsetLeft" format="dimension" /> 8201 <!-- Minimum inset for content views within a bar. Navigation buttons and 8202 menu views are excepted. Only valid for some themes and configurations. --> 8203 <attr name="contentInsetRight" format="dimension" /> 8204 <!-- Minimum inset for content views within a bar when a navigation button 8205 is present, such as the Up button. Only valid for some themes and configurations. --> 8206 <attr name="contentInsetStartWithNavigation" format="dimension" /> 8207 <!-- Minimum inset for content views within a bar when actions from a menu 8208 are present. Only valid for some themes and configurations. --> 8209 <attr name="contentInsetEndWithActions" format="dimension" /> 8210 <!-- Elevation for the action bar itself. --> 8211 <attr name="elevation" /> 8212 <!-- Reference to a theme that should be used to inflate popups 8213 shown by widgets in the action bar. --> 8214 <attr name="popupTheme" /> 8215 </declare-styleable> 8216 8217 <declare-styleable name="ActionMode"> 8218 <!-- Specifies a style to use for title text. --> 8219 <attr name="titleTextStyle" /> 8220 <!-- Specifies a style to use for subtitle text. --> 8221 <attr name="subtitleTextStyle" /> 8222 <!-- Specifies a background for the action mode bar. --> 8223 <attr name="background" /> 8224 <!-- Specifies a background for the split action mode bar. --> 8225 <attr name="backgroundSplit" /> 8226 <!-- Specifies a fixed height for the action mode bar. --> 8227 <attr name="height" /> 8228 <!-- Specifies a layout to use for the "close" item at the starting edge. --> 8229 <attr name="closeItemLayout" format="reference" /> 8230 </declare-styleable> 8231 8232 <declare-styleable name="SearchView"> 8233 <!-- The layout to use for the search view. --> 8234 <attr name="layout" /> 8235 <!-- The default state of the SearchView. If true, it will be iconified when not in 8236 use and expanded when clicked. --> 8237 <attr name="iconifiedByDefault" format="boolean" /> 8238 <!-- An optional maximum width of the SearchView. --> 8239 <attr name="maxWidth" /> 8240 <!-- An optional query hint string to be displayed in the empty query field. --> 8241 <attr name="queryHint" format="string" /> 8242 <!-- Default query hint used when {@code queryHint} is undefined and 8243 the search view's {@code SearchableInfo} does not provide a hint. 8244 @hide --> 8245 <attr name="defaultQueryHint" format="string" /> 8246 <!-- The IME options to set on the query text field. --> 8247 <attr name="imeOptions" /> 8248 <!-- The input type to set on the query text field. --> 8249 <attr name="inputType" /> 8250 <!-- Close button icon. --> 8251 <attr name="closeIcon" format="reference" /> 8252 <!-- Go button icon. --> 8253 <attr name="goIcon" format="reference" /> 8254 <!-- Search icon. --> 8255 <attr name="searchIcon" format="reference" /> 8256 <!-- Search icon displayed as a text field hint. --> 8257 <attr name="searchHintIcon" format="reference" /> 8258 <!-- Voice button icon. --> 8259 <attr name="voiceIcon" format="reference" /> 8260 <!-- Commit icon shown in the query suggestion row. --> 8261 <attr name="commitIcon" format="reference" /> 8262 <!-- Layout for query suggestion rows. --> 8263 <attr name="suggestionRowLayout" format="reference" /> 8264 <!-- Background for the section containing the search query. --> 8265 <attr name="queryBackground" format="reference" /> 8266 <!-- Background for the section containing the action (for example, voice search). --> 8267 <attr name="submitBackground" format="reference" /> 8268 </declare-styleable> 8269 8270 <declare-styleable name="Switch"> 8271 <!-- Drawable to use as the "thumb" that switches back and forth. --> 8272 <attr name="thumb" /> 8273 <!-- Tint to apply to the thumb. --> 8274 <attr name="thumbTint" /> 8275 <!-- Blending mode used to apply the thumb tint. --> 8276 <attr name="thumbTintMode" /> 8277 <!-- Drawable to use as the "track" that the switch thumb slides within. --> 8278 <attr name="track" format="reference" /> 8279 <!-- Tint to apply to the track. --> 8280 <attr name="trackTint" format="color" /> 8281 <!-- Blending mode used to apply the track tint. --> 8282 <attr name="trackTintMode"> 8283 <!-- The tint is drawn on top of the drawable. 8284 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 8285 <enum name="src_over" value="3" /> 8286 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 8287 color channels are thrown out. [Sa * Da, Sc * Da] --> 8288 <enum name="src_in" value="5" /> 8289 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 8290 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 8291 <enum name="src_atop" value="9" /> 8292 <!-- Multiplies the color and alpha channels of the drawable with those of 8293 the tint. [Sa * Da, Sc * Dc] --> 8294 <enum name="multiply" value="14" /> 8295 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 8296 <enum name="screen" value="15" /> 8297 <!-- Combines the tint and drawable color and alpha channels, clamping the 8298 result to valid color values. Saturate(S + D) --> 8299 <enum name="add" value="16" /> 8300 </attr> 8301 <!-- Text to use when the switch is in the checked/"on" state. --> 8302 <attr name="textOn" /> 8303 <!-- Text to use when the switch is in the unchecked/"off" state. --> 8304 <attr name="textOff" /> 8305 <!-- Amount of padding on either side of text within the switch thumb. --> 8306 <attr name="thumbTextPadding" format="dimension" /> 8307 <!-- TextAppearance style for text displayed on the switch thumb. --> 8308 <attr name="switchTextAppearance" format="reference" /> 8309 <!-- Minimum width for the switch component. --> 8310 <attr name="switchMinWidth" format="dimension" /> 8311 <!-- Minimum space between the switch and caption text. --> 8312 <attr name="switchPadding" format="dimension" /> 8313 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 8314 <attr name="splitTrack" /> 8315 <!-- Whether to draw on/off text. --> 8316 <attr name="showText" format="boolean" /> 8317 </declare-styleable> 8318 8319 <declare-styleable name="Pointer"> 8320 <!-- Reference to a pointer icon drawable with STYLE_ARROW. --> 8321 <attr name="pointerIconArrow" format="reference" /> 8322 <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER. --> 8323 <attr name="pointerIconSpotHover" format="reference" /> 8324 <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH. --> 8325 <attr name="pointerIconSpotTouch" format="reference" /> 8326 <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR. --> 8327 <attr name="pointerIconSpotAnchor" format="reference" /> 8328 <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU. --> 8329 <attr name="pointerIconContextMenu" format="reference"/> 8330 <!-- Reference to a pointer drawable with STYLE_HAND. --> 8331 <attr name="pointerIconHand" format="reference"/> 8332 <!-- Reference to a pointer drawable with STYLE_HELP. --> 8333 <attr name="pointerIconHelp" format="reference"/> 8334 <!-- Reference to a pointer drawable with STYLE_WAIT. --> 8335 <attr name="pointerIconWait" format="reference"/> 8336 <!-- Reference to a pointer drawable with STYLE_CELL. --> 8337 <attr name="pointerIconCell" format="reference"/> 8338 <!-- Reference to a pointer drawable with STYLE_CROSSHAIR. --> 8339 <attr name="pointerIconCrosshair" format="reference"/> 8340 <!-- Reference to a pointer drawable with STYLE_TEXT. --> 8341 <attr name="pointerIconText" format="reference"/> 8342 <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT. --> 8343 <attr name="pointerIconVerticalText" format="reference"/> 8344 <!-- Reference to a pointer drawable with STYLE_ALIAS. --> 8345 <attr name="pointerIconAlias" format="reference"/> 8346 <!-- Reference to a pointer drawable with STYLE_COPY. --> 8347 <attr name="pointerIconCopy" format="reference"/> 8348 <!-- Reference to a pointer drawable with STYLE_NODROP. --> 8349 <attr name="pointerIconNodrop" format="reference"/> 8350 <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL. --> 8351 <attr name="pointerIconAllScroll" format="reference"/> 8352 <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW. --> 8353 <attr name="pointerIconHorizontalDoubleArrow" format="reference"/> 8354 <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW. --> 8355 <attr name="pointerIconVerticalDoubleArrow" format="reference"/> 8356 <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW. --> 8357 <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/> 8358 <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW. --> 8359 <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/> 8360 <!-- Reference to a pointer drawable with STYLE_ZOOM_IN. --> 8361 <attr name="pointerIconZoomIn" format="reference"/> 8362 <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT. --> 8363 <attr name="pointerIconZoomOut" format="reference"/> 8364 <!-- Reference to a pointer drawable with STYLE_GRAB. --> 8365 <attr name="pointerIconGrab" format="reference"/> 8366 <!-- Reference to a pointer drawable with STYLE_GRABBING. --> 8367 <attr name="pointerIconGrabbing" format="reference"/> 8368 </declare-styleable> 8369 8370 <declare-styleable name="PointerIcon"> 8371 <!-- Drawable to use as the icon bitmap. --> 8372 <attr name="bitmap" format="reference" /> 8373 <!-- X coordinate of the icon hot spot. --> 8374 <attr name="hotSpotX" format="dimension" /> 8375 <!-- Y coordinate of the icon hot spot. --> 8376 <attr name="hotSpotY" format="dimension" /> 8377 </declare-styleable> 8378 8379 <declare-styleable name="Storage"> 8380 <!-- path to mount point for the storage. --> 8381 <attr name="mountPoint" format="string" /> 8382 <!-- user visible description of the storage. --> 8383 <attr name="storageDescription" format="string" /> 8384 <!-- true if the storage is the primary external storage. --> 8385 <attr name="primary" format="boolean" /> 8386 <!-- true if the storage is removable. --> 8387 <attr name="removable" format="boolean" /> 8388 <!-- true if the storage is emulated via the FUSE sdcard daemon. --> 8389 <attr name="emulated" format="boolean" /> 8390 <!-- number of megabytes of storage MTP should reserve for free storage 8391 (used for emulated storage that is shared with system's data partition). --> 8392 <attr name="mtpReserve" format="integer" /> 8393 <!-- true if the storage can be shared via USB mass storage. --> 8394 <attr name="allowMassStorage" format="boolean" /> 8395 <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded. --> 8396 <attr name="maxFileSize" format="integer" /> 8397 </declare-styleable> 8398 8399 <declare-styleable name="SwitchPreference"> 8400 <!-- The summary for the Preference in a PreferenceActivity screen when the 8401 SwitchPreference is checked. If separate on/off summaries are not 8402 needed, the summary attribute can be used instead. --> 8403 <attr name="summaryOn" /> 8404 <!-- The summary for the Preference in a PreferenceActivity screen when the 8405 SwitchPreference is unchecked. If separate on/off summaries are not 8406 needed, the summary attribute can be used instead. --> 8407 <attr name="summaryOff" /> 8408 <!-- The text used on the switch itself when in the "on" state. 8409 This should be a very SHORT string, as it appears in a small space. --> 8410 <attr name="switchTextOn" format="string" /> 8411 <!-- The text used on the switch itself when in the "off" state. 8412 This should be a very SHORT string, as it appears in a small space. --> 8413 <attr name="switchTextOff" format="string" /> 8414 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 8415 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 8416 <attr name="disableDependentsState" /> 8417 </declare-styleable> 8418 8419 <declare-styleable name="SeekBarPreference"> 8420 <attr name="layout" /> 8421 <!-- Attribute indicating whether the slider within this preference can be adjusted, that is 8422 pressing left/right keys when this preference is focused will move the slider accordingly 8423 (for example, inline adjustable preferences). False, if the slider within the preference is 8424 read-only and cannot be adjusted. By default, the seekbar is adjustable. --> 8425 <attr name="adjustable" format="boolean" /> 8426 <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be 8427 displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. --> 8428 <attr name="showSeekBarValue" format="boolean" /> 8429 </declare-styleable> 8430 8431 <!-- Base attributes available to PreferenceFragment. --> 8432 <declare-styleable name="PreferenceFragment"> 8433 <!-- The layout for the PreferenceFragment. This should rarely need to be changed. --> 8434 <attr name="layout" /> 8435 <attr name="divider" /> 8436 </declare-styleable> 8437 8438 <!-- Base attributes available to PreferenceScreen. --> 8439 <declare-styleable name="PreferenceScreen"> 8440 <!-- The layout for the PreferenceScreen. This should rarely need to be changed. --> 8441 <attr name="screenLayout" format="reference" /> 8442 <attr name="divider" /> 8443 </declare-styleable> 8444 8445 <!-- Base attributes available to PreferenceActivity. --> 8446 <declare-styleable name="PreferenceActivity"> 8447 <!-- The layout for the Preference Activity. This should rarely need to be changed. --> 8448 <attr name="layout" /> 8449 <!-- The layout for the Preference Header. This should rarely need to be changed. --> 8450 <attr name="headerLayout" format="reference" /> 8451 <!-- true if the Icon view will be removed when there is none and thus not showing 8452 the fixed margins. --> 8453 <attr name="headerRemoveIconIfEmpty" format="boolean" /> 8454 </declare-styleable> 8455 8456 <!-- Use <code>tts-engine</code> as the root tag of the XML resource that 8457 describes a text to speech engine implemented as a subclass of 8458 {@link android.speech.tts.TextToSpeechService}. 8459 8460 The XML resource must be referenced from its 8461 {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data 8462 entry. --> 8463 <declare-styleable name="TextToSpeechEngine"> 8464 <attr name="settingsActivity" /> 8465 </declare-styleable> 8466 8467 <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that 8468 describes a collection of keyboard layouts provided by an application. 8469 Each keyboard layout is declared by a <code>keyboard-layout</code> tag 8470 with these attributes. 8471 8472 The XML resource that contains the keyboard layouts must be referenced from its 8473 {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS} 8474 meta-data entry used with broadcast receivers for 8475 {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. --> 8476 <declare-styleable name="KeyboardLayout"> 8477 <!-- The name of the keyboard layout, must be unique in the receiver. --> 8478 <attr name="name" /> 8479 <!-- The display label of the keyboard layout. --> 8480 <attr name="label" /> 8481 <!-- The key character map file resource. --> 8482 <attr name="keyboardLayout" format="reference" /> 8483 <!-- The locales the given keyboard layout corresponds to. --> 8484 <attr name="locale" format="string" /> 8485 <!-- The vendor ID of the hardware the given layout corresponds to. @hide --> 8486 <attr name="vendorId" format="integer" /> 8487 <!-- The product ID of the hardware the given layout corresponds to. @hide --> 8488 <attr name="productId" format="integer" /> 8489 </declare-styleable> 8490 8491 <declare-styleable name="MediaRouteButton"> 8492 <!-- This drawable is a state list where the "activated" state 8493 indicates active media routing. Non-activated indicates 8494 that media is playing to the local device only. 8495 @hide --> 8496 <attr name="externalRouteEnabledDrawable" format="reference" /> 8497 8498 <!-- The types of media routes the button and its resulting 8499 chooser will filter by. --> 8500 <attr name="mediaRouteTypes" format="integer"> 8501 <!-- Allow selection of live audio routes. --> 8502 <enum name="liveAudio" value="0x1" /> 8503 <!-- Allow selection of user (app-specified) routes. --> 8504 <enum name="user" value="0x800000" /> 8505 </attr> 8506 8507 <attr name="minWidth" /> 8508 <attr name="minHeight" /> 8509 </declare-styleable> 8510 8511 <!-- PagedView specific attributes. These attributes are used to customize 8512 a PagedView view in XML files. --> 8513 <declare-styleable name="PagedView"> 8514 <!-- The space between adjacent pages of the PagedView. --> 8515 <attr name="pageSpacing" format="dimension" /> 8516 <!-- The padding for the scroll indicator area. --> 8517 <attr name="scrollIndicatorPaddingLeft" format="dimension" /> 8518 <attr name="scrollIndicatorPaddingRight" format="dimension" /> 8519 </declare-styleable> 8520 8521 <declare-styleable name="KeyguardGlowStripView"> 8522 <attr name="dotSize" format="dimension" /> 8523 <attr name="numDots" format="integer" /> 8524 <attr name="glowDot" format="reference" /> 8525 <attr name="leftToRight" format="boolean" /> 8526 </declare-styleable> 8527 8528 <!-- Some child types have special behavior. --> 8529 <attr name="layout_childType"> 8530 <!-- No special behavior. Layout will proceed as normal. --> 8531 <enum name="none" value="0" /> 8532 <!-- Widget container. 8533 This will be resized in response to certain events. --> 8534 <enum name="widget" value="1" /> 8535 <!-- Security challenge container. 8536 This will be dismissed/shown in response to certain events, 8537 possibly obscuring widget elements. --> 8538 <enum name="challenge" value="2" /> 8539 <!-- User switcher. 8540 This will consume space from the total layout area. --> 8541 <enum name="userSwitcher" value="3" /> 8542 <!-- Scrim. This will block access to child views that 8543 come before it in the child list in bouncer mode. --> 8544 <enum name="scrim" value="4" /> 8545 <!-- The home for widgets. All widgets will be descendents of this. --> 8546 <enum name="widgets" value="5" /> 8547 <!-- This is a handle that is used for expanding the 8548 security challenge container when it is collapsed. --> 8549 <enum name="expandChallengeHandle" value="6" /> 8550 <!-- Delete drop target. This will be the drop target to delete pages. --> 8551 <enum name="pageDeleteDropTarget" value="7" /> 8552 </attr> 8553 8554 <!-- Attributes that can be used with <code><FragmentBreadCrumbs></code> 8555 tags. --> 8556 <declare-styleable name="FragmentBreadCrumbs"> 8557 <attr name="gravity" /> 8558 <attr name="itemLayout" format="reference" /> 8559 <attr name="itemColor" format="color|reference" /> 8560 </declare-styleable> 8561 8562 <declare-styleable name="Toolbar"> 8563 <attr name="titleTextAppearance" format="reference" /> 8564 <attr name="subtitleTextAppearance" format="reference" /> 8565 <attr name="title" /> 8566 <attr name="subtitle" /> 8567 <attr name="gravity" /> 8568 <!-- Specifies extra space on the left, start, right and end sides 8569 of the toolbar's title. Margin values should be positive. --> 8570 <attr name="titleMargin" format="dimension" /> 8571 <!-- Specifies extra space on the start side of the toolbar's title. 8572 If both this attribute and titleMargin are specified, then this 8573 attribute takes precedence. Margin values should be positive. --> 8574 <attr name="titleMarginStart" format="dimension" /> 8575 <!-- Specifies extra space on the end side of the toolbar's title. 8576 If both this attribute and titleMargin are specified, then this 8577 attribute takes precedence. Margin values should be positive. --> 8578 <attr name="titleMarginEnd" format="dimension" /> 8579 <!-- Specifies extra space on the top side of the toolbar's title. 8580 If both this attribute and titleMargin are specified, then this 8581 attribute takes precedence. Margin values should be positive. --> 8582 <attr name="titleMarginTop" format="dimension" /> 8583 <!-- Specifies extra space on the bottom side of the toolbar's title. 8584 If both this attribute and titleMargin are specified, then this 8585 attribute takes precedence. Margin values should be positive. --> 8586 <attr name="titleMarginBottom" format="dimension" /> 8587 <attr name="contentInsetStart" /> 8588 <attr name="contentInsetEnd" /> 8589 <attr name="contentInsetLeft" /> 8590 <attr name="contentInsetRight" /> 8591 <attr name="contentInsetStartWithNavigation" /> 8592 <attr name="contentInsetEndWithActions" /> 8593 <attr name="maxButtonHeight" format="dimension" /> 8594 <attr name="navigationButtonStyle" format="reference" /> 8595 <attr name="buttonGravity"> 8596 <!-- Push object to the top of its container, not changing its size. --> 8597 <flag name="top" value="0x30" /> 8598 <!-- Push object to the bottom of its container, not changing its size. --> 8599 <flag name="bottom" value="0x50" /> 8600 </attr> 8601 <!-- Icon drawable to use for the collapse button. --> 8602 <attr name="collapseIcon" format="reference" /> 8603 <!-- Text to set as the content description for the collapse button. --> 8604 <attr name="collapseContentDescription" format="string" /> 8605 <!-- Reference to a theme that should be used to inflate popups 8606 shown by widgets in the toolbar. --> 8607 <attr name="popupTheme" format="reference" /> 8608 <!-- Icon drawable to use for the navigation button located at 8609 the start of the toolbar. --> 8610 <attr name="navigationIcon" format="reference" /> 8611 <!-- Text to set as the content description for the navigation button 8612 located at the start of the toolbar. --> 8613 <attr name="navigationContentDescription" format="string" /> 8614 <!-- Drawable to set as the logo that appears at the starting side of 8615 the Toolbar, just after the navigation button. --> 8616 <attr name="logo" /> 8617 <!-- A content description string to describe the appearance of the 8618 associated logo image. --> 8619 <attr name="logoDescription" format="string" /> 8620 <!-- A color to apply to the title string. --> 8621 <attr name="titleTextColor" format="color" /> 8622 <!-- A color to apply to the subtitle string. --> 8623 <attr name="subtitleTextColor" format="color" /> 8624 </declare-styleable> 8625 8626 <declare-styleable name="Toolbar_LayoutParams"> 8627 <attr name="layout_gravity" /> 8628 </declare-styleable> 8629 8630 <declare-styleable name="ActionBar_LayoutParams"> 8631 <attr name="layout_gravity" /> 8632 </declare-styleable> 8633 8634 <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. --> 8635 <declare-styleable name="EdgeEffect"> 8636 <attr name="colorEdgeEffect" /> 8637 </declare-styleable> 8638 8639 <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a 8640 {@link android.media.tv.TvInputService}, which is referenced from its 8641 {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry. 8642 Described here are the attributes that can be included in that tag. --> 8643 <declare-styleable name="TvInputService"> 8644 <!-- Component name of an activity that allows the user to set up this service. --> 8645 <attr name="setupActivity" format="string" /> 8646 <!-- Component name of an activity that allows the user to modify the settings for this 8647 service. 8648 {@deprecated This value is deprecated and not used by the framework starting from API 8649 level 26. Use setupActivity instead.} --> 8650 <attr name="settingsActivity" /> 8651 <!-- Attribute whether the TV input service can record programs. This value can be changed 8652 at runtime by calling 8653 {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. --> 8654 <attr name="canRecord" format="boolean" /> 8655 <!-- The number of tuners that the TV input service is associated with. This value can be 8656 changed at runtime by calling 8657 {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. --> 8658 <attr name="tunerCount" format="integer" /> 8659 </declare-styleable> 8660 8661 <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the 8662 XML resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8663 which is referenced from its 8664 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8665 <declare-styleable name="RatingSystemDefinition"> 8666 <!-- The unique name of the content rating system. --> 8667 <attr name="name" /> 8668 <!-- The title of the content rating system which is shown to the user. --> 8669 <attr name="title" /> 8670 <!-- The short description of the content rating system. --> 8671 <attr name="description" /> 8672 <!-- The country code associated with the content rating system, which consists of two 8673 uppercase letters that conform to the ISO 3166 standard. --> 8674 <attr name="country" format="string" /> 8675 </declare-styleable> 8676 8677 <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML 8678 resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8679 which is referenced from its 8680 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8681 <declare-styleable name="RatingDefinition"> 8682 <!-- The unique name of the content rating. --> 8683 <attr name="name" /> 8684 <!-- The title of the content rating which is shown to the user. --> 8685 <attr name="title" /> 8686 <!-- The short description of the content rating. --> 8687 <attr name="description" /> 8688 <!-- The age associated with the content rating. The content of this rating is suitable for 8689 people of this age or above. --> 8690 <attr name="contentAgeHint" format="integer" /> 8691 </declare-styleable> 8692 8693 <declare-styleable name="ResolverDrawerLayout"> 8694 <attr name="maxWidth" /> 8695 <attr name="maxCollapsedHeight" format="dimension" /> 8696 <attr name="maxCollapsedHeightSmall" format="dimension" /> 8697 <!-- Whether the Drawer should be positioned at the top rather than at the bottom. --> 8698 <attr name="showAtTop" format="boolean" /> 8699 </declare-styleable> 8700 8701 <declare-styleable name="MessagingLinearLayout"> 8702 <attr name="spacing" /> 8703 </declare-styleable> 8704 8705 <declare-styleable name="DateTimeView"> 8706 <attr name="showRelative" format="boolean" /> 8707 </declare-styleable> 8708 8709 <declare-styleable name="ResolverDrawerLayout_LayoutParams"> 8710 <attr name="layout_alwaysShow" format="boolean" /> 8711 <attr name="layout_ignoreOffset" format="boolean" /> 8712 <attr name="layout_gravity" /> 8713 <attr name="layout_hasNestedScrollIndicator" format="boolean" /> 8714 </declare-styleable> 8715 8716 <!-- @hide --> 8717 <declare-styleable name="Lighting"> 8718 <attr name="lightY" /> 8719 <attr name="lightZ" /> 8720 <attr name="lightRadius" /> 8721 <attr name="ambientShadowAlpha" /> 8722 <attr name="spotShadowAlpha" /> 8723 </declare-styleable> 8724 8725 <declare-styleable name="RestrictionEntry"> 8726 <attr name="key" /> 8727 <attr name="restrictionType"> 8728 <enum name="hidden" value="0" /> 8729 <enum name="bool" value="1" /> 8730 <enum name="choice" value="2" /> 8731 <enum name="multi-select" value="4" /> 8732 <enum name="integer" value="5" /> 8733 <enum name="string" value="6" /> 8734 <enum name="bundle" value="7" /> 8735 <enum name="bundle_array" value="8" /> 8736 </attr> 8737 <attr name="title" /> 8738 <attr name="description" /> 8739 <attr name="defaultValue" /> 8740 <attr name="entries" /> 8741 <attr name="entryValues" /> 8742 </declare-styleable> 8743 8744 <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. --> 8745 <declare-styleable name="GradientColor"> 8746 <!-- Start color of the gradient. --> 8747 <attr name="startColor" /> 8748 <!-- Optional center color. --> 8749 <attr name="centerColor" /> 8750 <!-- End color of the gradient. --> 8751 <attr name="endColor" /> 8752 <!-- Type of gradient. The default type is linear. --> 8753 <attr name="type" /> 8754 8755 <!-- Only applied to RadialGradient--> 8756 <!-- Radius of the gradient, used only with radial gradient. --> 8757 <attr name="gradientRadius" /> 8758 8759 <!-- Only applied to SweepGradient / RadialGradient--> 8760 <!-- X coordinate of the center of the gradient within the path. --> 8761 <attr name="centerX" /> 8762 <!-- Y coordinate of the center of the gradient within the path. --> 8763 <attr name="centerY" /> 8764 8765 <!-- LinearGradient specific --> 8766 <!-- X coordinate of the start point origin of the gradient. 8767 Defined in same coordinates as the path itself --> 8768 <attr name="startX" format="float" /> 8769 <!-- Y coordinate of the start point of the gradient within the shape. 8770 Defined in same coordinates as the path itself --> 8771 <attr name="startY" format="float" /> 8772 <!-- X coordinate of the end point origin of the gradient. 8773 Defined in same coordinates as the path itself --> 8774 <attr name="endX" format="float" /> 8775 <!-- Y coordinate of the end point of the gradient within the shape. 8776 Defined in same coordinates as the path itself --> 8777 <attr name="endY" format="float" /> 8778 8779 <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. --> 8780 <attr name="tileMode"/> 8781 </declare-styleable> 8782 8783 <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient 8784 Colors defined in <item> override the simple color attributes such as 8785 "startColor / centerColor / endColor" are ignored. --> 8786 <declare-styleable name="GradientColorItem"> 8787 <!-- The offset (or ratio) of this current color item inside the gradient. 8788 The value is only meaningful when it is between 0 and 1. --> 8789 <attr name="offset" format="float" /> 8790 <!-- The current color for the offset inside the gradient. --> 8791 <attr name="color" /> 8792 </declare-styleable> 8793 8794 <!-- @hide Attributes which will be read by the Activity to intialize the 8795 base activity TaskDescription. --> 8796 <declare-styleable name="ActivityTaskDescription"> 8797 <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary 8798 color. --> 8799 <attr name="colorPrimary" /> 8800 <!-- @hide From Theme.colorBackground, used for the TaskDescription background 8801 color. --> 8802 <attr name="colorBackground" /> 8803 <!-- @hide From Theme.statusBarColor, used for the TaskDescription status bar color. --> 8804 <attr name="statusBarColor"/> 8805 <!-- @hide From Theme.navigationBarColor, used for the TaskDescription navigation bar 8806 color. --> 8807 <attr name="navigationBarColor"/> 8808 </declare-styleable> 8809 8810 <declare-styleable name="Shortcut"> 8811 <attr name="shortcutId" format="string" /> 8812 <attr name="enabled" /> 8813 <attr name="icon" /> 8814 <attr name="shortcutShortLabel" format="reference" /> 8815 <attr name="shortcutLongLabel" format="reference" /> 8816 <attr name="shortcutDisabledMessage" format="reference" /> 8817 </declare-styleable> 8818 8819 <declare-styleable name="ShortcutCategories"> 8820 <attr name="name" /> 8821 </declare-styleable> 8822 8823 <!-- Attributes that are read when parsing a <font> tag, which is a child of 8824 <font-family>. This represents an actual font file and its attributes. --> 8825 <declare-styleable name="FontFamilyFont"> 8826 <!-- The style of the given font file. This will be used when the font is being loaded into 8827 the font stack and will override any style information in the font's header tables. If 8828 unspecified, the value in the font's header tables will be used. --> 8829 <attr name="fontStyle"> 8830 <enum name="normal" value="0" /> 8831 <enum name="italic" value="1" /> 8832 </attr> 8833 <!-- The reference to the font file to be used. This should be a file in the res/font folder 8834 and should therefore have an R reference value. E.g. @font/myfont --> 8835 <attr name="font" format="reference" /> 8836 <!-- The weight of the given font file. This will be used when the font is being loaded into 8837 the font stack and will override any weight information in the font's header tables. Must 8838 be a positive number, a multiple of 100, and between 100 and 900, inclusive. The most 8839 common values are 400 for regular weight and 700 for bold weight. If unspecified, the value 8840 in the font's header tables will be used. --> 8841 <attr name="fontWeight" format="integer" /> 8842 <!-- The index of the font in the ttc (TrueType Collection) font file. If the font file 8843 referenced is not in the ttc format, this attribute needs not be specified. 8844 {@see android.graphics.Typeface#Builder.setTtcIndex(int)}. 8845 The default value is 0. More details about the TrueType Collection font format can be found 8846 here: https://en.wikipedia.org/wiki/TrueType#TrueType_Collection. --> 8847 <attr name="ttcIndex" format="integer" /> 8848 <!-- The variation settings to be applied to the font. The string should be in the following 8849 format: "'tag1' value1, 'tag2' value2, ...". If the default variation settings should be 8850 used, or the font used does not support variation settings, this attribute needs not be 8851 specified. --> 8852 <attr name="fontVariationSettings" format="string" /> 8853 </declare-styleable> 8854 8855 <!-- Attributes that are read when parsing a <fontfamily> tag. --> 8856 <declare-styleable name="FontFamily"> 8857 <!-- The authority of the Font Provider to be used for the request. --> 8858 <attr name="fontProviderAuthority" format="string" /> 8859 <!-- The package for the Font Provider to be used for the request. This is used to verify 8860 the identity of the provider. --> 8861 <attr name="fontProviderPackage" format="string" /> 8862 <!-- The query to be sent over to the provider. Refer to your font provider's documentation 8863 on the format of this string. --> 8864 <attr name="fontProviderQuery" format="string" /> 8865 <!-- The sets of hashes for the certificates the provider should be signed with. This is 8866 used to verify the identity of the provider, and is only required if the provider is not 8867 part of the system image. This value may point to one list or a list of lists, where each 8868 individual list represents one collection of signature hashes. Refer to your font provider's 8869 documentation for these values. --> 8870 <attr name="fontProviderCerts" format="reference" /> 8871 </declare-styleable> 8872 8873 <!-- Attributes that are read when parsing a tag. --> 8874 <declare-styleable name="VideoView2"> 8875 <attr name="enableControlView" format="boolean" /> 8876 <attr name="enableSubtitle" format="boolean" /> 8877 <attr name="viewType" format="enum"> 8878 <enum name="surfaceView" value="0" /> 8879 <enum name="textureView" value="1" /> 8880 </attr> 8881 </declare-styleable> 8882 8883 <!-- @hide --> 8884 <declare-styleable name="RecyclerView"> 8885 <attr name="layoutManager" format="string" /> 8886 <attr name="orientation" /> 8887 <attr name="descendantFocusability" /> 8888 <attr name="spanCount" format="integer"/> 8889 <attr name="reverseLayout" format="boolean" /> 8890 <attr name="stackFromEnd" format="boolean" /> 8891 </declare-styleable> 8892 8893 <!-- @hide --> 8894 <declare-styleable name="NotificationTheme"> 8895 <attr name="notificationHeaderStyle" format="reference" /> 8896 <attr name="notificationHeaderTextAppearance" format="reference" /> 8897 <attr name="notificationHeaderIconSize" format="dimension" /> 8898 <attr name="notificationHeaderAppNameVisibility" format="enum"> 8899 <!-- Visible on screen; the default value. --> 8900 <enum name="visible" value="0" /> 8901 <!-- Not displayed, but taken into account during layout (space is left for it). --> 8902 <enum name="invisible" value="1" /> 8903 <!-- Completely hidden, as if the view had not been added. --> 8904 <enum name="gone" value="2" /> 8905 </attr> 8906 </declare-styleable> 8907 8908 <attr name="lockPatternStyle" format="reference" /> 8909</resources> 8910