attrs.xml revision 4186b344d829e155feebf6797bd41576fccb5f16
1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2006 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<!-- Formatting note: terminate all comments with a period, to avoid breaking 18 the documentation output. To suppress comment lines from the documentation 19 output, insert an eat-comment element after the comment lines. 20--> 21 22<resources> 23 <!-- These are the standard attributes that make up a complete theme. --> 24 <declare-styleable name="Theme"> 25 <!-- ============== --> 26 <!-- Generic styles --> 27 <!-- ============== --> 28 <eat-comment /> 29 30 <!-- Specifies that a theme has a light background with dark text on top. --> 31 <attr name="isLightTheme" format="boolean" /> 32 33 <!-- Default color of foreground imagery. --> 34 <attr name="colorForeground" format="color" /> 35 <!-- Default color of foreground imagery on an inverted background. --> 36 <attr name="colorForegroundInverse" format="color" /> 37 <!-- Default color of background imagery, ex. full-screen windows. --> 38 <attr name="colorBackground" format="color" /> 39 <!-- Default color of background imagery for floating components, ex. dialogs, popups, and cards. --> 40 <attr name="colorBackgroundFloating" format="color" /> 41 <!-- This is a hint for a solid color that can be used for caching 42 rendered views. This should be the color of the background when 43 there is a solid background color; it should be null when the 44 background is a texture or translucent. When a device is able 45 to use accelerated drawing (thus setting state_accelerated), the 46 cache hint is ignored and always assumed to be transparent. --> 47 <attr name="colorBackgroundCacheHint" format="color" /> 48 49 <!-- Default highlight color for items that are pressed. --> 50 <attr name="colorPressedHighlight" format="color" /> 51 <!-- Default highlight color for items that are long-pressed. --> 52 <attr name="colorLongPressedHighlight" format="color" /> 53 <!-- Default highlight color for items that are 54 focused. (Focused meaning cursor-based selection.) --> 55 <attr name="colorFocusedHighlight" format="color" /> 56 <!-- Default highlight color for items that are 57 activated. (Activated meaning persistent selection.) --> 58 <attr name="colorActivatedHighlight" format="color" /> 59 <!-- Default highlight color for items in multiple selection 60 mode. --> 61 <attr name="colorMultiSelectHighlight" format="color" /> 62 63 <!-- Default disabled alpha for widgets that set enabled/disabled alpha programmatically. --> 64 <attr name="disabledAlpha" format="float" /> 65 <!-- The alpha applied to the foreground color to create the primary text color. --> 66 <attr name="primaryContentAlpha" format="float" /> 67 <!-- The alpha applied to the foreground color to create the secondary text color. --> 68 <attr name="secondaryContentAlpha" format="float" /> 69 <!-- Color used for error states and things that need to be drawn to 70 the users attention.. --> 71 <attr name="colorError" format="reference|color" /> 72 <!-- Default background dim amount when a menu, dialog, or something similar pops up. --> 73 <attr name="backgroundDimAmount" format="float" /> 74 <!-- Control whether dimming behind the window is enabled. The default 75 theme does not set this value, meaning it is based on whether the 76 window is floating. --> 77 <attr name="backgroundDimEnabled" format="boolean" /> 78 79 <!-- =========== --> 80 <!-- Text styles --> 81 <!-- =========== --> 82 <eat-comment /> 83 84 <!-- Default appearance of text: color, typeface, size, and style. --> 85 <attr name="textAppearance" format="reference" /> 86 <!-- Default appearance of text against an inverted background: 87 color, typeface, size, and style. --> 88 <attr name="textAppearanceInverse" format="reference" /> 89 90 <!-- The most prominent text color. --> 91 <attr name="textColorPrimary" format="reference|color" /> 92 <!-- Secondary text color. --> 93 <attr name="textColorSecondary" format="reference|color" /> 94 <!-- Tertiary text color. --> 95 <attr name="textColorTertiary" format="reference|color" /> 96 97 <!-- Primary inverse text color, useful for inverted backgrounds. --> 98 <attr name="textColorPrimaryInverse" format="reference|color" /> 99 <!-- Secondary inverse text color, useful for inverted backgrounds. --> 100 <attr name="textColorSecondaryInverse" format="reference|color" /> 101 <!-- Tertiary inverse text color, useful for inverted backgrounds. --> 102 <attr name="textColorTertiaryInverse" format="reference|color" /> 103 104 <!-- Inverse hint text color. --> 105 <attr name="textColorHintInverse" format="reference|color" /> 106 107 <!-- Bright text color. Only differentiates based on the disabled state. --> 108 <attr name="textColorPrimaryDisableOnly" format="reference|color" /> 109 110 <!-- Bright inverse text color. Only differentiates based on the disabled state. --> 111 <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" /> 112 113 <!-- Bright text color. This does not differentiate the disabled state. As an example, 114 buttons use this since they display the disabled state via the background and not the 115 foreground text color. --> 116 <attr name="textColorPrimaryNoDisable" format="reference|color" /> 117 <!-- Dim text color. This does not differentiate the disabled state. --> 118 <attr name="textColorSecondaryNoDisable" format="reference|color" /> 119 120 <!-- Bright inverse text color. This does not differentiate the disabled state. --> 121 <attr name="textColorPrimaryInverseNoDisable" format="reference|color" /> 122 <!-- Dim inverse text color. This does not differentiate the disabled state. --> 123 <attr name="textColorSecondaryInverseNoDisable" format="reference|color" /> 124 125 <!-- Bright text color for use over activated backgrounds. --> 126 <attr name="textColorPrimaryActivated" format="reference|color" /> 127 <!-- Dim text color for use over activated backgrounds. --> 128 <attr name="textColorSecondaryActivated" format="reference|color" /> 129 130 <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide --> 131 <attr name="textColorSearchUrl" format="reference|color" /> 132 133 <!-- Color of highlighted text, when used in a light theme. --> 134 <attr name="textColorHighlightInverse" format="reference|color" /> 135 <!-- Color of link text (URLs), when used in a light theme. --> 136 <attr name="textColorLinkInverse" format="reference|color" /> 137 138 <!-- Color of list item text in alert dialogs. --> 139 <attr name="textColorAlertDialogListItem" format="reference|color" /> 140 141 <!-- Search widget more corpus result item background. --> 142 <attr name="searchWidgetCorpusItemBackground" format="reference|color" /> 143 144 <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. --> 145 <attr name="textAppearanceLarge" format="reference" /> 146 <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. --> 147 <attr name="textAppearanceMedium" format="reference" /> 148 <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. --> 149 <attr name="textAppearanceSmall" format="reference" /> 150 151 <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. --> 152 <attr name="textAppearanceLargeInverse" format="reference" /> 153 <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. --> 154 <attr name="textAppearanceMediumInverse" format="reference" /> 155 <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. --> 156 <attr name="textAppearanceSmallInverse" format="reference" /> 157 158 <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. --> 159 <attr name="textAppearanceSearchResultTitle" format="reference" /> 160 <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. --> 161 <attr name="textAppearanceSearchResultSubtitle" format="reference" /> 162 163 <!-- Text color, typeface, size, and style for the text inside of a button. --> 164 <attr name="textAppearanceButton" format="reference" /> 165 166 <!-- Text color, typeface, size, and style for the text inside of a popup menu. --> 167 <attr name="textAppearanceLargePopupMenu" format="reference" /> 168 169 <!-- Text color, typeface, size, and style for small text inside of a popup menu. --> 170 <attr name="textAppearanceSmallPopupMenu" format="reference" /> 171 172 <!-- Text color, typeface, size, and style for header text inside of a popup menu. --> 173 <attr name="textAppearancePopupMenuHeader" format="reference" /> 174 175 <!-- The underline color and thickness for easy correct suggestion --> 176 <attr name="textAppearanceEasyCorrectSuggestion" format="reference" /> 177 178 <!-- The underline color and thickness for misspelled suggestion --> 179 <attr name="textAppearanceMisspelledSuggestion" format="reference" /> 180 181 <!-- The underline color and thickness for auto correction suggestion --> 182 <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" /> 183 184 <!-- The underline color --> 185 <attr name="textUnderlineColor" format="reference|color" /> 186 <!-- The underline thickness --> 187 <attr name="textUnderlineThickness" format="reference|dimension" /> 188 189 <!-- EditText text foreground color. --> 190 <attr name="editTextColor" format="reference|color" /> 191 <!-- EditText background drawable. --> 192 <attr name="editTextBackground" format="reference" /> 193 194 <!-- Popup text displayed in TextView when setError is used. --> 195 <attr name="errorMessageBackground" format="reference" /> 196 <!-- Background used instead of errorMessageBackground when the popup has to be above. --> 197 <attr name="errorMessageAboveBackground" format="reference" /> 198 199 <!-- A styled string, specifying the style to be used for showing 200 inline candidate text when composing with an input method. The 201 text itself will be ignored, but the style spans will be applied 202 to the candidate text as it is edited. --> 203 <attr name="candidatesTextStyleSpans" format="reference|string" /> 204 205 <!-- Drawable to use for check marks. --> 206 <attr name="textCheckMark" format="reference" /> 207 <attr name="textCheckMarkInverse" format="reference" /> 208 209 <!-- Drawable to use for multiple choice indicators. --> 210 <attr name="listChoiceIndicatorMultiple" format="reference" /> 211 212 <!-- Drawable to use for single choice indicators. --> 213 <attr name="listChoiceIndicatorSingle" format="reference" /> 214 215 <!-- Drawable used as a background for selected list items. --> 216 <attr name="listChoiceBackgroundIndicator" format="reference" /> 217 218 <!-- Drawable used as a background for activated items. --> 219 <attr name="activatedBackgroundIndicator" format="reference" /> 220 221 <!-- ============= --> 222 <!-- Button styles --> 223 <!-- ============= --> 224 <eat-comment /> 225 226 <!-- Normal Button style. --> 227 <attr name="buttonStyle" format="reference" /> 228 229 <!-- Small Button style. --> 230 <attr name="buttonStyleSmall" format="reference" /> 231 232 <!-- Button style to inset into an EditText. --> 233 <attr name="buttonStyleInset" format="reference" /> 234 235 <!-- ToggleButton style. --> 236 <attr name="buttonStyleToggle" format="reference" /> 237 238 <!-- ============== --> 239 <!-- Gallery styles --> 240 <!-- ============== --> 241 <eat-comment /> 242 243 <!-- The preferred background for gallery items. This should be set 244 as the background of any Views you provide from the Adapter. --> 245 <attr name="galleryItemBackground" format="reference" /> 246 247 <!-- =========== --> 248 <!-- List styles --> 249 <!-- =========== --> 250 <eat-comment /> 251 252 <!-- The preferred list item height. --> 253 <attr name="listPreferredItemHeight" format="dimension" /> 254 <!-- A smaller, sleeker list item height. --> 255 <attr name="listPreferredItemHeightSmall" format="dimension" /> 256 <!-- A larger, more robust list item height. --> 257 <attr name="listPreferredItemHeightLarge" format="dimension" /> 258 <!-- The list item height for search results. @hide --> 259 <attr name="searchResultListItemHeight" format="dimension" /> 260 261 <!-- The preferred padding along the left edge of list items. --> 262 <attr name="listPreferredItemPaddingLeft" format="dimension" /> 263 <!-- The preferred padding along the right edge of list items. --> 264 <attr name="listPreferredItemPaddingRight" format="dimension" /> 265 266 <!-- The preferred TextAppearance for the primary text of list items. --> 267 <attr name="textAppearanceListItem" format="reference" /> 268 <!-- The preferred TextAppearance for the secondary text of list items. --> 269 <attr name="textAppearanceListItemSecondary" format="reference" /> 270 <!-- The preferred TextAppearance for the primary text of small list items. --> 271 <attr name="textAppearanceListItemSmall" format="reference" /> 272 273 <!-- The drawable for the list divider. --> 274 <attr name="listDivider" format="reference" /> 275 <!-- The list divider used in alert dialogs. --> 276 <attr name="listDividerAlertDialog" format="reference" /> 277 <!-- TextView style for list separators. --> 278 <attr name="listSeparatorTextViewStyle" format="reference" /> 279 <!-- The preferred left padding for an expandable list item (for child-specific layouts, 280 use expandableListPreferredChildPaddingLeft). This takes into account 281 the indicator that will be shown to next to the item. --> 282 <attr name="expandableListPreferredItemPaddingLeft" format="dimension" /> 283 <!-- The preferred left padding for an expandable list item that is a child. 284 If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. --> 285 <attr name="expandableListPreferredChildPaddingLeft" format="dimension" /> 286 <!-- The preferred left bound for an expandable list item's indicator. For a child-specific 287 indicator, use expandableListPreferredChildIndicatorLeft. --> 288 <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" /> 289 <!-- The preferred right bound for an expandable list item's indicator. For a child-specific 290 indicator, use expandableListPreferredChildIndicatorRight. --> 291 <attr name="expandableListPreferredItemIndicatorRight" format="dimension" /> 292 <!-- The preferred left bound for an expandable list child's indicator. --> 293 <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" /> 294 <!-- The preferred right bound for an expandable list child's indicator. --> 295 <attr name="expandableListPreferredChildIndicatorRight" format="dimension" /> 296 297 <!-- The preferred item height for dropdown lists. --> 298 <attr name="dropdownListPreferredItemHeight" format="dimension" /> 299 300 <!-- The preferred padding along the start edge of list items. --> 301 <attr name="listPreferredItemPaddingStart" format="dimension" /> 302 <!-- The preferred padding along the end edge of list items. --> 303 <attr name="listPreferredItemPaddingEnd" format="dimension" /> 304 305 <!-- ============= --> 306 <!-- Window styles --> 307 <!-- ============= --> 308 <eat-comment /> 309 310 <!-- Drawable to use as the overall window background. As of 311 {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may 312 be a selector that uses state_accelerated to pick a non-solid 313 color when running on devices that can draw such a bitmap 314 with complex compositing on top at 60fps. 315 316 <p>There are a few special considerations to use when setting this 317 drawable: 318 <ul> 319 <li> This information will be used to infer the pixel format 320 for your window's surface. If the drawable has any 321 non-opaque pixels, your window will be translucent 322 (32 bpp). 323 <li> If you want to draw the entire background 324 yourself, you should set this drawable to some solid 325 color that closely matches that background (so the 326 system's preview of your window will match), and 327 then in code manually set your window's background to 328 null so it will not be drawn. 329 </ul> --> 330 <attr name="windowBackground" format="reference" /> 331 <!-- Drawable to draw selectively within the inset areas when the windowBackground 332 has been set to null. This protects against seeing visual garbage in the 333 surface when the app has not drawn any content into this area. One example is 334 when the user is resizing a window of an activity that has 335 {@link android.R.attr#resizeableActivity} set for multi-window mode. --> 336 <attr name="windowBackgroundFallback" format="reference" /> 337 <!-- Drawable to use as a frame around the window. --> 338 <attr name="windowFrame" format="reference" /> 339 <!-- Flag indicating whether there should be no title on this window. --> 340 <attr name="windowNoTitle" format="boolean" /> 341 <!-- Flag indicating whether this window should fill the entire screen. Corresponds 342 to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. --> 343 <attr name="windowFullscreen" format="boolean" /> 344 <!-- Flag indicating whether this window should extend into overscan region. Corresponds 345 to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. --> 346 <attr name="windowOverscan" format="boolean" /> 347 <!-- Flag indicating whether this is a floating window. --> 348 <attr name="windowIsFloating" format="boolean" /> 349 <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but 350 not if set to false), the window might still be considered translucent, if 351 windowSwipeToDismiss is set to true. --> 352 <attr name="windowIsTranslucent" format="boolean" /> 353 <!-- Flag indicating that this window's background should be the 354 user's current wallpaper. Corresponds 355 to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. --> 356 <attr name="windowShowWallpaper" format="boolean" /> 357 <!-- This Drawable is overlaid over the foreground of the Window's content area, usually 358 to place a shadow below the title. --> 359 <attr name="windowContentOverlay" format="reference" /> 360 <!-- The style resource to use for a window's title bar height. --> 361 <attr name="windowTitleSize" format="dimension" /> 362 <!-- The style resource to use for a window's title text. --> 363 <attr name="windowTitleStyle" format="reference" /> 364 <!-- The style resource to use for a window's title area. --> 365 <attr name="windowTitleBackgroundStyle" format="reference" /> 366 367 <!-- Reference to a style resource holding 368 the set of window animations to use, which can be 369 any of the attributes defined by 370 {@link android.R.styleable#WindowAnimation}. --> 371 <attr name="windowAnimationStyle" format="reference" /> 372 373 <!-- Flag indicating whether this window should have an Action Bar 374 in place of the usual title bar. --> 375 <attr name="windowActionBar" format="boolean" /> 376 377 <!-- Flag indicating whether this window's Action Bar should overlay 378 application content. Does nothing if the window would not 379 have an Action Bar. --> 380 <attr name="windowActionBarOverlay" format="boolean" /> 381 382 <!-- Flag indicating whether action modes should overlay window content 383 when there is not reserved space for their UI (such as an Action Bar). --> 384 <attr name="windowActionModeOverlay" format="boolean" /> 385 386 <!-- Defines the default soft input state that this window would 387 like when it is displayed. Corresponds 388 to {@link android.view.WindowManager.LayoutParams#softInputMode}. --> 389 <attr name="windowSoftInputMode"> 390 <!-- Not specified, use what the system thinks is best. This 391 is the default. --> 392 <flag name="stateUnspecified" value="0" /> 393 <!-- Leave the soft input window as-is, in whatever state it 394 last was. --> 395 <flag name="stateUnchanged" value="1" /> 396 <!-- Make the soft input area hidden when normally appropriate 397 (when the user is navigating forward to your window). --> 398 <flag name="stateHidden" value="2" /> 399 <!-- Always make the soft input area hidden when this window 400 has input focus. --> 401 <flag name="stateAlwaysHidden" value="3" /> 402 <!-- Make the soft input area visible when normally appropriate 403 (when the user is navigating forward to your window). --> 404 <flag name="stateVisible" value="4" /> 405 <!-- Always make the soft input area visible when this window 406 has input focus. --> 407 <flag name="stateAlwaysVisible" value="5" /> 408 409 <!-- The window resize/pan adjustment has not been specified, 410 the system will automatically select between resize and pan 411 modes, depending 412 on whether the content of the window has any layout views 413 that can scroll their contents. If there is such a view, 414 then the window will be resized, with the assumption being 415 that the resizeable area can be reduced to make room for 416 the input UI. --> 417 <flag name="adjustUnspecified" value="0x00" /> 418 <!-- Always resize the window: the content area of the window is 419 reduced to make room for the soft input area. --> 420 <flag name="adjustResize" value="0x10" /> 421 <!-- Don't resize the window to make room for the soft input area; 422 instead pan the contents of the window as focus moves inside 423 of it so that the user can see what they are typing. This is 424 generally less desireable than panning because the user may 425 need to close the input area to get at and interact with 426 parts of the window. --> 427 <flag name="adjustPan" value="0x20" /> 428 <!-- Don't resize <em>or</em> pan the window to make room for the 429 soft input area; the window is never adjusted for it. --> 430 <flag name="adjustNothing" value="0x30" /> 431 </attr> 432 433 <!-- Flag allowing you to disable the preview animation for a window. 434 The default value is false; if set to true, the system can never 435 use the window's theme to show a preview of it before your 436 actual instance is shown to the user. --> 437 <attr name="windowDisablePreview" format="boolean" /> 438 439 <!-- Flag indicating that this window should not be displayed at all. 440 The default value is false; if set to true, and this window is 441 the main window of an Activity, then it will never actually 442 be added to the window manager. This means that your activity 443 must immediately quit without waiting for user interaction, 444 because there will be no such interaction coming. --> 445 <attr name="windowNoDisplay" format="boolean" /> 446 447 <!-- Flag indicating that this window should allow touches to be split 448 across other windows that also support split touch. 449 The default value is true for applications with a targetSdkVersion 450 of Honeycomb or newer; false otherwise. 451 When this flag is false, the first pointer that goes down determines 452 the window to which all subsequent touches go until all pointers go up. 453 When this flag is true, each pointer (not necessarily the first) that 454 goes down determines the window to which all subsequent touches of that 455 pointer will go until that pointers go up thereby enabling touches 456 with multiple pointers to be split across multiple windows. --> 457 <attr name="windowEnableSplitTouch" format="boolean" /> 458 459 <!-- Control whether a container should automatically close itself if 460 the user touches outside of it. This only applies to activities 461 and dialogs. 462 463 <p>Note: this attribute will only be respected for applications 464 that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB} 465 or later. --> 466 <attr name="windowCloseOnTouchOutside" format="boolean" /> 467 468 <!-- Flag indicating whether this window requests a translucent status bar. Corresponds 469 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. --> 470 <attr name="windowTranslucentStatus" format="boolean" /> 471 472 <!-- Flag indicating whether this window requests a translucent navigation bar. Corresponds 473 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. --> 474 <attr name="windowTranslucentNavigation" format="boolean" /> 475 476 <!-- Flag to indicate that a window can be swiped away to be dismissed. 477 Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also 478 dynamically change translucency of the window, if the windowIsTranslucent is not set. 479 If windowIsTranslucent is set (to either true or false) it will obey that setting. --> 480 <attr name="windowSwipeToDismiss" format="boolean" /> 481 482 <!-- Flag indicating whether this window requests that content changes be performed 483 as scene changes with transitions. Corresponds to 484 {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. --> 485 <attr name="windowContentTransitions" format="boolean" /> 486 487 <!-- Reference to a TransitionManager XML resource defining the desired 488 transitions between different window content. --> 489 <attr name="windowContentTransitionManager" format="reference" /> 490 491 <!-- Flag indicating whether this window allows Activity Transitions. 492 Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. --> 493 <attr name="windowActivityTransitions" format="boolean" /> 494 495 <!-- Reference to a Transition XML resource defining the desired Transition 496 used to move Views into the initial Window's content Scene. Corresponds to 497 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 498 <attr name="windowEnterTransition" format="reference"/> 499 500 <!-- Reference to a Transition XML resource defining the desired Transition 501 used to move Views out of the scene when the Window is 502 preparing to close. Corresponds to 503 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 504 <attr name="windowReturnTransition" format="reference"/> 505 506 <!-- Reference to a Transition XML resource defining the desired Transition 507 used to move Views out of the Window's content Scene when launching a new Activity. 508 Corresponds to 509 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 510 <attr name="windowExitTransition" format="reference"/> 511 512 <!-- Reference to a Transition XML resource defining the desired Transition 513 used to move Views in to the scene when returning from a previously-started Activity. 514 Corresponds to 515 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 516 <attr name="windowReenterTransition" format="reference"/> 517 518 <!-- Reference to a Transition XML resource defining the desired Transition 519 used to move shared elements transferred into the Window's initial content Scene. 520 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 521 android.transition.Transition)}. --> 522 <attr name="windowSharedElementEnterTransition" format="reference"/> 523 524 <!-- Reference to a Transition XML resource defining the desired Transition 525 used to move shared elements transferred back to a calling Activity. 526 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 527 android.transition.Transition)}. --> 528 <attr name="windowSharedElementReturnTransition" format="reference"/> 529 530 <!-- Reference to a Transition XML resource defining the desired Transition 531 used when starting a new Activity to move shared elements prior to transferring 532 to the called Activity. 533 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 534 android.transition.Transition)}. --> 535 <attr name="windowSharedElementExitTransition" format="reference"/> 536 537 <!-- Reference to a Transition XML resource defining the desired Transition 538 used for shared elements transferred back to a calling Activity. 539 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 540 android.transition.Transition)}. --> 541 <attr name="windowSharedElementReenterTransition" format="reference"/> 542 543 <!-- Flag indicating whether this Window's transition should overlap with 544 the exiting transition of the calling Activity. Corresponds to 545 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. 546 The default value is true. --> 547 <attr name="windowAllowEnterTransitionOverlap" format="boolean"/> 548 549 <!-- Flag indicating whether this Window's transition should overlap with 550 the exiting transition of the called Activity when the called Activity 551 finishes. Corresponds to 552 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. 553 The default value is true. --> 554 <attr name="windowAllowReturnTransitionOverlap" format="boolean"/> 555 556 <!-- Indicates whether or not shared elements should use an overlay 557 during transitions. The default value is true. --> 558 <attr name="windowSharedElementsUseOverlay" format="boolean"/> 559 560 <!-- Internal layout used internally for window decor --> 561 <attr name="windowActionBarFullscreenDecorLayout" format="reference" /> 562 563 <!-- The duration, in milliseconds, of the window background fade duration 564 when transitioning into or away from an Activity when called with an 565 Activity Transition. Corresponds to 566 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 567 <attr name="windowTransitionBackgroundFadeDuration" format="integer"/> 568 569 <!-- ============ --> 570 <!-- Floating toolbar styles --> 571 <!-- ============ --> 572 <eat-comment /> 573 <attr name="floatingToolbarCloseDrawable" format="reference" /> 574 <attr name="floatingToolbarForegroundColor" format="reference|color" /> 575 <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" /> 576 <attr name="floatingToolbarItemBackgroundDrawable" format="reference" /> 577 <attr name="floatingToolbarOpenDrawable" format="reference" /> 578 <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" /> 579 580 <!-- ============ --> 581 <!-- Alert Dialog styles --> 582 <!-- ============ --> 583 <eat-comment /> 584 <attr name="alertDialogStyle" format="reference" /> 585 <attr name="alertDialogButtonGroupStyle" format="reference" /> 586 <attr name="alertDialogCenterButtons" format="boolean" /> 587 588 <!-- ============== --> 589 <!-- Image elements --> 590 <!-- ============== --> 591 <eat-comment /> 592 593 <!-- Background that can be used behind parts of a UI that provide 594 details on data the user is selecting. For example, this is 595 the background element of PreferenceActivity's embedded 596 preference fragment. --> 597 <attr name="detailsElementBackground" format="reference" /> 598 599 <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan. 600 This should be used whenever an app is requesting the user to place a finger on the 601 fingerprint sensor. It can be combined with other drawables such as colored circles, so 602 the appearance matches the branding of the app requesting the fingerprint scan.--> 603 <attr name="fingerprintAuthDrawable" format="reference" /> 604 605 <!-- ============ --> 606 <!-- Panel styles --> 607 <!-- ============ --> 608 <eat-comment /> 609 610 <!-- The background of a panel when it is inset from the left and right edges of the screen. --> 611 <attr name="panelBackground" format="reference|color" /> 612 <!-- The background of a panel when it extends to the left and right edges of the screen. --> 613 <attr name="panelFullBackground" format="reference|color" /> 614 <!-- Default color of foreground panel imagery. --> 615 <attr name="panelColorForeground" format="reference|color" /> 616 <!-- Color that matches (as closely as possible) the panel background. --> 617 <attr name="panelColorBackground" format="reference|color" /> 618 <!-- Default appearance of panel text. --> 619 <attr name="panelTextAppearance" format="reference" /> 620 621 <attr name="panelMenuIsCompact" format="boolean" /> 622 <attr name="panelMenuListWidth" format="dimension" /> 623 <attr name="panelMenuListTheme" format="reference" /> 624 625 <!-- =================== --> 626 <!-- Other widget styles --> 627 <!-- =================== --> 628 <eat-comment /> 629 630 <!-- Default AbsListView style. --> 631 <attr name="absListViewStyle" format="reference" /> 632 <!-- Default AutoCompleteTextView style. --> 633 <attr name="autoCompleteTextViewStyle" format="reference" /> 634 <!-- Default Checkbox style. --> 635 <attr name="checkboxStyle" format="reference" /> 636 <!-- Default CheckedTextView style. --> 637 <attr name="checkedTextViewStyle" format="reference" /> 638 <!-- Default ListView style for drop downs. --> 639 <attr name="dropDownListViewStyle" format="reference" /> 640 <!-- Default EditText style. --> 641 <attr name="editTextStyle" format="reference" /> 642 <!-- Default ExpandableListView style. --> 643 <attr name="expandableListViewStyle" format="reference" /> 644 <!-- ExpandableListView with white background. --> 645 <attr name="expandableListViewWhiteStyle" format="reference" /> 646 <!-- Default Gallery style. --> 647 <attr name="galleryStyle" format="reference" /> 648 <!-- Default GestureOverlayView style. --> 649 <attr name="gestureOverlayViewStyle" format="reference" /> 650 <!-- Default GridView style. --> 651 <attr name="gridViewStyle" format="reference" /> 652 <!-- The style resource to use for an ImageButton. --> 653 <attr name="imageButtonStyle" format="reference" /> 654 <!-- The style resource to use for an ImageButton that is an image well. --> 655 <attr name="imageWellStyle" format="reference" /> 656 <!-- Default menu-style ListView style. --> 657 <attr name="listMenuViewStyle" format="reference" /> 658 <!-- Default ListView style. --> 659 <attr name="listViewStyle" format="reference" /> 660 <!-- ListView with white background. --> 661 <attr name="listViewWhiteStyle" format="reference" /> 662 <!-- Default PopupWindow style. --> 663 <attr name="popupWindowStyle" format="reference" /> 664 <!-- Default ProgressBar style. This is a medium circular progress bar. --> 665 <attr name="progressBarStyle" format="reference" /> 666 <!-- Horizontal ProgressBar style. This is a horizontal progress bar. --> 667 <attr name="progressBarStyleHorizontal" format="reference" /> 668 <!-- Small ProgressBar style. This is a small circular progress bar. --> 669 <attr name="progressBarStyleSmall" format="reference" /> 670 <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. --> 671 <attr name="progressBarStyleSmallTitle" format="reference" /> 672 <!-- Large ProgressBar style. This is a large circular progress bar. --> 673 <attr name="progressBarStyleLarge" format="reference" /> 674 <!-- Inverse ProgressBar style. This is a medium circular progress bar. --> 675 <attr name="progressBarStyleInverse" format="reference" /> 676 <!-- Small inverse ProgressBar style. This is a small circular progress bar. --> 677 <attr name="progressBarStyleSmallInverse" format="reference" /> 678 <!-- Large inverse ProgressBar style. This is a large circular progress bar. --> 679 <attr name="progressBarStyleLargeInverse" format="reference" /> 680 <!-- Default SeekBar style. --> 681 <attr name="seekBarStyle" format="reference" /> 682 <!-- Default RatingBar style. --> 683 <attr name="ratingBarStyle" format="reference" /> 684 <!-- Indicator RatingBar style. --> 685 <attr name="ratingBarStyleIndicator" format="reference" /> 686 <!-- Small indicator RatingBar style. --> 687 <attr name="ratingBarStyleSmall" format="reference" /> 688 <!-- Default RadioButton style. --> 689 <attr name="radioButtonStyle" format="reference" /> 690 <!-- Default ScrollView style. --> 691 <attr name="scrollViewStyle" format="reference" /> 692 <!-- Default HorizontalScrollView style. --> 693 <attr name="horizontalScrollViewStyle" format="reference" /> 694 <!-- Default Spinner style. --> 695 <attr name="spinnerStyle" format="reference" /> 696 <!-- Default dropdown Spinner style. --> 697 <attr name="dropDownSpinnerStyle" format="reference" /> 698 <!-- Default ActionBar dropdown style. --> 699 <attr name="actionDropDownStyle" format="reference" /> 700 <!-- Default action button style. --> 701 <attr name="actionButtonStyle" format="reference" /> 702 <!-- Default Star style. --> 703 <attr name="starStyle" format="reference" /> 704 <!-- Default TabWidget style. --> 705 <attr name="tabWidgetStyle" format="reference" /> 706 <!-- Default TextView style. --> 707 <attr name="textViewStyle" format="reference" /> 708 <!-- Default WebTextView style. --> 709 <attr name="webTextViewStyle" format="reference" /> 710 <!-- Default WebView style. --> 711 <attr name="webViewStyle" format="reference" /> 712 <!-- Default style for drop down items. --> 713 <attr name="dropDownItemStyle" format="reference" /> 714 <!-- Default style for spinner drop down items. --> 715 <attr name="spinnerDropDownItemStyle" format="reference" /> 716 <!-- Default style for drop down hints. --> 717 <attr name="dropDownHintAppearance" format="reference" /> 718 <!-- Default spinner item style. --> 719 <attr name="spinnerItemStyle" format="reference" /> 720 <!-- Default MapView style. --> 721 <attr name="mapViewStyle" format="reference" /> 722 <!-- Drawable used as an overlay on top of quickcontact photos. --> 723 <attr name="quickContactBadgeOverlay" format="reference" /> 724 <!-- Default quickcontact badge style with small quickcontact window. --> 725 <attr name="quickContactBadgeStyleWindowSmall" format="reference" /> 726 <!-- Default quickcontact badge style with medium quickcontact window. --> 727 <attr name="quickContactBadgeStyleWindowMedium" format="reference" /> 728 <!-- Default quickcontact badge style with large quickcontact window. --> 729 <attr name="quickContactBadgeStyleWindowLarge" format="reference" /> 730 <!-- Default quickcontact badge style with small quickcontact window. --> 731 <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" /> 732 <!-- Default quickcontact badge style with medium quickcontact window. --> 733 <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" /> 734 <!-- Default quickcontact badge style with large quickcontact window. --> 735 <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" /> 736 <!-- Reference to a style that will be used for the window containing a text 737 selection anchor. --> 738 <attr name="textSelectHandleWindowStyle" format="reference" /> 739 <!-- Reference to a style that will be used for the window containing a list of possible 740 text suggestions in an EditText. --> 741 <attr name="textSuggestionsWindowStyle" format="reference" /> 742 <!-- Default ListPopupWindow style. --> 743 <attr name="listPopupWindowStyle" format="reference" /> 744 <!-- Default PopupMenu style. --> 745 <attr name="popupMenuStyle" format="reference" /> 746 <!-- Default context menu PopupMenu style. --> 747 <attr name="contextPopupMenuStyle" format="reference" /> 748 <!-- Default StackView style. --> 749 <attr name="stackViewStyle" format="reference" /> 750 751 <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated 752 starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). --> 753 <attr name="fragmentBreadCrumbsStyle" format="reference" /> 754 755 <!-- NumberPicker style. --> 756 <attr name="numberPickerStyle" format="reference" /> 757 758 <!-- The CalendarView style. --> 759 <attr name="calendarViewStyle" format="reference" /> 760 761 <!-- The TimePicker style. --> 762 <attr name="timePickerStyle" format="reference" /> 763 764 <!-- The TimePicker dialog theme. --> 765 <attr name="timePickerDialogTheme" format="reference" /> 766 767 <!-- The DatePicker style. --> 768 <attr name="datePickerStyle" format="reference" /> 769 770 <!-- The DatePicker dialog theme. --> 771 <attr name="datePickerDialogTheme" format="reference" /> 772 773 <!-- Default ActivityChooserView style. --> 774 <attr name="activityChooserViewStyle" format="reference" /> 775 776 <!-- Default Toolbar style. --> 777 <attr name="toolbarStyle" format="reference" /> 778 779 <!-- Fast scroller styles --> 780 <eat-comment /> 781 782 <!-- Drawable to use as the fast scroll thumb. --> 783 <attr name="fastScrollThumbDrawable" format="reference" /> 784 <!-- Drawable to use as the fast scroll index preview window background 785 when shown on the right. --> 786 <attr name="fastScrollPreviewBackgroundRight" format="reference" /> 787 <!-- Drawable to use as the fast scroll index preview window background 788 when shown on the left. --> 789 <attr name="fastScrollPreviewBackgroundLeft" format="reference" /> 790 <!-- Drawable to use as the track for the fast scroll thumb. 791 This may be null. --> 792 <attr name="fastScrollTrackDrawable" format="reference" /> 793 <!-- Position of the fast scroll index overlay window. --> 794 <attr name="fastScrollOverlayPosition"> 795 <enum name="floating" value="0" /> 796 <enum name="atThumb" value="1" /> 797 <enum name="aboveThumb" value="2" /> 798 </attr> 799 <!-- Text color for the fast scroll index overlay. Make sure it 800 plays nicely with fastScrollPreviewBackground[Left|Right]. --> 801 <attr name="fastScrollTextColor" format="color" /> 802 803 <!-- =================== --> 804 <!-- Action bar styles --> 805 <!-- =================== --> 806 <eat-comment /> 807 <!-- Default style for tabs within an action bar. --> 808 <attr name="actionBarTabStyle" format="reference" /> 809 <!-- Reference to a style for the Action Bar Tab Bar. --> 810 <attr name="actionBarTabBarStyle" format="reference" /> 811 <!-- Reference to a style for the Action Bar Tab text. --> 812 <attr name="actionBarTabTextStyle" format="reference" /> 813 <!-- Reference to a style for Action Bar overflow buttons. --> 814 <attr name="actionOverflowButtonStyle" format="reference" /> 815 <!-- Reference to a style for the Action Bar menu. --> 816 <attr name="actionOverflowMenuStyle" format="reference" /> 817 <!-- Reference to a theme that should be used to inflate popups 818 shown by widgets in the action bar. --> 819 <attr name="actionBarPopupTheme" format="reference" /> 820 <!-- Reference to a style for the Action Bar. --> 821 <attr name="actionBarStyle" format="reference" /> 822 <!-- Reference to a style for the split Action Bar. This style 823 controls the split component that holds the menu/action 824 buttons. actionBarStyle is still used for the primary 825 bar. --> 826 <attr name="actionBarSplitStyle" format="reference" /> 827 <!-- Reference to a theme that should be used to inflate the 828 action bar. This will be inherited by any widget inflated 829 into the action bar. --> 830 <attr name="actionBarTheme" format="reference" /> 831 <!-- Reference to a theme that should be used to inflate widgets 832 and layouts destined for the action bar. Most of the time 833 this will be a reference to the current theme, but when 834 the action bar has a significantly different contrast 835 profile than the rest of the activity the difference 836 can become important. If this is set to @null the current 837 theme will be used.--> 838 <attr name="actionBarWidgetTheme" format="reference" /> 839 <!-- Size of the Action Bar, including the contextual 840 bar used to present Action Modes. --> 841 <attr name="actionBarSize" format="dimension" > 842 <enum name="wrap_content" value="0" /> 843 </attr> 844 <!-- Custom divider drawable to use for elements in the action bar. --> 845 <attr name="actionBarDivider" format="reference" /> 846 <!-- Custom item state list drawable background for action bar items. --> 847 <attr name="actionBarItemBackground" format="reference" /> 848 <!-- TextAppearance style that will be applied to text that 849 appears within action menu items. --> 850 <attr name="actionMenuTextAppearance" format="reference" /> 851 <!-- Color for text that appears within action menu items. --> 852 <attr name="actionMenuTextColor" format="color|reference" /> 853 854 <!-- =================== --> 855 <!-- Action mode styles --> 856 <!-- =================== --> 857 <eat-comment /> 858 <!-- Reference to a style for the Action Mode. --> 859 <attr name="actionModeStyle" format="reference" /> 860 <!-- Reference to a style for the Action Mode close button. --> 861 <attr name="actionModeCloseButtonStyle" format="reference" /> 862 <!-- Background drawable to use for action mode UI. --> 863 <attr name="actionModeBackground" format="reference" /> 864 <!-- Background drawable to use for action mode UI in the lower split bar. --> 865 <attr name="actionModeSplitBackground" format="reference" /> 866 <!-- Drawable to use for the close action mode button. --> 867 <attr name="actionModeCloseDrawable" format="reference" /> 868 869 <!-- Drawable to use for the Cut action button in Contextual Action Bar. --> 870 <attr name="actionModeCutDrawable" format="reference" /> 871 <!-- Drawable to use for the Copy action button in Contextual Action Bar. --> 872 <attr name="actionModeCopyDrawable" format="reference" /> 873 <!-- Drawable to use for the Paste action button in Contextual Action Bar. --> 874 <attr name="actionModePasteDrawable" format="reference" /> 875 <!-- Drawable to use for the Select all action button in Contextual Action Bar. --> 876 <attr name="actionModeSelectAllDrawable" format="reference" /> 877 <!-- Drawable to use for the Share action button in WebView selection action modes. --> 878 <attr name="actionModeShareDrawable" format="reference" /> 879 <!-- Drawable to use for the Find action button in WebView selection action modes. --> 880 <attr name="actionModeFindDrawable" format="reference" /> 881 <!-- Drawable to use for the Web Search action button in WebView selection action modes. --> 882 <attr name="actionModeWebSearchDrawable" format="reference" /> 883 884 <!-- PopupWindow style to use for action modes when showing as a window overlay. --> 885 <attr name="actionModePopupWindowStyle" format="reference" /> 886 887 <!-- =================== --> 888 <!-- Preference styles --> 889 <!-- =================== --> 890 <eat-comment /> 891 892 <!-- Default style for PreferenceScreen. --> 893 <attr name="preferenceScreenStyle" format="reference" /> 894 <!-- Default style for the PreferenceActivity. --> 895 <attr name="preferenceActivityStyle" format="reference" /> 896 <!-- Default style for Headers pane in PreferenceActivity. --> 897 <attr name="preferenceFragmentStyle" format="reference" /> 898 <!-- Default style for PreferenceCategory. --> 899 <attr name="preferenceCategoryStyle" format="reference" /> 900 <!-- Default style for Preference. --> 901 <attr name="preferenceStyle" format="reference" /> 902 <!-- Default style for informational Preference. --> 903 <attr name="preferenceInformationStyle" format="reference" /> 904 <!-- Default style for CheckBoxPreference. --> 905 <attr name="checkBoxPreferenceStyle" format="reference" /> 906 <!-- Default style for YesNoPreference. --> 907 <attr name="yesNoPreferenceStyle" format="reference" /> 908 <!-- Default style for DialogPreference. --> 909 <attr name="dialogPreferenceStyle" format="reference" /> 910 <!-- Default style for EditTextPreference. --> 911 <attr name="editTextPreferenceStyle" format="reference" /> 912 <!-- @hide Default style for SeekBarDialogPreference. --> 913 <attr name="seekBarDialogPreferenceStyle" format="reference" /> 914 <!-- Default style for RingtonePreference. --> 915 <attr name="ringtonePreferenceStyle" format="reference" /> 916 <!-- The preference layout that has the child/tabbed effect. --> 917 <attr name="preferenceLayoutChild" format="reference" /> 918 <!-- Preference panel style --> 919 <attr name="preferencePanelStyle" format="reference" /> 920 <!-- Preference headers panel style --> 921 <attr name="preferenceHeaderPanelStyle" format="reference" /> 922 <!-- Preference list style --> 923 <attr name="preferenceListStyle" format="reference" /> 924 <!-- Preference fragment list style --> 925 <attr name="preferenceFragmentListStyle" format="reference" /> 926 <!-- Preference fragment padding side --> 927 <attr name="preferenceFragmentPaddingSide" format="dimension" /> 928 <!-- Default style for switch preferences. --> 929 <attr name="switchPreferenceStyle" format="reference" /> 930 <!-- Default style for seekbar preferences. --> 931 <attr name="seekBarPreferenceStyle" format="reference" /> 932 933 <!-- ============================ --> 934 <!-- Text selection handle styles --> 935 <!-- ============================ --> 936 <eat-comment /> 937 938 <!-- Reference to a drawable that will be used to display a text selection 939 anchor on the left side of a selection region. --> 940 <attr name="textSelectHandleLeft" format="reference" /> 941 <!-- Reference to a drawable that will be used to display a text selection 942 anchor on the right side of a selection region. --> 943 <attr name="textSelectHandleRight" format="reference" /> 944 <!-- Reference to a drawable that will be used to display a text selection 945 anchor for positioning the cursor within text. --> 946 <attr name="textSelectHandle" format="reference" /> 947 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 948 TextEdit field. --> 949 <attr name="textEditPasteWindowLayout" format="reference" /> 950 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 951 <attr name="textEditNoPasteWindowLayout" format="reference" /> 952 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 953 insertion cursor because it would be clipped if it were positioned on top. --> 954 <attr name="textEditSidePasteWindowLayout" format="reference" /> 955 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 956 <attr name="textEditSideNoPasteWindowLayout" format="reference" /> 957 958 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 959 <attr name="textEditSuggestionItemLayout" format="reference" /> 960 <!-- Layout of the container of the suggestion popup window. --> 961 <attr name="textEditSuggestionContainerLayout" format="reference" /> 962 <!-- Text appearance of the focused words to be replaced by suggested word. --> 963 <attr name="textEditSuggestionHighlightStyle" format="reference" /> 964 965 <!-- Theme to use for dialogs spawned from this theme. --> 966 <attr name="dialogTheme" format="reference" /> 967 <!-- Window decor layout to use in dialog mode with icons. --> 968 <attr name="dialogTitleIconsDecorLayout" format="reference" /> 969 <!-- Window decor layout to use in dialog mode with custom titles. --> 970 <attr name="dialogCustomTitleDecorLayout" format="reference" /> 971 <!-- Window decor layout to use in dialog mode with title only. --> 972 <attr name="dialogTitleDecorLayout" format="reference" /> 973 <!-- Preferred padding for dialog content. --> 974 <attr name="dialogPreferredPadding" format="dimension" /> 975 976 <!-- Theme to use for alert dialogs spawned from this theme. --> 977 <attr name="alertDialogTheme" format="reference" /> 978 <!-- Icon drawable to use for alerts. --> 979 <attr name="alertDialogIcon" format="reference" /> 980 981 <!-- Theme to use for presentations spawned from this theme. --> 982 <attr name="presentationTheme" format="reference" /> 983 984 <!-- Drawable to use for generic vertical dividers. --> 985 <attr name="dividerVertical" format="reference" /> 986 987 <!-- Drawable to use for generic horizontal dividers. --> 988 <attr name="dividerHorizontal" format="reference" /> 989 990 <!-- Style for button bars. --> 991 <attr name="buttonBarStyle" format="reference" /> 992 993 <!-- Style for buttons within button bars. --> 994 <attr name="buttonBarButtonStyle" format="reference" /> 995 996 <!-- Style for the "positive" buttons within button bars. --> 997 <attr name="buttonBarPositiveButtonStyle" format="reference" /> 998 999 <!-- Style for the "negative" buttons within button bars. --> 1000 <attr name="buttonBarNegativeButtonStyle" format="reference" /> 1001 1002 <!-- Style for the "neutral" buttons within button bars. --> 1003 <attr name="buttonBarNeutralButtonStyle" format="reference" /> 1004 1005 <!-- Style for the search query widget. --> 1006 <attr name="searchViewStyle" format="reference" /> 1007 1008 <!-- Style for segmented buttons - a container that houses several buttons 1009 with the appearance of a singel button broken into segments. --> 1010 <attr name="segmentedButtonStyle" format="reference" /> 1011 1012 <!-- Background drawable for bordered standalone items that need focus/pressed states. --> 1013 <attr name="selectableItemBackground" format="reference" /> 1014 1015 <!-- Background drawable for borderless standalone items that need focus/pressed states. --> 1016 <attr name="selectableItemBackgroundBorderless" format="reference" /> 1017 1018 <!-- Style for buttons without an explicit border, often used in groups. --> 1019 <attr name="borderlessButtonStyle" format="reference" /> 1020 1021 <!-- Background to use for toasts. --> 1022 <attr name="toastFrameBackground" format="reference" /> 1023 1024 <!-- Background to use for tooltip popups. --> 1025 <attr name="tooltipFrameBackground" format="reference" /> 1026 1027 <!-- Foreground color to use for tooltip popups. --> 1028 <attr name="tooltipForegroundColor" format="reference|color" /> 1029 1030 <!-- Background color to use for tooltip popups. --> 1031 <attr name="tooltipBackgroundColor" format="reference|color" /> 1032 1033 <!-- Theme to use for Search Dialogs. --> 1034 <attr name="searchDialogTheme" format="reference" /> 1035 1036 <!-- Specifies a drawable to use for the 'home as up' indicator. --> 1037 <attr name="homeAsUpIndicator" format="reference" /> 1038 1039 <!-- Preference frame layout styles. --> 1040 <attr name="preferenceFrameLayoutStyle" format="reference" /> 1041 1042 <!-- Default style for the Switch widget. --> 1043 <attr name="switchStyle" format="reference" /> 1044 1045 <!-- Default style for the MediaRouteButton widget. --> 1046 <attr name="mediaRouteButtonStyle" format="reference" /> 1047 1048 <!-- ============== --> 1049 <!-- Pointer styles --> 1050 <!-- ============== --> 1051 <eat-comment /> 1052 1053 <!-- The drawable for accessibility focused views. --> 1054 <attr name="accessibilityFocusedDrawable" format="reference" /> 1055 1056 <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide --> 1057 <attr name="findOnPageNextDrawable" format="reference" /> 1058 1059 <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide --> 1060 <attr name="findOnPagePreviousDrawable" format="reference" /> 1061 1062 <!-- ============= --> 1063 <!-- Color palette --> 1064 <!-- ============= --> 1065 <eat-comment /> 1066 1067 <!-- The primary branding color for the app. By default, this is the color applied to the 1068 action bar background. --> 1069 <attr name="colorPrimary" format="color" /> 1070 1071 <!-- Dark variant of the primary branding color. By default, this is the color applied to 1072 the status bar (via statusBarColor) and navigation bar (via navigationBarColor). --> 1073 <attr name="colorPrimaryDark" format="color" /> 1074 1075 <!-- The secondary branding color for the app. --> 1076 <attr name="colorSecondary" format="color" /> 1077 1078 <!-- Bright complement to the primary branding color. By default, this is the color applied 1079 to framework controls (via colorControlActivated). --> 1080 <attr name="colorAccent" format="color" /> 1081 1082 <!-- The color applied to framework controls in their normal state. --> 1083 <attr name="colorControlNormal" format="color" /> 1084 1085 <!-- The color applied to framework controls in their activated (ex. checked) state. --> 1086 <attr name="colorControlActivated" format="color" /> 1087 1088 <!-- The color applied to framework control highlights (ex. ripples, list selectors). --> 1089 <attr name="colorControlHighlight" format="color" /> 1090 1091 <!-- The color applied to framework buttons in their normal state. --> 1092 <attr name="colorButtonNormal" format="color" /> 1093 1094 <!-- The color applied to framework switch thumbs in their normal state. --> 1095 <attr name="colorSwitchThumbNormal" format="color" /> 1096 1097 <!-- The color applied to the edge effect on scrolling containers. --> 1098 <attr name="colorEdgeEffect" format="color" /> 1099 1100 <!-- =================== --> 1101 <!-- Lighting properties --> 1102 <!-- =================== --> 1103 <eat-comment /> 1104 1105 <!-- @hide The default Y position of the light used to project view shadows. --> 1106 <attr name="lightY" format="dimension" /> 1107 1108 <!-- @hide The default Z position of the light used to project view shadows. --> 1109 <attr name="lightZ" format="dimension" /> 1110 1111 <!-- @hide The default radius of the light used to project view shadows. --> 1112 <attr name="lightRadius" format="dimension" /> 1113 1114 <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. --> 1115 <attr name="ambientShadowAlpha" format="float" /> 1116 1117 <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. --> 1118 <attr name="spotShadowAlpha" format="float" /> 1119 </declare-styleable> 1120 1121 <!-- **************************************************************** --> 1122 <!-- Other non-theme attributes. --> 1123 <!-- **************************************************************** --> 1124 <eat-comment /> 1125 1126 <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). 1127 Supported values include the following:<p/> 1128 <ul> 1129 <li><b>px</b> Pixels</li> 1130 <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li> 1131 <li><b>pt</b> Points</li> 1132 <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li> 1133 </ul> 1134 --> 1135 <attr name="textSize" format="dimension" /> 1136 1137 <!-- Default font family. --> 1138 <attr name="fontFamily" format="string" /> 1139 1140 <!-- Default text typeface. --> 1141 <attr name="typeface"> 1142 <enum name="normal" value="0" /> 1143 <enum name="sans" value="1" /> 1144 <enum name="serif" value="2" /> 1145 <enum name="monospace" value="3" /> 1146 </attr> 1147 1148 <!-- Default text typeface style. --> 1149 <attr name="textStyle"> 1150 <flag name="normal" value="0" /> 1151 <flag name="bold" value="1" /> 1152 <flag name="italic" value="2" /> 1153 </attr> 1154 1155 <!-- Color of text (usually same as colorForeground). --> 1156 <attr name="textColor" format="reference|color" /> 1157 1158 <!-- Color of highlighted text. --> 1159 <attr name="textColorHighlight" format="reference|color" /> 1160 1161 <!-- Color of hint text (displayed when the field is empty). --> 1162 <attr name="textColorHint" format="reference|color" /> 1163 1164 <!-- Color of link text (URLs). --> 1165 <attr name="textColorLink" format="reference|color" /> 1166 1167 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 1168 <attr name="textCursorDrawable" format="reference" /> 1169 1170 <!-- Indicates that the content of a non-editable TextView can be selected. 1171 Default value is false. EditText content is always selectable. --> 1172 <attr name="textIsSelectable" format="boolean" /> 1173 1174 <!-- Where to ellipsize text. --> 1175 <attr name="ellipsize"> 1176 <enum name="none" value="0" /> 1177 <enum name="start" value="1" /> 1178 <enum name="middle" value="2" /> 1179 <enum name="end" value="3" /> 1180 <enum name="marquee" value="4" /> 1181 </attr> 1182 1183 <!-- The type of data being placed in a text field, used to help an 1184 input method decide how to let the user enter text. The constants 1185 here correspond to those defined by 1186 {@link android.text.InputType}. Generally you can select 1187 a single value, though some can be combined together as 1188 indicated. Setting this attribute to anything besides 1189 <var>none</var> also implies that the text is editable. --> 1190 <attr name="inputType"> 1191 <!-- There is no content type. The text is not editable. --> 1192 <flag name="none" value="0x00000000" /> 1193 <!-- Just plain old text. Corresponds to 1194 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1195 {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. --> 1196 <flag name="text" value="0x00000001" /> 1197 <!-- Can be combined with <var>text</var> and its variations to 1198 request capitalization of all characters. Corresponds to 1199 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. --> 1200 <flag name="textCapCharacters" value="0x00001001" /> 1201 <!-- Can be combined with <var>text</var> and its variations to 1202 request capitalization of the first character of every word. Corresponds to 1203 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. --> 1204 <flag name="textCapWords" value="0x00002001" /> 1205 <!-- Can be combined with <var>text</var> and its variations to 1206 request capitalization of the first character of every sentence. Corresponds to 1207 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. --> 1208 <flag name="textCapSentences" value="0x00004001" /> 1209 <!-- Can be combined with <var>text</var> and its variations to 1210 request auto-correction of text being input. Corresponds to 1211 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. --> 1212 <flag name="textAutoCorrect" value="0x00008001" /> 1213 <!-- Can be combined with <var>text</var> and its variations to 1214 specify that this field will be doing its own auto-completion and 1215 talking with the input method appropriately. Corresponds to 1216 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. --> 1217 <flag name="textAutoComplete" value="0x00010001" /> 1218 <!-- Can be combined with <var>text</var> and its variations to 1219 allow multiple lines of text in the field. If this flag is not set, 1220 the text field will be constrained to a single line. Corresponds to 1221 {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. --> 1222 <flag name="textMultiLine" value="0x00020001" /> 1223 <!-- Can be combined with <var>text</var> and its variations to 1224 indicate that though the regular text view should not be multiple 1225 lines, the IME should provide multiple lines if it can. Corresponds to 1226 {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. --> 1227 <flag name="textImeMultiLine" value="0x00040001" /> 1228 <!-- Can be combined with <var>text</var> and its variations to 1229 indicate that the IME should not show any 1230 dictionary-based word suggestions. Corresponds to 1231 {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. --> 1232 <flag name="textNoSuggestions" value="0x00080001" /> 1233 <!-- Text that will be used as a URI. Corresponds to 1234 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1235 {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. --> 1236 <flag name="textUri" value="0x00000011" /> 1237 <!-- Text that will be used as an e-mail address. Corresponds to 1238 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1239 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. --> 1240 <flag name="textEmailAddress" value="0x00000021" /> 1241 <!-- Text that is being supplied as the subject of an e-mail. Corresponds to 1242 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1243 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. --> 1244 <flag name="textEmailSubject" value="0x00000031" /> 1245 <!-- Text that is the content of a short message. Corresponds to 1246 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1247 {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. --> 1248 <flag name="textShortMessage" value="0x00000041" /> 1249 <!-- Text that is the content of a long message. Corresponds to 1250 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1251 {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. --> 1252 <flag name="textLongMessage" value="0x00000051" /> 1253 <!-- Text that is the name of a person. Corresponds to 1254 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1255 {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. --> 1256 <flag name="textPersonName" value="0x00000061" /> 1257 <!-- Text that is being supplied as a postal mailing address. Corresponds to 1258 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1259 {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. --> 1260 <flag name="textPostalAddress" value="0x00000071" /> 1261 <!-- Text that is a password. Corresponds to 1262 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1263 {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. --> 1264 <flag name="textPassword" value="0x00000081" /> 1265 <!-- Text that is a password that should be visible. Corresponds to 1266 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1267 {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. --> 1268 <flag name="textVisiblePassword" value="0x00000091" /> 1269 <!-- Text that is being supplied as text in a web form. Corresponds to 1270 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1271 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. --> 1272 <flag name="textWebEditText" value="0x000000a1" /> 1273 <!-- Text that is filtering some other data. Corresponds to 1274 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1275 {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. --> 1276 <flag name="textFilter" value="0x000000b1" /> 1277 <!-- Text that is for phonetic pronunciation, such as a phonetic name 1278 field in a contact entry. Corresponds to 1279 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1280 {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. --> 1281 <flag name="textPhonetic" value="0x000000c1" /> 1282 <!-- Text that will be used as an e-mail address on a web form. Corresponds to 1283 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1284 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. --> 1285 <flag name="textWebEmailAddress" value="0x000000d1" /> 1286 <!-- Text that will be used as a password on a web form. Corresponds to 1287 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1288 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. --> 1289 <flag name="textWebPassword" value="0x000000e1" /> 1290 <!-- A numeric only field. Corresponds to 1291 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1292 {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. --> 1293 <flag name="number" value="0x00000002" /> 1294 <!-- Can be combined with <var>number</var> and its other options to 1295 allow a signed number. Corresponds to 1296 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1297 {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. --> 1298 <flag name="numberSigned" value="0x00001002" /> 1299 <!-- Can be combined with <var>number</var> and its other options to 1300 allow a decimal (fractional) number. Corresponds to 1301 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1302 {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. --> 1303 <flag name="numberDecimal" value="0x00002002" /> 1304 <!-- A numeric password field. Corresponds to 1305 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1306 {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. --> 1307 <flag name="numberPassword" value="0x00000012" /> 1308 <!-- For entering a phone number. Corresponds to 1309 {@link android.text.InputType#TYPE_CLASS_PHONE}. --> 1310 <flag name="phone" value="0x00000003" /> 1311 <!-- For entering a date and time. Corresponds to 1312 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1313 {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. --> 1314 <flag name="datetime" value="0x00000004" /> 1315 <!-- For entering a date. Corresponds to 1316 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1317 {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. --> 1318 <flag name="date" value="0x00000014" /> 1319 <!-- For entering a time. Corresponds to 1320 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1321 {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. --> 1322 <flag name="time" value="0x00000024" /> 1323 </attr> 1324 1325 <!-- Additional features you can enable in an IME associated with an editor 1326 to improve the integration with your application. The constants 1327 here correspond to those defined by 1328 {@link android.view.inputmethod.EditorInfo#imeOptions}. --> 1329 <attr name="imeOptions"> 1330 <!-- There are no special semantics associated with this editor. --> 1331 <flag name="normal" value="0x00000000" /> 1332 <!-- There is no specific action associated with this editor, let the 1333 editor come up with its own if it can. 1334 Corresponds to 1335 {@link android.view.inputmethod.EditorInfo#IME_NULL}. --> 1336 <flag name="actionUnspecified" value="0x00000000" /> 1337 <!-- This editor has no action associated with it. 1338 Corresponds to 1339 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. --> 1340 <flag name="actionNone" value="0x00000001" /> 1341 <!-- The action key performs a "go" 1342 operation to take the user to the target of the text they typed. 1343 Typically used, for example, when entering a URL. 1344 Corresponds to 1345 {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. --> 1346 <flag name="actionGo" value="0x00000002" /> 1347 <!-- The action key performs a "search" 1348 operation, taking the user to the results of searching for the text 1349 the have typed (in whatever context is appropriate). 1350 Corresponds to 1351 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. --> 1352 <flag name="actionSearch" value="0x00000003" /> 1353 <!-- The action key performs a "send" 1354 operation, delivering the text to its target. This is typically used 1355 when composing a message. 1356 Corresponds to 1357 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. --> 1358 <flag name="actionSend" value="0x00000004" /> 1359 <!-- The action key performs a "next" 1360 operation, taking the user to the next field that will accept text. 1361 Corresponds to 1362 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. --> 1363 <flag name="actionNext" value="0x00000005" /> 1364 <!-- The action key performs a "done" 1365 operation, closing the soft input method. 1366 Corresponds to 1367 {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. --> 1368 <flag name="actionDone" value="0x00000006" /> 1369 <!-- The action key performs a "previous" 1370 operation, taking the user to the previous field that will accept text. 1371 Corresponds to 1372 {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. --> 1373 <flag name="actionPrevious" value="0x00000007" /> 1374 <!-- Used to request that the IME never go 1375 into fullscreen mode. Applications need to be aware that the flag is not 1376 a guarantee, and not all IMEs will respect it. 1377 <p>Corresponds to 1378 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1379 <flag name="flagNoFullscreen" value="0x2000000" /> 1380 <!-- Like flagNavigateNext, but 1381 specifies there is something interesting that a backward navigation 1382 can focus on. If the user selects the IME's facility to backward 1383 navigate, this will show up in the application as an actionPrevious 1384 at {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1385 InputConnection.performEditorAction(int)}. 1386 <p>Corresponds to 1387 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1388 <flag name="flagNavigatePrevious" value="0x4000000" /> 1389 <!-- Used to specify that there is something 1390 interesting that a forward navigation can focus on. This is like using 1391 actionNext, except allows the IME to be multiline (with 1392 an enter key) as well as provide forward navigation. Note that some 1393 IMEs may not be able to do this, especially when running on a small 1394 screen where there is little space. In that case it does not need to 1395 present a UI for this option. Like actionNext, if the 1396 user selects the IME's facility to forward navigate, this will show up 1397 in the application at 1398 {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1399 InputConnection.performEditorAction(int)}. 1400 <p>Corresponds to 1401 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. --> 1402 <flag name="flagNavigateNext" value="0x8000000" /> 1403 <!-- Used to specify that the IME does not need 1404 to show its extracted text UI. For input methods that may be fullscreen, 1405 often when in landscape mode, this allows them to be smaller and let part 1406 of the application be shown behind. Though there will likely be limited 1407 access to the application available from the user, it can make the 1408 experience of a (mostly) fullscreen IME less jarring. Note that when 1409 this flag is specified the IME may <em>not</em> be set up to be able 1410 to display text, so it should only be used in situations where this is 1411 not needed. 1412 <p>Corresponds to 1413 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. --> 1414 <flag name="flagNoExtractUi" value="0x10000000" /> 1415 <!-- Used in conjunction with a custom action, this indicates that the 1416 action should not be available as an accessory button when the 1417 input method is full-screen. 1418 Note that by setting this flag, there can be cases where the action 1419 is simply never available to the user. Setting this generally means 1420 that you think showing text being edited is more important than the 1421 action you have supplied. 1422 <p>Corresponds to 1423 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. --> 1424 <flag name="flagNoAccessoryAction" value="0x20000000" /> 1425 <!-- Used in conjunction with a custom action, 1426 this indicates that the action should not be available in-line as 1427 a replacement for the "enter" key. Typically this is 1428 because the action has such a significant impact or is not recoverable 1429 enough that accidentally hitting it should be avoided, such as sending 1430 a message. Note that {@link android.widget.TextView} will 1431 automatically set this flag for you on multi-line text views. 1432 <p>Corresponds to 1433 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. --> 1434 <flag name="flagNoEnterAction" value="0x40000000" /> 1435 <!-- Used to request that the IME should be capable of inputting ASCII 1436 characters. The intention of this flag is to ensure that the user 1437 can type Roman alphabet characters in a {@link android.widget.TextView} 1438 used for, typically, account ID or password input. It is expected that IMEs 1439 normally are able to input ASCII even without being told so (such IMEs 1440 already respect this flag in a sense), but there could be some cases they 1441 aren't when, for instance, only non-ASCII input languagaes like Arabic, 1442 Greek, Hebrew, Russian are enabled in the IME. Applications need to be 1443 aware that the flag is not a guarantee, and not all IMEs will respect it. 1444 However, it is strongly recommended for IME authors to respect this flag 1445 especially when their IME could end up with a state that has only non-ASCII 1446 input languages enabled. 1447 <p>Corresponds to 1448 {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. --> 1449 <flag name="flagForceAscii" value="0x80000000" /> 1450 </attr> 1451 1452 <!-- A coordinate in the X dimension. --> 1453 <attr name="x" format="dimension" /> 1454 <!-- A coordinate in the Y dimension. --> 1455 <attr name="y" format="dimension" /> 1456 1457 <!-- Specifies how an object should position its content, on both the X and Y axes, 1458 within its own bounds. --> 1459 <attr name="gravity"> 1460 <!-- Push object to the top of its container, not changing its size. --> 1461 <flag name="top" value="0x30" /> 1462 <!-- Push object to the bottom of its container, not changing its size. --> 1463 <flag name="bottom" value="0x50" /> 1464 <!-- Push object to the left of its container, not changing its size. --> 1465 <flag name="left" value="0x03" /> 1466 <!-- Push object to the right of its container, not changing its size. --> 1467 <flag name="right" value="0x05" /> 1468 <!-- Place object in the vertical center of its container, not changing its size. --> 1469 <flag name="center_vertical" value="0x10" /> 1470 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1471 <flag name="fill_vertical" value="0x70" /> 1472 <!-- Place object in the horizontal center of its container, not changing its size. --> 1473 <flag name="center_horizontal" value="0x01" /> 1474 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1475 <flag name="fill_horizontal" value="0x07" /> 1476 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1477 <flag name="center" value="0x11" /> 1478 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1479 <flag name="fill" value="0x77" /> 1480 <!-- Additional option that can be set to have the top and/or bottom edges of 1481 the child clipped to its container's bounds. 1482 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1483 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1484 <flag name="clip_vertical" value="0x80" /> 1485 <!-- Additional option that can be set to have the left and/or right edges of 1486 the child clipped to its container's bounds. 1487 The clip will be based on the horizontal gravity: a left gravity will clip the right 1488 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1489 <flag name="clip_horizontal" value="0x08" /> 1490 <!-- Push object to the beginning of its container, not changing its size. --> 1491 <flag name="start" value="0x00800003" /> 1492 <!-- Push object to the end of its container, not changing its size. --> 1493 <flag name="end" value="0x00800005" /> 1494 </attr> 1495 1496 <!-- Controls whether links such as urls and email addresses are 1497 automatically found and converted to clickable links. The default 1498 value is "none", disabling this feature. --> 1499 <attr name="autoLink"> 1500 <!-- Match no patterns (default). --> 1501 <flag name="none" value="0x00" /> 1502 <!-- Match Web URLs. --> 1503 <flag name="web" value="0x01" /> 1504 <!-- Match email addresses. --> 1505 <flag name="email" value="0x02" /> 1506 <!-- Match phone numbers. --> 1507 <flag name="phone" value="0x04" /> 1508 <!-- Match map addresses. --> 1509 <flag name="map" value="0x08" /> 1510 <!-- Match all patterns (equivalent to web|email|phone|map). --> 1511 <flag name="all" value="0x0f" /> 1512 </attr> 1513 1514 <!-- Reference to an array resource that will populate a list/adapter. --> 1515 <attr name="entries" format="reference" /> 1516 1517 <!-- Standard gravity constant that a child supplies to its parent. 1518 Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. --> 1519 <attr name="layout_gravity"> 1520 <!-- Push object to the top of its container, not changing its size. --> 1521 <flag name="top" value="0x30" /> 1522 <!-- Push object to the bottom of its container, not changing its size. --> 1523 <flag name="bottom" value="0x50" /> 1524 <!-- Push object to the left of its container, not changing its size. --> 1525 <flag name="left" value="0x03" /> 1526 <!-- Push object to the right of its container, not changing its size. --> 1527 <flag name="right" value="0x05" /> 1528 <!-- Place object in the vertical center of its container, not changing its size. --> 1529 <flag name="center_vertical" value="0x10" /> 1530 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1531 <flag name="fill_vertical" value="0x70" /> 1532 <!-- Place object in the horizontal center of its container, not changing its size. --> 1533 <flag name="center_horizontal" value="0x01" /> 1534 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1535 <flag name="fill_horizontal" value="0x07" /> 1536 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1537 <flag name="center" value="0x11" /> 1538 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1539 <flag name="fill" value="0x77" /> 1540 <!-- Additional option that can be set to have the top and/or bottom edges of 1541 the child clipped to its container's bounds. 1542 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1543 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1544 <flag name="clip_vertical" value="0x80" /> 1545 <!-- Additional option that can be set to have the left and/or right edges of 1546 the child clipped to its container's bounds. 1547 The clip will be based on the horizontal gravity: a left gravity will clip the right 1548 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1549 <flag name="clip_horizontal" value="0x08" /> 1550 <!-- Push object to the beginning of its container, not changing its size. --> 1551 <flag name="start" value="0x00800003" /> 1552 <!-- Push object to the end of its container, not changing its size. --> 1553 <flag name="end" value="0x00800005" /> 1554 </attr> 1555 1556 <!-- Standard orientation constant. --> 1557 <attr name="orientation"> 1558 <!-- Defines an horizontal widget. --> 1559 <enum name="horizontal" value="0" /> 1560 <!-- Defines a vertical widget. --> 1561 <enum name="vertical" value="1" /> 1562 </attr> 1563 1564 <!-- Alignment constants. --> 1565 <attr name="alignmentMode"> 1566 <!-- Align the bounds of the children. 1567 See {@link android.widget.GridLayout#ALIGN_BOUNDS}. --> 1568 <enum name="alignBounds" value="0" /> 1569 <!-- Align the margins of the children. 1570 See {@link android.widget.GridLayout#ALIGN_MARGINS}. --> 1571 <enum name="alignMargins" value="1" /> 1572 </attr> 1573 1574 <!-- ========================== --> 1575 <!-- Key Codes --> 1576 <!-- ========================== --> 1577 <eat-comment /> 1578 1579 <!-- This enum provides the same keycode values as can be found in 1580 {@link android.view.KeyEvent}. --> 1581 <attr name="keycode"> 1582 <enum name="KEYCODE_UNKNOWN" value="0" /> 1583 <enum name="KEYCODE_SOFT_LEFT" value="1" /> 1584 <enum name="KEYCODE_SOFT_RIGHT" value="2" /> 1585 <enum name="KEYCODE_HOME" value="3" /> 1586 <enum name="KEYCODE_BACK" value="4" /> 1587 <enum name="KEYCODE_CALL" value="5" /> 1588 <enum name="KEYCODE_ENDCALL" value="6" /> 1589 <enum name="KEYCODE_0" value="7" /> 1590 <enum name="KEYCODE_1" value="8" /> 1591 <enum name="KEYCODE_2" value="9" /> 1592 <enum name="KEYCODE_3" value="10" /> 1593 <enum name="KEYCODE_4" value="11" /> 1594 <enum name="KEYCODE_5" value="12" /> 1595 <enum name="KEYCODE_6" value="13" /> 1596 <enum name="KEYCODE_7" value="14" /> 1597 <enum name="KEYCODE_8" value="15" /> 1598 <enum name="KEYCODE_9" value="16" /> 1599 <enum name="KEYCODE_STAR" value="17" /> 1600 <enum name="KEYCODE_POUND" value="18" /> 1601 <enum name="KEYCODE_DPAD_UP" value="19" /> 1602 <enum name="KEYCODE_DPAD_DOWN" value="20" /> 1603 <enum name="KEYCODE_DPAD_LEFT" value="21" /> 1604 <enum name="KEYCODE_DPAD_RIGHT" value="22" /> 1605 <enum name="KEYCODE_DPAD_CENTER" value="23" /> 1606 <enum name="KEYCODE_VOLUME_UP" value="24" /> 1607 <enum name="KEYCODE_VOLUME_DOWN" value="25" /> 1608 <enum name="KEYCODE_POWER" value="26" /> 1609 <enum name="KEYCODE_CAMERA" value="27" /> 1610 <enum name="KEYCODE_CLEAR" value="28" /> 1611 <enum name="KEYCODE_A" value="29" /> 1612 <enum name="KEYCODE_B" value="30" /> 1613 <enum name="KEYCODE_C" value="31" /> 1614 <enum name="KEYCODE_D" value="32" /> 1615 <enum name="KEYCODE_E" value="33" /> 1616 <enum name="KEYCODE_F" value="34" /> 1617 <enum name="KEYCODE_G" value="35" /> 1618 <enum name="KEYCODE_H" value="36" /> 1619 <enum name="KEYCODE_I" value="37" /> 1620 <enum name="KEYCODE_J" value="38" /> 1621 <enum name="KEYCODE_K" value="39" /> 1622 <enum name="KEYCODE_L" value="40" /> 1623 <enum name="KEYCODE_M" value="41" /> 1624 <enum name="KEYCODE_N" value="42" /> 1625 <enum name="KEYCODE_O" value="43" /> 1626 <enum name="KEYCODE_P" value="44" /> 1627 <enum name="KEYCODE_Q" value="45" /> 1628 <enum name="KEYCODE_R" value="46" /> 1629 <enum name="KEYCODE_S" value="47" /> 1630 <enum name="KEYCODE_T" value="48" /> 1631 <enum name="KEYCODE_U" value="49" /> 1632 <enum name="KEYCODE_V" value="50" /> 1633 <enum name="KEYCODE_W" value="51" /> 1634 <enum name="KEYCODE_X" value="52" /> 1635 <enum name="KEYCODE_Y" value="53" /> 1636 <enum name="KEYCODE_Z" value="54" /> 1637 <enum name="KEYCODE_COMMA" value="55" /> 1638 <enum name="KEYCODE_PERIOD" value="56" /> 1639 <enum name="KEYCODE_ALT_LEFT" value="57" /> 1640 <enum name="KEYCODE_ALT_RIGHT" value="58" /> 1641 <enum name="KEYCODE_SHIFT_LEFT" value="59" /> 1642 <enum name="KEYCODE_SHIFT_RIGHT" value="60" /> 1643 <enum name="KEYCODE_TAB" value="61" /> 1644 <enum name="KEYCODE_SPACE" value="62" /> 1645 <enum name="KEYCODE_SYM" value="63" /> 1646 <enum name="KEYCODE_EXPLORER" value="64" /> 1647 <enum name="KEYCODE_ENVELOPE" value="65" /> 1648 <enum name="KEYCODE_ENTER" value="66" /> 1649 <enum name="KEYCODE_DEL" value="67" /> 1650 <enum name="KEYCODE_GRAVE" value="68" /> 1651 <enum name="KEYCODE_MINUS" value="69" /> 1652 <enum name="KEYCODE_EQUALS" value="70" /> 1653 <enum name="KEYCODE_LEFT_BRACKET" value="71" /> 1654 <enum name="KEYCODE_RIGHT_BRACKET" value="72" /> 1655 <enum name="KEYCODE_BACKSLASH" value="73" /> 1656 <enum name="KEYCODE_SEMICOLON" value="74" /> 1657 <enum name="KEYCODE_APOSTROPHE" value="75" /> 1658 <enum name="KEYCODE_SLASH" value="76" /> 1659 <enum name="KEYCODE_AT" value="77" /> 1660 <enum name="KEYCODE_NUM" value="78" /> 1661 <enum name="KEYCODE_HEADSETHOOK" value="79" /> 1662 <enum name="KEYCODE_FOCUS" value="80" /> 1663 <enum name="KEYCODE_PLUS" value="81" /> 1664 <enum name="KEYCODE_MENU" value="82" /> 1665 <enum name="KEYCODE_NOTIFICATION" value="83" /> 1666 <enum name="KEYCODE_SEARCH" value="84" /> 1667 <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" /> 1668 <enum name="KEYCODE_MEDIA_STOP" value="86" /> 1669 <enum name="KEYCODE_MEDIA_NEXT" value="87" /> 1670 <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" /> 1671 <enum name="KEYCODE_MEDIA_REWIND" value="89" /> 1672 <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" /> 1673 <enum name="KEYCODE_MUTE" value="91" /> 1674 <enum name="KEYCODE_PAGE_UP" value="92" /> 1675 <enum name="KEYCODE_PAGE_DOWN" value="93" /> 1676 <enum name="KEYCODE_PICTSYMBOLS" value="94" /> 1677 <enum name="KEYCODE_SWITCH_CHARSET" value="95" /> 1678 <enum name="KEYCODE_BUTTON_A" value="96" /> 1679 <enum name="KEYCODE_BUTTON_B" value="97" /> 1680 <enum name="KEYCODE_BUTTON_C" value="98" /> 1681 <enum name="KEYCODE_BUTTON_X" value="99" /> 1682 <enum name="KEYCODE_BUTTON_Y" value="100" /> 1683 <enum name="KEYCODE_BUTTON_Z" value="101" /> 1684 <enum name="KEYCODE_BUTTON_L1" value="102" /> 1685 <enum name="KEYCODE_BUTTON_R1" value="103" /> 1686 <enum name="KEYCODE_BUTTON_L2" value="104" /> 1687 <enum name="KEYCODE_BUTTON_R2" value="105" /> 1688 <enum name="KEYCODE_BUTTON_THUMBL" value="106" /> 1689 <enum name="KEYCODE_BUTTON_THUMBR" value="107" /> 1690 <enum name="KEYCODE_BUTTON_START" value="108" /> 1691 <enum name="KEYCODE_BUTTON_SELECT" value="109" /> 1692 <enum name="KEYCODE_BUTTON_MODE" value="110" /> 1693 <enum name="KEYCODE_ESCAPE" value="111" /> 1694 <enum name="KEYCODE_FORWARD_DEL" value="112" /> 1695 <enum name="KEYCODE_CTRL_LEFT" value="113" /> 1696 <enum name="KEYCODE_CTRL_RIGHT" value="114" /> 1697 <enum name="KEYCODE_CAPS_LOCK" value="115" /> 1698 <enum name="KEYCODE_SCROLL_LOCK" value="116" /> 1699 <enum name="KEYCODE_META_LEFT" value="117" /> 1700 <enum name="KEYCODE_META_RIGHT" value="118" /> 1701 <enum name="KEYCODE_FUNCTION" value="119" /> 1702 <enum name="KEYCODE_SYSRQ" value="120" /> 1703 <enum name="KEYCODE_BREAK" value="121" /> 1704 <enum name="KEYCODE_MOVE_HOME" value="122" /> 1705 <enum name="KEYCODE_MOVE_END" value="123" /> 1706 <enum name="KEYCODE_INSERT" value="124" /> 1707 <enum name="KEYCODE_FORWARD" value="125" /> 1708 <enum name="KEYCODE_MEDIA_PLAY" value="126" /> 1709 <enum name="KEYCODE_MEDIA_PAUSE" value="127" /> 1710 <enum name="KEYCODE_MEDIA_CLOSE" value="128" /> 1711 <enum name="KEYCODE_MEDIA_EJECT" value="129" /> 1712 <enum name="KEYCODE_MEDIA_RECORD" value="130" /> 1713 <enum name="KEYCODE_F1" value="131" /> 1714 <enum name="KEYCODE_F2" value="132" /> 1715 <enum name="KEYCODE_F3" value="133" /> 1716 <enum name="KEYCODE_F4" value="134" /> 1717 <enum name="KEYCODE_F5" value="135" /> 1718 <enum name="KEYCODE_F6" value="136" /> 1719 <enum name="KEYCODE_F7" value="137" /> 1720 <enum name="KEYCODE_F8" value="138" /> 1721 <enum name="KEYCODE_F9" value="139" /> 1722 <enum name="KEYCODE_F10" value="140" /> 1723 <enum name="KEYCODE_F11" value="141" /> 1724 <enum name="KEYCODE_F12" value="142" /> 1725 <enum name="KEYCODE_NUM_LOCK" value="143" /> 1726 <enum name="KEYCODE_NUMPAD_0" value="144" /> 1727 <enum name="KEYCODE_NUMPAD_1" value="145" /> 1728 <enum name="KEYCODE_NUMPAD_2" value="146" /> 1729 <enum name="KEYCODE_NUMPAD_3" value="147" /> 1730 <enum name="KEYCODE_NUMPAD_4" value="148" /> 1731 <enum name="KEYCODE_NUMPAD_5" value="149" /> 1732 <enum name="KEYCODE_NUMPAD_6" value="150" /> 1733 <enum name="KEYCODE_NUMPAD_7" value="151" /> 1734 <enum name="KEYCODE_NUMPAD_8" value="152" /> 1735 <enum name="KEYCODE_NUMPAD_9" value="153" /> 1736 <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" /> 1737 <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" /> 1738 <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" /> 1739 <enum name="KEYCODE_NUMPAD_ADD" value="157" /> 1740 <enum name="KEYCODE_NUMPAD_DOT" value="158" /> 1741 <enum name="KEYCODE_NUMPAD_COMMA" value="159" /> 1742 <enum name="KEYCODE_NUMPAD_ENTER" value="160" /> 1743 <enum name="KEYCODE_NUMPAD_EQUALS" value="161" /> 1744 <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" /> 1745 <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" /> 1746 <enum name="KEYCODE_VOLUME_MUTE" value="164" /> 1747 <enum name="KEYCODE_INFO" value="165" /> 1748 <enum name="KEYCODE_CHANNEL_UP" value="166" /> 1749 <enum name="KEYCODE_CHANNEL_DOWN" value="167" /> 1750 <enum name="KEYCODE_ZOOM_IN" value="168" /> 1751 <enum name="KEYCODE_ZOOM_OUT" value="169" /> 1752 <enum name="KEYCODE_TV" value="170" /> 1753 <enum name="KEYCODE_WINDOW" value="171" /> 1754 <enum name="KEYCODE_GUIDE" value="172" /> 1755 <enum name="KEYCODE_DVR" value="173" /> 1756 <enum name="KEYCODE_BOOKMARK" value="174" /> 1757 <enum name="KEYCODE_CAPTIONS" value="175" /> 1758 <enum name="KEYCODE_SETTINGS" value="176" /> 1759 <enum name="KEYCODE_TV_POWER" value="177" /> 1760 <enum name="KEYCODE_TV_INPUT" value="178" /> 1761 <enum name="KEYCODE_STB_POWER" value="179" /> 1762 <enum name="KEYCODE_STB_INPUT" value="180" /> 1763 <enum name="KEYCODE_AVR_POWER" value="181" /> 1764 <enum name="KEYCODE_AVR_INPUT" value="182" /> 1765 <enum name="KEYCODE_PROG_GRED" value="183" /> 1766 <enum name="KEYCODE_PROG_GREEN" value="184" /> 1767 <enum name="KEYCODE_PROG_YELLOW" value="185" /> 1768 <enum name="KEYCODE_PROG_BLUE" value="186" /> 1769 <enum name="KEYCODE_APP_SWITCH" value="187" /> 1770 <enum name="KEYCODE_BUTTON_1" value="188" /> 1771 <enum name="KEYCODE_BUTTON_2" value="189" /> 1772 <enum name="KEYCODE_BUTTON_3" value="190" /> 1773 <enum name="KEYCODE_BUTTON_4" value="191" /> 1774 <enum name="KEYCODE_BUTTON_5" value="192" /> 1775 <enum name="KEYCODE_BUTTON_6" value="193" /> 1776 <enum name="KEYCODE_BUTTON_7" value="194" /> 1777 <enum name="KEYCODE_BUTTON_8" value="195" /> 1778 <enum name="KEYCODE_BUTTON_9" value="196" /> 1779 <enum name="KEYCODE_BUTTON_10" value="197" /> 1780 <enum name="KEYCODE_BUTTON_11" value="198" /> 1781 <enum name="KEYCODE_BUTTON_12" value="199" /> 1782 <enum name="KEYCODE_BUTTON_13" value="200" /> 1783 <enum name="KEYCODE_BUTTON_14" value="201" /> 1784 <enum name="KEYCODE_BUTTON_15" value="202" /> 1785 <enum name="KEYCODE_BUTTON_16" value="203" /> 1786 <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" /> 1787 <enum name="KEYCODE_MANNER_MODE" value="205" /> 1788 <enum name="KEYCODE_3D_MODE" value="206" /> 1789 <enum name="KEYCODE_CONTACTS" value="207" /> 1790 <enum name="KEYCODE_CALENDAR" value="208" /> 1791 <enum name="KEYCODE_MUSIC" value="209" /> 1792 <enum name="KEYCODE_CALCULATOR" value="210" /> 1793 <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" /> 1794 <enum name="KEYCODE_EISU" value="212" /> 1795 <enum name="KEYCODE_MUHENKAN" value="213" /> 1796 <enum name="KEYCODE_HENKAN" value="214" /> 1797 <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" /> 1798 <enum name="KEYCODE_YEN" value="216" /> 1799 <enum name="KEYCODE_RO" value="217" /> 1800 <enum name="KEYCODE_KANA" value="218" /> 1801 <enum name="KEYCODE_ASSIST" value="219" /> 1802 <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" /> 1803 <enum name="KEYCODE_BRIGHTNESS_UP" value="221" /> 1804 <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" /> 1805 <enum name="KEYCODE_MEDIA_SLEEP" value="223" /> 1806 <enum name="KEYCODE_MEDIA_WAKEUP" value="224" /> 1807 <enum name="KEYCODE_PAIRING" value="225" /> 1808 <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" /> 1809 <enum name="KEYCODE_11" value="227" /> 1810 <enum name="KEYCODE_12" value="228" /> 1811 <enum name="KEYCODE_LAST_CHANNEL" value="229" /> 1812 <enum name="KEYCODE_TV_DATA_SERVICE" value="230" /> 1813 <enum name="KEYCODE_VOICE_ASSIST" value="231" /> 1814 <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" /> 1815 <enum name="KEYCODE_TV_TELETEXT" value="233" /> 1816 <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" /> 1817 <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" /> 1818 <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" /> 1819 <enum name="KEYCODE_TV_SATELLITE" value="237" /> 1820 <enum name="KEYCODE_TV_SATELLITE_BS" value="238" /> 1821 <enum name="KEYCODE_TV_SATELLITE_CS" value="239" /> 1822 <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" /> 1823 <enum name="KEYCODE_TV_NETWORK" value="241" /> 1824 <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" /> 1825 <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" /> 1826 <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" /> 1827 <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" /> 1828 <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" /> 1829 <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" /> 1830 <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" /> 1831 <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" /> 1832 <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" /> 1833 <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" /> 1834 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" /> 1835 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" /> 1836 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" /> 1837 <enum name="KEYCODE_TV_ZOOM_MODE" value="255" /> 1838 <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" /> 1839 <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" /> 1840 <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" /> 1841 <enum name="KEYCODE_HELP" value="259" /> 1842 <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" /> 1843 <enum name="KEYCODE_NAVIGATE_NEXT" value="261" /> 1844 <enum name="KEYCODE_NAVIGATE_IN" value="262" /> 1845 <enum name="KEYCODE_NAVIGATE_OUT" value="263" /> 1846 <enum name="KEYCODE_STEM_PRIMARY" value="264" /> 1847 <enum name="KEYCODE_STEM_1" value="265" /> 1848 <enum name="KEYCODE_STEM_2" value="266" /> 1849 <enum name="KEYCODE_STEM_3" value="267" /> 1850 <enum name="KEYCODE_DPAD_UP_LEFT" value="268" /> 1851 <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" /> 1852 <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" /> 1853 <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" /> 1854 <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" /> 1855 <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" /> 1856 <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" /> 1857 <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" /> 1858 <enum name="KEYCODE_SOFT_SLEEP" value="276" /> 1859 <enum name="KEYCODE_CUT" value="277" /> 1860 <enum name="KEYCODE_COPY" value="278" /> 1861 <enum name="KEYCODE_PASTE" value="279" /> 1862 <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" /> 1863 <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" /> 1864 <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" /> 1865 <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" /> 1866 </attr> 1867 1868 <!-- ***************************************************************** --> 1869 <!-- These define collections of attributes that can are with classes. --> 1870 <!-- ***************************************************************** --> 1871 1872 <!-- ========================== --> 1873 <!-- Special attribute classes. --> 1874 <!-- ========================== --> 1875 <eat-comment /> 1876 1877 <!-- The set of attributes that describe a Windows's theme. --> 1878 <declare-styleable name="Window"> 1879 <attr name="windowBackground" /> 1880 <attr name="windowBackgroundFallback" /> 1881 <attr name="windowContentOverlay" /> 1882 <attr name="windowFrame" /> 1883 <attr name="windowNoTitle" /> 1884 <attr name="windowFullscreen" /> 1885 <attr name="windowOverscan" /> 1886 <attr name="windowIsFloating" /> 1887 <attr name="windowIsTranslucent" /> 1888 <attr name="windowShowWallpaper" /> 1889 <attr name="windowAnimationStyle" /> 1890 <attr name="windowSoftInputMode" /> 1891 <attr name="windowDisablePreview" /> 1892 <attr name="windowNoDisplay" /> 1893 <attr name="textColor" /> 1894 <attr name="backgroundDimEnabled" /> 1895 <attr name="backgroundDimAmount" /> 1896 <attr name="windowActionBar" /> 1897 <attr name="windowActionModeOverlay" /> 1898 <attr name="windowActionBarOverlay" /> 1899 <attr name="windowEnableSplitTouch" /> 1900 <attr name="windowCloseOnTouchOutside" /> 1901 <attr name="windowTranslucentStatus" /> 1902 <attr name="windowTranslucentNavigation" /> 1903 <attr name="windowSwipeToDismiss" /> 1904 <attr name="windowContentTransitions" /> 1905 <attr name="windowActivityTransitions" /> 1906 <attr name="windowContentTransitionManager" /> 1907 <attr name="windowActionBarFullscreenDecorLayout" /> 1908 1909 <!-- The minimum width the window is allowed to be, along the major 1910 axis of the screen. That is, when in landscape. Can be either 1911 an absolute dimension or a fraction of the screen size in that 1912 dimension. --> 1913 <attr name="windowMinWidthMajor" format="dimension|fraction" /> 1914 <!-- The minimum width the window is allowed to be, along the minor 1915 axis of the screen. That is, when in portrait. Can be either 1916 an absolute dimension or a fraction of the screen size in that 1917 dimension. --> 1918 <attr name="windowMinWidthMinor" format="dimension|fraction" /> 1919 1920 <!-- A fixed width for the window along the major axis of the screen, 1921 that is, when in landscape. Can be either an absolute dimension 1922 or a fraction of the screen size in that dimension. --> 1923 <attr name="windowFixedWidthMajor" format="dimension|fraction" /> 1924 <!-- A fixed height for the window along the minor axis of the screen, 1925 that is, when in landscape. Can be either an absolute dimension 1926 or a fraction of the screen size in that dimension. --> 1927 <attr name="windowFixedHeightMinor" format="dimension|fraction" /> 1928 1929 <!-- A fixed width for the window along the minor axis of the screen, 1930 that is, when in portrait. Can be either an absolute dimension 1931 or a fraction of the screen size in that dimension. --> 1932 <attr name="windowFixedWidthMinor" format="dimension|fraction" /> 1933 <!-- A fixed height for the window along the major axis of the screen, 1934 that is, when in portrait. Can be either an absolute dimension 1935 or a fraction of the screen size in that dimension. --> 1936 <attr name="windowFixedHeightMajor" format="dimension|fraction" /> 1937 <attr name="windowOutsetBottom" format="dimension" /> 1938 <!-- Reference to a Transition XML resource defining the desired Transition 1939 used to move Views into the initial Window's content Scene. Corresponds to 1940 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 1941 <attr name="windowEnterTransition"/> 1942 1943 <!-- Reference to a Transition XML resource defining the desired Transition 1944 used to move Views out of the scene when the Window is 1945 preparing to close. Corresponds to 1946 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 1947 <attr name="windowReturnTransition"/> 1948 1949 <!-- Reference to a Transition XML resource defining the desired Transition 1950 used to move Views out of the Window's content Scene when launching a new Activity. 1951 Corresponds to 1952 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 1953 <attr name="windowExitTransition"/> 1954 1955 <!-- Reference to a Transition XML resource defining the desired Transition 1956 used to move Views in to the scene when returning from a previously-started Activity. 1957 Corresponds to 1958 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 1959 <attr name="windowReenterTransition"/> 1960 1961 <!-- Reference to a Transition XML resource defining the desired Transition 1962 used to move shared elements transferred into the Window's initial content Scene. 1963 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 1964 android.transition.Transition)}. --> 1965 <attr name="windowSharedElementEnterTransition"/> 1966 1967 <!-- Reference to a Transition XML resource defining the desired Transition 1968 used to move shared elements transferred back to a calling Activity. 1969 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 1970 android.transition.Transition)}. --> 1971 <attr name="windowSharedElementReturnTransition"/> 1972 1973 <!-- Reference to a Transition XML resource defining the desired Transition 1974 used when starting a new Activity to move shared elements prior to transferring 1975 to the called Activity. 1976 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 1977 android.transition.Transition)}. --> 1978 <attr name="windowSharedElementExitTransition"/> 1979 1980 <!-- Reference to a Transition XML resource defining the desired Transition 1981 used for shared elements transferred back to a calling Activity. 1982 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 1983 android.transition.Transition)}. --> 1984 <attr name="windowSharedElementReenterTransition"/> 1985 1986 1987 <!-- Flag indicating whether this Window's transition should overlap with 1988 the exiting transition of the calling Activity. Corresponds to 1989 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> 1990 <attr name="windowAllowEnterTransitionOverlap"/> 1991 1992 <!-- Flag indicating whether this Window's transition should overlap with 1993 the exiting transition of the called Activity when the called Activity 1994 finishes. Corresponds to 1995 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. --> 1996 <attr name="windowAllowReturnTransitionOverlap"/> 1997 1998 <!-- Indicates whether or not shared elements should use an overlay 1999 during transitions. The default value is true. --> 2000 <attr name="windowSharedElementsUseOverlay"/> 2001 2002 <!-- Flag indicating whether this Window is responsible for drawing the background for the 2003 system bars. If true and the window is not floating, the system bars are drawn with a 2004 transparent background and the corresponding areas in this window are filled with the 2005 colors specified in {@link android.R.attr#statusBarColor} and 2006 {@link android.R.attr#navigationBarColor}. Corresponds to 2007 {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. --> 2008 <attr name="windowDrawsSystemBarBackgrounds" format="boolean" /> 2009 2010 <!-- The color for the status bar. If the color is not opaque, consider setting 2011 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 2012 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}. 2013 For this to take effect, the window must be drawing the system bar backgrounds with 2014 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2015 have been requested to be translucent with 2016 {@link android.R.attr#windowTranslucentStatus}. 2017 Corresponds to {@link android.view.Window#setStatusBarColor(int)}. --> 2018 <attr name="statusBarColor" format="color" /> 2019 2020 <!-- The color for the navigation bar. If the color is not opaque, consider setting 2021 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 2022 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}. 2023 For this to take effect, the window must be drawing the system bar backgrounds with 2024 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 2025 have been requested to be translucent with 2026 {@link android.R.attr#windowTranslucentNavigation}. 2027 Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. --> 2028 <attr name="navigationBarColor" format="color" /> 2029 2030 <!-- The duration, in milliseconds, of the window background fade duration 2031 when transitioning into or away from an Activity when called with an 2032 Activity Transition. Corresponds to 2033 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 2034 <attr name="windowTransitionBackgroundFadeDuration" /> 2035 2036 <!-- Elevation to use for the window. --> 2037 <attr name="windowElevation" format="dimension" /> 2038 2039 <!-- Whether to clip window content to the outline of the window background. --> 2040 <attr name="windowClipToOutline" format="boolean" /> 2041 2042 <!-- If set, the status bar will be drawn such that it is compatible with a light 2043 status bar background. 2044 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2045 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2046 have been requested to be translucent with 2047 {@link android.R.attr#windowTranslucentStatus}. 2048 Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on 2049 the decor view. --> 2050 <attr name="windowLightStatusBar" format="boolean" /> 2051 </declare-styleable> 2052 2053 <!-- The set of attributes that describe a AlertDialog's theme. --> 2054 <declare-styleable name="AlertDialog"> 2055 <attr name="fullDark" format="reference|color" /> 2056 <attr name="topDark" format="reference|color" /> 2057 <attr name="centerDark" format="reference|color" /> 2058 <attr name="bottomDark" format="reference|color" /> 2059 <attr name="fullBright" format="reference|color" /> 2060 <attr name="topBright" format="reference|color" /> 2061 <attr name="centerBright" format="reference|color" /> 2062 <attr name="bottomBright" format="reference|color" /> 2063 <attr name="bottomMedium" format="reference|color" /> 2064 <attr name="centerMedium" format="reference|color" /> 2065 <attr name="layout" /> 2066 <attr name="buttonPanelSideLayout" format="reference" /> 2067 <attr name="listLayout" format="reference" /> 2068 <attr name="multiChoiceItemLayout" format="reference" /> 2069 <attr name="singleChoiceItemLayout" format="reference" /> 2070 <attr name="listItemLayout" format="reference" /> 2071 <attr name="progressLayout" format="reference" /> 2072 <attr name="horizontalProgressLayout" format="reference" /> 2073 <!-- @hide Not ready for public use. --> 2074 <attr name="showTitle" format="boolean" /> 2075 <!-- @hide Whether fullDark, etc. should use default values if null. --> 2076 <attr name="needsDefaultBackgrounds" format="boolean" /> 2077 <!-- @hide Workaround until we replace AlertController with custom layout. --> 2078 <attr name="controllerType"> 2079 <!-- The default controller. --> 2080 <enum name="normal" value="0" /> 2081 <!-- Controller for micro specific layout. --> 2082 <enum name="micro" value="1" /> 2083 </attr> 2084 <!-- @hide Offset when scrolling to a selection. --> 2085 <attr name="selectionScrollOffset" format="dimension" /> 2086 </declare-styleable> 2087 2088 <!-- @hide --> 2089 <declare-styleable name="ButtonBarLayout"> 2090 <!-- Whether to automatically stack the buttons when there is not 2091 enough space to lay them out side-by-side. --> 2092 <attr name="allowStacking" format="boolean" /> 2093 </declare-styleable> 2094 2095 <!-- Fragment animation class attributes. --> 2096 <declare-styleable name="FragmentAnimation"> 2097 <attr name="fragmentOpenEnterAnimation" format="reference" /> 2098 <attr name="fragmentOpenExitAnimation" format="reference" /> 2099 <attr name="fragmentCloseEnterAnimation" format="reference" /> 2100 <attr name="fragmentCloseExitAnimation" format="reference" /> 2101 <attr name="fragmentFadeEnterAnimation" format="reference" /> 2102 <attr name="fragmentFadeExitAnimation" format="reference" /> 2103 </declare-styleable> 2104 2105 <!-- Window animation class attributes. --> 2106 <declare-styleable name="WindowAnimation"> 2107 <!-- The animation used when a window is being added. --> 2108 <attr name="windowEnterAnimation" format="reference" /> 2109 <!-- The animation used when a window is being removed. --> 2110 <attr name="windowExitAnimation" format="reference" /> 2111 <!-- The animation used when a window is going from INVISIBLE to VISIBLE. --> 2112 <attr name="windowShowAnimation" format="reference" /> 2113 <!-- The animation used when a window is going from VISIBLE to INVISIBLE. --> 2114 <attr name="windowHideAnimation" format="reference" /> 2115 2116 <!-- When opening a new activity, this is the animation that is 2117 run on the next activity (which is entering the screen). --> 2118 <attr name="activityOpenEnterAnimation" format="reference" /> 2119 <!-- When opening a new activity, this is the animation that is 2120 run on the previous activity (which is exiting the screen). --> 2121 <attr name="activityOpenExitAnimation" format="reference" /> 2122 <!-- When closing the current activity, this is the animation that is 2123 run on the next activity (which is entering the screen). --> 2124 <attr name="activityCloseEnterAnimation" format="reference" /> 2125 <!-- When closing the current activity, this is the animation that is 2126 run on the current activity (which is exiting the screen). --> 2127 <attr name="activityCloseExitAnimation" format="reference" /> 2128 <!-- When opening an activity in a new task, this is the animation that is 2129 run on the activity of the new task (which is entering the screen). --> 2130 <attr name="taskOpenEnterAnimation" format="reference" /> 2131 <!-- When opening an activity in a new task, this is the animation that is 2132 run on the activity of the old task (which is exiting the screen). --> 2133 <attr name="taskOpenExitAnimation" format="reference" /> 2134 <!-- When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, 2135 this is the animation that is run on the activity of the new task (which is 2136 entering the screen and then leaving). --> 2137 <attr name="launchTaskBehindTargetAnimation" format="reference" /> 2138 <!-- When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, 2139 this is the animation that is run on the activity of the old task (which is 2140 already on the screen and then stays on). --> 2141 <attr name="launchTaskBehindSourceAnimation" format="reference" /> 2142 <!-- When closing the last activity of a task, this is the animation that is 2143 run on the activity of the next task (which is entering the screen). --> 2144 <attr name="taskCloseEnterAnimation" format="reference" /> 2145 <!-- When opening an activity in a new task, this is the animation that is 2146 run on the activity of the old task (which is exiting the screen). --> 2147 <attr name="taskCloseExitAnimation" format="reference" /> 2148 <!-- When bringing an existing task to the foreground, this is the 2149 animation that is run on the top activity of the task being brought 2150 to the foreground (which is entering the screen). --> 2151 <attr name="taskToFrontEnterAnimation" format="reference" /> 2152 <!-- When bringing an existing task to the foreground, this is the 2153 animation that is run on the current foreground activity 2154 (which is exiting the screen). --> 2155 <attr name="taskToFrontExitAnimation" format="reference" /> 2156 <!-- When sending the current task to the background, this is the 2157 animation that is run on the top activity of the task behind 2158 it (which is entering the screen). --> 2159 <attr name="taskToBackEnterAnimation" format="reference" /> 2160 <!-- When sending the current task to the background, this is the 2161 animation that is run on the top activity of the current task 2162 (which is exiting the screen). --> 2163 <attr name="taskToBackExitAnimation" format="reference" /> 2164 2165 <!-- When opening a new activity that shows the wallpaper, while 2166 currently not showing the wallpaper, this is the animation that 2167 is run on the new wallpaper activity (which is entering the screen). --> 2168 <attr name="wallpaperOpenEnterAnimation" format="reference" /> 2169 <!-- When opening a new activity that shows the wallpaper, while 2170 currently not showing the wallpaper, this is the animation that 2171 is run on the current activity (which is exiting the screen). --> 2172 <attr name="wallpaperOpenExitAnimation" format="reference" /> 2173 <!-- When opening a new activity that hides the wallpaper, while 2174 currently showing the wallpaper, this is the animation that 2175 is run on the new activity (which is entering the screen). --> 2176 <attr name="wallpaperCloseEnterAnimation" format="reference" /> 2177 <!-- When opening a new activity that hides the wallpaper, while 2178 currently showing the wallpaper, this is the animation that 2179 is run on the old wallpaper activity (which is exiting the screen). --> 2180 <attr name="wallpaperCloseExitAnimation" format="reference" /> 2181 2182 <!-- When opening a new activity that is on top of the wallpaper 2183 when the current activity is also on top of the wallpaper, 2184 this is the animation that is run on the new activity 2185 (which is entering the screen). The wallpaper remains 2186 static behind the animation. --> 2187 <attr name="wallpaperIntraOpenEnterAnimation" format="reference" /> 2188 <!-- When opening a new activity that is on top of the wallpaper 2189 when the current activity is also on top of the wallpaper, 2190 this is the animation that is run on the current activity 2191 (which is exiting the screen). The wallpaper remains 2192 static behind the animation. --> 2193 <attr name="wallpaperIntraOpenExitAnimation" format="reference" /> 2194 <!-- When closing a foreround activity that is on top of the wallpaper 2195 when the previous activity is also on top of the wallpaper, 2196 this is the animation that is run on the previous activity 2197 (which is entering the screen). The wallpaper remains 2198 static behind the animation. --> 2199 <attr name="wallpaperIntraCloseEnterAnimation" format="reference" /> 2200 <!-- When closing a foreround activity that is on top of the wallpaper 2201 when the previous activity is also on top of the wallpaper, 2202 this is the animation that is run on the current activity 2203 (which is exiting the screen). The wallpaper remains 2204 static behind the animation. --> 2205 <attr name="wallpaperIntraCloseExitAnimation" format="reference" /> 2206 2207 <!-- When opening a new activity from a RemoteViews, this is the 2208 animation that is run on the next activity (which is entering the 2209 screen). Requires config_overrideRemoteViewsActivityTransition to 2210 be true. --> 2211 <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" /> 2212 2213 </declare-styleable> 2214 2215 <!-- ============================= --> 2216 <!-- View package class attributes --> 2217 <!-- ============================= --> 2218 <eat-comment /> 2219 2220 <!-- Attributes that can be used with {@link android.view.View} or 2221 any of its subclasses. Also see {@link #ViewGroup_Layout} for 2222 attributes that are processed by the view's parent. --> 2223 <declare-styleable name="View"> 2224 <!-- Supply an identifier name for this view, to later retrieve it 2225 with {@link android.view.View#findViewById View.findViewById()} or 2226 {@link android.app.Activity#findViewById Activity.findViewById()}. 2227 This must be a 2228 resource reference; typically you set this using the 2229 <code>@+</code> syntax to create a new ID resources. 2230 For example: <code>android:id="@+id/my_id"</code> which 2231 allows you to later retrieve the view 2232 with <code>findViewById(R.id.my_id)</code>. --> 2233 <attr name="id" format="reference" /> 2234 2235 <!-- Supply a tag for this view containing a String, to be retrieved 2236 later with {@link android.view.View#getTag View.getTag()} or 2237 searched for with {@link android.view.View#findViewWithTag 2238 View.findViewWithTag()}. It is generally preferable to use 2239 IDs (through the android:id attribute) instead of tags because 2240 they are faster and allow for compile-time type checking. --> 2241 <attr name="tag" format="string" /> 2242 2243 <!-- The initial horizontal scroll offset, in pixels.--> 2244 <attr name="scrollX" format="dimension" /> 2245 2246 <!-- The initial vertical scroll offset, in pixels. --> 2247 <attr name="scrollY" format="dimension" /> 2248 2249 <!-- A drawable to use as the background. This can be either a reference 2250 to a full drawable resource (such as a PNG image, 9-patch, 2251 XML state list description, etc), or a solid color such as "#ff000000" 2252 (black). --> 2253 <attr name="background" format="reference|color" /> 2254 2255 <!-- Sets the padding, in pixels, of all four edges. Padding is defined as 2256 space between the edges of the view and the view's content. This value will take 2257 precedence over any of the edge-specific values, including 2258 paddingHorizontal and paddingVertical, if set. A view's size 2259 will include its padding. If a {@link android.R.attr#background} 2260 is provided, the padding will initially be set to that (0 if the 2261 drawable does not have padding). Explicitly setting a padding value 2262 will override the corresponding padding found in the background. --> 2263 <attr name="padding" format="dimension" /> 2264 <!-- Sets the padding, in pixels, of the left and right edges; see 2265 {@link android.R.attr#padding}. This value will take precedence over 2266 paddingLeft, paddingRight, paddingStart, and paddingEnd, if set. --> 2267 <attr name="paddingHorizontal" format="dimension" /> 2268 <!-- Sets the padding, in pixels, of the top and bottom edges; see 2269 {@link android.R.attr#padding}. This value will take precedence over 2270 paddingTop and paddingBottom, if set. --> 2271 <attr name="paddingVertical" format="dimension" /> 2272 <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. --> 2273 <attr name="paddingLeft" format="dimension" /> 2274 <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. --> 2275 <attr name="paddingTop" format="dimension" /> 2276 <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. --> 2277 <attr name="paddingRight" format="dimension" /> 2278 <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. --> 2279 <attr name="paddingBottom" format="dimension" /> 2280 <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. --> 2281 <attr name="paddingStart" format="dimension" /> 2282 <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. --> 2283 <attr name="paddingEnd" format="dimension" /> 2284 2285 <!-- Controls whether a view can take focus. By default, this is "auto" which lets the 2286 framework determine whether a user can move focus to a view. By setting this attribute 2287 to true the view is allowed to take focus. By setting it to "false" the view will not 2288 take focus. This value does not impact the behavior of 2289 directly calling {@link android.view.View#requestFocus}, which will 2290 always request focus regardless of this view. It only impacts where 2291 focus navigation will try to move focus. --> 2292 <attr name="focusable" format="boolean|enum"> 2293 <enum name="auto" value="0x00000010" /> 2294 </attr> 2295 2296 <!-- Controls the auto-fill behavior for this view. --> 2297 <attr name="autoFillMode"> 2298 <!-- Inherit the behavior from the parent. If there is no parent it is auto. This is the 2299 default value for this attribute.--> 2300 <enum name="inherit" value="0" /> 2301 <!-- Allows this view to automatically trigger an auto-fill request when it get focus. 2302 --> 2303 <enum name="auto" value="1" /> 2304 <!-- Do not trigger an auto-fill request when this view is focused. The user can still 2305 manually force an auto-fill request for this view. --> 2306 <enum name="manual" value="2" /> 2307 </attr> 2308 2309 <!-- Describes the content of a view so that a auto-fill service can fill in the appropriate 2310 data. Multiple flags can be combined to mean e.g. emailAddress or postalAddress. --> 2311 <attr name="autoFillHint"> 2312 <!-- No hint. --> 2313 <flag name="none" value="0" /> 2314 <!-- The view contains an email address. --> 2315 <flag name="emailAddress" value="0x1" /> 2316 <!-- The view contains a real name. --> 2317 <flag name="name" value="0x2" /> 2318 <!-- The view contains a user name. --> 2319 <flag name="username" value="0x4" /> 2320 <!-- The view contains a password. --> 2321 <flag name="password" value="0x8" /> 2322 <!-- The view contains a phone number. --> 2323 <flag name="phone" value="0x10" /> 2324 <!-- The view contains a postal address. --> 2325 <flag name="postalAddress" value="0x20" /> 2326 <!-- The view contains a postal code. --> 2327 <flag name="postalCode" value="0x40" /> 2328 <!-- The view contains a credit card number. --> 2329 <flag name="creditCardNumber" value="0x80" /> 2330 <!-- The view contains a credit card security code --> 2331 <flag name="creditCardSecurityCode" value="0x100" /> 2332 <!-- The view contains a credit card expiration date --> 2333 <flag name="creditCardExpirationDate" value="0x200" /> 2334 <!-- The view contains the month a credit card expires --> 2335 <flag name="creditCardExpirationMonth" value="0x400" /> 2336 <!-- The view contains the year a credit card expires --> 2337 <flag name="creditCardExpirationYear" value="0x800" /> 2338 <!-- The view contains the day a credit card expires --> 2339 <flag name="creditCardExpirationDay" value="0x1000" /> 2340 </attr> 2341 2342 <!-- Hints the Android System whether the view node associated with this View should be 2343 included in a view structure used for autofill purposes. --> 2344 <attr name="importantForAutofill"> 2345 <!-- Let the Android System use its heuristics to determine if the view is important for autofill. --> 2346 <flag name="auto" value="0" /> 2347 <!-- Hint the Android System that this view is important for autofill. --> 2348 <flag name="yes" value="0x1" /> 2349 <!-- Hint the Android System that this view is *not* important for autofill. --> 2350 <flag name="no" value="0x2" /> 2351 </attr> 2352 2353 <!-- Boolean that controls whether a view can take focus while in touch mode. 2354 If this is true for a view, that view can gain focus when clicked on, and can keep 2355 focus if another view is clicked on that doesn't have this attribute set to true. --> 2356 <attr name="focusableInTouchMode" format="boolean" /> 2357 2358 <!-- Controls the initial visibility of the view. --> 2359 <attr name="visibility"> 2360 <!-- Visible on screen; the default value. --> 2361 <enum name="visible" value="0" /> 2362 <!-- Not displayed, but taken into account during layout (space is left for it). --> 2363 <enum name="invisible" value="1" /> 2364 <!-- Completely hidden, as if the view had not been added. --> 2365 <enum name="gone" value="2" /> 2366 </attr> 2367 2368 <!-- Boolean internal attribute to adjust view layout based on 2369 system windows such as the status bar. 2370 If true, adjusts the padding of this view to leave space for the system windows. 2371 Will only take effect if this view is in a non-embedded activity. --> 2372 <attr name="fitsSystemWindows" format="boolean" /> 2373 2374 <!-- Defines which scrollbars should be displayed on scrolling or not. --> 2375 <attr name="scrollbars"> 2376 <!-- No scrollbar is displayed. --> 2377 <flag name="none" value="0x00000000" /> 2378 <!-- Displays horizontal scrollbar only. --> 2379 <flag name="horizontal" value="0x00000100" /> 2380 <!-- Displays vertical scrollbar only. --> 2381 <flag name="vertical" value="0x00000200" /> 2382 </attr> 2383 2384 <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or 2385 inset. When inset, they add to the padding of the view. And the 2386 scrollbars can be drawn inside the padding area or on the edge of 2387 the view. For example, if a view has a background drawable and you 2388 want to draw the scrollbars inside the padding specified by the 2389 drawable, you can use insideOverlay or insideInset. If you want them 2390 to appear at the edge of the view, ignoring the padding, then you can 2391 use outsideOverlay or outsideInset.--> 2392 <attr name="scrollbarStyle"> 2393 <!-- Inside the padding and overlaid. --> 2394 <enum name="insideOverlay" value="0x0" /> 2395 <!-- Inside the padding and inset. --> 2396 <enum name="insideInset" value="0x01000000" /> 2397 <!-- Edge of the view and overlaid. --> 2398 <enum name="outsideOverlay" value="0x02000000" /> 2399 <!-- Edge of the view and inset. --> 2400 <enum name="outsideInset" value="0x03000000" /> 2401 </attr> 2402 2403 <!-- Set this if the view will serve as a scrolling container, meaning 2404 that it can be resized to shrink its overall window so that there 2405 will be space for an input method. If not set, the default 2406 value will be true if "scrollbars" has the vertical scrollbar 2407 set, else it will be false. --> 2408 <attr name="isScrollContainer" format="boolean" /> 2409 2410 <!-- Defines whether to fade out scrollbars when they are not in use. --> 2411 <attr name="fadeScrollbars" format="boolean" /> 2412 <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. --> 2413 <attr name="scrollbarFadeDuration" format="integer" /> 2414 <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. --> 2415 <attr name="scrollbarDefaultDelayBeforeFade" format="integer" /> 2416 <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. --> 2417 <attr name="scrollbarSize" format="dimension" /> 2418 <!-- Defines the horizontal scrollbar thumb drawable. --> 2419 <attr name="scrollbarThumbHorizontal" format="reference" /> 2420 <!-- Defines the vertical scrollbar thumb drawable. --> 2421 <attr name="scrollbarThumbVertical" format="reference" /> 2422 <!-- Defines the horizontal scrollbar track drawable. --> 2423 <attr name="scrollbarTrackHorizontal" format="reference" /> 2424 <!-- Defines the vertical scrollbar track drawable. --> 2425 <attr name="scrollbarTrackVertical" format="reference" /> 2426 <!-- Defines whether the horizontal scrollbar track should always be drawn. --> 2427 <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" /> 2428 <!-- Defines whether the vertical scrollbar track should always be drawn. --> 2429 <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" /> 2430 2431 <!-- This attribute is ignored in API level 14 2432 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher. 2433 Using fading edges may introduce noticeable performance 2434 degradations and should be used only when required by the application's 2435 visual design. To request fading edges with API level 14 and above, 2436 use the <code>android:requiresFadingEdge</code> attribute instead. --> 2437 <attr name="fadingEdge"> 2438 <!-- No edge is faded. --> 2439 <flag name="none" value="0x00000000" /> 2440 <!-- Fades horizontal edges only. --> 2441 <flag name="horizontal" value="0x00001000" /> 2442 <!-- Fades vertical edges only. --> 2443 <flag name="vertical" value="0x00002000" /> 2444 </attr> 2445 <!-- Defines which edges should be faded on scrolling. --> 2446 <attr name="requiresFadingEdge"> 2447 <!-- No edge is faded. --> 2448 <flag name="none" value="0x00000000" /> 2449 <!-- Fades horizontal edges only. --> 2450 <flag name="horizontal" value="0x00001000" /> 2451 <!-- Fades vertical edges only. --> 2452 <flag name="vertical" value="0x00002000" /> 2453 </attr> 2454 <!-- Defines the length of the fading edges. --> 2455 <attr name="fadingEdgeLength" format="dimension" /> 2456 2457 <!-- Defines the next view to give focus to when the next focus is 2458 {@link android.view.View#FOCUS_LEFT}. 2459 2460 If the reference refers to a view that does not exist or is part 2461 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2462 will result when the reference is accessed.--> 2463 <attr name="nextFocusLeft" format="reference"/> 2464 2465 <!-- Defines the next view to give focus to when the next focus is 2466 {@link android.view.View#FOCUS_RIGHT} 2467 2468 If the reference refers to a view that does not exist or is part 2469 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2470 will result when the reference is accessed.--> 2471 <attr name="nextFocusRight" format="reference"/> 2472 2473 <!-- Defines the next view to give focus to when the next focus is 2474 {@link android.view.View#FOCUS_UP} 2475 2476 If the reference refers to a view that does not exist or is part 2477 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2478 will result when the reference is accessed.--> 2479 <attr name="nextFocusUp" format="reference"/> 2480 2481 <!-- Defines the next view to give focus to when the next focus is 2482 {@link android.view.View#FOCUS_DOWN} 2483 2484 If the reference refers to a view that does not exist or is part 2485 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2486 will result when the reference is accessed.--> 2487 <attr name="nextFocusDown" format="reference"/> 2488 2489 <!-- Defines the next view to give focus to when the next focus is 2490 {@link android.view.View#FOCUS_FORWARD} 2491 2492 If the reference refers to a view that does not exist or is part 2493 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2494 will result when the reference is accessed.--> 2495 <attr name="nextFocusForward" format="reference"/> 2496 2497 <!-- Defines whether this view reacts to click events. --> 2498 <attr name="clickable" format="boolean" /> 2499 2500 <!-- Defines whether this view reacts to long click events. --> 2501 <attr name="longClickable" format="boolean" /> 2502 2503 <!-- Defines whether this view reacts to context click events. --> 2504 <attr name="contextClickable" format="boolean" /> 2505 2506 <!-- If false, no state will be saved for this view when it is being 2507 frozen. The default is true, allowing the view to be saved 2508 (however it also must have an ID assigned to it for its 2509 state to be saved). Setting this to false only disables the 2510 state for this view, not for its children which may still 2511 be saved. --> 2512 <attr name="saveEnabled" format="boolean" /> 2513 2514 <!-- Specifies whether to filter touches when the view's window is obscured by 2515 another visible window. When set to true, the view will not receive touches 2516 whenever a toast, dialog or other window appears above the view's window. 2517 Refer to the {@link android.view.View} security documentation for more details. --> 2518 <attr name="filterTouchesWhenObscured" format="boolean" /> 2519 2520 <!-- Defines the quality of translucent drawing caches. This property is used 2521 only when the drawing cache is enabled and translucent. The default value is auto. --> 2522 <attr name="drawingCacheQuality"> 2523 <!-- Lets the framework decide what quality level should be used 2524 for the drawing cache. --> 2525 <enum name="auto" value="0" /> 2526 <!-- Low quality. When set to low quality, the drawing cache uses a lower color 2527 depth, thus losing precision in rendering gradients, but uses less memory. --> 2528 <enum name="low" value="1" /> 2529 <!-- High quality. When set to high quality, the drawing cache uses a higher 2530 color depth but uses more memory. --> 2531 <enum name="high" value="2" /> 2532 </attr> 2533 2534 <!-- Controls whether the view's window should keep the screen on 2535 while visible. --> 2536 <attr name="keepScreenOn" format="boolean" /> 2537 2538 <!-- When this attribute is set to true, the view gets its drawable state 2539 (focused, pressed, etc.) from its direct parent rather than from itself. --> 2540 <attr name="duplicateParentState" format="boolean" /> 2541 2542 <!-- Defines the minimum height of the view. It is not guaranteed 2543 the view will be able to achieve this minimum height (for example, 2544 if its parent layout constrains it with less available height). --> 2545 <attr name="minHeight" /> 2546 2547 <!-- Defines the minimum width of the view. It is not guaranteed 2548 the view will be able to achieve this minimum width (for example, 2549 if its parent layout constrains it with less available width). --> 2550 <attr name="minWidth" /> 2551 2552 <!-- Boolean that controls whether a view should have sound effects 2553 enabled for events such as clicking and touching. --> 2554 <attr name="soundEffectsEnabled" format="boolean" /> 2555 2556 <!-- Boolean that controls whether a view should have haptic feedback 2557 enabled for events such as long presses. --> 2558 <attr name="hapticFeedbackEnabled" format="boolean" /> 2559 2560 <!-- Defines text that briefly describes content of the view. This property is used 2561 primarily for accessibility. Since some views do not have textual 2562 representation this attribute can be used for providing such. --> 2563 <attr name="contentDescription" format="string" localization="suggested" /> 2564 2565 <!-- Sets the id of a view before which this one is visited in accessibility traversal. 2566 A screen-reader must visit the content of this view before the content of the one 2567 it precedes. 2568 {@see android.view.View#setAccessibilityTraversalBefore(int)} --> 2569 <attr name="accessibilityTraversalBefore" format="integer" /> 2570 2571 <!-- Sets the id of a view after which this one is visited in accessibility traversal. 2572 A screen-reader must visit the content of the other view before the content of 2573 this one. 2574 {@see android.view.View#setAccessibilityTraversalAfter(int)} --> 2575 <attr name="accessibilityTraversalAfter" format="integer" /> 2576 2577 <!-- Name of the method in this View's context to invoke when the view is 2578 clicked. This name must correspond to a public method that takes 2579 exactly one parameter of type View. For instance, if you specify 2580 <code>android:onClick="sayHello"</code>, you must declare a 2581 <code>public void sayHello(View v)</code> method of your context 2582 (typically, your Activity). --> 2583 <attr name="onClick" format="string" /> 2584 2585 <!-- Defines over-scrolling behavior. This property is used only if the 2586 View is scrollable. Over-scrolling is the ability for the user to 2587 receive feedback when attempting to scroll beyond meaningful content. --> 2588 <attr name="overScrollMode"> 2589 <!-- Always show over-scroll effects, even if the content fits entirely 2590 within the available space. --> 2591 <enum name="always" value="0" /> 2592 <!-- Only show over-scroll effects if the content is large 2593 enough to meaningfully scroll. --> 2594 <enum name="ifContentScrolls" value="1" /> 2595 <!-- Never show over-scroll effects. --> 2596 <enum name="never" value="2" /> 2597 </attr> 2598 2599 <!-- alpha property of the view, as a value between 0 (completely transparent) and 1 2600 (completely opaque). --> 2601 <attr name="alpha" format="float" /> 2602 2603 <!-- base z depth of the view. --> 2604 <attr name="elevation" format="dimension" /> 2605 2606 <!-- translation in x of the view. This value is added post-layout to the left 2607 property of the view, which is set by its layout. --> 2608 <attr name="translationX" format="dimension" /> 2609 2610 <!-- translation in y of the view. This value is added post-layout to the top 2611 property of the view, which is set by its layout. --> 2612 <attr name="translationY" format="dimension" /> 2613 2614 <!-- translation in z of the view. This value is added to its elevation. --> 2615 <attr name="translationZ" format="dimension" /> 2616 2617 <!-- x location of the pivot point around which the view will rotate and scale. 2618 This xml attribute sets the pivotX property of the View. --> 2619 <attr name="transformPivotX" format="dimension" /> 2620 2621 <!-- y location of the pivot point around which the view will rotate and scale. 2622 This xml attribute sets the pivotY property of the View. --> 2623 <attr name="transformPivotY" format="dimension" /> 2624 2625 <!-- rotation of the view, in degrees. --> 2626 <attr name="rotation" format="float" /> 2627 2628 <!-- rotation of the view around the x axis, in degrees. --> 2629 <attr name="rotationX" format="float" /> 2630 2631 <!-- rotation of the view around the y axis, in degrees. --> 2632 <attr name="rotationY" format="float" /> 2633 2634 <!-- scale of the view in the x direction. --> 2635 <attr name="scaleX" format="float" /> 2636 2637 <!-- scale of the view in the y direction. --> 2638 <attr name="scaleY" format="float" /> 2639 2640 <!-- Determines which side the vertical scroll bar should be placed on. --> 2641 <attr name="verticalScrollbarPosition"> 2642 <!-- Place the scroll bar wherever the system default determines. --> 2643 <enum name="defaultPosition" value="0" /> 2644 <!-- Place the scroll bar on the left. --> 2645 <enum name="left" value="1" /> 2646 <!-- Place the scroll bar on the right. --> 2647 <enum name="right" value="2" /> 2648 </attr> 2649 2650 <!-- Specifies the type of layer backing this view. The default value is none. 2651 Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)} 2652 for more information.--> 2653 <attr name="layerType"> 2654 <!-- Don't use a layer. --> 2655 <enum name="none" value="0" /> 2656 <!-- Use a software layer. Refer to 2657 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2658 more information. --> 2659 <enum name="software" value="1" /> 2660 <!-- Use a hardware layer. Refer to 2661 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2662 more information. --> 2663 <enum name="hardware" value="2" /> 2664 </attr> 2665 2666 <!-- Defines the direction of layout drawing. This typically is associated with writing 2667 direction of the language script used. The possible values are "ltr" for Left-to-Right, 2668 "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing 2669 to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction 2670 used in "en-US". The default for this attribute is "inherit". --> 2671 <attr name="layoutDirection"> 2672 <!-- Left-to-Right. --> 2673 <enum name="ltr" value="0" /> 2674 <!-- Right-to-Left. --> 2675 <enum name="rtl" value="1" /> 2676 <!-- Inherit from parent. --> 2677 <enum name="inherit" value="2" /> 2678 <!-- Locale. --> 2679 <enum name="locale" value="3" /> 2680 </attr> 2681 2682 <!-- Defines the direction of the text. --> 2683 <attr name="textDirection" format="integer"> 2684 <!-- Default. --> 2685 <enum name="inherit" value="0" /> 2686 <!-- Default for the root view. The first strong directional character determines the 2687 paragraph direction. If there is no strong directional character, the paragraph 2688 direction is the view’s resolved layout direction. --> 2689 <enum name="firstStrong" value="1" /> 2690 <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise 2691 it is LTR if it contains any strong LTR characters. If there are neither, the 2692 paragraph direction is the view’s resolved layout direction. --> 2693 <enum name="anyRtl" value="2" /> 2694 <!-- The paragraph direction is left to right. --> 2695 <enum name="ltr" value="3" /> 2696 <!-- The paragraph direction is right to left. --> 2697 <enum name="rtl" value="4" /> 2698 <!-- The paragraph direction is coming from the system Locale. --> 2699 <enum name="locale" value="5" /> 2700 <!-- The first strong directional character determines the paragraph direction. If 2701 there is no strong directional character, the paragraph direction is LTR. --> 2702 <enum name="firstStrongLtr" value="6" /> 2703 <!-- The first strong directional character determines the paragraph direction. If 2704 there is no strong directional character, the paragraph direction is RTL. --> 2705 <enum name="firstStrongRtl" value="7" /> 2706 </attr> 2707 2708 <!-- Defines the alignment of the text. --> 2709 <attr name="textAlignment" format="integer"> 2710 <!-- Default. --> 2711 <enum name="inherit" value="0" /> 2712 <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, 2713 ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s 2714 text direction. --> 2715 <enum name="gravity" value="1" /> 2716 <!-- Align to the start of the paragraph, for example: ALIGN_NORMAL. --> 2717 <enum name="textStart" value="2" /> 2718 <!-- Align to the end of the paragraph, for example: ALIGN_OPPOSITE. --> 2719 <enum name="textEnd" value="3" /> 2720 <!-- Center the paragraph, for example: ALIGN_CENTER. --> 2721 <enum name="center" value="4" /> 2722 <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved 2723 layoutDirection is LTR, and ALIGN_RIGHT otherwise. --> 2724 <enum name="viewStart" value="5" /> 2725 <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved 2726 layoutDirection is LTR, and ALIGN_LEFT otherwise. --> 2727 <enum name="viewEnd" value="6" /> 2728 </attr> 2729 2730 <!-- Describes whether or not this view is important for accessibility. 2731 If it is important, the view fires accessibility events and is 2732 reported to accessibility services that query the screen. Note: 2733 While not recommended, an accessibility service may decide to 2734 ignore this attribute and operate on all views in the view tree. --> 2735 <attr name="importantForAccessibility" format="integer"> 2736 <!-- The system determines whether the view is important for accessibility - default 2737 (recommended). --> 2738 <enum name="auto" value="0" /> 2739 <!-- The view is important for accessibility. --> 2740 <enum name="yes" value="1" /> 2741 <!-- The view is not important for accessibility. --> 2742 <enum name="no" value="2" /> 2743 <!-- The view is not important for accessibility, nor are any of its descendant 2744 views. --> 2745 <enum name="noHideDescendants" value="4" /> 2746 </attr> 2747 2748 <!-- Indicates to accessibility services whether the user should be notified when 2749 this view changes. --> 2750 <attr name="accessibilityLiveRegion" format="integer"> 2751 <!-- Accessibility services should not announce changes to this view. --> 2752 <enum name="none" value="0" /> 2753 <!-- Accessibility services should announce changes to this view. --> 2754 <enum name="polite" value="1" /> 2755 <!-- Accessibility services should interrupt ongoing speech to immediately 2756 announce changes to this view. --> 2757 <enum name="assertive" value="2" /> 2758 </attr> 2759 2760 <!-- Specifies the id of a view for which this view serves as a label for 2761 accessibility purposes. For example, a TextView before an EditText in 2762 the UI usually specifies what infomation is contained in the EditText. 2763 Hence, the TextView is a label for the EditText. --> 2764 <attr name="labelFor" format="reference" /> 2765 2766 <!-- Specifies a theme override for a view. When a theme override is set, the 2767 view will be inflated using a {@link android.content.Context} themed with 2768 the specified resource. During XML inflation, any child views under the 2769 view with a theme override will inherit the themed context. --> 2770 <attr name="theme" /> 2771 2772 <!-- Names a View such that it can be identified for Transitions. Names should be 2773 unique in the View hierarchy. --> 2774 <attr name="transitionName" format="string" /> 2775 2776 <!-- Specifies that this view should permit nested scrolling within a compatible 2777 ancestor view. --> 2778 <attr name="nestedScrollingEnabled" format="boolean" /> 2779 2780 <!-- Sets the state-based animator for the View. --> 2781 <attr name="stateListAnimator" format="reference"/> 2782 2783 <!-- Tint to apply to the background. --> 2784 <attr name="backgroundTint" format="color" /> 2785 2786 <!-- Blending mode used to apply the background tint. --> 2787 <attr name="backgroundTintMode"> 2788 <!-- The tint is drawn on top of the drawable. 2789 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2790 <enum name="src_over" value="3" /> 2791 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2792 color channels are thrown out. [Sa * Da, Sc * Da] --> 2793 <enum name="src_in" value="5" /> 2794 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2795 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2796 <enum name="src_atop" value="9" /> 2797 <!-- Multiplies the color and alpha channels of the drawable with those of 2798 the tint. [Sa * Da, Sc * Dc] --> 2799 <enum name="multiply" value="14" /> 2800 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2801 <enum name="screen" value="15" /> 2802 <!-- Combines the tint and drawable color and alpha channels, clamping the 2803 result to valid color values. Saturate(S + D) --> 2804 <enum name="add" value="16" /> 2805 </attr> 2806 2807 <!-- ViewOutlineProvider used to determine the View's Outline. --> 2808 <attr name="outlineProvider"> 2809 <!-- Default, background drawable-driven outline. --> 2810 <enum name="background" value="0" /> 2811 <!-- No outline provider. --> 2812 <enum name="none" value="1" /> 2813 <!-- Generates an opaque outline for the bounds of the view. --> 2814 <enum name="bounds" value="2" /> 2815 <!-- Generates an opaque outline for the padded bounds of the view. --> 2816 <enum name="paddedBounds" value="3" /> 2817 </attr> 2818 2819 <!-- Defines the drawable to draw over the content. This can be used as an overlay. 2820 The foreground drawable participates in the padding of the content if the gravity 2821 is set to fill. --> 2822 <attr name="foreground" format="reference|color" /> 2823 <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults 2824 to fill. --> 2825 <attr name="foregroundGravity"> 2826 <!-- Push object to the top of its container, not changing its size. --> 2827 <flag name="top" value="0x30" /> 2828 <!-- Push object to the bottom of its container, not changing its size. --> 2829 <flag name="bottom" value="0x50" /> 2830 <!-- Push object to the left of its container, not changing its size. --> 2831 <flag name="left" value="0x03" /> 2832 <!-- Push object to the right of its container, not changing its size. --> 2833 <flag name="right" value="0x05" /> 2834 <!-- Place object in the vertical center of its container, not changing its size. --> 2835 <flag name="center_vertical" value="0x10" /> 2836 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 2837 <flag name="fill_vertical" value="0x70" /> 2838 <!-- Place object in the horizontal center of its container, not changing its size. --> 2839 <flag name="center_horizontal" value="0x01" /> 2840 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 2841 <flag name="fill_horizontal" value="0x07" /> 2842 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 2843 <flag name="center" value="0x11" /> 2844 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 2845 <flag name="fill" value="0x77" /> 2846 <!-- Additional option that can be set to have the top and/or bottom edges of 2847 the child clipped to its container's bounds. 2848 The clip will be based on the vertical gravity: a top gravity will clip the bottom 2849 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 2850 <flag name="clip_vertical" value="0x80" /> 2851 <!-- Additional option that can be set to have the left and/or right edges of 2852 the child clipped to its container's bounds. 2853 The clip will be based on the horizontal gravity: a left gravity will clip the right 2854 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 2855 <flag name="clip_horizontal" value="0x08" /> 2856 </attr> 2857 <!-- Defines whether the foreground drawable should be drawn inside the padding. 2858 This property is turned on by default. --> 2859 <attr name="foregroundInsidePadding" format="boolean" /> 2860 <!-- Tint to apply to the foreground. --> 2861 <attr name="foregroundTint" format="color" /> 2862 <!-- Blending mode used to apply the foreground tint. --> 2863 <attr name="foregroundTintMode"> 2864 <!-- The tint is drawn on top of the drawable. 2865 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2866 <enum name="src_over" value="3" /> 2867 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2868 color channels are thrown out. [Sa * Da, Sc * Da] --> 2869 <enum name="src_in" value="5" /> 2870 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2871 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2872 <enum name="src_atop" value="9" /> 2873 <!-- Multiplies the color and alpha channels of the drawable with those of 2874 the tint. [Sa * Da, Sc * Dc] --> 2875 <enum name="multiply" value="14" /> 2876 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2877 <enum name="screen" value="15" /> 2878 <!-- Combines the tint and drawable color and alpha channels, clamping the 2879 result to valid color values. Saturate(S + D) --> 2880 <enum name="add" value="16" /> 2881 </attr> 2882 2883 <!-- Defines which scroll indicators should be displayed when the view 2884 can be scrolled. Multiple values may be combined using logical OR, 2885 for example "top|bottom". --> 2886 <attr name="scrollIndicators"> 2887 <!-- No scroll indicators are displayed. --> 2888 <flag name="none" value="0x00" /> 2889 <!-- Displays top scroll indicator when view can be scrolled up. --> 2890 <flag name="top" value="0x01" /> 2891 <!-- Displays bottom scroll indicator when vew can be scrolled down. --> 2892 <flag name="bottom" value="0x02" /> 2893 <!-- Displays left scroll indicator when vew can be scrolled left. --> 2894 <flag name="left" value="0x04" /> 2895 <!-- Displays right scroll indicator when vew can be scrolled right. --> 2896 <flag name="right" value="0x08" /> 2897 <!-- Displays right scroll indicator when vew can be scrolled in the 2898 start direction. --> 2899 <flag name="start" value="0x10" /> 2900 <!-- Displays right scroll indicator when vew can be scrolled in the 2901 end direction. --> 2902 <flag name="end" value="0x20" /> 2903 </attr> 2904 2905 <attr name="pointerIcon"> 2906 <!-- Null icon, pointer becomes invisible. --> 2907 <enum name="none" value="0" /> 2908 <!-- The default icon of arrow pointer. --> 2909 <enum name="arrow" value="1000" /> 2910 <!-- Pointer icon indicating context-menu will appear. --> 2911 <enum name="context_menu" value="1001" /> 2912 <!-- Pointer icon of a hand with the index finger. --> 2913 <enum name="hand" value="1002" /> 2914 <!-- Pointer icon indicating help. --> 2915 <enum name="help" value="1003" /> 2916 <!-- Pointer icon indicating something is going on and waiting. --> 2917 <enum name="wait" value="1004" /> 2918 <!-- Pointer icon for cell and grid. --> 2919 <enum name="cell" value="1006" /> 2920 <!-- Pointer icon of crosshair, indicating to spot a location. --> 2921 <enum name="crosshair" value="1007" /> 2922 <!-- Pointer icon of I-beam, usually for text. --> 2923 <enum name="text" value="1008" /> 2924 <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. --> 2925 <enum name="vertical_text" value="1009" /> 2926 <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be 2927 created. --> 2928 <enum name="alias" value="1010" /> 2929 <!-- Pointer icon of 'copy', used for drag/drop. --> 2930 <enum name="copy" value="1011" /> 2931 <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the 2932 current location. --> 2933 <enum name="no_drop" value="1012" /> 2934 <!-- Pointer icon of four-way arrows, indicating scrolling all direction. --> 2935 <enum name="all_scroll" value="1013" /> 2936 <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. --> 2937 <enum name="horizontal_double_arrow" value="1014" /> 2938 <!-- Pointer icon of vertical double arrow, indicating vertical resize. --> 2939 <enum name="vertical_double_arrow" value="1015" /> 2940 <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left. 2941 Indicating freeform resize. --> 2942 <enum name="top_right_diagonal_double_arrow" value="1016" /> 2943 <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right. 2944 Indicating freeform resize. --> 2945 <enum name="top_left_diagonal_double_arrow" value="1017" /> 2946 <!-- Pointer icon indicating zoom-in. --> 2947 <enum name="zoom_in" value="1018" /> 2948 <!-- Pointer icon indicating zoom-out. --> 2949 <enum name="zoom_out" value="1019" /> 2950 <!-- Pointer icon of a hand sign to grab something. --> 2951 <enum name="grab" value="1020" /> 2952 <!-- Pointer icon of a hand sign while grabbing something. --> 2953 <enum name="grabbing" value="1021" /> 2954 </attr> 2955 2956 <!-- Whether this view has elements that may overlap when drawn. See 2957 {@link android.view.View#forceHasOverlappingRendering(boolean)}. --> 2958 <attr name="forceHasOverlappingRendering" format="boolean" /> 2959 2960 <!-- Defines text displayed in a small popup window on hover or long press. --> 2961 <attr name="tooltipText" format="string" localization="suggested" /> 2962 2963 <!-- Whether this view is a root of a keyboard navigation cluster. 2964 See {@link android.view.View#setKeyboardNavigationCluster(boolean)}. --> 2965 <attr name="keyboardNavigationCluster" format="boolean" /> 2966 2967 <attr name="__removed0" format="boolean" /> 2968 2969 <!-- Defines the next keyboard navigation cluster. 2970 2971 If the reference refers to a view that does not exist or is part 2972 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2973 will result when the reference is accessed.--> 2974 <attr name="nextClusterForward" format="reference"/> 2975 2976 <attr name="__removed1" format="reference"/> 2977 2978 <!-- Whether this view is a default-focus view. 2979 Only one view per keyboard navigation cluster can have this attribute set to true. 2980 See {@link android.view.View#setFocusedByDefault(boolean)}. --> 2981 <attr name="focusedByDefault" format="boolean" /> 2982 2983 </declare-styleable> 2984 2985 <!-- Attributes that can be assigned to a tag for a particular View. --> 2986 <declare-styleable name="ViewTag"> 2987 <!-- Specifies the key identifying a tag. This must be a resource reference. --> 2988 <attr name="id" /> 2989 <!-- Specifies the value with which to tag the view. --> 2990 <attr name="value" /> 2991 </declare-styleable> 2992 2993 <!-- Attributes that can be assigned to an <include> tag. 2994 @hide --> 2995 <declare-styleable name="Include"> 2996 <attr name="id" /> 2997 <attr name="visibility" /> 2998 </declare-styleable> 2999 3000 <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any 3001 of its subclasses. Also see {@link #ViewGroup_Layout} for 3002 attributes that this class processes in its children. --> 3003 <declare-styleable name="ViewGroup"> 3004 <!-- Defines whether changes in layout (caused by adding and removing items) should 3005 cause a LayoutTransition to run. When this flag is set to true, a default 3006 LayoutTransition object will be set on the ViewGroup container and default 3007 animations will run when these layout changes occur.--> 3008 <attr name="animateLayoutChanges" format="boolean" /> 3009 <!-- Defines whether a child is limited to draw inside of its bounds or not. 3010 This is useful with animations that scale the size of the children to more 3011 than 100% for instance. In such a case, this property should be set to false 3012 to allow the children to draw outside of their bounds. The default value of 3013 this property is true. --> 3014 <attr name="clipChildren" format="boolean" /> 3015 <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any 3016 EdgeEffect to its padding, if padding is not zero. This property is set to true by 3017 default. --> 3018 <attr name="clipToPadding" format="boolean" /> 3019 <!-- Defines the layout animation to use the first time the ViewGroup is laid out. 3020 Layout animations can also be started manually after the first layout. --> 3021 <attr name="layoutAnimation" format="reference" /> 3022 <!-- Defines whether layout animations should create a drawing cache for their 3023 children. Enabling the animation cache consumes more memory and requires 3024 a longer initialization but provides better performance. The animation 3025 cache is enabled by default. --> 3026 <attr name="animationCache" format="boolean" /> 3027 <!-- Defines the persistence of the drawing cache. The drawing cache might be 3028 enabled by a ViewGroup for all its children in specific situations (for 3029 instance during a scrolling.) This property lets you persist the cache 3030 in memory after its initial usage. Persisting the cache consumes more 3031 memory but may prevent frequent garbage collection is the cache is created 3032 over and over again. By default the persistence is set to scrolling. --> 3033 <attr name="persistentDrawingCache"> 3034 <!-- The drawing cache is not persisted after use. --> 3035 <flag name="none" value="0x0" /> 3036 <!-- The drawing cache is persisted after a layout animation. --> 3037 <flag name="animation" value="0x1" /> 3038 <!-- The drawing cache is persisted after a scroll. --> 3039 <flag name="scrolling" value="0x2" /> 3040 <!-- The drawing cache is always persisted. --> 3041 <flag name="all" value="0x3" /> 3042 </attr> 3043 <!-- Defines whether the ViewGroup should always draw its children using their 3044 drawing cache or not. The default value is true. --> 3045 <attr name="alwaysDrawnWithCache" format="boolean" /> 3046 <!-- Sets whether this ViewGroup's drawable states also include 3047 its children's drawable states. This is used, for example, to 3048 make a group appear to be focused when its child EditText or button 3049 is focused. --> 3050 <attr name="addStatesFromChildren" format="boolean" /> 3051 3052 <!-- Defines the relationship between the ViewGroup and its descendants 3053 when looking for a View to take focus. --> 3054 <attr name="descendantFocusability"> 3055 <!-- The ViewGroup will get focus before any of its descendants. --> 3056 <enum name="beforeDescendants" value="0" /> 3057 <!-- The ViewGroup will get focus only if none of its descendants want it. --> 3058 <enum name="afterDescendants" value="1" /> 3059 <!-- The ViewGroup will block its descendants from receiving focus. --> 3060 <enum name="blocksDescendants" value="2" /> 3061 </attr> 3062 3063 <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. --> 3064 <attr name="touchscreenBlocksFocus" format="boolean" /> 3065 3066 <!-- Sets whether this ViewGroup should split MotionEvents 3067 to separate child views during touch event dispatch. 3068 If false (default), touch events will be dispatched to 3069 the child view where the first pointer went down until 3070 the last pointer goes up. 3071 If true, touch events may be dispatched to multiple children. 3072 MotionEvents for each pointer will be dispatched to the child 3073 view where the initial ACTION_DOWN event happened. 3074 See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)} 3075 for more information. --> 3076 <attr name="splitMotionEvents" format="boolean" /> 3077 3078 <!-- Defines the layout mode of this ViewGroup. --> 3079 <attr name="layoutMode"> 3080 <!-- Use the children's clip bounds when laying out this container. --> 3081 <enum name="clipBounds" value="0" /> 3082 <!-- Use the children's optical bounds when laying out this container. --> 3083 <enum name="opticalBounds" value="1" /> 3084 </attr> 3085 3086 <!-- Sets whether or not this ViewGroup should be treated as a single entity 3087 when doing an Activity transition. Typically, the elements inside a 3088 ViewGroup are each transitioned from the scene individually. The default 3089 for a ViewGroup is false unless it has a background. See 3090 {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity, 3091 android.view.View, String)} for more information. Corresponds to 3092 {@link android.view.ViewGroup#setTransitionGroup(boolean)}.--> 3093 <attr name="transitionGroup" format="boolean" /> 3094 </declare-styleable> 3095 3096 <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts 3097 inside your application at runtime. --> 3098 <declare-styleable name="ViewStub"> 3099 <!-- Supply an identifier name for this view. --> 3100 <attr name="id" /> 3101 <!-- Supply an identifier for the layout resource to inflate when the ViewStub 3102 becomes visible or when forced to do so. The layout resource must be a 3103 valid reference to a layout. --> 3104 <attr name="layout" format="reference" /> 3105 <!-- Overrides the id of the inflated View with this value. --> 3106 <attr name="inflatedId" format="reference" /> 3107 </declare-styleable> 3108 3109 <!-- ===================================== --> 3110 <!-- View package parent layout attributes --> 3111 <!-- ===================================== --> 3112 <eat-comment /> 3113 3114 <!-- This is the basic set of layout attributes that are common to all 3115 layout managers. These attributes are specified with the rest of 3116 a view's normal attributes (such as {@link android.R.attr#background}, 3117 but will be parsed by the view's parent and ignored by the child. 3118 <p>The values defined here correspond to the base layout attribute 3119 class {@link android.view.ViewGroup.LayoutParams}. --> 3120 <declare-styleable name="ViewGroup_Layout"> 3121 <!-- Specifies the basic width of the view. This is a required attribute 3122 for any view inside of a containing layout manager. Its value may 3123 be a dimension (such as "12dip") for a constant width or one of 3124 the special constants. --> 3125 <attr name="layout_width" format="dimension"> 3126 <!-- The view should be as big as its parent (minus padding). 3127 This constant is deprecated starting from API Level 8 and 3128 is replaced by {@code match_parent}. --> 3129 <enum name="fill_parent" value="-1" /> 3130 <!-- The view should be as big as its parent (minus padding). 3131 Introduced in API Level 8. --> 3132 <enum name="match_parent" value="-1" /> 3133 <!-- The view should be only big enough to enclose its content (plus padding). --> 3134 <enum name="wrap_content" value="-2" /> 3135 </attr> 3136 3137 <!-- Specifies the basic height of the view. This is a required attribute 3138 for any view inside of a containing layout manager. Its value may 3139 be a dimension (such as "12dip") for a constant height or one of 3140 the special constants. --> 3141 <attr name="layout_height" format="dimension"> 3142 <!-- The view should be as big as its parent (minus padding). 3143 This constant is deprecated starting from API Level 8 and 3144 is replaced by {@code match_parent}. --> 3145 <enum name="fill_parent" value="-1" /> 3146 <!-- The view should be as big as its parent (minus padding). 3147 Introduced in API Level 8. --> 3148 <enum name="match_parent" value="-1" /> 3149 <!-- The view should be only big enough to enclose its content (plus padding). --> 3150 <enum name="wrap_content" value="-2" /> 3151 </attr> 3152 </declare-styleable> 3153 3154 <!-- This is the basic set of layout attributes for layout managers that 3155 wish to place margins around their child views. 3156 These attributes are specified with the rest of 3157 a view's normal attributes (such as {@link android.R.attr#background}, 3158 but will be parsed by the view's parent and ignored by the child. 3159 <p>The values defined here correspond to the base layout attribute 3160 class {@link android.view.ViewGroup.MarginLayoutParams}. --> 3161 <declare-styleable name="ViewGroup_MarginLayout"> 3162 <attr name="layout_width" /> 3163 <attr name="layout_height" /> 3164 <!-- Specifies extra space on the left, top, right and bottom 3165 sides of this view. If both layout_margin and any of layout_marginLeft, 3166 layout_marginRight, layout_marginStart, layout_marginEnd, 3167 layout_marginTop, and layout_marginBottom are 3168 also specified, the layout_margin value will take precedence over the 3169 edge-specific values. This space is outside this view's bounds. 3170 Margin values should be positive. --> 3171 <attr name="layout_margin" format="dimension" /> 3172 <!-- Specifies extra space on the left side of this view. 3173 This space is outside this view's bounds. 3174 Margin values should be positive. --> 3175 <attr name="layout_marginLeft" format="dimension" /> 3176 <!-- Specifies extra space on the top side of this view. 3177 This space is outside this view's bounds. 3178 Margin values should be positive.--> 3179 <attr name="layout_marginTop" format="dimension" /> 3180 <!-- Specifies extra space on the right side of this view. 3181 This space is outside this view's bounds. 3182 Margin values should be positive.--> 3183 <attr name="layout_marginRight" format="dimension" /> 3184 <!-- Specifies extra space on the bottom side of this view. 3185 This space is outside this view's bounds. 3186 Margin values should be positive.--> 3187 <attr name="layout_marginBottom" format="dimension" /> 3188 <!-- Specifies extra space on the start side of this view. 3189 This space is outside this view's bounds. 3190 Margin values should be positive.--> 3191 <attr name="layout_marginStart" format="dimension" /> 3192 <!-- Specifies extra space on the end side of this view. 3193 This space is outside this view's bounds. 3194 Margin values should be positive.--> 3195 <attr name="layout_marginEnd" format="dimension" /> 3196 <!-- Specifies extra space on the left and right sides of this view. 3197 Specifying layout_marginHorizontal is equivalent to specifying 3198 either layout_marginLeft and layout_marginRight or 3199 layout_marginStart and layout_marginEnd with that same value. 3200 If both layout_marginHorizontal and any of layout_marginLeft, 3201 layout_marginRight, layout_marginStart, and layout_marginEnd are 3202 also specified, the layout_marginHorizontal value will take precedence over the 3203 edge-specific values. Also, layout_margin will always take precedence over 3204 any of these values, including layout_marginHorizontal. 3205 This space is outside this view's bounds. 3206 Margin values should be positive.--> 3207 <attr name="layout_marginHorizontal" format="dimension" /> 3208 <!-- Specifies extra space on the top and bottom sides of this view. 3209 Specifying layout_marginVertical is equivalent to specifying 3210 layout_marginTop and layout_marginBottom with that same value. 3211 If both layout_marginVertical and either/both layout_marginTop and 3212 layout_marginBottom are also specified, the layout_marginVertical value 3213 will take precedence over the edge-specific values. 3214 Also, layout_margin will always take precedence over 3215 any of these values, including layout_marginVertical. 3216 This space is outside this view's bounds. 3217 Margin values should be positive.--> 3218 <attr name="layout_marginVertical" format="dimension" /> 3219 </declare-styleable> 3220 3221 <!-- Use <code>input-method</code> as the root tag of the XML resource that 3222 describes an 3223 {@link android.view.inputmethod.InputMethod} service, which is 3224 referenced from its 3225 {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA} 3226 meta-data entry. Described here are the attributes that can be 3227 included in that tag. --> 3228 <declare-styleable name="InputMethod"> 3229 <!-- Component name of an activity that allows the user to modify 3230 the settings for this service. --> 3231 <attr name="settingsActivity" format="string" /> 3232 <!-- Set to true in all of the configurations for which this input 3233 method should be considered an option as the default. --> 3234 <attr name="isDefault" format="boolean" /> 3235 <!-- Set to true if this input method supports ways to switch to 3236 a next input method (for example, a globe key.). When this is true and 3237 InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true, 3238 the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod() 3239 accordingly. 3240 <p> Note that the system determines the most appropriate next input method 3241 and subtype in order to provide the consistent user experience in switching 3242 between IMEs and subtypes. --> 3243 <attr name="supportsSwitchingToNextInputMethod" format="boolean" /> 3244 <!-- Set to true if this input method supports ways to dismiss the windows assigned to 3245 the input method (for example, a dismiss button rendered by the input method itself). The 3246 System UI may optimize the UI by not showing system-level dismiss button if this 3247 value is true. 3248 <p> Must be a boolean value, either "true" or "false". The default value is "false". 3249 <p> This may also be a reference to a resource (in the form "@[package:]type:name") 3250 or theme attribute (in the form "?[package:]type:name") containing a value of this 3251 type. 3252 <p> A UI element that dismisses the input method window should report 3253 {@link android.view.accessibility.AccessibilityNodeInfo#ACTION_DISMISS} action, so 3254 that accessibility services can handle it accordingly. --> 3255 <attr name="supportsDismissingWindow" format="boolean" /> 3256 </declare-styleable> 3257 3258 <!-- This is the subtype of InputMethod. Subtype can describe locales (for example, en_US and 3259 fr_FR) and modes (for example, voice and keyboard), and is used for IME switch. This 3260 subtype allows the system to call the specified subtype of the IME directly. --> 3261 <declare-styleable name="InputMethod_Subtype"> 3262 <!-- The name of the subtype. --> 3263 <attr name="label" /> 3264 <!-- The icon of the subtype. --> 3265 <attr name="icon" /> 3266 <!-- The locale of the subtype. This string should be a locale (for example en_US and fr_FR) 3267 and will be passed to the IME when the framework calls the IME 3268 with the subtype. This is also used by the framework to know the supported locales 3269 of the IME. --> 3270 <attr name="imeSubtypeLocale" format="string" /> 3271 <!-- The mode of the subtype. This string can be a mode (for example, voice and keyboard) 3272 and this string will be passed to the IME when the framework calls the IME with the 3273 subtype. {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the 3274 value specified in this attribute. --> 3275 <attr name="imeSubtypeMode" format="string" /> 3276 <!-- Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the 3277 input method selection list in the settings app. 3278 InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it 3279 chooses a target subtype. --> 3280 <attr name="isAuxiliary" format="boolean" /> 3281 <!-- Set true when this subtype should be selected by default if no other subtypes are 3282 selected explicitly. Note that a subtype with this parameter being true will 3283 not be shown in the subtypes list. --> 3284 <attr name="overridesImplicitlyEnabledSubtype" format="boolean" /> 3285 <!-- The extra value of the subtype. This string can be any string and will be passed to 3286 the IME when the framework calls the IME with the subtype. --> 3287 <attr name="imeSubtypeExtraValue" format="string" /> 3288 <!-- The unique id for the subtype. The input method framework keeps track of enabled 3289 subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even 3290 if other attributes are different. If the ID is unspecified (by calling the other 3291 constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue, 3292 isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. --> 3293 <attr name="subtypeId" format="integer"/> 3294 <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII 3295 capable, it should guarantee that the user can input ASCII characters with 3296 this subtype. This is important because many password fields only allow 3297 ASCII-characters. --> 3298 <attr name="isAsciiCapable" format="boolean" /> 3299 <!-- The BCP-47 Language Tag of the subtype. This replaces 3300 {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}. --> 3301 <attr name="languageTag" format="string" /> 3302 </declare-styleable> 3303 3304 <!-- Use <code>spell-checker</code> as the root tag of the XML resource that 3305 describes an 3306 {@link android.service.textservice.SpellCheckerService} service, which is 3307 referenced from its 3308 {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA} 3309 meta-data entry. Described here are the attributes that can be 3310 included in that tag. --> 3311 <declare-styleable name="SpellChecker"> 3312 <!-- The name of the spell checker. --> 3313 <attr name="label" /> 3314 <!-- Component name of an activity that allows the user to modify 3315 the settings for this service. --> 3316 <attr name="settingsActivity"/> 3317 </declare-styleable> 3318 3319 <!-- This is the subtype of the spell checker. Subtype can describe locales (for example, 3320 en_US and fr_FR). --> 3321 <declare-styleable name="SpellChecker_Subtype"> 3322 <!-- The name of the subtype. --> 3323 <attr name="label" /> 3324 <!-- The locale of the subtype. This string should be a locale (for example, en_US and 3325 fr_FR). This is also used by the framework to know the supported locales 3326 of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()} 3327 returns the value specified in this attribute. --> 3328 <attr name="subtypeLocale" format="string" /> 3329 <!-- The extra value of the subtype. This string can be any string and will be passed to 3330 the SpellChecker. --> 3331 <attr name="subtypeExtraValue" format="string" /> 3332 <!-- The unique id for the subtype. The text service (spell checker) framework keeps track 3333 of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs 3334 will stay enabled even if other attributes are different. If the ID is unspecified or 3335 explicitly specified to 0 in XML resources, 3336 {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue})} will be used instead. 3337 --> 3338 <attr name="subtypeId" /> 3339 <!-- The BCP-47 Language Tag of the subtype. This replaces 3340 {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}. --> 3341 <attr name="languageTag" /> 3342 </declare-styleable> 3343 3344 <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that 3345 describes an {@link android.accessibilityservice.AccessibilityService} service, 3346 which is referenced from its 3347 {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA} 3348 meta-data entry. --> 3349 <declare-styleable name="AccessibilityService"> 3350 <!-- The event types this service would like to receive as specified in 3351 {@link android.view.accessibility.AccessibilityEvent}. This setting 3352 can be changed at runtime by calling 3353 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3354 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3355 <attr name="accessibilityEventTypes"> 3356 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.--> 3357 <flag name="typeViewClicked" value="0x00000001" /> 3358 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. --> 3359 <flag name="typeViewLongClicked" value="0x00000002" /> 3360 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. --> 3361 <flag name="typeViewSelected" value="0x00000004" /> 3362 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. --> 3363 <flag name="typeViewFocused" value="0x00000008" /> 3364 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. --> 3365 <flag name="typeViewTextChanged" value="0x00000010" /> 3366 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. --> 3367 <flag name="typeWindowStateChanged" value="0x00000020" /> 3368 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. --> 3369 <flag name="typeNotificationStateChanged" value="0x00000040" /> 3370 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. --> 3371 <flag name="typeViewHoverEnter" value="0x00000080" /> 3372 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. --> 3373 <flag name="typeViewHoverExit" value="0x00000100" /> 3374 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. --> 3375 <flag name="typeTouchExplorationGestureStart" value="0x00000200" /> 3376 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. --> 3377 <flag name="typeTouchExplorationGestureEnd" value="0x00000400" /> 3378 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. --> 3379 <flag name="typeWindowContentChanged" value="0x00000800" /> 3380 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. --> 3381 <flag name="typeViewScrolled" value="0x000001000" /> 3382 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. --> 3383 <flag name="typeViewTextSelectionChanged" value="0x000002000" /> 3384 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. --> 3385 <flag name="typeAnnouncement" value="0x00004000" /> 3386 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. --> 3387 <flag name="typeViewAccessibilityFocused" value="0x00008000" /> 3388 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. --> 3389 <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" /> 3390 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. --> 3391 <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" /> 3392 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. --> 3393 <flag name="typeGestureDetectionStart" value="0x00040000" /> 3394 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. --> 3395 <flag name="typeGestureDetectionEnd" value="0x00080000" /> 3396 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. --> 3397 <flag name="typeTouchInteractionStart" value="0x00100000" /> 3398 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. --> 3399 <flag name="typeTouchInteractionEnd" value="0x00200000" /> 3400 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. --> 3401 <flag name="typeWindowsChanged" value="0x00400000" /> 3402 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. --> 3403 <flag name="typeContextClicked" value="0x00800000" /> 3404 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. --> 3405 <flag name="typeAssistReadingContext" value="0x01000000" /> 3406 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. --> 3407 <flag name="typeAllMask" value="0xffffffff" /> 3408 </attr> 3409 <!-- Comma separated package names from which this service would like to receive events (leave out for all packages). 3410 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3411 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3412 <attr name="packageNames" format="string" /> 3413 <!-- The feedback types this service provides as specified in 3414 {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting 3415 can be changed at runtime by calling 3416 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3417 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3418 <attr name="accessibilityFeedbackType"> 3419 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. --> 3420 <flag name="feedbackSpoken" value="0x00000001" /> 3421 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. --> 3422 <flag name="feedbackHaptic" value="0x00000002" /> 3423 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. --> 3424 <flag name="feedbackAudible" value="0x00000004" /> 3425 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. --> 3426 <flag name="feedbackVisual" value="0x00000008" /> 3427 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. --> 3428 <flag name="feedbackGeneric" value="0x00000010" /> 3429 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. --> 3430 <flag name="feedbackAllMask" value="0xffffffff" /> 3431 </attr> 3432 <!-- The minimal period in milliseconds between two accessibility events of the same type 3433 are sent to this service. This setting can be changed at runtime by calling 3434 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3435 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3436 <attr name="notificationTimeout" format="integer" /> 3437 <!-- Additional flags as specified in 3438 {@link android.accessibilityservice.AccessibilityServiceInfo}. 3439 This setting can be changed at runtime by calling 3440 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3441 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3442 <attr name="accessibilityFlags"> 3443 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT}. --> 3444 <flag name="flagDefault" value="0x00000001" /> 3445 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS}. --> 3446 <flag name="flagIncludeNotImportantViews" value="0x00000002" /> 3447 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE}. --> 3448 <flag name="flagRequestTouchExplorationMode" value="0x00000004" /> 3449 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY}. --> 3450 <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" /> 3451 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS}. --> 3452 <flag name="flagReportViewIds" value="0x00000010" /> 3453 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS}. --> 3454 <flag name="flagRequestFilterKeyEvents" value="0x00000020" /> 3455 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS}. --> 3456 <flag name="flagRetrieveInteractiveWindows" value="0x00000040" /> 3457 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_ENABLE_ACCESSIBILITY_VOLUME}. --> 3458 <flag name="flagEnableAccessibilityVolume" value="0x00000080" /> 3459 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ACCESSIBILITY_BUTTON}. --> 3460 <flag name="flagRequestAccessibilityButton" value="0x00000100" /> 3461 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_CAPTURE_FINGERPRINT_GESTURES}. --> 3462 <flag name="flagCaptureFingerprintGestures" value="0x00000200" /> 3463 </attr> 3464 <!-- Component name of an activity that allows the user to modify 3465 the settings for this service. This setting cannot be changed at runtime. --> 3466 <attr name="settingsActivity" /> 3467 <!-- Attribute whether the accessibility service wants to be able to retrieve the 3468 active window content. This setting cannot be changed at runtime. --> 3469 <attr name="canRetrieveWindowContent" format="boolean" /> 3470 <!-- Attribute whether the accessibility service wants to be able to request touch 3471 exploration mode in which touched items are spoken aloud and the UI can be 3472 explored via gestures. 3473 <p> 3474 Required to allow setting the {@link android.accessibilityservice 3475 #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag. 3476 </p> 3477 --> 3478 <attr name="canRequestTouchExplorationMode" format="boolean" /> 3479 <!-- Attribute whether the accessibility service wants to be able to request enhanced 3480 web accessibility enhancements. For example, installing scripts to make app 3481 content more accessible. 3482 <p> 3483 Required to allow setting the {@link android.accessibilityservice 3484 #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag. 3485 </p> 3486 --> 3487 <attr name="canRequestEnhancedWebAccessibility" format="boolean" /> 3488 <!-- Attribute whether the accessibility service wants to be able to request to 3489 filter key events. 3490 <p> 3491 Required to allow setting the {@link android.accessibilityservice 3492 #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag. 3493 </p> 3494 --> 3495 <attr name="canRequestFilterKeyEvents" format="boolean" /> 3496 <!-- Attribute whether the accessibility service wants to be able to control 3497 display magnification. 3498 --> 3499 <attr name="canControlMagnification" format="boolean" /> 3500 <!-- Attribute whether the accessibility service wants to be able to perform gestures. --> 3501 <attr name="canPerformGestures" format="boolean" /> 3502 <!-- Attribute whether the accessibility service wants to be able to capture gestures from 3503 the fingerprint sensor. 3504 <p> 3505 Required to allow setting the {@link android.accessibilityservice 3506 #AccessibilityServiceInfo#FLAG_CAN_CAPTURE_FINGERPRINT_GESTURES} flag. 3507 </p> 3508 --> 3509 <attr name="canCaptureFingerprintGestures" format="boolean" /> 3510 <!-- Short description of the accessibility service purpose or behavior.--> 3511 <attr name="description" /> 3512 <!-- Brief summary of the accessibility service purpose or behavior. --> 3513 <attr name="summary" /> 3514 </declare-styleable> 3515 3516 <!-- Use <code>print-service</code> as the root tag of the XML resource that 3517 describes an {@link android.printservice.PrintService} service, which is 3518 referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA} 3519 meta-data entry. --> 3520 <declare-styleable name="PrintService"> 3521 <!-- Fully qualified class name of an activity that allows the user to modify 3522 the settings for this service. --> 3523 <attr name="settingsActivity" /> 3524 <!-- Fully qualified class name of an activity that allows the user to manually 3525 add printers to this print service. --> 3526 <attr name="addPrintersActivity" format="string"/> 3527 <!-- Fully qualified class name of an activity with advanced print options 3528 specific to this print service. --> 3529 <attr name="advancedPrintOptionsActivity" format="string"/> 3530 <!-- The vendor name if this print service is vendor specific. --> 3531 <attr name="vendor" format="string"/> 3532 </declare-styleable> 3533 3534 <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that 3535 describes an {@link android.nfc.cardemulation.HostApduService} service, which 3536 is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA} 3537 entry. --> 3538 <declare-styleable name="HostApduService"> 3539 <!-- Short description of the functionality the service implements. This attribute 3540 is mandatory.--> 3541 <attr name="description" /> 3542 <!-- Whether the device must be unlocked before routing data to this service. 3543 The default is false.--> 3544 <attr name="requireDeviceUnlock" format="boolean"/> 3545 <!-- A drawable that can be rendered in Android's system UI for representing 3546 the service. --> 3547 <attr name="apduServiceBanner" format="reference"/> 3548 <!-- Component name of an activity that allows the user to modify 3549 the settings for this service. --> 3550 <attr name="settingsActivity"/> 3551 </declare-styleable> 3552 3553 <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that 3554 describes an {@link android.nfc.cardemulation.OffHostApduService} 3555 service, which is referenced from its 3556 {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. --> 3557 <declare-styleable name="OffHostApduService"> 3558 <!-- Short description of the functionality the service implements. This attribute 3559 is mandatory.--> 3560 <attr name="description" /> 3561 <!-- A drawable that can be rendered in Android's system UI for representing 3562 the service. --> 3563 <attr name="apduServiceBanner"/> 3564 <!-- Component name of an activity that allows the user to modify 3565 the settings for this service. --> 3566 <attr name="settingsActivity"/> 3567 </declare-styleable> 3568 3569 <!-- Specify one or more <code>aid-group</code> elements inside a 3570 <code>host-apdu-service</code> or <code>offhost-apdu-service</code> 3571 element to define a group of ISO7816 Application ID (AIDs) that 3572 your service can handle.--> 3573 <declare-styleable name="AidGroup"> 3574 <!-- Short description of what the AID group implements. This attribute is mandatory.--> 3575 <attr name="description" /> 3576 <!-- The category attribute will be used by the Android platform to present 3577 multiple applications that register ISO 7816 Application IDs (AIDs) in the 3578 same category uniformly. 3579 Additionally, when a category is specified, Android will ensure that either 3580 all AIDs in this group are routed to this application, or none at all. 3581 This attribute is optional.--> 3582 <attr name="category" format="string" /> 3583 </declare-styleable> 3584 3585 <!-- Specify one or more <code>aid-filter</code> elements inside a 3586 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3587 your service can handle. --> 3588 <declare-styleable name="AidFilter"> 3589 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3590 <attr name="name" /> 3591 </declare-styleable> 3592 3593 <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a 3594 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3595 prefix your service can handle. --> 3596 <declare-styleable name="AidPrefixFilter"> 3597 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3598 <attr name="name" /> 3599 </declare-styleable> 3600 3601 <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that 3602 describes an {@link android.nfc.cardemulation.HostNfcFService} service, which 3603 is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA} 3604 entry. --> 3605 <declare-styleable name="HostNfcFService"> 3606 <!-- Short description of the functionality the service implements. This attribute 3607 is mandatory.--> 3608 <attr name="description" /> 3609 </declare-styleable> 3610 3611 <!-- Specify one or more <code>system-code-filter</code> elements inside a 3612 <code>host-nfcf-service</code> element to specify a System Code 3613 your service can handle. --> 3614 <declare-styleable name="SystemCodeFilter"> 3615 <!-- The System Code. This attribute is mandatory. --> 3616 <attr name="name" /> 3617 </declare-styleable> 3618 3619 <!-- Specify one or more <code>nfcid2-filter</code> elements inside a 3620 <code>host-nfcf-service</code> element to specify a NFCID2 3621 your service can handle. --> 3622 <declare-styleable name="Nfcid2Filter"> 3623 <!-- The NFCID2. This attribute is mandatory. --> 3624 <attr name="name" /> 3625 </declare-styleable> 3626 3627 <declare-styleable name="ActionMenuItemView"> 3628 <attr name="minWidth" /> 3629 </declare-styleable> 3630 3631 <!-- =============================== --> 3632 <!-- Widget package class attributes --> 3633 <!-- =============================== --> 3634 <eat-comment /> 3635 3636 <declare-styleable name="AbsListView"> 3637 <!-- Drawable used to indicate the currently selected item in the list. --> 3638 <attr name="listSelector" format="color|reference" /> 3639 <!-- When set to true, the selector will be drawn over the selected item. 3640 Otherwise the selector is drawn behind the selected item. The default 3641 value is false. --> 3642 <attr name="drawSelectorOnTop" format="boolean" /> 3643 <!-- Used by ListView and GridView to stack their content from the bottom. --> 3644 <attr name="stackFromBottom" format="boolean" /> 3645 <!-- When set to true, the list uses a drawing cache during scrolling. 3646 This makes the rendering faster but uses more memory. The default 3647 value is true. --> 3648 <attr name="scrollingCache" format="boolean" /> 3649 <!-- When set to true, the list will filter results as the user types. The 3650 List's adapter must support the Filterable interface for this to work. --> 3651 <attr name="textFilterEnabled" format="boolean" /> 3652 <!-- Sets the transcript mode for the list. In transcript mode, the list 3653 scrolls to the bottom to make new items visible when they are added. --> 3654 <attr name="transcriptMode"> 3655 <!-- Disables transcript mode. This is the default value. --> 3656 <enum name="disabled" value="0"/> 3657 <!-- The list will automatically scroll to the bottom when 3658 a data set change notification is received and only if the last item is 3659 already visible on screen. --> 3660 <enum name="normal" value="1" /> 3661 <!-- The list will automatically scroll to the bottom, no matter what items 3662 are currently visible. --> 3663 <enum name="alwaysScroll" value="2" /> 3664 </attr> 3665 <!-- Indicates that this list will always be drawn on top of solid, single-color 3666 opaque background. This allows the list to optimize drawing. --> 3667 <attr name="cacheColorHint" format="color" /> 3668 <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through 3669 the list. --> 3670 <attr name="fastScrollEnabled" format="boolean" /> 3671 <!-- Specifies the style of the fast scroll decorations. --> 3672 <attr name="fastScrollStyle" format="reference" /> 3673 <!-- When set to true, the list will use a more refined calculation 3674 method based on the pixels height of the items visible on screen. This 3675 property is set to true by default but should be set to false if your adapter 3676 will display items of varying heights. When this property is set to true and 3677 your adapter displays items of varying heights, the scrollbar thumb will 3678 change size as the user scrolls through the list. When set to false, the list 3679 will use only the number of items in the adapter and the number of items visible 3680 on screen to determine the scrollbar's properties. --> 3681 <attr name="smoothScrollbar" format="boolean" /> 3682 <!-- Defines the choice behavior for the view. By default, lists do not have 3683 any choice behavior. By setting the choiceMode to singleChoice, the list 3684 allows up to one item to be in a chosen state. By setting the choiceMode to 3685 multipleChoice, the list allows any number of items to be chosen. 3686 Finally, by setting the choiceMode to multipleChoiceModal the list allows 3687 any number of items to be chosen in a special selection mode. 3688 The application will supply a 3689 {@link android.widget.AbsListView.MultiChoiceModeListener} using 3690 {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the 3691 selection mode. This uses the {@link android.view.ActionMode} API. --> 3692 <attr name="choiceMode"> 3693 <!-- Normal list that does not indicate choices. --> 3694 <enum name="none" value="0" /> 3695 <!-- The list allows up to one choice. --> 3696 <enum name="singleChoice" value="1" /> 3697 <!-- The list allows multiple choices. --> 3698 <enum name="multipleChoice" value="2" /> 3699 <!-- The list allows multiple choices in a custom selection mode. --> 3700 <enum name="multipleChoiceModal" value="3" /> 3701 </attr> 3702 3703 <!-- When set to true, the list will always show the fast scroll interface. 3704 This setting implies fastScrollEnabled. --> 3705 <attr name="fastScrollAlwaysVisible" format="boolean" /> 3706 </declare-styleable> 3707 <!-- @hide --> 3708 <declare-styleable name="RecycleListView"> 3709 <!-- Bottom padding to use when no buttons are present. --> 3710 <attr name="paddingBottomNoButtons" format="dimension" /> 3711 <!-- Top padding to use when no title is present. --> 3712 <attr name="paddingTopNoTitle" format="dimension" /> 3713 </declare-styleable> 3714 <declare-styleable name="AbsSpinner"> 3715 <!-- Reference to an array resource that will populate the Spinner. For static content, 3716 this is simpler than populating the Spinner programmatically. --> 3717 <attr name="entries" /> 3718 </declare-styleable> 3719 <declare-styleable name="AnalogClock"> 3720 <attr name="dial" format="reference"/> 3721 <attr name="hand_hour" format="reference"/> 3722 <attr name="hand_minute" format="reference"/> 3723 </declare-styleable> 3724 <declare-styleable name="Button"> 3725 </declare-styleable> 3726 <declare-styleable name="Chronometer"> 3727 <!-- Format string: if specified, the Chronometer will display this 3728 string, with the first "%s" replaced by the current timer value 3729 in "MM:SS" or "H:MM:SS" form. 3730 If no format string is specified, the Chronometer will simply display 3731 "MM:SS" or "H:MM:SS". --> 3732 <attr name="format" format="string" localization="suggested" /> 3733 <!-- Specifies whether this Chronometer counts down or counts up from the base. 3734 If not specified this is false and the Chronometer counts up. --> 3735 <attr name="countDown" format="boolean" /> 3736 </declare-styleable> 3737 <declare-styleable name="CompoundButton"> 3738 <!-- Indicates the initial checked state of this button. --> 3739 <attr name="checked" format="boolean" /> 3740 <!-- Drawable used for the button graphic (for example, checkbox and radio button). --> 3741 <attr name="button" format="reference" /> 3742 <!-- Tint to apply to the button graphic. --> 3743 <attr name="buttonTint" format="color" /> 3744 <!-- Blending mode used to apply the button graphic tint. --> 3745 <attr name="buttonTintMode"> 3746 <!-- The tint is drawn on top of the drawable. 3747 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3748 <enum name="src_over" value="3" /> 3749 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3750 color channels are thrown out. [Sa * Da, Sc * Da] --> 3751 <enum name="src_in" value="5" /> 3752 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3753 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3754 <enum name="src_atop" value="9" /> 3755 <!-- Multiplies the color and alpha channels of the drawable with those of 3756 the tint. [Sa * Da, Sc * Dc] --> 3757 <enum name="multiply" value="14" /> 3758 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3759 <enum name="screen" value="15" /> 3760 <!-- Combines the tint and drawable color and alpha channels, clamping the 3761 result to valid color values. Saturate(S + D) --> 3762 <enum name="add" value="16" /> 3763 </attr> 3764 </declare-styleable> 3765 <declare-styleable name="CheckedTextView"> 3766 <!-- Indicates the initial checked state of this text. --> 3767 <attr name="checked" /> 3768 <!-- Drawable used for the check mark graphic. --> 3769 <attr name="checkMark" format="reference"/> 3770 <!-- Tint to apply to the check mark. --> 3771 <attr name="checkMarkTint" format="color" /> 3772 <!-- Blending mode used to apply the check mark tint. --> 3773 <attr name="checkMarkTintMode"> 3774 <!-- The tint is drawn on top of the drawable. 3775 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3776 <enum name="src_over" value="3" /> 3777 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3778 color channels are thrown out. [Sa * Da, Sc * Da] --> 3779 <enum name="src_in" value="5" /> 3780 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3781 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3782 <enum name="src_atop" value="9" /> 3783 <!-- Multiplies the color and alpha channels of the drawable with those of 3784 the tint. [Sa * Da, Sc * Dc] --> 3785 <enum name="multiply" value="14" /> 3786 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3787 <enum name="screen" value="15" /> 3788 <!-- Combines the tint and drawable color and alpha channels, clamping the 3789 result to valid color values. Saturate(S + D) --> 3790 <enum name="add" value="16" /> 3791 </attr> 3792 <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. --> 3793 <attr name="checkMarkGravity"> 3794 <!-- Push object to the left of its container, not changing its size. --> 3795 <flag name="left" value="0x03" /> 3796 <!-- Push object to the right of its container, not changing its size. --> 3797 <flag name="right" value="0x05" /> 3798 <!-- Push object to the beginning of its container, not changing its size. --> 3799 <flag name="start" value="0x00800003" /> 3800 <!-- Push object to the end of its container, not changing its size. --> 3801 <flag name="end" value="0x00800005" /> 3802 </attr> 3803 </declare-styleable> 3804 <declare-styleable name="EditText"> 3805 </declare-styleable> 3806 <declare-styleable name="FastScroll"> 3807 <!-- Drawable used for the scroll bar thumb. --> 3808 <attr name="thumbDrawable" format="reference" /> 3809 <!-- Minimum width of the thumb. --> 3810 <attr name="thumbMinWidth" format="dimension" /> 3811 <!-- Minimum height of the thumb. --> 3812 <attr name="thumbMinHeight" format="dimension" /> 3813 <!-- Drawable used for the scroll bar track. --> 3814 <attr name="trackDrawable" format="reference" /> 3815 <!-- Drawable used for the section header preview when right-aligned. --> 3816 <attr name="backgroundRight" format="reference" /> 3817 <!-- Drawable used for the section header preview when left-aligned. --> 3818 <attr name="backgroundLeft" format="reference" /> 3819 <!-- Position of section header preview. --> 3820 <attr name="position"> 3821 <!-- Floating at the top of the content. --> 3822 <enum name="floating" value="0" /> 3823 <!-- Pinned to the thumb, vertically centered with the middle of the thumb. --> 3824 <enum name="atThumb" value="1" /> 3825 <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. --> 3826 <enum name="aboveThumb" value="2" /> 3827 </attr> 3828 <attr name="textAppearance" /> 3829 <attr name="textColor" /> 3830 <attr name="textSize" /> 3831 <!-- Minimum width of the section header preview. --> 3832 <attr name="minWidth" /> 3833 <!-- Minimum height of the section header preview. --> 3834 <attr name="minHeight" /> 3835 <!-- Padding for the section header preview. --> 3836 <attr name="padding" /> 3837 <!-- Position of thumb in relation to the track. --> 3838 <attr name="thumbPosition"> 3839 <!-- The thumb's midpoint is anchored to the track. At its 3840 extremes, the thumb will extend half-way outside the 3841 track. --> 3842 <enum name="midpoint" value="0" /> 3843 <!-- The thumb is entirely inside the track. At its extremes, 3844 the thumb will be contained entirely within the track. --> 3845 <enum name="inside" value="1" /> 3846 </attr> 3847 </declare-styleable> 3848 <declare-styleable name="FrameLayout"> 3849 <!-- Determines whether to measure all children or just those in 3850 the VISIBLE or INVISIBLE state when measuring. Defaults to false. --> 3851 <attr name="measureAllChildren" format="boolean" /> 3852 </declare-styleable> 3853 <declare-styleable name="ExpandableListView"> 3854 <!-- Indicator shown beside the group View. This can be a stateful Drawable. --> 3855 <attr name="groupIndicator" format="reference" /> 3856 <!-- Indicator shown beside the child View. This can be a stateful Drawable. --> 3857 <attr name="childIndicator" format="reference" /> 3858 <!-- The left bound for an item's indicator. To specify a left bound specific to children, 3859 use childIndicatorLeft. --> 3860 <attr name="indicatorLeft" format="dimension" /> 3861 <!-- The right bound for an item's indicator. To specify a right bound specific to children, 3862 use childIndicatorRight. --> 3863 <attr name="indicatorRight" format="dimension" /> 3864 <!-- The left bound for a child's indicator. --> 3865 <attr name="childIndicatorLeft" format="dimension" /> 3866 <!-- The right bound for a child's indicator. --> 3867 <attr name="childIndicatorRight" format="dimension" /> 3868 <!-- Drawable or color that is used as a divider for children. (It will drawn 3869 below and above child items.) The height of this will be the same as 3870 the height of the normal list item divider. --> 3871 <attr name="childDivider" format="reference|color" /> 3872 <!-- The start bound for an item's indicator. To specify a start bound specific to children, 3873 use childIndicatorStart. --> 3874 <attr name="indicatorStart" format="dimension" /> 3875 <!-- The end bound for an item's indicator. To specify a right bound specific to children, 3876 use childIndicatorEnd. --> 3877 <attr name="indicatorEnd" format="dimension" /> 3878 <!-- The start bound for a child's indicator. --> 3879 <attr name="childIndicatorStart" format="dimension" /> 3880 <!-- The end bound for a child's indicator. --> 3881 <attr name="childIndicatorEnd" format="dimension" /> 3882 </declare-styleable> 3883 <declare-styleable name="Gallery"> 3884 <attr name="gravity" /> 3885 <!-- Sets how long a transition animation should run (in milliseconds) 3886 when layout has changed. Only relevant if animation is turned on. --> 3887 <attr name="animationDuration" format="integer" min="0" /> 3888 <attr name="spacing" format="dimension" /> 3889 <!-- Sets the alpha on the items that are not selected. --> 3890 <attr name="unselectedAlpha" format="float" /> 3891 </declare-styleable> 3892 <declare-styleable name="GridView"> 3893 <!-- Defines the default horizontal spacing between columns. --> 3894 <attr name="horizontalSpacing" format="dimension" /> 3895 <!-- Defines the default vertical spacing between rows. --> 3896 <attr name="verticalSpacing" format="dimension" /> 3897 <!-- Defines how columns should stretch to fill the available empty space, if any. --> 3898 <attr name="stretchMode"> 3899 <!-- Stretching is disabled. --> 3900 <enum name="none" value="0"/> 3901 <!-- The spacing between each column is stretched. --> 3902 <enum name="spacingWidth" value="1" /> 3903 <!-- Each column is stretched equally. --> 3904 <enum name="columnWidth" value="2" /> 3905 <!-- The spacing between each column is uniformly stretched.. --> 3906 <enum name="spacingWidthUniform" value="3" /> 3907 </attr> 3908 <!-- Specifies the fixed width for each column. --> 3909 <attr name="columnWidth" format="dimension" /> 3910 <!-- Defines how many columns to show. --> 3911 <attr name="numColumns" format="integer" min="0"> 3912 <!-- Display as many columns as possible to fill the available space. --> 3913 <enum name="auto_fit" value="-1" /> 3914 </attr> 3915 <!-- Specifies the gravity within each cell. --> 3916 <attr name="gravity" /> 3917 </declare-styleable> 3918 <declare-styleable name="ImageSwitcher"> 3919 </declare-styleable> 3920 <declare-styleable name="ImageView"> 3921 <!-- Sets a drawable as the content of this ImageView. --> 3922 <attr name="src" format="reference|color" /> 3923 <!-- Controls how the image should be resized or moved to match the size 3924 of this ImageView. See {@link android.widget.ImageView.ScaleType} --> 3925 <attr name="scaleType"> 3926 <!-- Scale using the image matrix when drawing. See 3927 {@link android.widget.ImageView#setImageMatrix(Matrix)}. --> 3928 <enum name="matrix" value="0" /> 3929 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. --> 3930 <enum name="fitXY" value="1" /> 3931 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. --> 3932 <enum name="fitStart" value="2" /> 3933 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. --> 3934 <enum name="fitCenter" value="3" /> 3935 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. --> 3936 <enum name="fitEnd" value="4" /> 3937 <!-- Center the image in the view, but perform no scaling. --> 3938 <enum name="center" value="5" /> 3939 <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions 3940 (width and height) of the image will be equal to or larger than the corresponding 3941 dimension of the view (minus padding). The image is then centered in the view. --> 3942 <enum name="centerCrop" value="6" /> 3943 <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both 3944 dimensions (width and height) of the image will be equal to or less than the 3945 corresponding dimension of the view (minus padding). The image is then centered in 3946 the view. --> 3947 <enum name="centerInside" value="7" /> 3948 </attr> 3949 <!-- Set this to true if you want the ImageView to adjust its bounds 3950 to preserve the aspect ratio of its drawable. --> 3951 <attr name="adjustViewBounds" format="boolean" /> 3952 <!-- An optional argument to supply a maximum width for this view. 3953 See {see android.widget.ImageView#setMaxWidth} for details. --> 3954 <attr name="maxWidth" format="dimension" /> 3955 <!-- An optional argument to supply a maximum height for this view. 3956 See {see android.widget.ImageView#setMaxHeight} for details. --> 3957 <attr name="maxHeight" format="dimension" /> 3958 <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode. 3959 Please note that for compatibility reasons, this is NOT consistent with the default 3960 SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by 3961 similar tint attributes on other views. --> 3962 <attr name="tint" format="color" /> 3963 <!-- If true, the image view will be baseline aligned with based on its 3964 bottom edge. --> 3965 <attr name="baselineAlignBottom" format="boolean" /> 3966 <!-- If true, the image will be cropped to fit within its padding. --> 3967 <attr name="cropToPadding" format="boolean" /> 3968 <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline} 3969 for details --> 3970 <attr name="baseline" format="dimension" /> 3971 <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent 3972 to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). --> 3973 <attr name="drawableAlpha" format="integer" /> 3974 <!-- Blending mode used to apply the image tint. --> 3975 <attr name="tintMode" /> 3976 </declare-styleable> 3977 <declare-styleable name="ToggleButton"> 3978 <!-- The text for the button when it is checked. --> 3979 <attr name="textOn" format="string" /> 3980 <!-- The text for the button when it is not checked. --> 3981 <attr name="textOff" format="string" /> 3982 <!-- The alpha to apply to the indicator when disabled. --> 3983 <attr name="disabledAlpha" /> 3984 </declare-styleable> 3985 <declare-styleable name="RelativeLayout"> 3986 <attr name="gravity" /> 3987 <!-- Indicates what view should not be affected by gravity. --> 3988 <attr name="ignoreGravity" format="reference" /> 3989 </declare-styleable> 3990 <declare-styleable name="LinearLayout"> 3991 <!-- Should the layout be a column or a row? Use "horizontal" 3992 for a row, "vertical" for a column. The default is 3993 horizontal. --> 3994 <attr name="orientation" /> 3995 <attr name="gravity" /> 3996 <!-- When set to false, prevents the layout from aligning its children's 3997 baselines. This attribute is particularly useful when the children 3998 use different values for gravity. The default value is true. --> 3999 <attr name="baselineAligned" format="boolean" /> 4000 <!-- When a linear layout is part of another layout that is baseline 4001 aligned, it can specify which of its children to baseline align to 4002 (that is, which child TextView).--> 4003 <attr name="baselineAlignedChildIndex" format="integer" min="0"/> 4004 <!-- Defines the maximum weight sum. If unspecified, the sum is computed 4005 by adding the layout_weight of all of the children. This can be 4006 used for instance to give a single child 50% of the total available 4007 space by giving it a layout_weight of 0.5 and setting the weightSum 4008 to 1.0. --> 4009 <attr name="weightSum" format="float" /> 4010 <!-- When set to true, all children with a weight will be considered having 4011 the minimum size of the largest child. If false, all children are 4012 measured normally. --> 4013 <attr name="measureWithLargestChild" format="boolean" /> 4014 <!-- Drawable to use as a vertical divider between buttons. --> 4015 <attr name="divider" /> 4016 <!-- Setting for which dividers to show. --> 4017 <attr name="showDividers"> 4018 <flag name="none" value="0" /> 4019 <flag name="beginning" value="1" /> 4020 <flag name="middle" value="2" /> 4021 <flag name="end" value="4" /> 4022 </attr> 4023 <!-- Size of padding on either end of a divider. --> 4024 <attr name="dividerPadding" format="dimension" /> 4025 </declare-styleable> 4026 <declare-styleable name="GridLayout"> 4027 <!-- The orientation property is not used during layout. It is only used to 4028 allocate row and column parameters when they are not specified by its children's 4029 layout paramters. GridLayout works like LinearLayout in this case; 4030 putting all the components either in a single row or in a single column - 4031 depending on the value of this flag. In the horizontal case, a columnCount 4032 property may be additionally supplied to force new rows to be created when a 4033 row is full. The rowCount attribute may be used similarly in the vertical case. 4034 The default is horizontal. --> 4035 <attr name="orientation" /> 4036 <!-- The maxmimum number of rows to create when automatically positioning children. --> 4037 <attr name="rowCount" format="integer" /> 4038 <!-- The maxmimum number of columns to create when automatically positioning children. --> 4039 <attr name="columnCount" format="integer" /> 4040 <!-- When set to true, tells GridLayout to use default margins when none are specified 4041 in a view's layout parameters. 4042 The default value is false. 4043 See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.--> 4044 <attr name="useDefaultMargins" format="boolean" /> 4045 <!-- When set to alignMargins, causes alignment to take place between the outer 4046 boundary of a view, as defined by its margins. When set to alignBounds, 4047 causes alignment to take place between the edges of the view. 4048 The default is alignMargins. 4049 See {@link android.widget.GridLayout#setAlignmentMode(int)}.--> 4050 <attr name="alignmentMode" /> 4051 <!-- When set to true, forces row boundaries to appear in the same order 4052 as row indices. 4053 The default is true. 4054 See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.--> 4055 <attr name="rowOrderPreserved" format="boolean" /> 4056 <!-- When set to true, forces column boundaries to appear in the same order 4057 as column indices. 4058 The default is true. 4059 See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.--> 4060 <attr name="columnOrderPreserved" format="boolean" /> 4061 </declare-styleable> 4062 <declare-styleable name="ListView"> 4063 <!-- Reference to an array resource that will populate the ListView. For static content, 4064 this is simpler than populating the ListView programmatically. --> 4065 <attr name="entries" /> 4066 <!-- Drawable or color to draw between list items. --> 4067 <attr name="divider" format="reference|color" /> 4068 <!-- Height of the divider. Will use the intrinsic height of the divider if this 4069 is not specified. --> 4070 <attr name="dividerHeight" format="dimension" /> 4071 <!-- When set to false, the ListView will not draw the divider after each header view. 4072 The default value is true. --> 4073 <attr name="headerDividersEnabled" format="boolean" /> 4074 <!-- When set to false, the ListView will not draw the divider before each footer view. 4075 The default value is true. --> 4076 <attr name="footerDividersEnabled" format="boolean" /> 4077 <!-- Drawable to draw above list content. --> 4078 <attr name="overScrollHeader" format="reference|color" /> 4079 <!-- Drawable to draw below list content. --> 4080 <attr name="overScrollFooter" format="reference|color" /> 4081 </declare-styleable> 4082 <declare-styleable name="PreferenceFrameLayout"> 4083 <!-- Padding to use at the top of the prefs content. --> 4084 <attr name="borderTop" format="dimension" /> 4085 <!-- Padding to use at the bottom of the prefs content. --> 4086 <attr name="borderBottom" format="dimension" /> 4087 <!-- Padding to use at the left of the prefs content. --> 4088 <attr name="borderLeft" format="dimension" /> 4089 <!-- Padding to use at the right of the prefs content. --> 4090 <attr name="borderRight" format="dimension" /> 4091 </declare-styleable> 4092 <declare-styleable name="PreferenceFrameLayout_Layout"> 4093 <!-- Padding to use at the top of the prefs content. --> 4094 <attr name="layout_removeBorders" format="boolean" /> 4095 </declare-styleable> 4096 <declare-styleable name="MenuView"> 4097 <!-- Default appearance of menu item text. --> 4098 <attr name="itemTextAppearance" format="reference" /> 4099 <!-- Default horizontal divider between rows of menu items. --> 4100 <attr name="horizontalDivider" format="reference" /> 4101 <!-- Default vertical divider between menu items. --> 4102 <attr name="verticalDivider" format="reference" /> 4103 <!-- Default background for the menu header. --> 4104 <attr name="headerBackground" format="color|reference" /> 4105 <!-- Default background for each menu item. --> 4106 <attr name="itemBackground" format="color|reference" /> 4107 <!-- Default animations for the menu. --> 4108 <attr name="windowAnimationStyle" /> 4109 <!-- Default disabled icon alpha for each menu item that shows an icon. --> 4110 <attr name="itemIconDisabledAlpha" format="float" /> 4111 <!-- Whether space should be reserved in layout when an icon is missing. --> 4112 <attr name="preserveIconSpacing" format="boolean" /> 4113 <!-- Drawable for the arrow icon indicating a particular item is a submenu. --> 4114 <attr name="subMenuArrow" format="reference" /> 4115 </declare-styleable> 4116 <declare-styleable name="IconMenuView"> 4117 <!-- Defines the height of each row. --> 4118 <attr name="rowHeight" format="dimension" /> 4119 <!-- Defines the maximum number of rows displayed. --> 4120 <attr name="maxRows" format="integer" /> 4121 <!-- Defines the maximum number of items per row. --> 4122 <attr name="maxItemsPerRow" format="integer" /> 4123 <!-- Defines the maximum number of items to show. --> 4124 <attr name="maxItems" format="integer" /> 4125 <!-- 'More' icon. --> 4126 <attr name="moreIcon" format="reference" /> 4127 </declare-styleable> 4128 4129 <declare-styleable name="ProgressBar"> 4130 <attr name="min" format="integer" /> 4131 <!-- Defines the maximum value the progress can take. --> 4132 <attr name="max" format="integer" /> 4133 <!-- Defines the default progress value, between 0 and max. --> 4134 <attr name="progress" format="integer" /> 4135 <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between 4136 the primary progress and the background. It can be ideal for media scenarios such as 4137 showing the buffering progress while the default progress shows the play progress. --> 4138 <attr name="secondaryProgress" format="integer" /> 4139 <!-- Allows to enable the indeterminate mode. In this mode the progress 4140 bar plays an infinite looping animation. --> 4141 <attr name="indeterminate" format="boolean" /> 4142 <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). --> 4143 <attr name="indeterminateOnly" format="boolean" /> 4144 <!-- Drawable used for the indeterminate mode. --> 4145 <attr name="indeterminateDrawable" format="reference" /> 4146 <!-- Drawable used for the progress mode. --> 4147 <attr name="progressDrawable" format="reference" /> 4148 <!-- Duration of the indeterminate animation. --> 4149 <attr name="indeterminateDuration" format="integer" min="1" /> 4150 <!-- Defines how the indeterminate mode should behave when the progress 4151 reaches max. --> 4152 <attr name="indeterminateBehavior"> 4153 <!-- Progress starts over from 0. --> 4154 <enum name="repeat" value="1" /> 4155 <!-- Progress keeps the current value and goes back to 0. --> 4156 <enum name="cycle" value="2" /> 4157 </attr> 4158 <attr name="minWidth" format="dimension" /> 4159 <attr name="maxWidth" /> 4160 <attr name="minHeight" format="dimension" /> 4161 <attr name="maxHeight" /> 4162 <attr name="interpolator" format="reference" /> 4163 <!-- Timeout between frames of animation in milliseconds. 4164 {@deprecated Not used by the framework}. --> 4165 <attr name="animationResolution" format="integer" /> 4166 <!-- Defines if the associated drawables need to be mirrored when in RTL mode. 4167 Default is false. --> 4168 <attr name="mirrorForRtl" format="boolean" /> 4169 <!-- Tint to apply to the progress indicator. --> 4170 <attr name="progressTint" format="color" /> 4171 <!-- Blending mode used to apply the progress indicator tint. --> 4172 <attr name="progressTintMode"> 4173 <!-- The tint is drawn on top of the drawable. 4174 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4175 <enum name="src_over" value="3" /> 4176 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4177 color channels are thrown out. [Sa * Da, Sc * Da] --> 4178 <enum name="src_in" value="5" /> 4179 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4180 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4181 <enum name="src_atop" value="9" /> 4182 <!-- Multiplies the color and alpha channels of the drawable with those of 4183 the tint. [Sa * Da, Sc * Dc] --> 4184 <enum name="multiply" value="14" /> 4185 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4186 <enum name="screen" value="15" /> 4187 <!-- Combines the tint and drawable color and alpha channels, clamping the 4188 result to valid color values. Saturate(S + D) --> 4189 <enum name="add" value="16" /> 4190 </attr> 4191 <!-- Tint to apply to the progress indicator background. --> 4192 <attr name="progressBackgroundTint" format="color" /> 4193 <!-- Blending mode used to apply the progress indicator background tint. --> 4194 <attr name="progressBackgroundTintMode"> 4195 <!-- The tint is drawn on top of the drawable. 4196 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4197 <enum name="src_over" value="3" /> 4198 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4199 color channels are thrown out. [Sa * Da, Sc * Da] --> 4200 <enum name="src_in" value="5" /> 4201 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4202 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4203 <enum name="src_atop" value="9" /> 4204 <!-- Multiplies the color and alpha channels of the drawable with those of 4205 the tint. [Sa * Da, Sc * Dc] --> 4206 <enum name="multiply" value="14" /> 4207 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4208 <enum name="screen" value="15" /> 4209 <!-- Combines the tint and drawable color and alpha channels, clamping the 4210 result to valid color values. Saturate(S + D) --> 4211 <enum name="add" value="16" /> 4212 </attr> 4213 <!-- Tint to apply to the secondary progress indicator. --> 4214 <attr name="secondaryProgressTint" format="color" /> 4215 <!-- Blending mode used to apply the secondary progress indicator tint. --> 4216 <attr name="secondaryProgressTintMode"> 4217 <!-- The tint is drawn on top of the drawable. 4218 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4219 <enum name="src_over" value="3" /> 4220 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4221 color channels are thrown out. [Sa * Da, Sc * Da] --> 4222 <enum name="src_in" value="5" /> 4223 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4224 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4225 <enum name="src_atop" value="9" /> 4226 <!-- Multiplies the color and alpha channels of the drawable with those of 4227 the tint. [Sa * Da, Sc * Dc] --> 4228 <enum name="multiply" value="14" /> 4229 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4230 <enum name="screen" value="15" /> 4231 <!-- Combines the tint and drawable color and alpha channels, clamping the 4232 result to valid color values. Saturate(S + D) --> 4233 <enum name="add" value="16" /> 4234 </attr> 4235 <!-- Tint to apply to the indeterminate progress indicator. --> 4236 <attr name="indeterminateTint" format="color" /> 4237 <!-- Blending mode used to apply the indeterminate progress indicator tint. --> 4238 <attr name="indeterminateTintMode"> 4239 <!-- The tint is drawn on top of the drawable. 4240 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4241 <enum name="src_over" value="3" /> 4242 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4243 color channels are thrown out. [Sa * Da, Sc * Da] --> 4244 <enum name="src_in" value="5" /> 4245 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4246 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4247 <enum name="src_atop" value="9" /> 4248 <!-- Multiplies the color and alpha channels of the drawable with those of 4249 the tint. [Sa * Da, Sc * Dc] --> 4250 <enum name="multiply" value="14" /> 4251 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4252 <enum name="screen" value="15" /> 4253 <!-- Combines the tint and drawable color and alpha channels, clamping the 4254 result to valid color values. Saturate(S + D) --> 4255 <enum name="add" value="16" /> 4256 </attr> 4257 <!-- Tint to apply to the background. --> 4258 <attr name="backgroundTint" /> 4259 <!-- Blending mode used to apply the background tint. --> 4260 <attr name="backgroundTintMode" /> 4261 </declare-styleable> 4262 4263 <declare-styleable name="SeekBar"> 4264 <!-- Draws the thumb on a seekbar. --> 4265 <attr name="thumb" format="reference" /> 4266 <!-- An offset for the thumb that allows it to extend out of the range of the track. --> 4267 <attr name="thumbOffset" format="dimension" /> 4268 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 4269 <attr name="splitTrack" format="boolean" /> 4270 <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha 4271 when disabled. This is required for Holo and Gingerbread, but 4272 should always be false for Material and beyond. 4273 @hide Developers shouldn't need to change this. --> 4274 <attr name="useDisabledAlpha" format="boolean" /> 4275 <!-- Tint to apply to the thumb drawable. --> 4276 <attr name="thumbTint" format="color" /> 4277 <!-- Blending mode used to apply the thumb tint. --> 4278 <attr name="thumbTintMode"> 4279 <!-- The tint is drawn on top of the drawable. 4280 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4281 <enum name="src_over" value="3" /> 4282 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4283 color channels are thrown out. [Sa * Da, Sc * Da] --> 4284 <enum name="src_in" value="5" /> 4285 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4286 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4287 <enum name="src_atop" value="9" /> 4288 <!-- Multiplies the color and alpha channels of the drawable with those of 4289 the tint. [Sa * Da, Sc * Dc] --> 4290 <enum name="multiply" value="14" /> 4291 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4292 <enum name="screen" value="15" /> 4293 <!-- Combines the tint and drawable color and alpha channels, clamping the 4294 result to valid color values. Saturate(S + D) --> 4295 <enum name="add" value="16" /> 4296 </attr> 4297 <!-- Drawable displayed at each progress position on a seekbar. --> 4298 <attr name="tickMark" format="reference" /> 4299 <!-- Tint to apply to the tick mark drawable. --> 4300 <attr name="tickMarkTint" format="color" /> 4301 <!-- Blending mode used to apply the tick mark tint. --> 4302 <attr name="tickMarkTintMode"> 4303 <!-- The tint is drawn on top of the drawable. 4304 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4305 <enum name="src_over" value="3" /> 4306 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4307 color channels are thrown out. [Sa * Da, Sc * Da] --> 4308 <enum name="src_in" value="5" /> 4309 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4310 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4311 <enum name="src_atop" value="9" /> 4312 <!-- Multiplies the color and alpha channels of the drawable with those of 4313 the tint. [Sa * Da, Sc * Dc] --> 4314 <enum name="multiply" value="14" /> 4315 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4316 <enum name="screen" value="15" /> 4317 <!-- Combines the tint and drawable color and alpha channels, clamping the 4318 result to valid color values. Saturate(S + D) --> 4319 <enum name="add" value="16" /> 4320 </attr> 4321 </declare-styleable> 4322 4323 <declare-styleable name="StackView"> 4324 <!-- Color of the res-out outline. --> 4325 <attr name="resOutColor" format="color" /> 4326 <!-- Color of the outline of click feedback. --> 4327 <attr name="clickColor" format="color" /> 4328 </declare-styleable> 4329 4330 <declare-styleable name="RatingBar"> 4331 <!-- The number of stars (or rating items) to show. --> 4332 <attr name="numStars" format="integer" /> 4333 <!-- The rating to set by default. --> 4334 <attr name="rating" format="float" /> 4335 <!-- The step size of the rating. --> 4336 <attr name="stepSize" format="float" /> 4337 <!-- Whether this rating bar is an indicator (and non-changeable by the user). --> 4338 <attr name="isIndicator" format="boolean" /> 4339 </declare-styleable> 4340 4341 <declare-styleable name="RadioGroup"> 4342 <!-- The id of the child radio button that should be checked by default 4343 within this radio group. --> 4344 <attr name="checkedButton" format="integer" /> 4345 <!-- Should the radio group be a column or a row? Use "horizontal" 4346 for a row, "vertical" for a column. The default is 4347 vertical. --> 4348 <attr name="orientation" /> 4349 </declare-styleable> 4350 <declare-styleable name="TableLayout"> 4351 <!-- The zero-based index of the columns to stretch. The column indices 4352 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4353 indices are ignored. You can stretch all columns by using the 4354 value "*" instead. Note that a column can be marked stretchable 4355 and shrinkable at the same time. --> 4356 <attr name="stretchColumns" format="string" /> 4357 <!-- The zero-based index of the columns to shrink. The column indices 4358 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4359 indices are ignored. You can shrink all columns by using the 4360 value "*" instead. Note that a column can be marked stretchable 4361 and shrinkable at the same time. --> 4362 <attr name="shrinkColumns" format="string" /> 4363 <!-- The zero-based index of the columns to collapse. The column indices 4364 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4365 indices are ignored. --> 4366 <attr name="collapseColumns" format="string" /> 4367 </declare-styleable> 4368 <declare-styleable name="TableRow"> 4369 4370 </declare-styleable> 4371 <declare-styleable name="TableRow_Cell"> 4372 <!-- The index of the column in which this child should be. --> 4373 <attr name="layout_column" format="integer" /> 4374 <!-- Defines how many columns this child should span. Must be >= 1.--> 4375 <attr name="layout_span" format="integer" /> 4376 </declare-styleable> 4377 <declare-styleable name="TabWidget"> 4378 <!-- Drawable used to draw the divider between tabs. --> 4379 <attr name="divider" /> 4380 <!-- Determines whether the strip under the tab indicators is drawn or not. --> 4381 <attr name="tabStripEnabled" format="boolean" /> 4382 <!-- Drawable used to draw the left part of the strip underneath the tabs. --> 4383 <attr name="tabStripLeft" format="reference" /> 4384 <!-- Drawable used to draw the right part of the strip underneath the tabs. --> 4385 <attr name="tabStripRight" format="reference" /> 4386 <!-- Layout used to organize each tab's content. --> 4387 <attr name="tabLayout" format="reference" /> 4388 </declare-styleable> 4389 <declare-styleable name="TextAppearance"> 4390 <!-- Text color. --> 4391 <attr name="textColor" /> 4392 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4393 <attr name="textSize" /> 4394 <!-- Style (bold, italic, bolditalic) for the text. --> 4395 <attr name="textStyle" /> 4396 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4397 <attr name="typeface" /> 4398 <!-- Font family (named by string) for the text. --> 4399 <attr name="fontFamily" /> 4400 <!-- Color of the text selection highlight. --> 4401 <attr name="textColorHighlight" /> 4402 <!-- Color of the hint text. --> 4403 <attr name="textColorHint" /> 4404 <!-- Color of the links. --> 4405 <attr name="textColorLink" /> 4406 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4407 <attr name="textAllCaps" format="boolean" /> 4408 <!-- Place a blurred shadow of text underneath the text, drawn with the 4409 specified color. The text shadow produced does not interact with 4410 properties on View that are responsible for real time shadows, 4411 {@link android.R.styleable#View_elevation elevation} and 4412 {@link android.R.styleable#View_translationZ translationZ}. --> 4413 <attr name="shadowColor" format="color" /> 4414 <!-- Horizontal offset of the text shadow. --> 4415 <attr name="shadowDx" format="float" /> 4416 <!-- Vertical offset of the text shadow. --> 4417 <attr name="shadowDy" format="float" /> 4418 <!-- Blur radius of the text shadow. --> 4419 <attr name="shadowRadius" format="float" /> 4420 <!-- Elegant text height, especially for less compacted complex script text. --> 4421 <attr name="elegantTextHeight" format="boolean" /> 4422 <!-- Text letter-spacing. --> 4423 <attr name="letterSpacing" format="float" /> 4424 <!-- Font feature settings. --> 4425 <attr name="fontFeatureSettings" format="string" /> 4426 </declare-styleable> 4427 <declare-styleable name="TextClock"> 4428 <!-- Specifies the formatting pattern used to show the time and/or date 4429 in 12-hour mode. Please refer to {@link android.text.format.DateFormat} 4430 for a complete description of accepted formatting patterns. 4431 The default pattern is a locale-appropriate equivalent of "h:mm a". --> 4432 <attr name="format12Hour" format="string"/> 4433 <!-- Specifies the formatting pattern used to show the time and/or date 4434 in 24-hour mode. Please refer to {@link android.text.format.DateFormat} 4435 for a complete description of accepted formatting patterns. 4436 The default pattern is a locale-appropriate equivalent of "H:mm". --> 4437 <attr name="format24Hour" format="string"/> 4438 <!-- Specifies the time zone to use. When this attribute is specified, the 4439 TextClock will ignore the time zone of the system. To use the user's 4440 time zone, do not specify this attribute. The default value is the 4441 user's time zone. Please refer to {@link java.util.TimeZone} for more 4442 information about time zone ids. --> 4443 <attr name="timeZone" format="string"/> 4444 </declare-styleable> 4445 <declare-styleable name="TextSwitcher"> 4446 </declare-styleable> 4447 <declare-styleable name="TextView"> 4448 <!-- Determines the minimum type that getText() will return. 4449 The default is "normal". 4450 Note that EditText and LogTextBox always return Editable, 4451 even if you specify something less powerful here. --> 4452 <attr name="bufferType"> 4453 <!-- Can return any CharSequence, possibly a 4454 Spanned one if the source text was Spanned. --> 4455 <enum name="normal" value="0" /> 4456 <!-- Can only return Spannable. --> 4457 <enum name="spannable" value="1" /> 4458 <!-- Can only return Spannable and Editable. --> 4459 <enum name="editable" value="2" /> 4460 </attr> 4461 <!-- Text to display. --> 4462 <attr name="text" format="string" localization="suggested" /> 4463 <!-- Hint text to display when the text is empty. --> 4464 <attr name="hint" format="string" /> 4465 <!-- Text color. --> 4466 <attr name="textColor" /> 4467 <!-- Color of the text selection highlight. --> 4468 <attr name="textColorHighlight" /> 4469 <!-- Color of the hint text. --> 4470 <attr name="textColorHint" /> 4471 <!-- Base text color, typeface, size, and style. --> 4472 <attr name="textAppearance" /> 4473 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4474 <attr name="textSize" /> 4475 <!-- Sets the horizontal scaling factor for the text. --> 4476 <attr name="textScaleX" format="float" /> 4477 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4478 <attr name="typeface" /> 4479 <!-- Style (bold, italic, bolditalic) for the text. --> 4480 <attr name="textStyle" /> 4481 <!-- Font family (named by string) for the text. --> 4482 <attr name="fontFamily" /> 4483 <!-- Text color for links. --> 4484 <attr name="textColorLink" /> 4485 <!-- Makes the cursor visible (the default) or invisible. --> 4486 <attr name="cursorVisible" format="boolean" /> 4487 <!-- Makes the TextView be at most this many lines tall. 4488 4489 When used on an editable text, the <code>inputType</code> attribute's value must be 4490 combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. --> 4491 <attr name="maxLines" format="integer" min="0" /> 4492 <!-- Makes the TextView be at most this many pixels tall. --> 4493 <attr name="maxHeight" /> 4494 <!-- Makes the TextView be exactly this many lines tall. --> 4495 <attr name="lines" format="integer" min="0" /> 4496 <!-- Makes the TextView be exactly this many pixels tall. 4497 You could get the same effect by specifying this number in the 4498 layout parameters. --> 4499 <attr name="height" format="dimension" /> 4500 <!-- Makes the TextView be at least this many lines tall. 4501 4502 When used on an editable text, the <code>inputType</code> attribute's value must be 4503 combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. --> 4504 <attr name="minLines" format="integer" min="0" /> 4505 <!-- Makes the TextView be at least this many pixels tall. --> 4506 <attr name="minHeight" /> 4507 <!-- Makes the TextView be at most this many ems wide. --> 4508 <attr name="maxEms" format="integer" min="0" /> 4509 <!-- Makes the TextView be at most this many pixels wide. --> 4510 <attr name="maxWidth" /> 4511 <!-- Makes the TextView be exactly this many ems wide. --> 4512 <attr name="ems" format="integer" min="0" /> 4513 <!-- Makes the TextView be exactly this many pixels wide. 4514 You could get the same effect by specifying this number in the 4515 layout parameters. --> 4516 <attr name="width" format="dimension" /> 4517 <!-- Makes the TextView be at least this many ems wide. --> 4518 <attr name="minEms" format="integer" min="0" /> 4519 <!-- Makes the TextView be at least this many pixels wide. --> 4520 <attr name="minWidth" /> 4521 <!-- Specifies how to align the text by the view's x- and/or y-axis 4522 when the text is smaller than the view. --> 4523 <attr name="gravity" /> 4524 <!-- Whether the text is allowed to be wider than the view (and 4525 therefore can be scrolled horizontally). --> 4526 <attr name="scrollHorizontally" format="boolean" /> 4527 <!-- Whether the characters of the field are displayed as 4528 password dots instead of themselves. 4529 {@deprecated Use inputType instead.} --> 4530 <attr name="password" format="boolean" /> 4531 <!-- Constrains the text to a single horizontally scrolling line 4532 instead of letting it wrap onto multiple lines, and advances 4533 focus instead of inserting a newline when you press the 4534 enter key. 4535 4536 The default value is false (multi-line wrapped text mode) for non-editable text, but if 4537 you specify any value for inputType, the default is true (single-line input field mode). 4538 4539 {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change 4540 the layout of a static text, and use the <code>textMultiLine</code> flag in the 4541 inputType attribute instead for editable text views (if both singleLine and inputType 4542 are supplied, the inputType flags will override the value of singleLine). } --> 4543 <attr name="singleLine" format="boolean" /> 4544 <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. 4545 For example, a non-enabled EditText prevents the user from editing the contained text, and 4546 a non-enabled Button prevents the user from tapping the button. 4547 The appearance of enabled and non-enabled widgets may differ, if the drawables referenced 4548 from evaluating state_enabled differ. --> 4549 <attr name="enabled" format="boolean" /> 4550 <!-- If the text is selectable, select it all when the view takes 4551 focus. --> 4552 <attr name="selectAllOnFocus" format="boolean" /> 4553 <!-- Leave enough room for ascenders and descenders instead of 4554 using the font ascent and descent strictly. (Normally true). --> 4555 <attr name="includeFontPadding" format="boolean" /> 4556 <!-- Set an input filter to constrain the text length to the 4557 specified number. --> 4558 <attr name="maxLength" format="integer" min="0" /> 4559 <!-- Place a blurred shadow of text underneath the text, drawn with the 4560 specified color. The text shadow produced does not interact with 4561 properties on View that are responsible for real time shadows, 4562 {@link android.R.styleable#View_elevation elevation} and 4563 {@link android.R.styleable#View_translationZ translationZ}. --> 4564 <attr name="shadowColor" /> 4565 <!-- Horizontal offset of the text shadow. --> 4566 <attr name="shadowDx" /> 4567 <!-- Vertical offset of the text shadow. --> 4568 <attr name="shadowDy" /> 4569 <!-- Blur radius of the text shadow. --> 4570 <attr name="shadowRadius" /> 4571 <attr name="autoLink" /> 4572 <!-- If set to false, keeps the movement method from being set 4573 to the link movement method even if autoLink causes links 4574 to be found. --> 4575 <attr name="linksClickable" format="boolean" /> 4576 <!-- If set, specifies that this TextView has a numeric input method. 4577 The default is false. 4578 {@deprecated Use inputType instead.} --> 4579 <attr name="numeric"> 4580 <!-- Input is numeric. --> 4581 <flag name="integer" value="0x01" /> 4582 <!-- Input is numeric, with sign allowed. --> 4583 <flag name="signed" value="0x03" /> 4584 <!-- Input is numeric, with decimals allowed. --> 4585 <flag name="decimal" value="0x05" /> 4586 </attr> 4587 <!-- If set, specifies that this TextView has a numeric input method 4588 and that these specific characters are the ones that it will 4589 accept. 4590 If this is set, numeric is implied to be true. 4591 The default is false. --> 4592 <attr name="digits" format="string" /> 4593 <!-- If set, specifies that this TextView has a phone number input 4594 method. The default is false. 4595 {@deprecated Use inputType instead.} --> 4596 <attr name="phoneNumber" format="boolean" /> 4597 <!-- If set, specifies that this TextView should use the specified 4598 input method (specified by fully-qualified class name). 4599 {@deprecated Use inputType instead.} --> 4600 <attr name="inputMethod" format="string" /> 4601 <!-- If set, specifies that this TextView has a textual input method 4602 and should automatically capitalize what the user types. 4603 The default is "none". 4604 {@deprecated Use inputType instead.} --> 4605 <attr name="capitalize"> 4606 <!-- Don't automatically capitalize anything. --> 4607 <enum name="none" value="0" /> 4608 <!-- Capitalize the first word of each sentence. --> 4609 <enum name="sentences" value="1" /> 4610 <!-- Capitalize the first letter of every word. --> 4611 <enum name="words" value="2" /> 4612 <!-- Capitalize every character. --> 4613 <enum name="characters" value="3" /> 4614 </attr> 4615 <!-- If set, specifies that this TextView has a textual input method 4616 and automatically corrects some common spelling errors. 4617 The default is "false". 4618 {@deprecated Use inputType instead.} --> 4619 <attr name="autoText" format="boolean" /> 4620 <!-- If set, specifies that this TextView has an input method. 4621 It will be a textual one unless it has otherwise been specified. 4622 For TextView, this is false by default. For EditText, it is 4623 true by default. 4624 {@deprecated Use inputType instead.} --> 4625 <attr name="editable" format="boolean" /> 4626 <!-- If set, the text view will include its current complete text 4627 inside of its frozen icicle in addition to meta-data such as 4628 the current cursor position. By default this is disabled; 4629 it can be useful when the contents of a text view is not stored 4630 in a persistent place such as a content provider. For 4631 {@link android.widget.EditText} it is always enabled, regardless 4632 of the value of the attribute. --> 4633 <attr name="freezesText" format="boolean" /> 4634 <!-- If set, causes words that are longer than the view is wide 4635 to be ellipsized instead of broken in the middle. 4636 You will often also want to set scrollHorizontally or singleLine 4637 as well so that the text as a whole is also constrained to 4638 a single line instead of still allowed to be broken onto 4639 multiple lines. --> 4640 <attr name="ellipsize" /> 4641 <!-- The drawable to be drawn above the text. --> 4642 <attr name="drawableTop" format="reference|color" /> 4643 <!-- The drawable to be drawn below the text. --> 4644 <attr name="drawableBottom" format="reference|color" /> 4645 <!-- The drawable to be drawn to the left of the text. --> 4646 <attr name="drawableLeft" format="reference|color" /> 4647 <!-- The drawable to be drawn to the right of the text. --> 4648 <attr name="drawableRight" format="reference|color" /> 4649 <!-- The drawable to be drawn to the start of the text. --> 4650 <attr name="drawableStart" format="reference|color" /> 4651 <!-- The drawable to be drawn to the end of the text. --> 4652 <attr name="drawableEnd" format="reference|color" /> 4653 <!-- The padding between the drawables and the text. --> 4654 <attr name="drawablePadding" format="dimension" /> 4655 <!-- Tint to apply to the compound (left, top, etc.) drawables. --> 4656 <attr name="drawableTint" format="color" /> 4657 <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. --> 4658 <attr name="drawableTintMode"> 4659 <!-- The tint is drawn on top of the drawable. 4660 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4661 <enum name="src_over" value="3" /> 4662 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4663 color channels are thrown out. [Sa * Da, Sc * Da] --> 4664 <enum name="src_in" value="5" /> 4665 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4666 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4667 <enum name="src_atop" value="9" /> 4668 <!-- Multiplies the color and alpha channels of the drawable with those of 4669 the tint. [Sa * Da, Sc * Dc] --> 4670 <enum name="multiply" value="14" /> 4671 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4672 <enum name="screen" value="15" /> 4673 <!-- Combines the tint and drawable color and alpha channels, clamping the 4674 result to valid color values. Saturate(S + D) --> 4675 <enum name="add" value="16" /> 4676 </attr> 4677 <!-- Extra spacing between lines of text. --> 4678 <attr name="lineSpacingExtra" format="dimension" /> 4679 <!-- Extra spacing between lines of text, as a multiplier. --> 4680 <attr name="lineSpacingMultiplier" format="float" /> 4681 <!-- The number of times to repeat the marquee animation. Only applied if the 4682 TextView has marquee enabled. --> 4683 <attr name="marqueeRepeatLimit" format="integer"> 4684 <!-- Indicates that marquee should repeat indefinitely. --> 4685 <enum name="marquee_forever" value="-1" /> 4686 </attr> 4687 <attr name="inputType" /> 4688 <!-- Whether undo should be allowed for editable text. Defaults to true. --> 4689 <attr name="allowUndo" format="boolean" /> 4690 <attr name="imeOptions" /> 4691 <!-- An addition content type description to supply to the input 4692 method attached to the text view, which is private to the 4693 implementation of the input method. This simply fills in 4694 the {@link android.view.inputmethod.EditorInfo#privateImeOptions 4695 EditorInfo.privateImeOptions} field when the input 4696 method is connected. --> 4697 <attr name="privateImeOptions" format="string" /> 4698 <!-- Supply a value for 4699 {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel} 4700 used when an input method is connected to the text view. --> 4701 <attr name="imeActionLabel" format="string" /> 4702 <!-- Supply a value for 4703 {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId} 4704 used when an input method is connected to the text view. --> 4705 <attr name="imeActionId" format="integer" /> 4706 <!-- Reference to an 4707 {@link android.R.styleable#InputExtras <input-extras>} 4708 XML resource containing additional data to 4709 supply to an input method, which is private to the implementation 4710 of the input method. This simply fills in 4711 the {@link android.view.inputmethod.EditorInfo#extras 4712 EditorInfo.extras} field when the input 4713 method is connected. --> 4714 <attr name="editorExtras" format="reference" /> 4715 4716 <!-- Reference to a drawable that will be used to display a text selection 4717 anchor on the left side of a selection region. --> 4718 <attr name="textSelectHandleLeft" /> 4719 <!-- Reference to a drawable that will be used to display a text selection 4720 anchor on the right side of a selection region. --> 4721 <attr name="textSelectHandleRight" /> 4722 <!-- Reference to a drawable that will be used to display a text selection 4723 anchor for positioning the cursor within text. --> 4724 <attr name="textSelectHandle" /> 4725 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 4726 TextEdit field. --> 4727 <attr name="textEditPasteWindowLayout" /> 4728 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 4729 <attr name="textEditNoPasteWindowLayout" /> 4730 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 4731 insertion cursor because it would be clipped if it were positioned on top. --> 4732 <attr name="textEditSidePasteWindowLayout" /> 4733 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 4734 <attr name="textEditSideNoPasteWindowLayout" /> 4735 4736 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 4737 <attr name="textEditSuggestionItemLayout" /> 4738 <!-- Layout of the container of the suggestion popup window. --> 4739 <attr name="textEditSuggestionContainerLayout" /> 4740 <!-- Style of the highlighted string in the suggestion popup window. --> 4741 <attr name="textEditSuggestionHighlightStyle" /> 4742 4743 4744 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 4745 <attr name="textCursorDrawable" /> 4746 4747 <!-- Indicates that the content of a non-editable text can be selected. --> 4748 <attr name="textIsSelectable" /> 4749 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4750 <attr name="textAllCaps" /> 4751 <!-- Elegant text height, especially for less compacted complex script text. --> 4752 <attr name="elegantTextHeight" /> 4753 <!-- Text letter-spacing. --> 4754 <attr name="letterSpacing" /> 4755 <!-- Font feature settings. --> 4756 <attr name="fontFeatureSettings" /> 4757 <!-- Break strategy (control over paragraph layout). --> 4758 <attr name="breakStrategy"> 4759 <!-- Line breaking uses simple strategy. --> 4760 <enum name="simple" value="0" /> 4761 <!-- Line breaking uses high-quality strategy, including hyphenation. --> 4762 <enum name="high_quality" value="1" /> 4763 <!-- Line breaking strategy balances line lengths. --> 4764 <enum name="balanced" value="2" /> 4765 </attr> 4766 <!-- Frequency of automatic hyphenation. --> 4767 <attr name="hyphenationFrequency"> 4768 <!-- No hyphenation. --> 4769 <enum name="none" value="0" /> 4770 <!-- Less frequent hyphenation, useful for informal use cases, such 4771 as chat messages. --> 4772 <enum name="normal" value="1" /> 4773 <!-- Standard amount of hyphenation, useful for running text and for 4774 screens with limited space for text. --> 4775 <enum name="full" value="2" /> 4776 </attr> 4777 <!-- Specify the type of auto-size. Note that this feature is not supported by EditText, 4778 works only for TextView. --> 4779 <attr name="autoSizeTextType" format="enum"> 4780 <!-- No auto-sizing (default). --> 4781 <enum name="none" value="0" /> 4782 <!-- Uniform horizontal and vertical text size scaling to fit within the 4783 container. --> 4784 <enum name="uniform" value="1" /> 4785 </attr> 4786 <!-- Specify the auto-size step size if <code>autoSizeTextType</code> is set to 4787 <code>uniform</code>. The default is 1px. Overwrites 4788 <code>autoSizePresetSizes</code> if set. --> 4789 <attr name="autoSizeStepGranularity" format="dimension" /> 4790 <!-- Resource array of dimensions to be used in conjunction with 4791 <code>autoSizeTextType</code> set to <code>uniform</code>. Overrides 4792 <code>autoSizeStepGranularity</code> if set. --> 4793 <attr name="autoSizePresetSizes"/> 4794 <!-- The minimum text size constraint to be used when auto-sizing text. --> 4795 <attr name="autoSizeMinTextSize" format="dimension" /> 4796 <!-- The maximum text size constraint to be used when auto-sizing text. --> 4797 <attr name="autoSizeMaxTextSize" format="dimension" /> 4798 </declare-styleable> 4799 <declare-styleable name="TextViewAppearance"> 4800 <!-- Base text color, typeface, size, and style. --> 4801 <attr name="textAppearance" /> 4802 </declare-styleable> 4803 <declare-styleable name="SelectionModeDrawables"> 4804 <attr name="actionModeSelectAllDrawable" /> 4805 <attr name="actionModeCutDrawable" /> 4806 <attr name="actionModeCopyDrawable" /> 4807 <attr name="actionModePasteDrawable" /> 4808 </declare-styleable> 4809 <declare-styleable name="SuggestionSpan"> 4810 <attr name="textUnderlineColor" /> 4811 <attr name="textUnderlineThickness" /> 4812 </declare-styleable> 4813 <!-- An <code>input-extras</code> is a container for extra data to supply to 4814 an input method. Contains 4815 one more more {@link #Extra <extra>} tags. --> 4816 <declare-styleable name="InputExtras"> 4817 </declare-styleable> 4818 <declare-styleable name="AutoCompleteTextView"> 4819 <!-- Defines the hint displayed in the drop down menu. --> 4820 <attr name="completionHint" format="string" /> 4821 <!-- Defines the hint view displayed in the drop down menu. --> 4822 <attr name="completionHintView" format="reference" /> 4823 <!-- Defines the number of characters that the user must type before 4824 completion suggestions are displayed in a drop down menu. --> 4825 <attr name="completionThreshold" format="integer" min="1" /> 4826 <!-- Selector in a drop down list. --> 4827 <attr name="dropDownSelector" format="reference|color" /> 4828 <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself 4829 is used. --> 4830 <attr name="dropDownAnchor" format="reference" /> 4831 <!-- Specifies the basic width of the dropdown. Its value may 4832 be a dimension (such as "12dip") for a constant width, 4833 fill_parent or match_parent to match the width of the 4834 screen, or wrap_content to match the width of 4835 the anchored view. --> 4836 <attr name="dropDownWidth" format="dimension"> 4837 <!-- The dropdown should fill the width of the screen. 4838 This constant is deprecated starting from API Level 8 and 4839 is replaced by {@code match_parent}. --> 4840 <enum name="fill_parent" value="-1" /> 4841 <!-- The dropdown should fit the width of the screen. 4842 Introduced in API Level 8. --> 4843 <enum name="match_parent" value="-1" /> 4844 <!-- The dropdown should fit the width of its anchor. --> 4845 <enum name="wrap_content" value="-2" /> 4846 </attr> 4847 <!-- Specifies the basic height of the dropdown. Its value may 4848 be a dimension (such as "12dip") for a constant height, 4849 fill_parent or match_parent to fill the height of the 4850 screen, or wrap_content to match the height of 4851 the content of the drop down. --> 4852 <attr name="dropDownHeight" format="dimension"> 4853 <!-- The dropdown should fit the height of the screen. 4854 This constant is deprecated starting from API Level 8 and 4855 is replaced by {@code match_parent}. --> 4856 <enum name="fill_parent" value="-1" /> 4857 <!-- The dropdown should fit the height of the screen. 4858 Introduced in API Level 8. --> 4859 <enum name="match_parent" value="-1" /> 4860 <!-- The dropdown should fit the height of the content. --> 4861 <enum name="wrap_content" value="-2" /> 4862 </attr> 4863 <attr name="inputType" /> 4864 <!-- Theme to use for the completion popup window. --> 4865 <attr name="popupTheme" /> 4866 </declare-styleable> 4867 <declare-styleable name="PopupWindow"> 4868 <!-- The background to use for the popup window. --> 4869 <attr name="popupBackground" format="reference|color" /> 4870 <!-- Window elevation to use for the popup window. --> 4871 <attr name="popupElevation" format="dimension" /> 4872 <!-- The animation style to use for the popup window. --> 4873 <attr name="popupAnimationStyle" format="reference" /> 4874 <!-- Whether the popup window should overlap its anchor view. --> 4875 <attr name="overlapAnchor" format="boolean" /> 4876 <!-- Transition used to move views into the popup window. --> 4877 <attr name="popupEnterTransition" format="reference" /> 4878 <!-- Transition used to move views out of the popup window. --> 4879 <attr name="popupExitTransition" format="reference" /> 4880 </declare-styleable> 4881 <declare-styleable name="ListPopupWindow"> 4882 <!-- Amount of pixels by which the drop down should be offset vertically. --> 4883 <attr name="dropDownVerticalOffset" format="dimension" /> 4884 <!-- Amount of pixels by which the drop down should be offset horizontally. --> 4885 <attr name="dropDownHorizontalOffset" format="dimension" /> 4886 </declare-styleable> 4887 <declare-styleable name="ViewAnimator"> 4888 <!-- Identifier for the animation to use when a view is shown. --> 4889 <attr name="inAnimation" format="reference" /> 4890 <!-- Identifier for the animation to use when a view is hidden. --> 4891 <attr name="outAnimation" format="reference" /> 4892 <!-- Defines whether to animate the current View when the ViewAnimation 4893 is first displayed. --> 4894 <attr name="animateFirstView" format="boolean" /> 4895 </declare-styleable> 4896 <declare-styleable name="ViewFlipper"> 4897 <attr name="flipInterval" format="integer" min="0" /> 4898 <!-- When true, automatically start animating. --> 4899 <attr name="autoStart" format="boolean" /> 4900 </declare-styleable> 4901 <declare-styleable name="AdapterViewAnimator"> 4902 <!-- Identifier for the animation to use when a view is shown. --> 4903 <attr name="inAnimation" /> 4904 <!-- Identifier for the animation to use when a view is hidden. --> 4905 <attr name="outAnimation" /> 4906 <!--Defines whether the animator loops to the first view once it 4907 has reached the end of the list. --> 4908 <attr name="loopViews" format="boolean" /> 4909 <!-- Defines whether to animate the current View when the ViewAnimation 4910 is first displayed. --> 4911 <attr name="animateFirstView" /> 4912 </declare-styleable> 4913 <declare-styleable name="AdapterViewFlipper"> 4914 <attr name="flipInterval" /> 4915 <!-- When true, automatically start animating. --> 4916 <attr name="autoStart" /> 4917 </declare-styleable> 4918 <declare-styleable name="ViewSwitcher"> 4919 </declare-styleable> 4920 <declare-styleable name="ScrollView"> 4921 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4922 <attr name="fillViewport" format="boolean" /> 4923 </declare-styleable> 4924 <declare-styleable name="HorizontalScrollView"> 4925 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4926 <attr name="fillViewport" /> 4927 </declare-styleable> 4928 <declare-styleable name="Spinner"> 4929 <!-- The prompt to display when the spinner's dialog is shown. --> 4930 <attr name="prompt" format="reference" /> 4931 <!-- Display mode for spinner options. --> 4932 <attr name="spinnerMode" format="enum"> 4933 <!-- Spinner options will be presented to the user as a dialog window. --> 4934 <enum name="dialog" value="0" /> 4935 <!-- Spinner options will be presented to the user as an inline dropdown 4936 anchored to the spinner widget itself. --> 4937 <enum name="dropdown" value="1" /> 4938 </attr> 4939 <!-- List selector to use for spinnerMode="dropdown" display. --> 4940 <attr name="dropDownSelector" /> 4941 <!-- Theme to use for the drop-down or dialog popup window. --> 4942 <attr name="popupTheme" /> 4943 <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". --> 4944 <attr name="popupBackground" /> 4945 <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". --> 4946 <attr name="popupElevation" /> 4947 <!-- Width of the dropdown in spinnerMode="dropdown". --> 4948 <attr name="dropDownWidth" /> 4949 <!-- Reference to a layout to use for displaying a prompt in the dropdown for 4950 spinnerMode="dropdown". This layout must contain a TextView with the id 4951 {@code @android:id/text1} to be populated with the prompt text. --> 4952 <attr name="popupPromptView" format="reference" /> 4953 <!-- Gravity setting for positioning the currently selected item. --> 4954 <attr name="gravity" /> 4955 <!-- Whether this spinner should mark child views as enabled/disabled when 4956 the spinner itself is enabled/disabled. --> 4957 <attr name="disableChildrenWhenDisabled" format="boolean" /> 4958 </declare-styleable> 4959 4960 <declare-styleable name="DatePicker"> 4961 <!-- The first day of week according to {@link java.util.Calendar}. --> 4962 <attr name="firstDayOfWeek" /> 4963 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4964 <attr name="minDate" format="string" /> 4965 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 4966 <attr name="maxDate" format="string" /> 4967 4968 <!-- Whether the spinners are shown. Only valid for "spinner" mode. --> 4969 <attr name="spinnersShown" format="boolean" /> 4970 <!-- Whether the calendar view is shown. Only valid for "spinner" mode. --> 4971 <attr name="calendarViewShown" format="boolean" /> 4972 4973 <!-- @hide The layout of the date picker. --> 4974 <attr name="internalLayout" format="reference" /> 4975 <!-- @hide The layout of the legacy DatePicker. --> 4976 <attr name="legacyLayout" /> 4977 4978 <!-- The text color for the selected date header text, ex. "2014" or 4979 "Tue, Mar 18". This should be a color state list where the 4980 activated state will be used when the year picker or day picker is 4981 active.--> 4982 <attr name="headerTextColor" format="color" /> 4983 <!-- The background for the selected date header. --> 4984 <attr name="headerBackground" /> 4985 4986 <!-- The list year's text appearance in the list. 4987 {@deprecated Use yearListTextColor. }--> 4988 <attr name="yearListItemTextAppearance" format="reference" /> 4989 <!-- @hide The list year's text appearance in the list when activated. --> 4990 <attr name="yearListItemActivatedTextAppearance" format="reference" /> 4991 <!-- The text color list of the calendar. --> 4992 <attr name="calendarTextColor" format="color" /> 4993 4994 <!-- Defines the look of the widget. Prior to the L release, the only choice was 4995 spinner. As of L, with the Material theme selected, the default layout is calendar, 4996 but this attribute can be used to force spinner to be used instead. --> 4997 <attr name="datePickerMode"> 4998 <!-- Date picker with spinner controls to select the date. --> 4999 <enum name="spinner" value="1" /> 5000 <!-- Date picker with calendar to select the date. --> 5001 <enum name="calendar" value="2" /> 5002 </attr> 5003 5004 <!-- The first year (inclusive), for example "1940". 5005 {@deprecated Use minDate instead.} --> 5006 <attr name="startYear" format="integer" /> 5007 <!-- The last year (inclusive), for example "2010". 5008 {@deprecated Use maxDate instead.} --> 5009 <attr name="endYear" format="integer" /> 5010 <!-- The text appearance for the month (ex. May) in the selected date header. 5011 {@deprecated Use headerTextColor instead.} --> 5012 <attr name="headerMonthTextAppearance" format="reference" /> 5013 <!-- The text appearance for the day of month (ex. 28) in the selected date header. 5014 {@deprecated Use headerTextColor instead.} --> 5015 <attr name="headerDayOfMonthTextAppearance" format="reference" /> 5016 <!-- The text appearance for the year (ex. 2014) in the selected date header. 5017 {@deprecated Use headerTextColor instead.} --> 5018 <attr name="headerYearTextAppearance" format="reference" /> 5019 <!-- The background color for the header's day of week. 5020 {@deprecated No longer displayed.} --> 5021 <attr name="dayOfWeekBackground" format="color" /> 5022 <!-- The text color for the header's day of week. 5023 {@deprecated No longer displayed.} --> 5024 <attr name="dayOfWeekTextAppearance" format="reference" /> 5025 <!-- The list year's selected circle color in the list. 5026 {@deprecated No longer displayed.} --> 5027 <attr name="yearListSelectorColor" format="color" /> 5028 5029 <!-- @hide Whether this time picker is being displayed within a dialog, 5030 in which case it may ignore the requested time picker mode due to 5031 space considerations. --> 5032 <attr name="dialogMode" format="boolean" /> 5033 </declare-styleable> 5034 5035 <declare-styleable name="TwoLineListItem"> 5036 <attr name="mode"> 5037 <!-- Always show only the first line. --> 5038 <enum name="oneLine" value="1" /> 5039 <!-- When selected show both lines, otherwise show only the first line. 5040 This is the default mode. --> 5041 <enum name="collapsing" value="2" /> 5042 <!-- Always show both lines. --> 5043 <enum name="twoLine" value="3" /> 5044 </attr> 5045 </declare-styleable> 5046 5047 <!-- SlidingDrawer specific attributes. These attributes are used to configure 5048 a SlidingDrawer from XML. --> 5049 <declare-styleable name="SlidingDrawer"> 5050 <!-- Identifier for the child that represents the drawer's handle. --> 5051 <attr name="handle" format="reference" /> 5052 <!-- Identifier for the child that represents the drawer's content. --> 5053 <attr name="content" format="reference" /> 5054 <!-- Orientation of the SlidingDrawer. --> 5055 <attr name="orientation" /> 5056 <!-- Extra offset for the handle at the bottom of the SlidingDrawer. --> 5057 <attr name="bottomOffset" format="dimension" /> 5058 <!-- Extra offset for the handle at the top of the SlidingDrawer. --> 5059 <attr name="topOffset" format="dimension" /> 5060 <!-- Indicates whether the drawer can be opened/closed by a single tap 5061 on the handle. (If false, the user must drag or fling, or click 5062 using the trackball, to open/close the drawer.) Default is true. --> 5063 <attr name="allowSingleTap" format="boolean" /> 5064 <!-- Indicates whether the drawer should be opened/closed with an animation 5065 when the user clicks the handle. Default is true. --> 5066 <attr name="animateOnClick" format="boolean" /> 5067 </declare-styleable> 5068 5069 <!-- GestureOverlayView specific attributes. These attributes are used to configure 5070 a GestureOverlayView from XML. --> 5071 <declare-styleable name="GestureOverlayView"> 5072 <!-- Width of the stroke used to draw the gesture. --> 5073 <attr name="gestureStrokeWidth" format="float" /> 5074 <!-- Color used to draw a gesture. --> 5075 <attr name="gestureColor" format="color" /> 5076 <!-- Color used to draw the user's strokes until we are sure it's a gesture. --> 5077 <attr name="uncertainGestureColor" format="color" /> 5078 <!-- Time, in milliseconds, to wait before the gesture fades out after the user 5079 is done drawing it. --> 5080 <attr name="fadeOffset" format="integer" /> 5081 <!-- Duration, in milliseconds, of the fade out effect after the user is done 5082 drawing a gesture. --> 5083 <attr name="fadeDuration" format="integer" /> 5084 <!-- Defines the type of strokes that define a gesture. --> 5085 <attr name="gestureStrokeType"> 5086 <!-- A gesture is made of only one stroke. --> 5087 <enum name="single" value="0" /> 5088 <!-- A gesture is made of multiple strokes. --> 5089 <enum name="multiple" value="1" /> 5090 </attr> 5091 <!-- Minimum length of a stroke before it is recognized as a gesture. --> 5092 <attr name="gestureStrokeLengthThreshold" format="float" /> 5093 <!-- Squareness threshold of a stroke before it is recognized as a gesture. --> 5094 <attr name="gestureStrokeSquarenessThreshold" format="float" /> 5095 <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. --> 5096 <attr name="gestureStrokeAngleThreshold" format="float" /> 5097 <!-- Defines whether the overlay should intercept the motion events when a gesture 5098 is recognized. --> 5099 <attr name="eventsInterceptionEnabled" format="boolean" /> 5100 <!-- Defines whether the gesture will automatically fade out after being recognized. --> 5101 <attr name="fadeEnabled" format="boolean" /> 5102 <!-- Indicates whether horizontal (when the orientation is vertical) or vertical 5103 (when orientation is horizontal) strokes automatically define a gesture. --> 5104 <attr name="orientation" /> 5105 </declare-styleable> 5106 5107 <declare-styleable name="QuickContactBadge"> 5108 <attr name="quickContactWindowSize"> 5109 <enum name="modeSmall" value="1" /> 5110 <enum name="modeMedium" value="2" /> 5111 <enum name="modeLarge" value="3" /> 5112 </attr> 5113 </declare-styleable> 5114 5115 <!-- ======================================= --> 5116 <!-- Widget package parent layout attributes --> 5117 <!-- ======================================= --> 5118 <eat-comment /> 5119 5120 <declare-styleable name="AbsoluteLayout_Layout"> 5121 <attr name="layout_x" format="dimension" /> 5122 <attr name="layout_y" format="dimension" /> 5123 </declare-styleable> 5124 <declare-styleable name="LinearLayout_Layout"> 5125 <attr name="layout_width" /> 5126 <attr name="layout_height" /> 5127 <!-- Indicates how much of the extra space in the LinearLayout is 5128 allocated to the view associated with these LayoutParams. Specify 5129 0 if the view should not be stretched. Otherwise the extra pixels 5130 will be pro-rated among all views whose weight is greater than 0. --> 5131 <attr name="layout_weight" format="float" /> 5132 <!-- Gravity specifies how a component should be placed in its group of cells. 5133 The default is {@link android.view.Gravity#TOP}. 5134 See {@link android.widget.LinearLayout#setGravity(int)}. --> 5135 <attr name="layout_gravity" /> 5136 </declare-styleable> 5137 <declare-styleable name="GridLayout_Layout"> 5138 <!-- The row boundary delimiting the top of the group of cells 5139 occupied by this view. --> 5140 <attr name="layout_row" format="integer" /> 5141 <!-- The row span: the difference between the top and bottom 5142 boundaries delimiting the group of cells occupied by this view. 5143 The default is one. 5144 See {@link android.widget.GridLayout.Spec}. --> 5145 <attr name="layout_rowSpan" format="integer" min="1" /> 5146 <!-- The relative proportion of vertical space that should be allocated to this view 5147 during excess space distribution. --> 5148 <attr name="layout_rowWeight" format="float" /> 5149 <!-- The column boundary delimiting the left of the group of cells 5150 occupied by this view. --> 5151 <attr name="layout_column" /> 5152 <!-- The column span: the difference between the right and left 5153 boundaries delimiting the group of cells occupied by this view. 5154 The default is one. 5155 See {@link android.widget.GridLayout.Spec}. --> 5156 <attr name="layout_columnSpan" format="integer" min="1" /> 5157 <!-- The relative proportion of horizontal space that should be allocated to this view 5158 during excess space distribution. --> 5159 <attr name="layout_columnWeight" format="float" /> 5160 <!-- Gravity specifies how a component should be placed in its group of cells. 5161 The default is LEFT | BASELINE. 5162 See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. --> 5163 <attr name="layout_gravity" /> 5164 </declare-styleable> 5165 <declare-styleable name="FrameLayout_Layout"> 5166 <attr name="layout_gravity" /> 5167 </declare-styleable> 5168 <declare-styleable name="RelativeLayout_Layout"> 5169 <!-- Positions the right edge of this view to the left of the given anchor view ID. 5170 Accommodates right margin of this view and left margin of anchor view. --> 5171 <attr name="layout_toLeftOf" format="reference" /> 5172 <!-- Positions the left edge of this view to the right of the given anchor view ID. 5173 Accommodates left margin of this view and right margin of anchor view. --> 5174 <attr name="layout_toRightOf" format="reference" /> 5175 <!-- Positions the bottom edge of this view above the given anchor view ID. 5176 Accommodates bottom margin of this view and top margin of anchor view. --> 5177 <attr name="layout_above" format="reference" /> 5178 <!-- Positions the top edge of this view below the given anchor view ID. 5179 Accommodates top margin of this view and bottom margin of anchor view. --> 5180 <attr name="layout_below" format="reference" /> 5181 <!-- Positions the baseline of this view on the baseline of the given anchor view ID. --> 5182 <attr name="layout_alignBaseline" format="reference" /> 5183 <!-- Makes the left edge of this view match the left edge of the given anchor view ID. 5184 Accommodates left margin. --> 5185 <attr name="layout_alignLeft" format="reference" /> 5186 <!-- Makes the top edge of this view match the top edge of the given anchor view ID. 5187 Accommodates top margin. --> 5188 <attr name="layout_alignTop" format="reference" /> 5189 <!-- Makes the right edge of this view match the right edge of the given anchor view ID. 5190 Accommodates right margin. --> 5191 <attr name="layout_alignRight" format="reference" /> 5192 <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID. 5193 Accommodates bottom margin. --> 5194 <attr name="layout_alignBottom" format="reference" /> 5195 <!-- If true, makes the left edge of this view match the left edge of the parent. 5196 Accommodates left margin. --> 5197 <attr name="layout_alignParentLeft" format="boolean" /> 5198 <!-- If true, makes the top edge of this view match the top edge of the parent. 5199 Accommodates top margin. --> 5200 <attr name="layout_alignParentTop" format="boolean" /> 5201 <!-- If true, makes the right edge of this view match the right edge of the parent. 5202 Accommodates right margin. --> 5203 <attr name="layout_alignParentRight" format="boolean" /> 5204 <!-- If true, makes the bottom edge of this view match the bottom edge of the parent. 5205 Accommodates bottom margin. --> 5206 <attr name="layout_alignParentBottom" format="boolean" /> 5207 <!-- If true, centers this child horizontally and vertically within its parent. --> 5208 <attr name="layout_centerInParent" format="boolean" /> 5209 <!-- If true, centers this child horizontally within its parent. --> 5210 <attr name="layout_centerHorizontal" format="boolean" /> 5211 <!-- If true, centers this child vertically within its parent. --> 5212 <attr name="layout_centerVertical" format="boolean" /> 5213 <!-- If set to true, the parent will be used as the anchor when the anchor cannot be 5214 be found for layout_toLeftOf, layout_toRightOf, etc. --> 5215 <attr name="layout_alignWithParentIfMissing" format="boolean" /> 5216 <!-- Positions the end edge of this view to the start of the given anchor view ID. 5217 Accommodates end margin of this view and start margin of anchor view. --> 5218 <attr name="layout_toStartOf" format="reference" /> 5219 <!-- Positions the start edge of this view to the end of the given anchor view ID. 5220 Accommodates start margin of this view and end margin of anchor view. --> 5221 <attr name="layout_toEndOf" format="reference" /> 5222 <!-- Makes the start edge of this view match the start edge of the given anchor view ID. 5223 Accommodates start margin. --> 5224 <attr name="layout_alignStart" format="reference" /> 5225 <!-- Makes the end edge of this view match the end edge of the given anchor view ID. 5226 Accommodates end margin. --> 5227 <attr name="layout_alignEnd" format="reference" /> 5228 <!-- If true, makes the start edge of this view match the start edge of the parent. 5229 Accommodates start margin. --> 5230 <attr name="layout_alignParentStart" format="boolean" /> 5231 <!-- If true, makes the end edge of this view match the end edge of the parent. 5232 Accommodates end margin. --> 5233 <attr name="layout_alignParentEnd" format="boolean" /> 5234 </declare-styleable> 5235 <declare-styleable name="VerticalSlider_Layout"> 5236 <attr name="layout_scale" format="float" /> 5237 </declare-styleable> 5238 5239 <!-- @hide --> 5240 <declare-styleable name="WeightedLinearLayout"> 5241 <attr name="majorWeightMin" format="float" /> 5242 <attr name="minorWeightMin" format="float" /> 5243 <attr name="majorWeightMax" format="float" /> 5244 <attr name="minorWeightMax" format="float" /> 5245 </declare-styleable> 5246 5247 <declare-styleable name="CalendarView"> 5248 <!-- The first day of week according to {@link java.util.Calendar}. --> 5249 <attr name="firstDayOfWeek" format="integer" /> 5250 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 5251 <attr name="minDate" /> 5252 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 5253 <attr name="maxDate" /> 5254 <!-- The text appearance for the month and year in the calendar header. --> 5255 <attr name="monthTextAppearance" format="reference" /> 5256 <!-- The text appearance for the week day abbreviation in the calendar header. --> 5257 <attr name="weekDayTextAppearance" format="reference" /> 5258 <!-- The text appearance for the day numbers in the calendar grid. --> 5259 <attr name="dateTextAppearance" format="reference" /> 5260 <!-- @hide The background color used for the day selection indicator. --> 5261 <attr name="daySelectorColor" format="color" /> 5262 <!-- @hide The background color used for the day highlight indicator. --> 5263 <attr name="dayHighlightColor" format="color" /> 5264 <!-- @hide Which style of calendar delegate to use. --> 5265 <attr name="calendarViewMode"> 5266 <enum name="holo" value="0" /> 5267 <enum name="material" value="1" /> 5268 </attr> 5269 5270 <!-- @deprecated Whether do show week numbers. --> 5271 <attr name="showWeekNumber" format="boolean" /> 5272 <!-- @deprecated The number of weeks to be shown. --> 5273 <attr name="shownWeekCount" format="integer"/> 5274 <!-- @deprecated The background color for the selected week. --> 5275 <attr name="selectedWeekBackgroundColor" format="color|reference" /> 5276 <!-- @deprecated The color for the dates of the focused month. --> 5277 <attr name="focusedMonthDateColor" format="color|reference" /> 5278 <!-- @deprecated The color for the dates of an unfocused month. --> 5279 <attr name="unfocusedMonthDateColor" format="color|reference" /> 5280 <!-- @deprecated The color for the week numbers. --> 5281 <attr name="weekNumberColor" format="color|reference" /> 5282 <!-- @deprecated The color for the separator line between weeks. --> 5283 <attr name="weekSeparatorLineColor" format="color|reference" /> 5284 <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. --> 5285 <attr name="selectedDateVerticalBar" format="reference" /> 5286 </declare-styleable> 5287 5288 <declare-styleable name="NumberPicker"> 5289 <!-- @hide Color for the solid color background if such for optimized rendering. --> 5290 <attr name="solidColor" format="color|reference" /> 5291 <!-- @hide The divider for making the selection area. --> 5292 <attr name="selectionDivider" format="reference" /> 5293 <!-- @hide The height of the selection divider. --> 5294 <attr name="selectionDividerHeight" format="dimension" /> 5295 <!-- @hide The distance between the two selection dividers. --> 5296 <attr name="selectionDividersDistance" format="dimension" /> 5297 <!-- @hide The min height of the NumberPicker. --> 5298 <attr name="internalMinHeight" format="dimension" /> 5299 <!-- @hide The max height of the NumberPicker. --> 5300 <attr name="internalMaxHeight" format="dimension" /> 5301 <!-- @hide The min width of the NumberPicker. --> 5302 <attr name="internalMinWidth" format="dimension" /> 5303 <!-- @hide The max width of the NumberPicker. --> 5304 <attr name="internalMaxWidth" format="dimension" /> 5305 <!-- @hide The layout of the number picker. --> 5306 <attr name="internalLayout" /> 5307 <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. --> 5308 <attr name="virtualButtonPressedDrawable" format="reference"/> 5309 <!-- @hide If true then the selector wheel is hidden until the picker has focus. --> 5310 <attr name="hideWheelUntilFocused" format="boolean"/> 5311 </declare-styleable> 5312 5313 <declare-styleable name="TimePicker"> 5314 <!-- @hide The layout of the legacy time picker. --> 5315 <attr name="legacyLayout" format="reference" /> 5316 <!-- @hide The layout of the time picker. --> 5317 <attr name="internalLayout" /> 5318 5319 <!-- The text color for the selected time header text, ex. "12" or 5320 "PM". This should be a color state list where the activated state 5321 will be used when the minute picker or hour picker is active.--> 5322 <attr name="headerTextColor" /> 5323 <!-- The background for the header containing the currently selected time. --> 5324 <attr name="headerBackground" /> 5325 5326 <!-- The color for the hours/minutes numbers. This should be a color 5327 state list where the activated state will be used when the number 5328 is active.--> 5329 <attr name="numbersTextColor" format="color" /> 5330 <!-- The color for the inner hours numbers used in 24-hour mode. This 5331 should be a color state list where the activated state will be 5332 used when the number is active.--> 5333 <attr name="numbersInnerTextColor" format="color" /> 5334 <!-- The background color for the hours/minutes numbers. --> 5335 <attr name="numbersBackgroundColor" format="color" /> 5336 <!-- The color for the hours/minutes selector. --> 5337 <attr name="numbersSelectorColor" format="color" /> 5338 5339 <!-- Defines the look of the widget. Prior to the L release, the only choice was 5340 spinner. As of L, with the Material theme selected, the default layout is clock, 5341 but this attribute can be used to force spinner to be used instead. --> 5342 <attr name="timePickerMode"> 5343 <!-- Time picker with spinner controls to select the time. --> 5344 <enum name="spinner" value="1" /> 5345 <!-- Time picker with clock face to select the time. --> 5346 <enum name="clock" value="2" /> 5347 </attr> 5348 5349 <!-- The text appearance for the AM/PM header. 5350 @deprecated Use headerTextColor instead. --> 5351 <attr name="headerAmPmTextAppearance" format="reference" /> 5352 <!-- The text appearance for the time header. 5353 @deprecated Use headerTextColor instead. --> 5354 <attr name="headerTimeTextAppearance" format="reference" /> 5355 <!-- The color for the AM/PM selectors. 5356 {@deprecated Use headerTextColor instead.}--> 5357 <attr name="amPmTextColor" format="color" /> 5358 <!-- The background color state list for the AM/PM selectors. 5359 {@deprecated Use headerBackground instead.}--> 5360 <attr name="amPmBackgroundColor" format="color" /> 5361 5362 <!-- @hide Whether this time picker is being displayed within a dialog, 5363 in which case it may ignore the requested time picker mode due to 5364 space considerations. --> 5365 <attr name="dialogMode" /> 5366 </declare-styleable> 5367 5368 <!-- ========================= --> 5369 <!-- Drawable class attributes --> 5370 <!-- ========================= --> 5371 <eat-comment /> 5372 5373 <!-- Base attributes that are available to all Drawable objects. --> 5374 <declare-styleable name="Drawable"> 5375 <!-- Provides initial visibility state of the drawable; the default 5376 value is false. See 5377 {@link android.graphics.drawable.Drawable#setVisible}. --> 5378 <attr name="visible" format="boolean" /> 5379 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5380 RTL (right-to-left). See 5381 {@link android.graphics.drawable.Drawable#setAutoMirrored}. --> 5382 <attr name="autoMirrored" format="boolean" /> 5383 </declare-styleable> 5384 5385 <!-- Drawable class used to wrap other drawables. --> 5386 <declare-styleable name="DrawableWrapper"> 5387 <!-- The wrapped drawable. --> 5388 <attr name="drawable" /> 5389 </declare-styleable> 5390 5391 <!-- Drawable used to render several states. Each state is represented by 5392 a child drawable. --> 5393 <declare-styleable name="StateListDrawable"> 5394 <!-- Indicates whether the drawable should be initially visible. --> 5395 <attr name="visible" /> 5396 <!-- If true, allows the drawable's padding to change based on the 5397 current state that is selected. If false, the padding will 5398 stay the same (based on the maximum padding of all the states). 5399 Enabling this feature requires that the owner of the drawable 5400 deal with performing layout when the state changes, which is 5401 often not supported. --> 5402 <attr name="variablePadding" format="boolean" /> 5403 <!-- If true, the drawable's reported internal size will remain 5404 constant as the state changes; the size is the maximum of all 5405 of the states. If false, the size will vary based on the 5406 current state. --> 5407 <attr name="constantSize" format="boolean" /> 5408 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5409 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5410 an RGB 565 screen). --> 5411 <attr name="dither" format="boolean" /> 5412 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5413 <attr name="enterFadeDuration" format="integer" /> 5414 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5415 <attr name="exitFadeDuration" format="integer" /> 5416 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5417 RTL (right-to-left). --> 5418 <attr name="autoMirrored"/> 5419 </declare-styleable> 5420 5421 <!-- Drawable used to render several states with animated transitions. Each state 5422 is represented by a child drawable with an optional keyframe ID. --> 5423 <declare-styleable name="AnimatedStateListDrawable"> 5424 <!-- Indicates whether the drawable should be initially visible. --> 5425 <attr name="visible" /> 5426 <!-- If true, allows the drawable's padding to change based on the 5427 current state that is selected. If false, the padding will 5428 stay the same (based on the maximum padding of all the states). 5429 Enabling this feature requires that the owner of the drawable 5430 deal with performing layout when the state changes, which is 5431 often not supported. --> 5432 <attr name="variablePadding" /> 5433 <!-- If true, the drawable's reported internal size will remain 5434 constant as the state changes; the size is the maximum of all 5435 of the states. If false, the size will vary based on the 5436 current state. --> 5437 <attr name="constantSize" /> 5438 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5439 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5440 an RGB 565 screen). --> 5441 <attr name="dither" /> 5442 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5443 <attr name="enterFadeDuration" /> 5444 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5445 <attr name="exitFadeDuration" /> 5446 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5447 RTL (right-to-left). --> 5448 <attr name="autoMirrored"/> 5449 </declare-styleable> 5450 5451 <!-- Represents a single state inside a StateListDrawable. --> 5452 <declare-styleable name="StateListDrawableItem"> 5453 <!-- Reference to a drawable resource to use for the state. If not 5454 given, the drawable must be defined by the first child tag. --> 5455 <attr name="drawable" /> 5456 </declare-styleable> 5457 5458 <!-- Transition used to animate between states with keyframe IDs. --> 5459 <declare-styleable name="AnimatedStateListDrawableItem"> 5460 <!-- Reference to a drawable resource to use for the frame. If not 5461 given, the drawable must be defined by the first child tag. --> 5462 <attr name="drawable" /> 5463 <!-- Keyframe identifier for use in specifying transitions. --> 5464 <attr name="id" /> 5465 </declare-styleable> 5466 5467 <!-- Transition used to animate between states with keyframe IDs. --> 5468 <declare-styleable name="AnimatedStateListDrawableTransition"> 5469 <!-- Keyframe identifier for the starting state. --> 5470 <attr name="fromId" format="reference" /> 5471 <!-- Keyframe identifier for the ending state. --> 5472 <attr name="toId" format="reference" /> 5473 <!-- Reference to a animation drawable resource to use for the frame. If not 5474 given, the animation drawable must be defined by the first child tag. --> 5475 <attr name="drawable" /> 5476 <!-- Whether this transition is reversible. --> 5477 <attr name="reversible" format="boolean" /> 5478 </declare-styleable> 5479 5480 <!-- Drawable used to render several animated frames. --> 5481 <declare-styleable name="AnimationDrawable"> 5482 <attr name="visible" /> 5483 <attr name="variablePadding" /> 5484 <!-- If true, the animation will only run a single time and then 5485 stop. If false (the default), it will continually run, 5486 restarting at the first frame after the last has finished. --> 5487 <attr name="oneshot" format="boolean" /> 5488 </declare-styleable> 5489 5490 <!-- Represents a single frame inside an AnimationDrawable. --> 5491 <declare-styleable name="AnimationDrawableItem"> 5492 <!-- Amount of time (in milliseconds) to display this frame. --> 5493 <attr name="duration" format="integer" /> 5494 <!-- Reference to a drawable resource to use for the frame. If not 5495 given, the drawable must be defined by the first child tag. --> 5496 <attr name="drawable" format="reference" /> 5497 </declare-styleable> 5498 5499 <!-- Attributes that can be assigned to a StateListAnimator item. --> 5500 <declare-styleable name="StateListAnimatorItem"> 5501 <attr name="animation"/> 5502 </declare-styleable> 5503 5504 <!-- Attributes that can be assigned to a ColorStateList item. --> 5505 <declare-styleable name="ColorStateListItem"> 5506 <!-- Base color for this state. --> 5507 <attr name="color" /> 5508 <!-- Alpha multiplier applied to the base color. --> 5509 <attr name="alpha" /> 5510 </declare-styleable> 5511 5512 <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery 5513 saver mode. It should contain one animatable drawable and one static drawable. 5514 @hide --> 5515 <declare-styleable name="AnimationScaleListDrawable"> 5516 </declare-styleable> 5517 5518 <!-- Attributes that can be assigned to a AnimationScaleListDrawable item. 5519 @hide --> 5520 <declare-styleable name="AnimationScaleListDrawableItem"> 5521 <!-- Reference to a drawable resource to use for the state. If not 5522 given, the drawable must be defined by the first child tag. --> 5523 <attr name="drawable" /> 5524 </declare-styleable> 5525 5526 5527 <!-- Drawable used to render a geometric shape, with a gradient or a solid color. --> 5528 <declare-styleable name="GradientDrawable"> 5529 <!-- Indicates whether the drawable should intially be visible. --> 5530 <attr name="visible" /> 5531 <!-- Enables or disables dithering. --> 5532 <attr name="dither" /> 5533 <!-- Indicates what shape to fill with a gradient. --> 5534 <attr name="shape"> 5535 <!-- Rectangle shape, with optional rounder corners. --> 5536 <enum name="rectangle" value="0" /> 5537 <!-- Oval shape. --> 5538 <enum name="oval" value="1" /> 5539 <!-- Line shape. --> 5540 <enum name="line" value="2" /> 5541 <!-- Ring shape. --> 5542 <enum name="ring" value="3" /> 5543 </attr> 5544 <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance, 5545 if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. 5546 This value is ignored if innerRadius is defined. Default value is 9. --> 5547 <attr name="innerRadiusRatio" format="float" /> 5548 <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance, 5549 if thicknessRatio=3, then the thickness equals the ring's width divided by 3. 5550 This value is ignored if innerRadius is defined. Default value is 3. --> 5551 <attr name="thicknessRatio" format="float" /> 5552 <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. --> 5553 <attr name="innerRadius" format="dimension" /> 5554 <!-- Thickness of the ring. When defined, thicknessRatio is ignored. --> 5555 <attr name="thickness" format="dimension" /> 5556 <!-- Whether the drawable level value (see 5557 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape. 5558 Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to 5559 360. For all other types, there is no effect. The default value is true. --> 5560 <attr name="useLevel" /> 5561 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5562 no tint is applied. May be a color state list. --> 5563 <attr name="tint" /> 5564 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5565 default value is src_in, which treats the drawable as an alpha mask. --> 5566 <attr name="tintMode" /> 5567 <!-- Left optical inset. 5568 @hide Until optical insets are fully supported. --> 5569 <attr name="opticalInsetLeft" /> 5570 <!-- Top optical inset. 5571 @hide Until optical insets are fully supported. --> 5572 <attr name="opticalInsetTop" /> 5573 <!-- Right optical inset. 5574 @hide Until optical insets are fully supported. --> 5575 <attr name="opticalInsetRight" /> 5576 <!-- Bottom optical inset. 5577 @hide Until optical insets are fully supported. --> 5578 <attr name="opticalInsetBottom" /> 5579 </declare-styleable> 5580 5581 <!-- Used to specify the size of the shape for GradientDrawable. --> 5582 <declare-styleable name="GradientDrawableSize"> 5583 <!-- Width of the gradient shape. --> 5584 <attr name="width" /> 5585 <!-- Height of the gradient shape. --> 5586 <attr name="height" /> 5587 </declare-styleable> 5588 5589 <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. --> 5590 <declare-styleable name="GradientDrawableGradient"> 5591 <!-- Start color of the gradient. --> 5592 <attr name="startColor" format="color" /> 5593 <!-- Optional center color. For linear gradients, use centerX or centerY to place the center 5594 color. --> 5595 <attr name="centerColor" format="color" /> 5596 <!-- End color of the gradient. --> 5597 <attr name="endColor" format="color" /> 5598 <!-- Whether the drawable level value (see 5599 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient. 5600 Scaling behavior varies based on gradient type. For "linear", adjusts the ending 5601 position along the gradient's axis of orientation. For "radial", adjusts the outer 5602 radius. For "sweep", adjusts the ending angle. The default value is false. --> 5603 <attr name="useLevel" format="boolean" /> 5604 <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the 5605 range [0, 315]. --> 5606 <attr name="angle" format="float" /> 5607 <!-- Type of gradient. The default type is linear. --> 5608 <attr name="type"> 5609 <!-- Linear gradient extending across the center point. --> 5610 <enum name="linear" value="0" /> 5611 <!-- Radial gradient extending from the center point outward. --> 5612 <enum name="radial" value="1" /> 5613 <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. --> 5614 <enum name="sweep" value="2" /> 5615 </attr> 5616 <!-- X-position of the center point of the gradient within the shape as a fraction of the 5617 width. The default value is 0.5. --> 5618 <attr name="centerX" format="float|fraction" /> 5619 <!-- Y-position of the center point of the gradient within the shape as a fraction of the 5620 height. The default value is 0.5. --> 5621 <attr name="centerY" format="float|fraction" /> 5622 <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension 5623 or a fractional value relative to the shape's minimum dimension. --> 5624 <attr name="gradientRadius" format="float|fraction|dimension" /> 5625 </declare-styleable> 5626 5627 <!-- Used to fill the shape of GradientDrawable with a solid color. --> 5628 <declare-styleable name="GradientDrawableSolid"> 5629 <!-- Solid color for the gradient shape. --> 5630 <attr name="color" format="color" /> 5631 </declare-styleable> 5632 5633 <!-- Used to describe the optional stroke of a GradientDrawable. --> 5634 <declare-styleable name="GradientDrawableStroke"> 5635 <!-- Width of the gradient shape's stroke. --> 5636 <attr name="width" /> 5637 <!-- Color of the gradient shape's stroke. --> 5638 <attr name="color" /> 5639 <!-- Length of a dash in the stroke. --> 5640 <attr name="dashWidth" format="dimension" /> 5641 <!-- Gap between dashes in the stroke. --> 5642 <attr name="dashGap" format="dimension" /> 5643 </declare-styleable> 5644 5645 <!-- Describes the corners for the rectangle shape of a GradientDrawable. 5646 This can be used to render rounded corners. --> 5647 <declare-styleable name="DrawableCorners"> 5648 <!-- Defines the radius of the four corners. --> 5649 <attr name="radius" format="dimension" /> 5650 <!-- Radius of the top left corner. --> 5651 <attr name="topLeftRadius" format="dimension" /> 5652 <!-- Radius of the top right corner. --> 5653 <attr name="topRightRadius" format="dimension" /> 5654 <!-- Radius of the bottom left corner. --> 5655 <attr name="bottomLeftRadius" format="dimension" /> 5656 <!-- Radius of the bottom right corner. --> 5657 <attr name="bottomRightRadius" format="dimension" /> 5658 </declare-styleable> 5659 5660 <!-- Used to specify the optional padding of a GradientDrawable. --> 5661 <declare-styleable name="GradientDrawablePadding"> 5662 <!-- Amount of left padding inside the gradient shape. --> 5663 <attr name="left" format="dimension" /> 5664 <!-- Amount of top padding inside the gradient shape. --> 5665 <attr name="top" format="dimension" /> 5666 <!-- Amount of right padding inside the gradient shape. --> 5667 <attr name="right" format="dimension" /> 5668 <!-- Amount of bottom padding inside the gradient shape. --> 5669 <attr name="bottom" format="dimension" /> 5670 </declare-styleable> 5671 5672 <!-- Drawable used to render several drawables stacked on top of each other. 5673 Each child drawable can be controlled individually. --> 5674 <declare-styleable name="LayerDrawable"> 5675 <!-- Indicates the opacity of the layer. This can be useful to allow the 5676 system to enable drawing optimizations. The default value is 5677 translucent. --> 5678 <attr name="opacity"> 5679 <!-- Indicates that the layer is opaque and contains no transparent 5680 nor translucent pixels. --> 5681 <enum name="opaque" value="-1" /> 5682 <!-- The layer is completely transparent (no pixel will be drawn). --> 5683 <enum name="transparent" value="-2" /> 5684 <!-- The layer has translucent pixels. --> 5685 <enum name="translucent" value="-3" /> 5686 </attr> 5687 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5688 RTL (right-to-left). --> 5689 <attr name="autoMirrored" /> 5690 <!-- Indicates how layer padding should affect the bounds of subsequent layers. 5691 The default padding mode value is nest. --> 5692 <attr name="paddingMode"> 5693 <!-- Nest each layer inside the padding of the previous layer. --> 5694 <enum name="nest" value="0" /> 5695 <!-- Stack each layer directly atop the previous layer. --> 5696 <enum name="stack" value="1" /> 5697 </attr> 5698 <!-- Explicit top padding. Overrides child padding. --> 5699 <attr name="paddingTop" /> 5700 <!-- Explicit bottom padding. Overrides child padding. --> 5701 <attr name="paddingBottom" /> 5702 <!-- Explicit left padding. Overrides child padding. --> 5703 <attr name="paddingLeft" /> 5704 <!-- Explicit right padding. Overrides child padding. --> 5705 <attr name="paddingRight" /> 5706 <!-- Explicit start padding. Overrides child padding. Takes precedence 5707 over absolute padding (for example, left when layout direction is LTR). --> 5708 <attr name="paddingStart" /> 5709 <!-- Explicit end padding. Overrides child padding. Takes precedence 5710 over absolute padding (for example, right when layout direction is LTR). --> 5711 <attr name="paddingEnd" /> 5712 </declare-styleable> 5713 5714 <!-- Describes an item (or child) of a LayerDrawable. --> 5715 <declare-styleable name="LayerDrawableItem"> 5716 <!-- Left inset to apply to the layer. --> 5717 <attr name="left" /> 5718 <!-- Top inset to apply to the layer. --> 5719 <attr name="top" /> 5720 <!-- Right inset to apply to the layer. --> 5721 <attr name="right" /> 5722 <!-- Bottom inset to apply to the layer. --> 5723 <attr name="bottom" /> 5724 <!-- Start inset to apply to the layer. Overrides {@code left} or 5725 {@code right} depending on layout direction. --> 5726 <attr name="start" format="dimension" /> 5727 <!-- End inset to apply to the layer. Overrides {@code left} or 5728 {@code right} depending on layout direction. --> 5729 <attr name="end" format="dimension" /> 5730 <!-- Width of the layer. Defaults to the layer's intrinsic width. --> 5731 <attr name="width" /> 5732 <!-- Height of the layer. Defaults to the layer's intrinsic height. --> 5733 <attr name="height" /> 5734 <!-- Gravity used to align the layer within its container. If no value 5735 is specified, the default behavior depends on whether an explicit 5736 width or height has been set, If no dimension is set, gravity in 5737 that direction defaults to {@code fill_horizontal} or 5738 {@code fill_vertical}; otherwise, it defaults to {@code left} or 5739 {@code top}. --> 5740 <attr name="gravity" /> 5741 <!-- Drawable used to render the layer. --> 5742 <attr name="drawable" /> 5743 <!-- Identifier of the layer. This can be used to retrieve the layer 5744 from a drawable container. --> 5745 <attr name="id" /> 5746 </declare-styleable> 5747 5748 <declare-styleable name="LevelListDrawableItem"> 5749 <!-- The minimum level allowed for this item. --> 5750 <attr name="minLevel" format="integer" /> 5751 <!-- The maximum level allowed for this item. --> 5752 <attr name="maxLevel" format="integer" /> 5753 <attr name="drawable" /> 5754 </declare-styleable> 5755 5756 <!-- Drawable used to rotate another drawable. --> 5757 <declare-styleable name="RotateDrawable"> 5758 <attr name="visible" /> 5759 <attr name="fromDegrees" format="float" /> 5760 <attr name="toDegrees" format="float" /> 5761 <attr name="pivotX" format="float|fraction" /> 5762 <attr name="pivotY" format="float|fraction" /> 5763 <attr name="drawable" /> 5764 </declare-styleable> 5765 5766 <declare-styleable name="AnimatedRotateDrawable"> 5767 <attr name="visible" /> 5768 <attr name="frameDuration" format="integer" /> 5769 <attr name="framesCount" format="integer" /> 5770 <attr name="pivotX" /> 5771 <attr name="pivotY" /> 5772 <attr name="drawable" /> 5773 </declare-styleable> 5774 5775 <!-- Drawable used to render the Material progress indicator. --> 5776 <declare-styleable name="MaterialProgressDrawable"> 5777 <attr name="visible" /> 5778 <attr name="thickness" /> 5779 <attr name="innerRadius" /> 5780 <attr name="width" /> 5781 <attr name="height" /> 5782 <attr name="color" /> 5783 </declare-styleable> 5784 5785 <!-- Drawable used to wrap and inset another drawable. --> 5786 <declare-styleable name="InsetDrawable"> 5787 <attr name="visible" /> 5788 <attr name="drawable" /> 5789 <attr name="inset" format="dimension"/> 5790 <attr name="insetLeft" format="dimension" /> 5791 <attr name="insetRight" format="dimension" /> 5792 <attr name="insetTop" format="dimension" /> 5793 <attr name="insetBottom" format="dimension" /> 5794 </declare-styleable> 5795 5796 <!-- Drawable used to draw bitmaps. --> 5797 <declare-styleable name="BitmapDrawable"> 5798 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5799 <attr name="src" /> 5800 <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the 5801 edges of a bitmap when rotated. Default value is false. --> 5802 <attr name="antialias" format="boolean" /> 5803 <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is 5804 shrunk or stretched to smooth its apperance. Default value is true. --> 5805 <attr name="filter" format="boolean" /> 5806 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5807 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5808 an RGB 565 screen). Default value is true. --> 5809 <attr name="dither" /> 5810 <!-- Defines the gravity for the bitmap. The gravity indicates where to position 5811 the drawable in its container if the bitmap is smaller than the container. --> 5812 <attr name="gravity" /> 5813 <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. 5814 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5815 <attr name="tileMode"> 5816 <!-- Do not tile the bitmap. This is the default value. --> 5817 <enum name="disabled" value="-1" /> 5818 <!-- Replicates the edge color. --> 5819 <enum name="clamp" value="0" /> 5820 <!-- Repeats the bitmap in both direction. --> 5821 <enum name="repeat" value="1" /> 5822 <!-- Repeats the shader's image horizontally and vertically, alternating 5823 mirror images so that adjacent images always seam. --> 5824 <enum name="mirror" value="2" /> 5825 </attr> 5826 <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated. 5827 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5828 <attr name="tileModeX"> 5829 <!-- Do not tile the bitmap. This is the default value. --> 5830 <enum name="disabled" value="-1" /> 5831 <!-- Replicates the edge color. --> 5832 <enum name="clamp" value="0" /> 5833 <!-- Repeats the bitmap horizontally. --> 5834 <enum name="repeat" value="1" /> 5835 <!-- Repeats the shader's image horizontally, alternating 5836 mirror images so that adjacent images always seam. --> 5837 <enum name="mirror" value="2" /> 5838 </attr> 5839 <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated. 5840 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5841 <attr name="tileModeY"> 5842 <!-- Do not tile the bitmap. This is the default value. --> 5843 <enum name="disabled" value="-1" /> 5844 <!-- Replicates the edge color. --> 5845 <enum name="clamp" value="0" /> 5846 <!-- Repeats the bitmap vertically. --> 5847 <enum name="repeat" value="1" /> 5848 <!-- Repeats the shader's image vertically, alternating 5849 mirror images so that adjacent images always seam. --> 5850 <enum name="mirror" value="2" /> 5851 </attr> 5852 <!-- Enables or disables the mipmap hint. See 5853 {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information. 5854 Default value is false. --> 5855 <attr name="mipMap" format="boolean" /> 5856 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5857 RTL (right-to-left). --> 5858 <attr name="autoMirrored" /> 5859 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5860 no tint is applied. May be a color state list. --> 5861 <attr name="tint" /> 5862 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5863 default value is src_in, which treats the drawable as an alpha mask. --> 5864 <attr name="tintMode"> 5865 <!-- The tint is drawn on top of the drawable. 5866 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 5867 <enum name="src_over" value="3" /> 5868 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 5869 color channels are thrown out. [Sa * Da, Sc * Da] --> 5870 <enum name="src_in" value="5" /> 5871 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 5872 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 5873 <enum name="src_atop" value="9" /> 5874 <!-- Multiplies the color and alpha channels of the drawable with those of 5875 the tint. [Sa * Da, Sc * Dc] --> 5876 <enum name="multiply" value="14" /> 5877 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 5878 <enum name="screen" value="15" /> 5879 <!-- Combines the tint and drawable color and alpha channels, clamping the 5880 result to valid color values. Saturate(S + D) --> 5881 <enum name="add" value="16" /> 5882 </attr> 5883 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5884 <attr name="alpha" /> 5885 </declare-styleable> 5886 5887 <!-- Drawable used to draw 9-patches. --> 5888 <declare-styleable name="NinePatchDrawable"> 5889 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5890 <attr name="src" /> 5891 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5892 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5893 an RGB 565 screen). --> 5894 <attr name="dither" /> 5895 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5896 RTL (right-to-left). --> 5897 <attr name="autoMirrored" /> 5898 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5899 no tint is applied. May be a color state list. --> 5900 <attr name="tint" /> 5901 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5902 default value is src_in, which treats the drawable as an alpha mask. --> 5903 <attr name="tintMode" /> 5904 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5905 <attr name="alpha" /> 5906 </declare-styleable> 5907 5908 <!-- Drawable used to draw a single color. --> 5909 <declare-styleable name="ColorDrawable"> 5910 <!-- The color to use. --> 5911 <attr name="color" /> 5912 </declare-styleable> 5913 5914 <!-- Drawable used to draw adaptive icons with foreground and background layers. --> 5915 <declare-styleable name="AdaptiveIconDrawableLayer"> 5916 <!-- The drawable to use for the layer. --> 5917 <attr name="drawable" /> 5918 </declare-styleable> 5919 5920 <!-- Drawable used to show animated touch feedback. --> 5921 <declare-styleable name="RippleDrawable"> 5922 <!-- The color to use for ripple effects. This attribute is required. --> 5923 <attr name="color" /> 5924 <!-- The radius of the ripple when fully expanded. By default, the 5925 radius is computed based on the size of the ripple's container. --> 5926 <attr name="radius" /> 5927 </declare-styleable> 5928 5929 <declare-styleable name="ScaleDrawable"> 5930 <!-- Scale width, expressed as a percentage of the drawable's bound. The value's 5931 format is XX%. For instance: 100%, 12.5%, etc.--> 5932 <attr name="scaleWidth" format="string" /> 5933 <!-- Scale height, expressed as a percentage of the drawable's bound. The value's 5934 format is XX%. For instance: 100%, 12.5%, etc.--> 5935 <attr name="scaleHeight" format="string" /> 5936 <!-- Specifies where the drawable is positioned after scaling. The default value is 5937 left. --> 5938 <attr name="scaleGravity"> 5939 <!-- Push object to the top of its container, not changing its size. --> 5940 <flag name="top" value="0x30" /> 5941 <!-- Push object to the bottom of its container, not changing its size. --> 5942 <flag name="bottom" value="0x50" /> 5943 <!-- Push object to the left of its container, not changing its size. --> 5944 <flag name="left" value="0x03" /> 5945 <!-- Push object to the right of its container, not changing its size. --> 5946 <flag name="right" value="0x05" /> 5947 <!-- Place object in the vertical center of its container, not changing its size. --> 5948 <flag name="center_vertical" value="0x10" /> 5949 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 5950 <flag name="fill_vertical" value="0x70" /> 5951 <!-- Place object in the horizontal center of its container, not changing its size. --> 5952 <flag name="center_horizontal" value="0x01" /> 5953 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 5954 <flag name="fill_horizontal" value="0x07" /> 5955 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 5956 <flag name="center" value="0x11" /> 5957 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 5958 <flag name="fill" value="0x77" /> 5959 <!-- Additional option that can be set to have the top and/or bottom edges of 5960 the child clipped to its container's bounds. 5961 The clip will be based on the vertical gravity: a top gravity will clip the bottom 5962 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 5963 <flag name="clip_vertical" value="0x80" /> 5964 <!-- Additional option that can be set to have the left and/or right edges of 5965 the child clipped to its container's bounds. 5966 The clip will be based on the horizontal gravity: a left gravity will clip the right 5967 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 5968 <flag name="clip_horizontal" value="0x08" /> 5969 <!-- Push object to the beginning of its container, not changing its size. --> 5970 <flag name="start" value="0x00800003" /> 5971 <!-- Push object to the end of its container, not changing its size. --> 5972 <flag name="end" value="0x00800005" /> 5973 </attr> 5974 <!-- Specifies the initial drawable level in the range 0 to 10000. --> 5975 <attr name="level" format="integer" /> 5976 <!-- Reference to a drawable resource to draw with the specified scale. --> 5977 <attr name="drawable" /> 5978 <!-- Use the drawable's intrinsic width and height as minimum size values. 5979 Useful if the target drawable is a 9-patch or otherwise should not be scaled 5980 down beyond a minimum size. --> 5981 <attr name="useIntrinsicSizeAsMinimum" format="boolean" /> 5982 </declare-styleable> 5983 5984 <declare-styleable name="ClipDrawable"> 5985 <!-- The orientation for the clip. --> 5986 <attr name="clipOrientation"> 5987 <!-- Clip the drawable horizontally. --> 5988 <flag name="horizontal" value="1" /> 5989 <!-- Clip the drawable vertically. --> 5990 <flag name="vertical" value="2" /> 5991 </attr> 5992 <!-- Specifies where to clip within the drawable. The default value is 5993 left. --> 5994 <attr name="gravity" /> 5995 <!-- Reference to a drawable resource to draw with the specified scale. --> 5996 <attr name="drawable" /> 5997 </declare-styleable> 5998 5999 <!-- Defines the padding of a ShapeDrawable. --> 6000 <declare-styleable name="ShapeDrawablePadding"> 6001 <!-- Left padding. --> 6002 <attr name="left" /> 6003 <!-- Top padding. --> 6004 <attr name="top" /> 6005 <!-- Right padding. --> 6006 <attr name="right" /> 6007 <!-- Bottom padding. --> 6008 <attr name="bottom" /> 6009 </declare-styleable> 6010 6011 <!-- Drawable used to draw shapes. --> 6012 <declare-styleable name="ShapeDrawable"> 6013 <!-- Defines the color of the shape. --> 6014 <attr name="color" /> 6015 <!-- Defines the width of the shape. --> 6016 <attr name="width" /> 6017 <!-- Defines the height of the shape. --> 6018 <attr name="height" /> 6019 <!-- Enables or disables dithering. --> 6020 <attr name="dither" /> 6021 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 6022 no tint is applied. May be a color state list. --> 6023 <attr name="tint" /> 6024 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 6025 default value is src_in, which treats the drawable as an alpha mask. --> 6026 <attr name="tintMode" /> 6027 </declare-styleable> 6028 6029 <!-- ========================== --> 6030 <!-- VectorDrawable class --> 6031 <!-- ========================== --> 6032 <eat-comment /> 6033 6034 <!-- Drawable used to draw vector paths. --> 6035 <declare-styleable name="VectorDrawable"> 6036 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 6037 no tint is applied. May be a color state list. --> 6038 <attr name="tint" /> 6039 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 6040 default value is src_in, which treats the drawable as an alpha mask. --> 6041 <attr name="tintMode" /> 6042 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 6043 RTL (right-to-left). --> 6044 <attr name="autoMirrored" /> 6045 <!-- The intrinsic width of the Vector Drawable. --> 6046 <attr name="width" /> 6047 <!-- The intrinsic height of the Vector Drawable. --> 6048 <attr name="height" /> 6049 <!-- The width of the canvas the drawing is on. --> 6050 <attr name="viewportWidth" format="float"/> 6051 <!-- The height of the canvas the drawing is on. --> 6052 <attr name="viewportHeight" format="float"/> 6053 <!-- The name of this vector drawable. --> 6054 <attr name="name" /> 6055 <!-- The opacity of the whole vector drawable, as a value between 0 6056 (completely transparent) and 1 (completely opaque). --> 6057 <attr name="alpha" /> 6058 <!-- Left optical inset. 6059 @hide Until optical insets are fully supported. --> 6060 <attr name="opticalInsetLeft" format="dimension" /> 6061 <!-- Top optical inset. 6062 @hide Until optical insets are fully supported. --> 6063 <attr name="opticalInsetTop" format="dimension" /> 6064 <!-- Right optical inset. 6065 @hide Until optical insets are fully supported. --> 6066 <attr name="opticalInsetRight" format="dimension" /> 6067 <!-- Bottom optical inset. 6068 @hide Until optical insets are fully supported. --> 6069 <attr name="opticalInsetBottom" format="dimension" /> 6070 </declare-styleable> 6071 6072 <!-- Defines the group used in VectorDrawables. --> 6073 <declare-styleable name="VectorDrawableGroup"> 6074 <!-- The name of this group. --> 6075 <attr name="name" /> 6076 <!-- The amount to rotate the group. --> 6077 <attr name="rotation" /> 6078 <!-- The X coordinate of the center of rotation of a group. --> 6079 <attr name="pivotX" /> 6080 <!-- The Y coordinate of the center of rotation of a group. --> 6081 <attr name="pivotY" /> 6082 <!-- The amount to translate the group on X coordinate. --> 6083 <attr name="translateX" format="float"/> 6084 <!-- The amount to translate the group on Y coordinate. --> 6085 <attr name="translateY" format="float"/> 6086 <!-- The amount to scale the group on X coordinate. --> 6087 <attr name="scaleX" /> 6088 <!-- The amount to scale the group on X coordinate. --> 6089 <attr name="scaleY" /> 6090 </declare-styleable> 6091 6092 <!-- Defines the path used in VectorDrawables. --> 6093 <declare-styleable name="VectorDrawablePath"> 6094 <!-- The name of this path. --> 6095 <attr name="name" /> 6096 <!-- The width a path stroke. --> 6097 <attr name="strokeWidth" format="float" /> 6098 <!-- The color to stroke the path if not defined implies no stroke. --> 6099 <attr name="strokeColor" format="color" /> 6100 <!-- The opacity of a path stroke, as a value between 0 (completely transparent) 6101 and 1 (completely opaque). --> 6102 <attr name="strokeAlpha" format="float" /> 6103 <!-- The color to fill the path if not defined implies no fill. --> 6104 <attr name="fillColor" format="color" /> 6105 <!-- The alpha of the path fill, as a value between 0 (completely transparent) 6106 and 1 (completely opaque). --> 6107 <attr name="fillAlpha" format="float" /> 6108 <!-- The specification of the operations that define the path. --> 6109 <attr name="pathData" format="string" /> 6110 <!-- The fraction of the path to trim from the start from 0 to 1. --> 6111 <attr name="trimPathStart" format="float" /> 6112 <!-- The fraction of the path to trim from the end from 0 to 1 . --> 6113 <attr name="trimPathEnd" format="float" /> 6114 <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1. --> 6115 <attr name="trimPathOffset" format="float" /> 6116 <!-- sets the linecap for a stroked path. --> 6117 <attr name="strokeLineCap" format="enum"> 6118 <enum name="butt" value="0"/> 6119 <enum name="round" value="1"/> 6120 <enum name="square" value="2"/> 6121 </attr> 6122 <!-- sets the lineJoin for a stroked path. --> 6123 <attr name="strokeLineJoin" format="enum"> 6124 <enum name="miter" value="0"/> 6125 <enum name="round" value="1"/> 6126 <enum name="bevel" value="2"/> 6127 </attr> 6128 <!-- sets the Miter limit for a stroked path. --> 6129 <attr name="strokeMiterLimit" format="float"/> 6130 <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties. 6131 For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty. --> 6132 <attr name="fillType" format="enum"> 6133 <enum name="nonZero" value="0"/> 6134 <enum name="evenOdd" value="1"/> 6135 </attr> 6136 </declare-styleable> 6137 6138 <!-- Defines the clip path used in VectorDrawables. --> 6139 <declare-styleable name="VectorDrawableClipPath"> 6140 <!-- The Name of this path. --> 6141 <attr name="name" /> 6142 <!-- The specification of the operations that define the path. --> 6143 <attr name="pathData"/> 6144 </declare-styleable> 6145 6146 <!-- ========================== --> 6147 <!-- AnimatedVectorDrawable class --> 6148 <!-- ========================== --> 6149 <eat-comment /> 6150 6151 <!-- Define the AnimatedVectorDrawable. --> 6152 <declare-styleable name="AnimatedVectorDrawable"> 6153 <!-- The static vector drawable. --> 6154 <attr name="drawable" /> 6155 </declare-styleable> 6156 6157 <!-- Defines the target used in the AnimatedVectorDrawable. --> 6158 <declare-styleable name="AnimatedVectorDrawableTarget"> 6159 <!-- The name of the target path, group or vector drawable. --> 6160 <attr name="name" /> 6161 <!-- The animation for the target path, group or vector drawable. --> 6162 <attr name="animation" /> 6163 </declare-styleable> 6164 6165 <!-- ========================== --> 6166 <!-- Animation class attributes --> 6167 <!-- ========================== --> 6168 <eat-comment /> 6169 6170 <declare-styleable name="Animation"> 6171 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6172 <attr name="interpolator" /> 6173 <!-- When set to true, the value of fillBefore is taken into account. --> 6174 <attr name="fillEnabled" format="boolean" /> 6175 <!-- When set to true or when fillEnabled is not set to true, the animation transformation 6176 is applied before the animation has started. The default value is true. --> 6177 <attr name="fillBefore" format="boolean" /> 6178 <!-- When set to true, the animation transformation is applied after the animation is 6179 over. The default value is false. If fillEnabled is not set to true and the 6180 animation is not set on a View, fillAfter is assumed to be true.--> 6181 <attr name="fillAfter" format="boolean" /> 6182 <!-- Amount of time (in milliseconds) for the animation to run. --> 6183 <attr name="duration" /> 6184 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6185 <attr name="startOffset" format="integer" /> 6186 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6187 <attr name="repeatCount" format="integer"> 6188 <enum name="infinite" value="-1" /> 6189 </attr> 6190 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6191 greater than 0 or infinite. The default value is restart. --> 6192 <attr name="repeatMode"> 6193 <!-- The animation starts again from the beginning. --> 6194 <enum name="restart" value="1" /> 6195 <!-- The animation plays backward. --> 6196 <enum name="reverse" value="2" /> 6197 </attr> 6198 <!-- Allows for an adjustment of the Z ordering of the content being 6199 animated for the duration of the animation. The default value is normal. --> 6200 <attr name="zAdjustment"> 6201 <!-- The content being animated be kept in its current Z order. --> 6202 <enum name="normal" value="0" /> 6203 <!-- The content being animated is forced on top of all other 6204 content for the duration of the animation. --> 6205 <enum name="top" value="1" /> 6206 <!-- The content being animated is forced under all other 6207 content for the duration of the animation. --> 6208 <enum name="bottom" value="-1" /> 6209 </attr> 6210 <!-- Special background behind animation. Only for use with window 6211 animations. Can only be a color, and only black. If 0, the 6212 default, there is no background. --> 6213 <attr name="background" /> 6214 <!-- Special option for window animations: if this window is on top 6215 of a wallpaper, don't animate the wallpaper with it. --> 6216 <attr name="detachWallpaper" format="boolean" /> 6217 </declare-styleable> 6218 6219 <declare-styleable name="AnimationSet"> 6220 <attr name="shareInterpolator" format="boolean" /> 6221 <attr name="fillBefore" /> 6222 <attr name="fillAfter" /> 6223 <attr name="duration" /> 6224 <attr name="startOffset" /> 6225 <attr name="repeatMode" /> 6226 </declare-styleable> 6227 6228 <declare-styleable name="RotateAnimation"> 6229 <attr name="fromDegrees" /> 6230 <attr name="toDegrees" /> 6231 <attr name="pivotX" /> 6232 <attr name="pivotY" /> 6233 </declare-styleable> 6234 6235 <declare-styleable name="ScaleAnimation"> 6236 <attr name="fromXScale" format="float|fraction|dimension" /> 6237 <attr name="toXScale" format="float|fraction|dimension" /> 6238 <attr name="fromYScale" format="float|fraction|dimension" /> 6239 <attr name="toYScale" format="float|fraction|dimension" /> 6240 <attr name="pivotX" /> 6241 <attr name="pivotY" /> 6242 </declare-styleable> 6243 6244 <declare-styleable name="TranslateAnimation"> 6245 <attr name="fromXDelta" format="float|fraction" /> 6246 <attr name="toXDelta" format="float|fraction" /> 6247 <attr name="fromYDelta" format="float|fraction" /> 6248 <attr name="toYDelta" format="float|fraction" /> 6249 </declare-styleable> 6250 6251 <declare-styleable name="AlphaAnimation"> 6252 <attr name="fromAlpha" format="float" /> 6253 <attr name="toAlpha" format="float" /> 6254 </declare-styleable> 6255 6256 <declare-styleable name="LayoutAnimation"> 6257 <!-- Fraction of the animation duration used to delay the beginning of 6258 the animation of each child. --> 6259 <attr name="delay" format="float|fraction" /> 6260 <!-- Animation to use on each child. --> 6261 <attr name="animation" format="reference" /> 6262 <!-- The order in which the animations will be started. --> 6263 <attr name="animationOrder"> 6264 <!-- Animations are started in the natural order. --> 6265 <enum name="normal" value="0" /> 6266 <!-- Animations are started in the reverse order. --> 6267 <enum name="reverse" value="1" /> 6268 <!-- Animations are started randomly. --> 6269 <enum name="random" value="2" /> 6270 </attr> 6271 <!-- Interpolator used to interpolate the delay between the start of 6272 each animation. --> 6273 <attr name="interpolator" /> 6274 </declare-styleable> 6275 6276 <declare-styleable name="GridLayoutAnimation"> 6277 <!-- Fraction of the animation duration used to delay the beginning of 6278 the animation of each column. --> 6279 <attr name="columnDelay" format="float|fraction" /> 6280 <!-- Fraction of the animation duration used to delay the beginning of 6281 the animation of each row. --> 6282 <attr name="rowDelay" format="float|fraction" /> 6283 <!-- Direction of the animation in the grid. --> 6284 <attr name="direction"> 6285 <!-- Animates columns from left to right. --> 6286 <flag name="left_to_right" value="0x0" /> 6287 <!-- Animates columns from right to left. --> 6288 <flag name="right_to_left" value="0x1" /> 6289 <!-- Animates rows from top to bottom. --> 6290 <flag name="top_to_bottom" value="0x0" /> 6291 <!-- Animates rows from bottom to top. --> 6292 <flag name="bottom_to_top" value="0x2" /> 6293 </attr> 6294 <!-- Priority of the rows and columns. When the priority is none, 6295 both rows and columns have the same priority. When the priority is 6296 column, the animations will be applied on the columns first. The same 6297 goes for rows. --> 6298 <attr name="directionPriority"> 6299 <!-- Rows and columns are animated at the same time. --> 6300 <enum name="none" value="0" /> 6301 <!-- Columns are animated first. --> 6302 <enum name="column" value="1" /> 6303 <!-- Rows are animated first. --> 6304 <enum name="row" value="2" /> 6305 </attr> 6306 </declare-styleable> 6307 6308 <declare-styleable name="AccelerateInterpolator"> 6309 <!-- This is the amount of deceleration to add when easing in. --> 6310 <attr name="factor" format="float" /> 6311 </declare-styleable> 6312 6313 <declare-styleable name="DecelerateInterpolator"> 6314 <!-- This is the amount of acceleration to add when easing out. --> 6315 <attr name="factor" /> 6316 </declare-styleable> 6317 6318 <declare-styleable name="CycleInterpolator"> 6319 <attr name="cycles" format="float" /> 6320 </declare-styleable> 6321 6322 <declare-styleable name="AnticipateInterpolator"> 6323 <!-- This is the amount of tension. --> 6324 <attr name="tension" format="float" /> 6325 </declare-styleable> 6326 6327 <declare-styleable name="OvershootInterpolator"> 6328 <!-- This is the amount of tension. --> 6329 <attr name="tension" /> 6330 </declare-styleable> 6331 6332 <declare-styleable name="AnticipateOvershootInterpolator"> 6333 <!-- This is the amount of tension. --> 6334 <attr name="tension" /> 6335 <!-- This is the amount by which to multiply the tension. --> 6336 <attr name="extraTension" format="float" /> 6337 </declare-styleable> 6338 6339 <declare-styleable name="PathInterpolator"> 6340 <!-- The x coordinate of the first control point of the cubic Bezier. --> 6341 <attr name="controlX1" format="float" /> 6342 <!-- The y coordinate of the first control point of the cubic Bezier. --> 6343 <attr name="controlY1" format="float" /> 6344 <!-- The x coordinate of the second control point of the cubic Bezier. --> 6345 <attr name="controlX2" format="float" /> 6346 <!-- The y coordinate of the second control point of the cubic Bezier. --> 6347 <attr name="controlY2" format="float" /> 6348 <!-- The control points defined as a path. 6349 When pathData is defined, then both of the control points of the 6350 cubic Bezier will be ignored. --> 6351 <attr name="pathData"/> 6352 </declare-styleable> 6353 6354 <!-- ========================== --> 6355 <!-- Transition attributes --> 6356 <!-- ========================== --> 6357 <eat-comment /> 6358 6359 <!-- Use specific transition subclass names as the root tag of the XML resource that 6360 describes a {@link android.transition.Transition Transition}, 6361 such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. --> 6362 <declare-styleable name="Transition"> 6363 <!-- Amount of time (in milliseconds) that the transition should run. --> 6364 <attr name="duration" /> 6365 <!-- Delay in milliseconds before the transition starts. --> 6366 <attr name="startDelay" format="integer" /> 6367 <!-- Interpolator to be used in the animations spawned by this transition. --> 6368 <attr name="interpolator" /> 6369 <!-- The match order to use for the transition. This is a comma-separated 6370 list of values, containing one or more of the following: 6371 id, itemId, name, instance. These correspond to 6372 {@link android.transition.Transition#MATCH_ID}, 6373 {@link android.transition.Transition#MATCH_ITEM_ID}, 6374 {@link android.transition.Transition#MATCH_NAME}, and 6375 {@link android.transition.Transition#MATCH_INSTANCE}, respectively. 6376 This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. --> 6377 <attr name="matchOrder" format="string" /> 6378 </declare-styleable> 6379 6380 <!-- @hide For internal use only. Use only as directed. --> 6381 <declare-styleable name="EpicenterTranslateClipReveal"> 6382 <attr name="interpolatorX" format="reference" /> 6383 <attr name="interpolatorY" format="reference" /> 6384 <attr name="interpolatorZ" format="reference" /> 6385 </declare-styleable> 6386 6387 <!-- Use <code>fade</code>as the root tag of the XML resource that 6388 describes a {@link android.transition.Fade Fade} transition. 6389 The attributes of the {@link android.R.styleable#Transition Transition} 6390 resource are available in addition to the specific attributes of Fade 6391 described here. --> 6392 <declare-styleable name="Fade"> 6393 <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only 6394 with the Fade transition. --> 6395 <attr name="fadingMode"> 6396 <!-- Fade will only fade appearing items in. --> 6397 <enum name="fade_in" value="1" /> 6398 <!-- Fade will only fade disappearing items out. --> 6399 <enum name="fade_out" value="2" /> 6400 <!-- Fade will fade appearing items in and disappearing items out. --> 6401 <enum name="fade_in_out" value="3" /> 6402 </attr> 6403 </declare-styleable> 6404 6405 <!-- Use <code>slide</code>as the root tag of the XML resource that 6406 describes a {@link android.transition.Slide Slide} transition. 6407 The attributes of the {@link android.R.styleable#Transition Transition} 6408 resource are available in addition to the specific attributes of Slide 6409 described here. --> 6410 <declare-styleable name="Slide"> 6411 <attr name="slideEdge"> 6412 <!-- Slide to and from the left edge of the Scene. --> 6413 <enum name="left" value="0x03" /> 6414 <!-- Slide to and from the top edge of the Scene. --> 6415 <enum name="top" value="0x30" /> 6416 <!-- Slide to and from the right edge of the Scene. --> 6417 <enum name="right" value="0x05" /> 6418 <!-- Slide to and from the bottom edge of the Scene. --> 6419 <enum name="bottom" value="0x50" /> 6420 <!-- Slide to and from the x-axis position at the start of the Scene root. --> 6421 <enum name="start" value="0x00800003"/> 6422 <!-- Slide to and from the x-axis position at the end of the Scene root. --> 6423 <enum name="end" value="0x00800005"/> 6424 </attr> 6425 </declare-styleable> 6426 6427 <!-- Use with {@link android.transition.Visibility} transitions, such as 6428 <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which 6429 views are supported. --> 6430 <declare-styleable name="VisibilityTransition"> 6431 <!-- Changes whether the transition supports appearing and/or disappearing Views. 6432 Corresponds to {@link android.transition.Visibility#setMode(int)}. --> 6433 <attr name="transitionVisibilityMode"> 6434 <!-- Only appearing Views will be supported. --> 6435 <flag name="mode_in" value="1" /> 6436 <!-- Only disappearing Views will be supported. --> 6437 <flag name="mode_out" value="2" /> 6438 </attr> 6439 </declare-styleable> 6440 <!-- Use <code>target</code> as the root tag of the XML resource that 6441 describes a {@link android.transition.Transition#addTarget(int) 6442 targetId} of a transition. There can be one or more targets inside 6443 a <code>targets</code> tag, which is itself inside an appropriate 6444 {@link android.R.styleable#Transition Transition} tag. 6445 --> 6446 <declare-styleable name="TransitionTarget"> 6447 <!-- The id of a target on which this transition will animate changes. --> 6448 <attr name="targetId" format="reference" /> 6449 <!-- The id of a target to exclude from this transition. --> 6450 <attr name="excludeId" format="reference" /> 6451 <!-- The fully-qualified name of the Class to include in this transition. --> 6452 <attr name="targetClass" /> 6453 <!-- The fully-qualified name of the Class to exclude from this transition. --> 6454 <attr name="excludeClass" format="string" /> 6455 <!-- The transitionName of the target on which this transition will animation changes. --> 6456 <attr name="targetName" format="string" /> 6457 <!-- The transitionName of the target to exclude from this transition. --> 6458 <attr name="excludeName" format="string" /> 6459 </declare-styleable> 6460 6461 <!-- Use <code>set</code> as the root tag of the XML resource that 6462 describes a {@link android.transition.TransitionSet 6463 TransitionSet} transition. --> 6464 <declare-styleable name="TransitionSet"> 6465 <attr name="transitionOrdering"> 6466 <!-- child transitions should be played together. --> 6467 <enum name="together" value="0" /> 6468 <!-- child transitions should be played sequentially, in the same order 6469 as the xml. --> 6470 <enum name="sequential" value="1" /> 6471 </attr> 6472 </declare-styleable> 6473 6474 <!-- Use <code>changeTransform</code> as the root tag of the XML resource that 6475 describes a {@link android.transition.ChangeTransform} transition. --> 6476 <declare-styleable name="ChangeTransform"> 6477 <!-- A parent change should use an overlay or affect the transform of the 6478 transitionining View. Default is true. Corresponds to 6479 {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. --> 6480 <attr name="reparentWithOverlay" format="boolean"/> 6481 6482 <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to 6483 {@link android.transition.ChangeTransform#setReparent(boolean)}. --> 6484 <attr name="reparent" format="boolean"/> 6485 </declare-styleable> 6486 6487 <!-- Use <code>changeBounds</code>as the root tag of the XML resource that 6488 describes a {@link android.transition.ChangeBounds} transition. 6489 The attributes of the {@link android.R.styleable#Transition Transition} 6490 resource are available in addition to the specific attributes of ChangeBounds 6491 described here. --> 6492 <declare-styleable name="ChangeBounds"> 6493 <!-- Resize the view by adjusting the clipBounds rather than changing the 6494 dimensions of the view itself. The default value is false. --> 6495 <attr name="resizeClip" format="boolean"/> 6496 </declare-styleable> 6497 6498 <!-- Use <code>transitionManager</code> as the root tag of the XML resource that 6499 describes a {@link android.transition.TransitionManager 6500 TransitionManager}. --> 6501 <declare-styleable name="TransitionManager"> 6502 <!-- The id of a transition to be used in a particular scene change. --> 6503 <attr name="transition" format="reference" /> 6504 <!-- The originating scene in this scene change. --> 6505 <attr name="fromScene" format="reference" /> 6506 <!-- The destination scene in this scene change. --> 6507 <attr name="toScene" format="reference" /> 6508 </declare-styleable> 6509 6510 <!-- Use <code>arcMotion</code> as the root tag of the XML resource that 6511 describes a {@link android.transition.ArcMotion}. This must be used 6512 within a transition with which the PathMotion should be associated. --> 6513 <declare-styleable name="ArcMotion"> 6514 <!-- The minimum arc angle in degrees between the start and end points when 6515 they are close to horizontal. --> 6516 <attr name="minimumHorizontalAngle" format="float" /> 6517 <!-- The minimum arc angle in degrees between the start and end points when 6518 they are close to vertical. --> 6519 <attr name="minimumVerticalAngle" format="float" /> 6520 <!-- The maximum arc angle in degrees between the start and end points. --> 6521 <attr name="maximumAngle" format="float" /> 6522 </declare-styleable> 6523 6524 <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that 6525 describes a {@link android.transition.PatternPathMotion}. This must be used 6526 within a transition with which the PathMotion should be associated. --> 6527 <declare-styleable name="PatternPathMotion"> 6528 <!-- The path string describing the pattern to use for the PathPathMotion. --> 6529 <attr name="patternPathData" format="string" /> 6530 </declare-styleable> 6531 6532 <!-- ========================== --> 6533 <!-- ValueAnimator class attributes --> 6534 <!-- ========================== --> 6535 <eat-comment /> 6536 6537 <declare-styleable name="Animator"> 6538 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6539 <attr name="interpolator" /> 6540 <!-- Amount of time (in milliseconds) for the animation to run. --> 6541 <attr name="duration" /> 6542 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6543 <attr name="startOffset"/> 6544 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6545 <attr name="repeatCount"/> 6546 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6547 greater than 0 or infinite. The default value is restart. --> 6548 <attr name="repeatMode"/> 6549 <!-- Value the animation starts from. --> 6550 <attr name="valueFrom" format="float|integer|color|dimension|string"/> 6551 <!-- Value the animation animates to. --> 6552 <attr name="valueTo" format="float|integer|color|dimension|string"/> 6553 <!-- The type of valueFrom and valueTo. --> 6554 <attr name="valueType"> 6555 <!-- The given values are floats. This is the default value if valueType is 6556 unspecified. Note that if any value attribute has a color value 6557 (beginning with "#"), then this attribute is ignored and the color values are 6558 interpreted as integers. --> 6559 <enum name="floatType" value="0" /> 6560 <!-- values are integers. --> 6561 <enum name="intType" value="1" /> 6562 <!-- values are paths defined as strings. 6563 This type is used for path morphing in AnimatedVectorDrawable. --> 6564 <enum name="pathType" value="2" /> 6565 <!-- values are colors, which are integers starting with "#". --> 6566 <enum name="colorType" value="3" /> 6567 </attr> 6568 <!-- Placeholder for a deleted attribute. This should be removed before M release. --> 6569 <attr name="removeBeforeMRelease" format="integer" /> 6570 </declare-styleable> 6571 6572 <declare-styleable name="PropertyValuesHolder"> 6573 <attr name="valueType" /> 6574 <attr name="propertyName" /> 6575 <attr name="valueFrom" /> 6576 <attr name="valueTo" /> 6577 </declare-styleable> 6578 6579 <declare-styleable name="Keyframe"> 6580 <attr name="valueType" /> 6581 <attr name="value" /> 6582 <attr name="fraction" format="float" /> 6583 <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used 6584 to interpolate between this keyframe and the previous keyframe. --> 6585 <attr name="interpolator" /> 6586 </declare-styleable> 6587 6588 <!-- ========================== --> 6589 <!-- ObjectAnimator class attributes --> 6590 <!-- ========================== --> 6591 <eat-comment /> 6592 6593 <declare-styleable name="PropertyAnimator"> 6594 <!-- Name of the property being animated. --> 6595 <attr name="propertyName" format="string"/> 6596 <!-- Name of the property being animated as the X coordinate of the pathData. --> 6597 <attr name="propertyXName" format="string"/> 6598 <!-- Name of the property being animated as the Y coordinate of the pathData. --> 6599 <attr name="propertyYName" format="string"/> 6600 <!-- The path used to animate the properties in the ObjectAnimator. --> 6601 <attr name="pathData"/> 6602 </declare-styleable> 6603 6604 6605 <!-- ========================== --> 6606 <!-- AnimatorSet class attributes --> 6607 <!-- ========================== --> 6608 <eat-comment /> 6609 6610 <declare-styleable name="AnimatorSet"> 6611 <!-- Name of the property being animated. --> 6612 <attr name="ordering"> 6613 <!-- child animations should be played together. --> 6614 <enum name="together" value="0" /> 6615 <!-- child animations should be played sequentially, in the same order as the xml. --> 6616 <enum name="sequentially" value="1" /> 6617 </attr> 6618 </declare-styleable> 6619 6620 <!-- ========================== --> 6621 <!-- State attributes --> 6622 <!-- ========================== --> 6623 <eat-comment /> 6624 6625 <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of 6626 states may vary between view implementations, as documented on the individual state 6627 attributes. --> 6628 <declare-styleable name="DrawableStates"> 6629 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6630 set when a view has input focus. --> 6631 <attr name="state_focused" format="boolean" /> 6632 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6633 set when a view's window has input focus. --> 6634 <attr name="state_window_focused" format="boolean" /> 6635 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6636 set when a view is enabled. --> 6637 <attr name="state_enabled" format="boolean" /> 6638 <!-- State identifier indicating that the object <var>may</var> display a check mark. See 6639 {@link android.R.attr#state_checked} for the identifier that indicates whether it is 6640 actually checked. --> 6641 <attr name="state_checkable" format="boolean"/> 6642 <!-- State identifier indicating that the object is currently checked. See 6643 {@link android.R.attr#state_checkable} for an additional identifier that can indicate 6644 if any object may ever display a check, regardless of whether state_checked is 6645 currently set. --> 6646 <attr name="state_checked" format="boolean"/> 6647 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6648 set when a view (or one of its parents) is currently selected. --> 6649 <attr name="state_selected" format="boolean" /> 6650 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6651 set when the user is pressing down in a view. --> 6652 <attr name="state_pressed" format="boolean" /> 6653 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6654 set when a view or its parent has been "activated" meaning the user has currently 6655 marked it as being of interest. This is an alternative representation of 6656 state_checked for when the state should be propagated down the view hierarchy. --> 6657 <attr name="state_activated" format="boolean" /> 6658 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6659 set when a view or drawable is considered "active" by its host. Actual usage may vary 6660 between views. Consult the host view documentation for details. --> 6661 <attr name="state_active" format="boolean" /> 6662 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6663 set when a view or drawable is considered "single" by its host. Actual usage may vary 6664 between views. Consult the host view documentation for details. --> 6665 <attr name="state_single" format="boolean" /> 6666 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6667 set when a view or drawable is in the first position in an ordered set. Actual usage 6668 may vary between views. Consult the host view documentation for details. --> 6669 <attr name="state_first" format="boolean" /> 6670 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6671 set when a view or drawable is in the middle position in an ordered set. Actual usage 6672 may vary between views. Consult the host view documentation for details. --> 6673 <attr name="state_middle" format="boolean" /> 6674 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6675 set when a view or drawable is in the last position in an ordered set. Actual usage 6676 may vary between views. Consult the host view documentation for details. --> 6677 <attr name="state_last" format="boolean" /> 6678 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6679 indicating that the Drawable is in a view that is hardware accelerated. 6680 This means that the device can at least render a full-screen scaled 6681 bitmap with one layer of text and bitmaps composited on top of it 6682 at 60fps. When this is set, the colorBackgroundCacheHint will be 6683 ignored even if it specifies a solid color, since that optimization 6684 is not needed. --> 6685 <attr name="state_accelerated" format="boolean" /> 6686 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6687 set when a pointer is hovering over the view. --> 6688 <attr name="state_hovered" format="boolean" /> 6689 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6690 indicating that the Drawable is in a view that is capable of accepting a drop of 6691 the content currently being manipulated in a drag-and-drop operation. --> 6692 <attr name="state_drag_can_accept" format="boolean" /> 6693 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6694 indicating that a drag operation (for which the Drawable's view is a valid recipient) 6695 is currently positioned over the Drawable. --> 6696 <attr name="state_drag_hovered" format="boolean" /> 6697 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6698 indicating that a View has accessibility focus. --> 6699 <attr name="state_accessibility_focused" format="boolean" /> 6700 </declare-styleable> 6701 <declare-styleable name="ViewDrawableStates"> 6702 <attr name="state_pressed" /> 6703 <attr name="state_focused" /> 6704 <attr name="state_selected" /> 6705 <attr name="state_window_focused" /> 6706 <attr name="state_enabled" /> 6707 <attr name="state_activated" /> 6708 <attr name="state_accelerated" /> 6709 <attr name="state_hovered" /> 6710 <attr name="state_drag_can_accept" /> 6711 <attr name="state_drag_hovered" /> 6712 </declare-styleable> 6713 <!-- State array representing a menu item that is currently checked. --> 6714 <declare-styleable name="MenuItemCheckedState"> 6715 <attr name="state_checkable" /> 6716 <attr name="state_checked" /> 6717 </declare-styleable> 6718 <!-- State array representing a menu item that is checkable but is not currently checked. --> 6719 <declare-styleable name="MenuItemUncheckedState"> 6720 <attr name="state_checkable" /> 6721 </declare-styleable> 6722 <!-- State array representing a menu item that is currently focused and checked. --> 6723 <declare-styleable name="MenuItemCheckedFocusedState"> 6724 <attr name="state_checkable" /> 6725 <attr name="state_checked" /> 6726 <attr name="state_focused" /> 6727 </declare-styleable> 6728 <!-- State array representing a menu item that is focused and checkable but is not currently checked. --> 6729 <declare-styleable name="MenuItemUncheckedFocusedState"> 6730 <attr name="state_checkable" /> 6731 <attr name="state_focused" /> 6732 </declare-styleable> 6733 <!-- State array representing an expandable list child's indicator. --> 6734 <declare-styleable name="ExpandableListChildIndicatorState"> 6735 <!-- State identifier indicating the child is the last child within its group. --> 6736 <attr name="state_last" /> 6737 </declare-styleable> 6738 <!-- State array representing an expandable list group's indicator. --> 6739 <declare-styleable name="ExpandableListGroupIndicatorState"> 6740 <!-- State identifier indicating the group is expanded. --> 6741 <attr name="state_expanded" format="boolean" /> 6742 <!-- State identifier indicating the group is empty (has no children). --> 6743 <attr name="state_empty" format="boolean" /> 6744 </declare-styleable> 6745 <declare-styleable name="PopupWindowBackgroundState"> 6746 <!-- State identifier indicating the popup will be above the anchor. --> 6747 <attr name="state_above_anchor" format="boolean" /> 6748 </declare-styleable> 6749 <declare-styleable name="TextViewMultiLineBackgroundState"> 6750 <!-- State identifier indicating a TextView has a multi-line layout. --> 6751 <attr name="state_multiline" format="boolean" /> 6752 </declare-styleable> 6753 6754 <!-- ***************************************************************** --> 6755 <!-- Support for Searchable activities. --> 6756 <!-- ***************************************************************** --> 6757 <eat-comment /> 6758 6759 <!-- Searchable activities and applications must provide search configuration information 6760 in an XML file, typically called searchable.xml. This file is referenced in your manifest. 6761 For a more in-depth discussion of search configuration, please refer to 6762 {@link android.app.SearchManager}. --> 6763 <declare-styleable name="Searchable"> 6764 <!--<strong>This is deprecated.</strong><br/>The default 6765 application icon is now always used, so this attribute is 6766 obsolete.--> 6767 <attr name="icon" /> 6768 <!-- This is the user-displayed name of the searchable activity. <i>Required 6769 attribute.</i> --> 6770 <attr name="label" /> 6771 <!-- If supplied, this string will be displayed as a hint to the user. <i>Optional 6772 attribute.</i> --> 6773 <attr name="hint" /> 6774 <!-- If supplied, this string will be displayed as the text of the "Search" button. 6775 <i>Optional attribute.</i> 6776 {@deprecated This will create a non-standard UI appearance, because the search bar UI is 6777 changing to use only icons for its buttons.}--> 6778 <attr name="searchButtonText" format="string" /> 6779 <attr name="inputType" /> 6780 <attr name="imeOptions" /> 6781 6782 <!-- Additional features are controlled by mode bits in this field. Omitting 6783 this field, or setting to zero, provides default behavior. <i>Optional attribute.</i> 6784 --> 6785 <attr name="searchMode"> 6786 <!-- If set, this flag enables the display of the search target (label) within the 6787 search bar. If neither bad mode is selected, no badge will be shown. --> 6788 <flag name="showSearchLabelAsBadge" value="0x04" /> 6789 <!--<strong>This is deprecated.</strong><br/>The default 6790 application icon is now always used, so this option is 6791 obsolete.--> 6792 <flag name="showSearchIconAsBadge" value="0x08" /> 6793 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to 6794 be considered as the text for suggestion query rewriting. This should only 6795 be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user 6796 inspection and editing - typically, HTTP/HTTPS Uri's. --> 6797 <flag name="queryRewriteFromData" value="0x10" /> 6798 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to 6799 be considered as the text for suggestion query rewriting. This should be used 6800 for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA 6801 values are not suitable for user inspection and editing. --> 6802 <flag name="queryRewriteFromText" value="0x20" /> 6803 </attr> 6804 6805 <!-- Voice search features are controlled by mode bits in this field. Omitting 6806 this field, or setting to zero, provides default behavior. 6807 If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must 6808 also be set. <i>Optional attribute.</i> 6809 --> 6810 <attr name="voiceSearchMode"> 6811 <!-- If set, display a voice search button. This only takes effect if voice search is 6812 available on the device. --> 6813 <flag name="showVoiceSearchButton" value="0x01" /> 6814 <!-- If set, the voice search button will take the user directly to a built-in 6815 voice web search activity. Most applications will not use this flag, as it 6816 will take the user away from the activity in which search was invoked. --> 6817 <flag name="launchWebSearch" value="0x02" /> 6818 <!-- If set, the voice search button will take the user directly to a built-in 6819 voice recording activity. This activity will prompt the user to speak, 6820 transcribe the spoken text, and forward the resulting query 6821 text to the searchable activity, just as if the user had typed it into 6822 the search UI and clicked the search button. --> 6823 <flag name="launchRecognizer" value="0x04" /> 6824 </attr> 6825 6826 <!-- If provided, this specifies the language model that should be used by the 6827 voice recognition system. See 6828 {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information. 6829 If not provided, the default value 6830 {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. --> 6831 <attr name="voiceLanguageModel" format="string" /> 6832 <!-- If provided, this specifies a prompt that will be displayed during voice input. --> 6833 <attr name="voicePromptText" format="string" /> 6834 <!-- If provided, this specifies the spoken language to be expected, and that it will be 6835 different than the one set in the {@link java.util.Locale#getDefault()}. --> 6836 <attr name="voiceLanguage" format="string" /> 6837 <!-- If provided, enforces the maximum number of results to return, including the "best" 6838 result which will always be provided as the SEARCH intent's primary query. Must be one 6839 or greater. If not provided, the recognizer will choose how many results to return. 6840 --> 6841 <attr name="voiceMaxResults" format="integer" /> 6842 6843 <!-- If provided, this is the trigger indicating that the searchable activity 6844 provides suggestions as well. The value must be a fully-qualified content provider 6845 authority (for example, "com.example.android.apis.SuggestionProvider") and should match 6846 the "android:authorities" tag in your content provider's manifest entry. <i>Optional 6847 attribute.</i> --> 6848 <attr name="searchSuggestAuthority" format="string" /> 6849 <!-- If provided, this will be inserted in the suggestions query Uri, after the authority 6850 you have provide but before the standard suggestions path. <i>Optional attribute.</i> 6851 --> 6852 <attr name="searchSuggestPath" format="string" /> 6853 <!-- If provided, suggestion queries will be passed into your query function 6854 as the <i>selection</i> parameter. Typically this will be a WHERE clause for your 6855 database, and will contain a single question mark, which represents the actual query 6856 string that has been typed by the user. If not provided, then the user query text 6857 will be appended to the query Uri (after an additional "/".) <i>Optional 6858 attribute.</i> --> 6859 <attr name="searchSuggestSelection" format="string" /> 6860 6861 <!-- If provided, and not overridden by an action in the selected suggestion, this 6862 string will be placed in the action field of the {@link android.content.Intent Intent} 6863 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6864 <attr name="searchSuggestIntentAction" format="string" /> 6865 <!-- If provided, and not overridden by an action in the selected suggestion, this 6866 string will be placed in the data field of the {@link android.content.Intent Intent} 6867 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6868 <attr name="searchSuggestIntentData" format="string" /> 6869 6870 <!-- If provided, this is the minimum number of characters needed to trigger 6871 search suggestions. The default value is 0. <i>Optional attribute.</i> --> 6872 <attr name="searchSuggestThreshold" format="integer" /> 6873 6874 <!-- If provided and <code>true</code>, this searchable activity will be 6875 included in any global lists of search targets. 6876 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6877 <attr name="includeInGlobalSearch" format="boolean" /> 6878 6879 <!-- If provided and <code>true</code>, this searchable activity will be invoked for all 6880 queries in a particular session. If set to <code>false</code> and the activity 6881 returned zero results for a query, it will not be invoked again in that session for 6882 supersets of that zero-results query. For example, if the activity returned zero 6883 results for "bo", it would not be queried again for "bob". 6884 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6885 <attr name="queryAfterZeroResults" format="boolean" /> 6886 <!-- If provided, this string will be used to describe the searchable item in the 6887 searchable items settings within system search settings. <i>Optional 6888 attribute.</i> --> 6889 <attr name="searchSettingsDescription" format="string" /> 6890 6891 <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching 6892 within this activity would be detected and treated as URLs (show a 'go' button in the 6893 keyboard and invoke the browser directly when user launches the URL instead of passing 6894 the URL to the activity). If set to <code>false</code> any URLs entered are treated as 6895 normal query text. 6896 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6897 <attr name="autoUrlDetect" format="boolean" /> 6898 6899 </declare-styleable> 6900 6901 <!-- In order to process special action keys during search, you must define them using 6902 one or more "ActionKey" elements in your Searchable metadata. For a more in-depth 6903 discussion of action code handling, please refer to {@link android.app.SearchManager}. 6904 --> 6905 <declare-styleable name="SearchableActionKey"> 6906 <!-- This attribute denotes the action key you wish to respond to. Note that not 6907 all action keys are actually supported using this mechanism, as many of them are 6908 used for typing, navigation, or system functions. This will be added to the 6909 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6910 searchable activity. To examine the key code, use 6911 {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}. 6912 <p>Note, in addition to the keycode, you must also provide one or more of the action 6913 specifier attributes. <i>Required attribute.</i> --> 6914 <attr name="keycode" /> 6915 6916 <!-- If you wish to handle an action key during normal search query entry, you 6917 must define an action string here. This will be added to the 6918 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6919 searchable activity. To examine the string, use 6920 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6921 <i>Optional attribute.</i> --> 6922 <attr name="queryActionMsg" format="string" /> 6923 6924 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6925 selected</i>, there are two ways to handle this. If <i>all</i> of your suggestions 6926 can handle the action key, you can simply define the action message using this 6927 attribute. This will be added to the 6928 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6929 searchable activity. To examine the string, use 6930 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6931 <i>Optional attribute.</i> --> 6932 <attr name="suggestActionMsg" format="string" /> 6933 6934 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6935 selected</i>, but you do not wish to enable this action key for every suggestion, 6936 then you can use this attribute to control it on a suggestion-by-suggestion basis. 6937 First, you must define a column (and name it here) where your suggestions will include 6938 the action string. Then, in your content provider, you must provide this column, and 6939 when desired, provide data in this column. 6940 The search manager will look at your suggestion cursor, using the string 6941 provided here in order to select a column, and will use that to select a string from 6942 the cursor. That string will be added to the 6943 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to 6944 your searchable activity. To examine the string, use 6945 {@link android.content.Intent#getStringExtra 6946 getStringExtra(SearchManager.ACTION_MSG)}. <i>If the data does not exist for the 6947 selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> --> 6948 <attr name="suggestActionMsgColumn" format="string" /> 6949 6950 </declare-styleable> 6951 6952 <!-- ***************************************************************** --> 6953 <!-- Support for MapView. --> 6954 <!-- ***************************************************************** --> 6955 <eat-comment /> 6956 6957 <!-- The set of attributes for a MapView. --> 6958 <declare-styleable name="MapView"> 6959 <!-- Value is a string that specifies the Maps API Key to use. --> 6960 <attr name="apiKey" format="string" /> 6961 </declare-styleable> 6962 6963 <!-- **************************************************************** --> 6964 <!-- Menu XML inflation. --> 6965 <!-- **************************************************************** --> 6966 <eat-comment /> 6967 6968 <!-- Base attributes that are available to all Menu objects. --> 6969 <declare-styleable name="Menu"> 6970 </declare-styleable> 6971 6972 <!-- Base attributes that are available to all groups. --> 6973 <declare-styleable name="MenuGroup"> 6974 6975 <!-- The ID of the group. --> 6976 <attr name="id" /> 6977 6978 <!-- The category applied to all items within this group. 6979 (This will be or'ed with the orderInCategory attribute.) --> 6980 <attr name="menuCategory"> 6981 <!-- Items are part of a container. --> 6982 <enum name="container" value="0x00010000" /> 6983 <!-- Items are provided by the system. --> 6984 <enum name="system" value="0x00020000" /> 6985 <!-- Items are user-supplied secondary (infrequently used). --> 6986 <enum name="secondary" value="0x00030000" /> 6987 <!-- Items are alternative actions. --> 6988 <enum name="alternative" value="0x00040000" /> 6989 </attr> 6990 6991 <!-- The order within the category applied to all items within this group. 6992 (This will be or'ed with the category attribute.) --> 6993 <attr name="orderInCategory" format="integer" /> 6994 6995 <!-- Whether the items are capable of displaying a check mark. --> 6996 <attr name="checkableBehavior"> 6997 <!-- The items are not checkable. --> 6998 <enum name="none" value="0" /> 6999 <!-- The items are all checkable. --> 7000 <enum name="all" value="1" /> 7001 <!-- The items are checkable and there will only be a single checked item in 7002 this group. --> 7003 <enum name="single" value="2" /> 7004 </attr> 7005 7006 <!-- Whether the items are shown/visible. --> 7007 <attr name="visible" /> 7008 7009 <!-- Whether the items are enabled. --> 7010 <attr name="enabled" /> 7011 7012 </declare-styleable> 7013 7014 <!-- Base attributes that are available to all Item objects. --> 7015 <declare-styleable name="MenuItem"> 7016 7017 <!-- The ID of the item. --> 7018 <attr name="id" /> 7019 7020 <!-- The category applied to the item. 7021 (This will be or'ed with the orderInCategory attribute.) --> 7022 <attr name="menuCategory" /> 7023 7024 <!-- The order within the category applied to the item. 7025 (This will be or'ed with the category attribute.) --> 7026 <attr name="orderInCategory" /> 7027 7028 <!-- The title associated with the item. --> 7029 <attr name="title" format="string" /> 7030 7031 <!-- The condensed title associated with the item. This is used in situations where the 7032 normal title may be too long to be displayed. --> 7033 <attr name="titleCondensed" format="string" /> 7034 7035 <!-- The icon associated with this item. This icon will not always be shown, so 7036 the title should be sufficient in describing this item. --> 7037 <attr name="icon" /> 7038 7039 <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard 7040 with alphabetic keys. --> 7041 <attr name="alphabeticShortcut" format="string" /> 7042 7043 <!-- The alphabetic modifier key. This is the modifier when using a keyboard 7044 with alphabetic keys. The values should be kept in sync with KeyEvent --> 7045 <attr name="alphabeticModifiers"> 7046 <flag name="META" value="0x10000" /> 7047 <flag name="CTRL" value="0x1000" /> 7048 <flag name="ALT" value="0x02" /> 7049 <flag name="SHIFT" value="0x1" /> 7050 <flag name="SYM" value="0x4" /> 7051 <flag name="FUNCTION" value="0x8" /> 7052 </attr> 7053 7054 <!-- The numeric shortcut key. This is the shortcut when using a numeric (for example, 7055 12-key) keyboard. --> 7056 <attr name="numericShortcut" format="string" /> 7057 7058 <!-- The numeric modifier key. This is the modifier when using a numeric (for example, 7059 12-key) keyboard. The values should be kept in sync with KeyEvent --> 7060 <attr name="numericModifiers"> 7061 <flag name="META" value="0x10000" /> 7062 <flag name="CTRL" value="0x1000" /> 7063 <flag name="ALT" value="0x02" /> 7064 <flag name="SHIFT" value="0x1" /> 7065 <flag name="SYM" value="0x4" /> 7066 <flag name="FUNCTION" value="0x8" /> 7067 </attr> 7068 7069 <!-- Whether the item is capable of displaying a check mark. --> 7070 <attr name="checkable" format="boolean" /> 7071 7072 <!-- Whether the item is checked. Note that you must first have enabled checking with 7073 the checkable attribute or else the check mark will not appear. --> 7074 <attr name="checked" /> 7075 7076 <!-- Whether the item is shown/visible. --> 7077 <attr name="visible" /> 7078 7079 <!-- Whether the item is enabled. --> 7080 <attr name="enabled" /> 7081 7082 <!-- Name of a method on the Context used to inflate the menu that will be 7083 called when the item is clicked. --> 7084 <attr name="onClick" /> 7085 7086 <!-- How this item should display in the Action Bar, if present. --> 7087 <attr name="showAsAction"> 7088 <!-- Never show this item in an action bar, show it in the overflow menu instead. 7089 Mutually exclusive with "ifRoom" and "always". --> 7090 <flag name="never" value="0" /> 7091 <!-- Show this item in an action bar if there is room for it as determined 7092 by the system. Favor this option over "always" where possible. 7093 Mutually exclusive with "never" and "always". --> 7094 <flag name="ifRoom" value="1" /> 7095 <!-- Always show this item in an actionbar, even if it would override 7096 the system's limits of how much stuff to put there. This may make 7097 your action bar look bad on some screens. In most cases you should 7098 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". --> 7099 <flag name="always" value="2" /> 7100 <!-- When this item is shown as an action in the action bar, show a text 7101 label with it even if it has an icon representation. --> 7102 <flag name="withText" value="4" /> 7103 <!-- This item's action view collapses to a normal menu 7104 item. When expanded, the action view takes over a 7105 larger segment of its container. --> 7106 <flag name="collapseActionView" value="8" /> 7107 </attr> 7108 7109 <!-- An optional layout to be used as an action view. 7110 See {@link android.view.MenuItem#setActionView(android.view.View)} 7111 for more info. --> 7112 <attr name="actionLayout" format="reference" /> 7113 7114 <!-- The name of an optional View class to instantiate and use as an 7115 action view. See {@link android.view.MenuItem#setActionView(android.view.View)} 7116 for more info. --> 7117 <attr name="actionViewClass" format="string" /> 7118 7119 <!-- The name of an optional ActionProvider class to instantiate an action view 7120 and perform operations such as default action for that menu item. 7121 See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)} 7122 for more info. --> 7123 <attr name="actionProviderClass" format="string" /> 7124 7125 <!-- The content description associated with the item. --> 7126 <attr name="contentDescription" format="string" /> 7127 7128 <!-- The tooltip text associated with the item. --> 7129 <attr name="tooltipText" format="string" /> 7130 7131 </declare-styleable> 7132 7133 <!-- Attrbitutes for a ActvityChooserView. --> 7134 <declare-styleable name="ActivityChooserView"> 7135 <!-- The maximal number of items initially shown in the activity list. --> 7136 <attr name="initialActivityCount" format="string" /> 7137 <!-- The drawable to show in the button for expanding the activities overflow popup. 7138 <strong>Note:</strong> Clients would like to set this drawable 7139 as a clue about the action the chosen activity will perform. For 7140 example, if share activity is to be chosen the drawable should 7141 give a clue that sharing is to be performed. 7142 --> 7143 <attr name="expandActivityOverflowButtonDrawable" format="reference" /> 7144 </declare-styleable> 7145 7146 <!-- **************************************************************** --> 7147 <!-- Preferences framework. --> 7148 <!-- **************************************************************** --> 7149 <eat-comment /> 7150 7151 <!-- Base attributes available to PreferenceGroup. --> 7152 <declare-styleable name="PreferenceGroup"> 7153 <!-- Whether to order the Preference under this group as they appear in the XML file. 7154 If this is false, the ordering will follow the Preference order attribute and 7155 default to alphabetic for those without the order attribute. --> 7156 <attr name="orderingFromXml" format="boolean" /> 7157 </declare-styleable> 7158 7159 <!-- Attribute for a header describing the item shown in the top-level list 7160 from which the selects the set of preference to dig in to. --> 7161 <declare-styleable name="PreferenceHeader"> 7162 <!-- Identifier value for the header. --> 7163 <attr name="id" /> 7164 <!-- The title of the item that is shown to the user. --> 7165 <attr name="title" /> 7166 <!-- The summary for the item. --> 7167 <attr name="summary" format="string" /> 7168 <!-- The title for the bread crumb of this item. --> 7169 <attr name="breadCrumbTitle" format="string" /> 7170 <!-- The short title for the bread crumb of this item. --> 7171 <attr name="breadCrumbShortTitle" format="string" /> 7172 <!-- An icon for the item. --> 7173 <attr name="icon" /> 7174 <!-- The fragment that is displayed when the user selects this item. --> 7175 <attr name="fragment" format="string" /> 7176 </declare-styleable> 7177 7178 <!-- WARNING: If adding attributes to Preference, make sure it does not conflict 7179 with a View's attributes. Some subclasses (for example, EditTextPreference) 7180 proxy all attributes to its EditText widget. --> 7181 <eat-comment /> 7182 7183 <!-- Base attributes available to Preference. --> 7184 <declare-styleable name="Preference"> 7185 <!-- The optional icon for the preference. --> 7186 <attr name="icon" /> 7187 <!-- The key to store the Preference value. --> 7188 <attr name="key" format="string" /> 7189 <!-- The title for the Preference. In API 25 and earlier, this value is read as a 7190 plain string with styling information stripped. --> 7191 <attr name="title" /> 7192 <!-- The summary for the Preference. In API 25 and earlier, this value is read as a 7193 plain string with styling information stripped. --> 7194 <attr name="summary" /> 7195 <!-- The order for the Preference (lower values are to be ordered first). If this is not 7196 specified, the default ordering will be alphabetic. --> 7197 <attr name="order" format="integer" /> 7198 <!-- When used inside of a modern PreferenceActivity, this declares 7199 a new PreferenceFragment to be shown when the user selects this item. --> 7200 <attr name="fragment" /> 7201 <!-- The layout for the Preference in a PreferenceActivity screen. This should 7202 rarely need to be changed, look at widgetLayout instead. --> 7203 <attr name="layout" /> 7204 <!-- The layout for the controllable widget portion of a Preference. This is inflated 7205 into the layout for a Preference and should be used more frequently than 7206 the layout attribute. For example, a checkbox preference would specify 7207 a custom layout (consisting of just the CheckBox) here. --> 7208 <attr name="widgetLayout" format="reference" /> 7209 <!-- Whether the Preference is enabled. --> 7210 <attr name="enabled" /> 7211 <!-- Whether the Preference is selectable. --> 7212 <attr name="selectable" format="boolean" /> 7213 <!-- The key of another Preference that this Preference will depend on. If the other 7214 Preference is not set or is off, this Preference will be disabled. --> 7215 <attr name="dependency" format="string" /> 7216 <!-- Whether the Preference stores its value to the storage. --> 7217 <attr name="persistent" /> 7218 <!-- The default value for the preference, which will be set either if persistence 7219 is off or persistence is on and the preference is not found in the persistent 7220 storage. --> 7221 <attr name="defaultValue" format="string|boolean|integer|reference|float" /> 7222 <!-- Whether the view of this Preference should be disabled when 7223 this Preference is disabled. --> 7224 <attr name="shouldDisableView" format="boolean" /> 7225 <!-- Whether the preference has enabled to have its view recycled when used in the list 7226 view. This is true by default. --> 7227 <attr name="recycleEnabled" format="boolean" /> 7228 </declare-styleable> 7229 7230 <!-- Base attributes available to CheckBoxPreference. --> 7231 <declare-styleable name="CheckBoxPreference"> 7232 <!-- The summary for the Preference in a PreferenceActivity screen when the 7233 CheckBoxPreference is checked. If separate on/off summaries are not 7234 needed, the summary attribute can be used instead. --> 7235 <attr name="summaryOn" format="string" /> 7236 <!-- The summary for the Preference in a PreferenceActivity screen when the 7237 CheckBoxPreference is unchecked. If separate on/off summaries are not 7238 needed, the summary attribute can be used instead. --> 7239 <attr name="summaryOff" format="string" /> 7240 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 7241 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 7242 <attr name="disableDependentsState" format="boolean" /> 7243 </declare-styleable> 7244 7245 <!-- Base attributes available to DialogPreference. --> 7246 <declare-styleable name="DialogPreference"> 7247 <!-- The title in the dialog. --> 7248 <attr name="dialogTitle" format="string" /> 7249 <!-- The message in the dialog. If a dialogLayout is provided and contains 7250 a TextView with ID android:id/message, this message will be placed in there. --> 7251 <attr name="dialogMessage" format="string" /> 7252 <!-- The icon for the dialog. --> 7253 <attr name="dialogIcon" format="reference" /> 7254 <!-- The positive button text for the dialog. Set to @null to hide the positive button. --> 7255 <attr name="positiveButtonText" format="string" /> 7256 <!-- The negative button text for the dialog. Set to @null to hide the negative button. --> 7257 <attr name="negativeButtonText" format="string" /> 7258 <!-- A layout to be used as the content View for the dialog. By default, this shouldn't 7259 be needed. If a custom DialogPreference is required, this should be set. For example, 7260 the EditTextPreference uses a layout with an EditText as this attribute. --> 7261 <attr name="dialogLayout" format="reference" /> 7262 </declare-styleable> 7263 7264 <!-- Base attributes available to ListPreference. --> 7265 <declare-styleable name="ListPreference"> 7266 <!-- The human-readable array to present as a list. Each entry must have a corresponding 7267 index in entryValues. --> 7268 <attr name="entries" /> 7269 <!-- The array to find the value to save for a preference when an entry from 7270 entries is selected. If a user clicks on the second item in entries, the 7271 second item in this array will be saved to the preference. --> 7272 <attr name="entryValues" format="reference" /> 7273 </declare-styleable> 7274 7275 <declare-styleable name="MultiSelectListPreference"> 7276 <!-- The human-readable array to present as a list. Each entry must have a corresponding 7277 index in entryValues. --> 7278 <attr name="entries" /> 7279 <!-- The array to find the value to save for a preference when an entry from 7280 entries is selected. If a user clicks the second item in entries, the 7281 second item in this array will be saved to the preference. --> 7282 <attr name="entryValues" /> 7283 </declare-styleable> 7284 7285 <!-- Base attributes available to RingtonePreference. --> 7286 <declare-styleable name="RingtonePreference"> 7287 <!-- Which ringtone type(s) to show in the picker. --> 7288 <attr name="ringtoneType"> 7289 <!-- Ringtones. --> 7290 <flag name="ringtone" value="1" /> 7291 <!-- Notification sounds. --> 7292 <flag name="notification" value="2" /> 7293 <!-- Alarm sounds. --> 7294 <flag name="alarm" value="4" /> 7295 <!-- All available ringtone sounds. --> 7296 <flag name="all" value="7" /> 7297 </attr> 7298 <!-- Whether to show an item for a default sound. --> 7299 <attr name="showDefault" format="boolean" /> 7300 <!-- Whether to show an item for 'Silent'. --> 7301 <attr name="showSilent" format="boolean" /> 7302 </declare-styleable> 7303 7304 <!-- Base attributes available to VolumePreference. --> 7305 <declare-styleable name="VolumePreference"> 7306 <!-- Different audio stream types. --> 7307 <attr name="streamType"> 7308 <enum name="voice" value="0" /> 7309 <enum name="system" value="1" /> 7310 <enum name="ring" value="2" /> 7311 <enum name="music" value="3" /> 7312 <enum name="alarm" value="4" /> 7313 </attr> 7314 </declare-styleable> 7315 7316 <declare-styleable name="InputMethodService"> 7317 <!-- Background to use for entire input method when it is being 7318 shown in fullscreen mode with the extract view, to ensure 7319 that it completely covers the application. This allows, 7320 for example, the candidate view to be hidden 7321 while in fullscreen mode without having the application show through 7322 behind it.--> 7323 <attr name="imeFullscreenBackground" format="reference|color" /> 7324 <!-- Animation to use when showing the fullscreen extract UI after 7325 it had previously been hidden. --> 7326 <attr name="imeExtractEnterAnimation" format="reference" /> 7327 <!-- Animation to use when hiding the fullscreen extract UI after 7328 it had previously been shown. --> 7329 <attr name="imeExtractExitAnimation" format="reference" /> 7330 </declare-styleable> 7331 7332 <declare-styleable name="VoiceInteractionSession"> 7333 </declare-styleable> 7334 7335 <declare-styleable name="KeyboardView"> 7336 <!-- Default KeyboardView style. --> 7337 <attr name="keyboardViewStyle" format="reference" /> 7338 7339 <!-- Image for the key. This image needs to be a StateListDrawable, with the following 7340 possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, 7341 checkable+checked+pressed. --> 7342 <attr name="keyBackground" format="reference" /> 7343 7344 <!-- Size of the text for character keys. --> 7345 <attr name="keyTextSize" format="dimension" /> 7346 7347 <!-- Size of the text for custom keys with some text and no icon. --> 7348 <attr name="labelTextSize" format="dimension" /> 7349 7350 <!-- Color to use for the label in a key. --> 7351 <attr name="keyTextColor" format="color" /> 7352 7353 <!-- Layout resource for key press feedback.--> 7354 <attr name="keyPreviewLayout" format="reference" /> 7355 7356 <!-- Vertical offset of the key press feedback from the key. --> 7357 <attr name="keyPreviewOffset" format="dimension" /> 7358 7359 <!-- Height of the key press feedback popup. --> 7360 <attr name="keyPreviewHeight" format="dimension" /> 7361 7362 <!-- Amount to offset the touch Y coordinate by, for bias correction. --> 7363 <attr name="verticalCorrection" format="dimension" /> 7364 7365 <!-- Layout resource for popup keyboards. --> 7366 <attr name="popupLayout" format="reference" /> 7367 7368 <attr name="shadowColor" /> 7369 <attr name="shadowRadius" /> 7370 </declare-styleable> 7371 7372 <declare-styleable name="KeyboardViewPreviewState"> 7373 <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView} 7374 key preview background. --> 7375 <attr name="state_long_pressable" format="boolean" /> 7376 </declare-styleable> 7377 7378 <declare-styleable name="Keyboard"> 7379 <!-- Default width of a key, in pixels or percentage of display width. --> 7380 <attr name="keyWidth" format="dimension|fraction" /> 7381 <!-- Default height of a key, in pixels or percentage of display width. --> 7382 <attr name="keyHeight" format="dimension|fraction" /> 7383 <!-- Default horizontal gap between keys. --> 7384 <attr name="horizontalGap" format="dimension|fraction" /> 7385 <!-- Default vertical gap between rows of keys. --> 7386 <attr name="verticalGap" format="dimension|fraction" /> 7387 </declare-styleable> 7388 7389 <declare-styleable name="Keyboard_Row"> 7390 <!-- Row edge flags. --> 7391 <attr name="rowEdgeFlags"> 7392 <!-- Row is anchored to the top of the keyboard. --> 7393 <flag name="top" value="4" /> 7394 <!-- Row is anchored to the bottom of the keyboard. --> 7395 <flag name="bottom" value="8" /> 7396 </attr> 7397 <!-- Mode of the keyboard. If the mode doesn't match the 7398 requested keyboard mode, the row will be skipped. --> 7399 <attr name="keyboardMode" format="reference" /> 7400 </declare-styleable> 7401 7402 <declare-styleable name="Keyboard_Key"> 7403 <!-- The unicode value or comma-separated values that this key outputs. --> 7404 <attr name="codes" format="integer|string" /> 7405 <!-- The XML keyboard layout of any popup keyboard. --> 7406 <attr name="popupKeyboard" format="reference" /> 7407 <!-- The characters to display in the popup keyboard. --> 7408 <attr name="popupCharacters" format="string" /> 7409 <!-- Key edge flags. --> 7410 <attr name="keyEdgeFlags"> 7411 <!-- Key is anchored to the left of the keyboard. --> 7412 <flag name="left" value="1" /> 7413 <!-- Key is anchored to the right of the keyboard. --> 7414 <flag name="right" value="2" /> 7415 </attr> 7416 <!-- Whether this is a modifier key such as Alt or Shift. --> 7417 <attr name="isModifier" format="boolean" /> 7418 <!-- Whether this is a toggle key. --> 7419 <attr name="isSticky" format="boolean" /> 7420 <!-- Whether long-pressing on this key will make it repeat. --> 7421 <attr name="isRepeatable" format="boolean" /> 7422 <!-- The icon to show in the popup preview. --> 7423 <attr name="iconPreview" format="reference" /> 7424 <!-- The string of characters to output when this key is pressed. --> 7425 <attr name="keyOutputText" format="string" /> 7426 <!-- The label to display on the key. --> 7427 <attr name="keyLabel" format="string" /> 7428 <!-- The icon to display on the key instead of the label. --> 7429 <attr name="keyIcon" format="reference" /> 7430 <!-- Mode of the keyboard. If the mode doesn't match the 7431 requested keyboard mode, the key will be skipped. --> 7432 <attr name="keyboardMode" /> 7433 </declare-styleable> 7434 7435 <!-- =============================== --> 7436 <!-- AppWidget package class attributes --> 7437 <!-- =============================== --> 7438 <eat-comment /> 7439 7440 <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that 7441 describes an AppWidget provider. See {@link android.appwidget android.appwidget} 7442 package for more info. 7443 --> 7444 <declare-styleable name="AppWidgetProviderInfo"> 7445 <!-- Minimum width of the AppWidget. --> 7446 <attr name="minWidth"/> 7447 <!-- Minimum height of the AppWidget. --> 7448 <attr name="minHeight"/> 7449 <!-- Minimum width that the AppWidget can be resized to. --> 7450 <attr name="minResizeWidth" format="dimension"/> 7451 <!-- Minimum height that the AppWidget can be resized to. --> 7452 <attr name="minResizeHeight" format="dimension"/> 7453 <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. --> 7454 <attr name="updatePeriodMillis" format="integer" /> 7455 <!-- A resource id of a layout. --> 7456 <attr name="initialLayout" format="reference" /> 7457 <!-- A resource id of a layout. --> 7458 <attr name="initialKeyguardLayout" format="reference" /> 7459 <!-- A class name in the AppWidget's package to be launched to configure. 7460 If not supplied, then no activity will be launched. --> 7461 <attr name="configure" format="string" /> 7462 <!-- A preview of what the AppWidget will look like after it's configured. 7463 If not supplied, the AppWidget's icon will be used. --> 7464 <attr name="previewImage" format="reference" /> 7465 <!-- The view id of the AppWidget subview which should be auto-advanced. 7466 by the widget's host. --> 7467 <attr name="autoAdvanceViewId" format="reference" /> 7468 <!-- Optional parameter which indicates if and how this widget can be 7469 resized. Supports combined values using | operator. --> 7470 <attr name="resizeMode" format="integer"> 7471 <flag name="none" value="0x0" /> 7472 <flag name="horizontal" value="0x1" /> 7473 <flag name="vertical" value="0x2" /> 7474 </attr> 7475 <!-- Optional parameter which indicates where this widget can be shown, 7476 ie. home screen, keyguard, search bar or any combination thereof. 7477 Supports combined values using | operator. --> 7478 <attr name="widgetCategory" format="integer"> 7479 <flag name="home_screen" value="0x1" /> 7480 <flag name="keyguard" value="0x2" /> 7481 <flag name="searchbox" value="0x4" /> 7482 </attr> 7483 </declare-styleable> 7484 7485 <!-- =============================== --> 7486 <!-- Wallpaper preview attributes --> 7487 <!-- =============================== --> 7488 <eat-comment /> 7489 7490 <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that 7491 describes a wallpaper preview. --> 7492 <declare-styleable name="WallpaperPreviewInfo"> 7493 <!-- A resource id of a static drawable. --> 7494 <attr name="staticWallpaperPreview" format="reference" /> 7495 </declare-styleable> 7496 7497 <!-- =============================== --> 7498 <!-- App package class attributes --> 7499 <!-- =============================== --> 7500 <eat-comment /> 7501 7502 <!-- ============================= --> 7503 <!-- View package class attributes --> 7504 <!-- ============================= --> 7505 <eat-comment /> 7506 7507 <!-- Attributes that can be used with <code><fragment></code> 7508 tags inside of the layout of an Activity. This instantiates 7509 the given {@link android.app.Fragment} and inserts its content 7510 view into the current location in the layout. --> 7511 <declare-styleable name="Fragment"> 7512 <!-- Supply the name of the fragment class to instantiate. --> 7513 <attr name="name" /> 7514 7515 <!-- Supply an identifier name for the top-level view, to later retrieve it 7516 with {@link android.view.View#findViewById View.findViewById()} or 7517 {@link android.app.Activity#findViewById Activity.findViewById()}. 7518 This must be a 7519 resource reference; typically you set this using the 7520 <code>@+</code> syntax to create a new ID resources. 7521 For example: <code>android:id="@+id/my_id"</code> which 7522 allows you to later retrieve the view 7523 with <code>findViewById(R.id.my_id)</code>. --> 7524 <attr name="id" /> 7525 7526 <!-- Supply a tag for the top-level view containing a String, to be retrieved 7527 later with {@link android.view.View#getTag View.getTag()} or 7528 searched for with {@link android.view.View#findViewWithTag 7529 View.findViewWithTag()}. It is generally preferable to use 7530 IDs (through the android:id attribute) instead of tags because 7531 they are faster and allow for compile-time type checking. --> 7532 <attr name="tag" /> 7533 7534 <!-- The Transition that will be used to move Views out of the scene when the 7535 fragment is removed, hidden, or detached when not popping the back stack. 7536 Corresponds to {@link android.app.Fragment#setExitTransition( 7537 android.transition.Transition)} --> 7538 <attr name="fragmentExitTransition" format="reference"/> 7539 7540 <!-- The Transition that will be used to move Views into the initial scene. 7541 Corresponds to {@link android.app.Fragment#setEnterTransition( 7542 android.transition.Transition)} --> 7543 <attr name="fragmentEnterTransition" format="reference"/> 7544 7545 <!-- The Transition that will be used for shared elements transferred into the content 7546 Scene. 7547 Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition( 7548 android.transition.Transition)} --> 7549 <attr name="fragmentSharedElementEnterTransition" format="reference"/> 7550 7551 <!-- The Transition that will be used to move Views out of the scene when the Fragment is 7552 preparing to be removed, hidden, or detached because of popping the back stack. 7553 Corresponds to {@link android.app.Fragment#setReturnTransition( 7554 android.transition.Transition)} --> 7555 <attr name="fragmentReturnTransition" format="reference"/> 7556 7557 <!-- The Transition that will be used for shared elements transferred back during a 7558 pop of the back stack. This Transition acts in the leaving Fragment. 7559 Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition( 7560 android.transition.Transition)} --> 7561 <attr name="fragmentSharedElementReturnTransition" format="reference"/> 7562 7563 <!-- The Transition that will be used to move Views in to the scene when returning due 7564 to popping a back stack. 7565 Corresponds to {@link android.app.Fragment#setReenterTransition( 7566 android.transition.Transition)} --> 7567 <attr name="fragmentReenterTransition" format="reference"/> 7568 7569 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7570 forward. 7571 Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap( 7572 boolean)} --> 7573 <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/> 7574 7575 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7576 because of popping the back stack. 7577 Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap( 7578 boolean)} --> 7579 <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/> 7580 </declare-styleable> 7581 7582 <!-- Use <code>device-admin</code> as the root tag of the XML resource that 7583 describes a 7584 {@link android.app.admin.DeviceAdminReceiver}, which is 7585 referenced from its 7586 {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA} 7587 meta-data entry. Described here are the attributes that can be 7588 included in that tag. --> 7589 <declare-styleable name="DeviceAdmin"> 7590 <!-- Control whether the admin is visible to the user, even when it 7591 is not enabled. This is true by default. You may want to make 7592 it false if your admin does not make sense to be turned on 7593 unless some explicit action happens in your app. --> 7594 <attr name="visible" /> 7595 </declare-styleable> 7596 7597 <!-- Use <code>wallpaper</code> as the root tag of the XML resource that 7598 describes an 7599 {@link android.service.wallpaper.WallpaperService}, which is 7600 referenced from its 7601 {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA} 7602 meta-data entry. Described here are the attributes that can be 7603 included in that tag. --> 7604 <declare-styleable name="Wallpaper"> 7605 <attr name="settingsActivity" /> 7606 7607 <!-- Reference to the wallpaper's thumbnail bitmap. --> 7608 <attr name="thumbnail" format="reference" /> 7609 7610 <!-- Name of the author and/or source/collection of this component, for example, 7611 Art Collection, Picasso. --> 7612 <attr name="author" format="reference" /> 7613 7614 <!-- Short description of the component's purpose or behavior. --> 7615 <attr name="description" /> 7616 7617 <!-- Uri that specifies a link for further context of this wallpaper, for example, 7618 http://www.picasso.org. --> 7619 <attr name="contextUri" format="reference" /> 7620 7621 <!-- Title of the uri that specifies a link for further context of this wallpaper, 7622 for example, Explore collection. --> 7623 <attr name="contextDescription" format="reference" /> 7624 7625 <!-- Whether to show any metadata when previewing the wallpaper. If this value is 7626 set to true, any component that shows a preview of this live wallpaper should also show 7627 accompanying information like the title, the description, the author and the context 7628 description of this wallpaper so the user gets to know further information about this 7629 wallpaper. --> 7630 <attr name="showMetadataInPreview" format="boolean" /> 7631 7632 </declare-styleable> 7633 7634 <!-- Use <code>dream</code> as the root tag of the XML resource that 7635 describes an 7636 {@link android.service.dreams.DreamService}, which is 7637 referenced from its 7638 {@link android.service.dreams.DreamService#DREAM_META_DATA} 7639 meta-data entry. Described here are the attributes that can be 7640 included in that tag. --> 7641 <declare-styleable name="Dream"> 7642 <!-- Component name of an activity that allows the user to modify 7643 the settings for this dream. --> 7644 <attr name="settingsActivity" /> 7645 </declare-styleable> 7646 7647 <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that 7648 describes an {@link android.service.trust.TrustAgentService}, which is 7649 referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA} 7650 meta-data entry. Described here are the attributes that can be included in that tag. 7651 @hide --> 7652 <declare-styleable name="TrustAgent"> 7653 <!-- @SystemApi Component name of an activity that allows the user to modify 7654 the settings for this trust agent. @hide --> 7655 <attr name="settingsActivity" /> 7656 <!-- @SystemApi Title for a preference that allows that user to launch the 7657 activity to modify trust agent settings. @hide --> 7658 <attr name="title" /> 7659 <!-- @SystemApi Summary for the same preference as the title. @hide --> 7660 <attr name="summary" /> 7661 <!-- @SystemApi Whether trust agent can unlock a user profile @hide --> 7662 <attr name="unlockProfile" format="boolean"/> 7663 </declare-styleable> 7664 7665 <!-- =============================== --> 7666 <!-- Accounts package class attributes --> 7667 <!-- =============================== --> 7668 <eat-comment /> 7669 7670 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7671 describes an account authenticator. 7672 --> 7673 <declare-styleable name="AccountAuthenticator"> 7674 <!-- The account type this authenticator handles. --> 7675 <attr name="accountType" format="string"/> 7676 <!-- The user-visible name of the authenticator. --> 7677 <attr name="label"/> 7678 <!-- The icon of the authenticator. --> 7679 <attr name="icon"/> 7680 <!-- Smaller icon of the authenticator. --> 7681 <attr name="smallIcon" format="reference"/> 7682 <!-- A preferences.xml file for authenticator-specific settings. --> 7683 <attr name="accountPreferences" format="reference"/> 7684 <!-- Account handles its own token storage and permissions. 7685 Default to false 7686 --> 7687 <attr name="customTokens" format="boolean"/> 7688 </declare-styleable> 7689 7690 <!-- =============================== --> 7691 <!-- Accounts package class attributes --> 7692 <!-- =============================== --> 7693 <eat-comment /> 7694 7695 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7696 describes an account authenticator. 7697 --> 7698 <declare-styleable name="SyncAdapter"> 7699 <!-- the authority of a content provider. --> 7700 <attr name="contentAuthority" format="string"/> 7701 <attr name="accountType"/> 7702 <attr name="userVisible" format="boolean"/> 7703 <attr name="supportsUploading" format="boolean"/> 7704 <!-- Set to true to tell the SyncManager that this SyncAdapter supports 7705 multiple simultaneous syncs for the same account type and authority. 7706 Otherwise the SyncManager will be sure not to issue a start sync request 7707 to this SyncAdapter if the SyncAdapter is already syncing another account. 7708 Defaults to false. 7709 --> 7710 <attr name="allowParallelSyncs" format="boolean"/> 7711 <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) 7712 for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. 7713 Defaults to false. 7714 --> 7715 <attr name="isAlwaysSyncable" format="boolean"/> 7716 <!-- If provided, specifies the action of the settings 7717 activity for this SyncAdapter. 7718 --> 7719 <attr name="settingsActivity"/> 7720 </declare-styleable> 7721 7722 <!-- =============================== --> 7723 <!-- AutoFill attributes --> 7724 <!-- =============================== --> 7725 <eat-comment /> 7726 7727 <!-- Use <code>autofill-service</code> as the root tag of the XML resource that describes a 7728 {@link android.service.autofill.AutoFillService}, which is referenced from its 7729 {@link android.service.autofill#SERVICE_META_DATA} meta-data entry. 7730 --> 7731 <declare-styleable name="AutoFillService"> 7732 <!-- Fully qualified class name of an activity that allows the user to modify 7733 the settings for this service. --> 7734 <attr name="settingsActivity" /> 7735 </declare-styleable> 7736 7737 <!-- =============================== --> 7738 <!-- Contacts meta-data attributes --> 7739 <!-- =============================== --> 7740 <eat-comment /> 7741 7742 <!-- TODO: remove this deprecated styleable. --> 7743 <eat-comment /> 7744 <declare-styleable name="Icon"> 7745 <attr name="icon" /> 7746 <attr name="mimeType" /> 7747 </declare-styleable> 7748 7749 <!-- TODO: remove this deprecated styleable --> 7750 <eat-comment /> 7751 <declare-styleable name="IconDefault"> 7752 <attr name="icon" /> 7753 </declare-styleable> 7754 7755 <!-- Maps a specific contact data MIME-type to styling information. --> 7756 <declare-styleable name="ContactsDataKind"> 7757 <!-- Mime-type handled by this mapping. --> 7758 <attr name="mimeType" /> 7759 <!-- Icon used to represent data of this kind. --> 7760 <attr name="icon" /> 7761 <!-- Column in data table that summarizes this data. --> 7762 <attr name="summaryColumn" format="string" /> 7763 <!-- Column in data table that contains details for this data. --> 7764 <attr name="detailColumn" format="string" /> 7765 <!-- Flag indicating that detail should be built from SocialProvider. --> 7766 <attr name="detailSocialSummary" format="boolean" /> 7767 <!-- Resource representing the term "All Contacts" (for example, "All Friends" or 7768 "All connections"). Optional (Default is "All Contacts"). --> 7769 <attr name="allContactsName" format="string" /> 7770 </declare-styleable> 7771 7772 <!-- =============================== --> 7773 <!-- TabSelector class attributes --> 7774 <!-- =============================== --> 7775 <eat-comment /> 7776 7777 <declare-styleable name="SlidingTab"> 7778 <!-- Use "horizontal" for a row, "vertical" for a column. The default is horizontal. --> 7779 <attr name="orientation" /> 7780 </declare-styleable> 7781 7782 <!-- =============================== --> 7783 <!-- GlowPadView class attributes --> 7784 <!-- =============================== --> 7785 <eat-comment /> 7786 <declare-styleable name="GlowPadView"> 7787 <!-- Reference to an array resource that be used as description for the targets around the circle. 7788 {@deprecated Removed.} --> 7789 <attr name="targetDescriptions" format="reference" /> 7790 7791 <!-- Reference to an array resource that be used to announce the directions with targets around the circle. 7792 {@deprecated Removed.} --> 7793 <attr name="directionDescriptions" format="reference" /> 7794 </declare-styleable> 7795 7796 <!-- =============================== --> 7797 <!-- Location package class attributes --> 7798 <!-- =============================== --> 7799 <eat-comment /> 7800 7801 <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that 7802 describes an injected "Location services" setting. Note that the status value (subtitle) 7803 for the setting is specified dynamically by a subclass of SettingInjectorService. 7804 --> 7805 <declare-styleable name="SettingInjectorService"> 7806 <!-- The title for the preference. --> 7807 <attr name="title"/> 7808 <!-- The icon for the preference, should refer to all apps covered by the setting. Typically 7809 a generic icon for the developer. --> 7810 <attr name="icon"/> 7811 <!-- The activity to launch when the setting is clicked on. --> 7812 <attr name="settingsActivity"/> 7813 </declare-styleable> 7814 7815 <!-- =============================== --> 7816 <!-- LockPatternView class attributes --> 7817 <!-- =============================== --> 7818 <eat-comment /> 7819 7820 <declare-styleable name="LockPatternView"> 7821 <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width" 7822 or "lock_height" --> 7823 <attr name="aspect" format="string" /> 7824 <!-- Color to use when drawing LockPatternView paths. --> 7825 <attr name="pathColor" format="color|reference" /> 7826 <!-- The regular pattern color --> 7827 <attr name="regularColor" format="color|reference" /> 7828 <!-- The error color --> 7829 <attr name="errorColor" format="color|reference" /> 7830 <!-- The success color --> 7831 <attr name="successColor" format="color|reference"/> 7832 </declare-styleable> 7833 7834 <!-- Use <code>recognition-service</code> as the root tag of the XML resource that 7835 describes a {@link android.speech.RecognitionService}, which is referenced from 7836 its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry. 7837 Described here are the attributes that can be included in that tag. --> 7838 <declare-styleable name="RecognitionService"> 7839 <attr name="settingsActivity" /> 7840 </declare-styleable> 7841 7842 <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that 7843 describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from 7844 its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry. 7845 Described here are the attributes that can be included in that tag. --> 7846 <declare-styleable name="VoiceInteractionService"> 7847 <!-- The service that hosts active voice interaction sessions. This is required. --> 7848 <attr name="sessionService" format="string" /> 7849 <!-- The service that provides voice recognition. This is required. When the user 7850 selects this voice interaction service, they will also be implicitly selecting 7851 the component here for their recognition service. --> 7852 <attr name="recognitionService" format="string" /> 7853 <attr name="settingsActivity" /> 7854 <!-- Flag indicating whether this voice interaction service is capable of handling the 7855 assist action. --> 7856 <attr name="supportsAssist" format="boolean" /> 7857 <!-- Flag indicating whether this voice interaction service is capable of being launched 7858 from the keyguard. --> 7859 <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" /> 7860 <!-- Flag indicating whether this voice interaction service can handle local voice 7861 interaction requests from an Activity. This flag is new in 7862 {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. --> 7863 <attr name="supportsLocalInteraction" format="boolean" /> 7864 </declare-styleable> 7865 7866 <!-- Use <code>voice-enrollment-application</code> 7867 as the root tag of the XML resource that escribes the supported keyphrases (hotwords) 7868 by the enrollment application. 7869 Described here are the attributes that can be included in that tag. 7870 @hide 7871 @SystemApi --> 7872 <declare-styleable name="VoiceEnrollmentApplication"> 7873 <!-- A globally unique ID for the keyphrase. @hide @SystemApi --> 7874 <attr name="searchKeyphraseId" format="integer" /> 7875 <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi --> 7876 <attr name="searchKeyphrase" format="string" /> 7877 <!-- A comma separated list of BCP-47 language tag for locales that are supported 7878 for this keyphrase, or empty if not locale dependent. @hide @SystemApi --> 7879 <attr name="searchKeyphraseSupportedLocales" format="string" /> 7880 <!-- Flags for supported recognition modes. @hide @SystemApi --> 7881 <attr name="searchKeyphraseRecognitionFlags"> 7882 <flag name="none" value="0" /> 7883 <flag name="voiceTrigger" value="0x1" /> 7884 <flag name="userIdentification" value="0x2" /> 7885 </attr> 7886 </declare-styleable> 7887 7888 <!-- Attributes used to style the Action Bar. --> 7889 <declare-styleable name="ActionBar"> 7890 <!-- The type of navigation to use. --> 7891 <attr name="navigationMode"> 7892 <!-- Normal static title text. --> 7893 <enum name="normal" value="0" /> 7894 <!-- The action bar will use a selection list for navigation. --> 7895 <enum name="listMode" value="1" /> 7896 <!-- The action bar will use a series of horizontal tabs for navigation. --> 7897 <enum name="tabMode" value="2" /> 7898 </attr> 7899 <!-- Options affecting how the action bar is displayed. --> 7900 <attr name="displayOptions"> 7901 <flag name="none" value="0" /> 7902 <flag name="useLogo" value="0x1" /> 7903 <flag name="showHome" value="0x2" /> 7904 <flag name="homeAsUp" value="0x4" /> 7905 <flag name="showTitle" value="0x8" /> 7906 <flag name="showCustom" value="0x10" /> 7907 <flag name="disableHome" value="0x20" /> 7908 </attr> 7909 <!-- Specifies title text used for navigationMode="normal". --> 7910 <attr name="title" /> 7911 <!-- Specifies subtitle text used for navigationMode="normal". --> 7912 <attr name="subtitle" format="string" /> 7913 <!-- Specifies a style to use for title text. --> 7914 <attr name="titleTextStyle" format="reference" /> 7915 <!-- Specifies a style to use for subtitle text. --> 7916 <attr name="subtitleTextStyle" format="reference" /> 7917 <!-- Specifies the drawable used for the application icon. --> 7918 <attr name="icon" /> 7919 <!-- Specifies the drawable used for the application logo. --> 7920 <attr name="logo" /> 7921 <!-- Specifies the drawable used for item dividers. --> 7922 <attr name="divider" /> 7923 <!-- Specifies a background drawable for the action bar. --> 7924 <attr name="background" /> 7925 <!-- Specifies a background drawable for a second stacked row of the action bar. --> 7926 <attr name="backgroundStacked" format="reference|color" /> 7927 <!-- Specifies a background drawable for the bottom component of a split action bar. --> 7928 <attr name="backgroundSplit" format="reference|color" /> 7929 <!-- Specifies a layout for custom navigation. Overrides navigationMode. --> 7930 <attr name="customNavigationLayout" format="reference" /> 7931 <!-- Specifies a fixed height. --> 7932 <attr name="height" /> 7933 <!-- Specifies a layout to use for the "home" section of the action bar. --> 7934 <attr name="homeLayout" format="reference" /> 7935 <!-- Specifies a style resource to use for an embedded progress bar. --> 7936 <attr name="progressBarStyle" /> 7937 <!-- Specifies a style resource to use for an indeterminate progress spinner. --> 7938 <attr name="indeterminateProgressStyle" format="reference" /> 7939 <!-- Specifies the horizontal padding on either end for an embedded progress bar. --> 7940 <attr name="progressBarPadding" format="dimension" /> 7941 <!-- Up navigation glyph. --> 7942 <attr name="homeAsUpIndicator" /> 7943 <!-- Specifies padding that should be applied to the left and right sides of 7944 system-provided items in the bar. --> 7945 <attr name="itemPadding" format="dimension" /> 7946 <!-- Set true to hide the action bar on a vertical nested scroll of content. --> 7947 <attr name="hideOnContentScroll" format="boolean" /> 7948 <!-- Minimum inset for content views within a bar. Navigation buttons and 7949 menu views are excepted. Only valid for some themes and configurations. --> 7950 <attr name="contentInsetStart" format="dimension" /> 7951 <!-- Minimum inset for content views within a bar. Navigation buttons and 7952 menu views are excepted. Only valid for some themes and configurations. --> 7953 <attr name="contentInsetEnd" format="dimension" /> 7954 <!-- Minimum inset for content views within a bar. Navigation buttons and 7955 menu views are excepted. Only valid for some themes and configurations. --> 7956 <attr name="contentInsetLeft" format="dimension" /> 7957 <!-- Minimum inset for content views within a bar. Navigation buttons and 7958 menu views are excepted. Only valid for some themes and configurations. --> 7959 <attr name="contentInsetRight" format="dimension" /> 7960 <!-- Minimum inset for content views within a bar when a navigation button 7961 is present, such as the Up button. Only valid for some themes and configurations. --> 7962 <attr name="contentInsetStartWithNavigation" format="dimension" /> 7963 <!-- Minimum inset for content views within a bar when actions from a menu 7964 are present. Only valid for some themes and configurations. --> 7965 <attr name="contentInsetEndWithActions" format="dimension" /> 7966 <!-- Elevation for the action bar itself. --> 7967 <attr name="elevation" /> 7968 <!-- Reference to a theme that should be used to inflate popups 7969 shown by widgets in the action bar. --> 7970 <attr name="popupTheme" /> 7971 </declare-styleable> 7972 7973 <declare-styleable name="ActionMode"> 7974 <!-- Specifies a style to use for title text. --> 7975 <attr name="titleTextStyle" /> 7976 <!-- Specifies a style to use for subtitle text. --> 7977 <attr name="subtitleTextStyle" /> 7978 <!-- Specifies a background for the action mode bar. --> 7979 <attr name="background" /> 7980 <!-- Specifies a background for the split action mode bar. --> 7981 <attr name="backgroundSplit" /> 7982 <!-- Specifies a fixed height for the action mode bar. --> 7983 <attr name="height" /> 7984 <!-- Specifies a layout to use for the "close" item at the starting edge. --> 7985 <attr name="closeItemLayout" format="reference" /> 7986 </declare-styleable> 7987 7988 <declare-styleable name="SearchView"> 7989 <!-- The layout to use for the search view. --> 7990 <attr name="layout" /> 7991 <!-- The default state of the SearchView. If true, it will be iconified when not in 7992 use and expanded when clicked. --> 7993 <attr name="iconifiedByDefault" format="boolean" /> 7994 <!-- An optional maximum width of the SearchView. --> 7995 <attr name="maxWidth" /> 7996 <!-- An optional query hint string to be displayed in the empty query field. --> 7997 <attr name="queryHint" format="string" /> 7998 <!-- Default query hint used when {@code queryHint} is undefined and 7999 the search view's {@code SearchableInfo} does not provide a hint. 8000 @hide --> 8001 <attr name="defaultQueryHint" format="string" /> 8002 <!-- The IME options to set on the query text field. --> 8003 <attr name="imeOptions" /> 8004 <!-- The input type to set on the query text field. --> 8005 <attr name="inputType" /> 8006 <!-- Close button icon. --> 8007 <attr name="closeIcon" format="reference" /> 8008 <!-- Go button icon. --> 8009 <attr name="goIcon" format="reference" /> 8010 <!-- Search icon. --> 8011 <attr name="searchIcon" format="reference" /> 8012 <!-- Search icon displayed as a text field hint. --> 8013 <attr name="searchHintIcon" format="reference" /> 8014 <!-- Voice button icon. --> 8015 <attr name="voiceIcon" format="reference" /> 8016 <!-- Commit icon shown in the query suggestion row. --> 8017 <attr name="commitIcon" format="reference" /> 8018 <!-- Layout for query suggestion rows. --> 8019 <attr name="suggestionRowLayout" format="reference" /> 8020 <!-- Background for the section containing the search query. --> 8021 <attr name="queryBackground" format="reference" /> 8022 <!-- Background for the section containing the action (for example, voice search). --> 8023 <attr name="submitBackground" format="reference" /> 8024 </declare-styleable> 8025 8026 <declare-styleable name="Switch"> 8027 <!-- Drawable to use as the "thumb" that switches back and forth. --> 8028 <attr name="thumb" /> 8029 <!-- Tint to apply to the thumb. --> 8030 <attr name="thumbTint" /> 8031 <!-- Blending mode used to apply the thumb tint. --> 8032 <attr name="thumbTintMode" /> 8033 <!-- Drawable to use as the "track" that the switch thumb slides within. --> 8034 <attr name="track" format="reference" /> 8035 <!-- Tint to apply to the track. --> 8036 <attr name="trackTint" format="color" /> 8037 <!-- Blending mode used to apply the track tint. --> 8038 <attr name="trackTintMode"> 8039 <!-- The tint is drawn on top of the drawable. 8040 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 8041 <enum name="src_over" value="3" /> 8042 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 8043 color channels are thrown out. [Sa * Da, Sc * Da] --> 8044 <enum name="src_in" value="5" /> 8045 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 8046 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 8047 <enum name="src_atop" value="9" /> 8048 <!-- Multiplies the color and alpha channels of the drawable with those of 8049 the tint. [Sa * Da, Sc * Dc] --> 8050 <enum name="multiply" value="14" /> 8051 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 8052 <enum name="screen" value="15" /> 8053 <!-- Combines the tint and drawable color and alpha channels, clamping the 8054 result to valid color values. Saturate(S + D) --> 8055 <enum name="add" value="16" /> 8056 </attr> 8057 <!-- Text to use when the switch is in the checked/"on" state. --> 8058 <attr name="textOn" /> 8059 <!-- Text to use when the switch is in the unchecked/"off" state. --> 8060 <attr name="textOff" /> 8061 <!-- Amount of padding on either side of text within the switch thumb. --> 8062 <attr name="thumbTextPadding" format="dimension" /> 8063 <!-- TextAppearance style for text displayed on the switch thumb. --> 8064 <attr name="switchTextAppearance" format="reference" /> 8065 <!-- Minimum width for the switch component. --> 8066 <attr name="switchMinWidth" format="dimension" /> 8067 <!-- Minimum space between the switch and caption text. --> 8068 <attr name="switchPadding" format="dimension" /> 8069 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 8070 <attr name="splitTrack" /> 8071 <!-- Whether to draw on/off text. --> 8072 <attr name="showText" format="boolean" /> 8073 </declare-styleable> 8074 8075 <declare-styleable name="Pointer"> 8076 <!-- Reference to a pointer icon drawable with STYLE_ARROW. --> 8077 <attr name="pointerIconArrow" format="reference" /> 8078 <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER. --> 8079 <attr name="pointerIconSpotHover" format="reference" /> 8080 <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH. --> 8081 <attr name="pointerIconSpotTouch" format="reference" /> 8082 <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR. --> 8083 <attr name="pointerIconSpotAnchor" format="reference" /> 8084 <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU. --> 8085 <attr name="pointerIconContextMenu" format="reference"/> 8086 <!-- Reference to a pointer drawable with STYLE_HAND. --> 8087 <attr name="pointerIconHand" format="reference"/> 8088 <!-- Reference to a pointer drawable with STYLE_HELP. --> 8089 <attr name="pointerIconHelp" format="reference"/> 8090 <!-- Reference to a pointer drawable with STYLE_WAIT. --> 8091 <attr name="pointerIconWait" format="reference"/> 8092 <!-- Reference to a pointer drawable with STYLE_CELL. --> 8093 <attr name="pointerIconCell" format="reference"/> 8094 <!-- Reference to a pointer drawable with STYLE_CROSSHAIR. --> 8095 <attr name="pointerIconCrosshair" format="reference"/> 8096 <!-- Reference to a pointer drawable with STYLE_TEXT. --> 8097 <attr name="pointerIconText" format="reference"/> 8098 <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT. --> 8099 <attr name="pointerIconVerticalText" format="reference"/> 8100 <!-- Reference to a pointer drawable with STYLE_ALIAS. --> 8101 <attr name="pointerIconAlias" format="reference"/> 8102 <!-- Reference to a pointer drawable with STYLE_COPY. --> 8103 <attr name="pointerIconCopy" format="reference"/> 8104 <!-- Reference to a pointer drawable with STYLE_NODROP. --> 8105 <attr name="pointerIconNodrop" format="reference"/> 8106 <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL. --> 8107 <attr name="pointerIconAllScroll" format="reference"/> 8108 <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW. --> 8109 <attr name="pointerIconHorizontalDoubleArrow" format="reference"/> 8110 <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW. --> 8111 <attr name="pointerIconVerticalDoubleArrow" format="reference"/> 8112 <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW. --> 8113 <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/> 8114 <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW. --> 8115 <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/> 8116 <!-- Reference to a pointer drawable with STYLE_ZOOM_IN. --> 8117 <attr name="pointerIconZoomIn" format="reference"/> 8118 <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT. --> 8119 <attr name="pointerIconZoomOut" format="reference"/> 8120 <!-- Reference to a pointer drawable with STYLE_GRAB. --> 8121 <attr name="pointerIconGrab" format="reference"/> 8122 <!-- Reference to a pointer drawable with STYLE_GRABBING. --> 8123 <attr name="pointerIconGrabbing" format="reference"/> 8124 </declare-styleable> 8125 8126 <declare-styleable name="PointerIcon"> 8127 <!-- Drawable to use as the icon bitmap. --> 8128 <attr name="bitmap" format="reference" /> 8129 <!-- X coordinate of the icon hot spot. --> 8130 <attr name="hotSpotX" format="dimension" /> 8131 <!-- Y coordinate of the icon hot spot. --> 8132 <attr name="hotSpotY" format="dimension" /> 8133 </declare-styleable> 8134 8135 <declare-styleable name="Storage"> 8136 <!-- path to mount point for the storage. --> 8137 <attr name="mountPoint" format="string" /> 8138 <!-- user visible description of the storage. --> 8139 <attr name="storageDescription" format="string" /> 8140 <!-- true if the storage is the primary external storage. --> 8141 <attr name="primary" format="boolean" /> 8142 <!-- true if the storage is removable. --> 8143 <attr name="removable" format="boolean" /> 8144 <!-- true if the storage is emulated via the FUSE sdcard daemon. --> 8145 <attr name="emulated" format="boolean" /> 8146 <!-- number of megabytes of storage MTP should reserve for free storage 8147 (used for emulated storage that is shared with system's data partition). --> 8148 <attr name="mtpReserve" format="integer" /> 8149 <!-- true if the storage can be shared via USB mass storage. --> 8150 <attr name="allowMassStorage" format="boolean" /> 8151 <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded. --> 8152 <attr name="maxFileSize" format="integer" /> 8153 </declare-styleable> 8154 8155 <declare-styleable name="SwitchPreference"> 8156 <!-- The summary for the Preference in a PreferenceActivity screen when the 8157 SwitchPreference is checked. If separate on/off summaries are not 8158 needed, the summary attribute can be used instead. --> 8159 <attr name="summaryOn" /> 8160 <!-- The summary for the Preference in a PreferenceActivity screen when the 8161 SwitchPreference is unchecked. If separate on/off summaries are not 8162 needed, the summary attribute can be used instead. --> 8163 <attr name="summaryOff" /> 8164 <!-- The text used on the switch itself when in the "on" state. 8165 This should be a very SHORT string, as it appears in a small space. --> 8166 <attr name="switchTextOn" format="string" /> 8167 <!-- The text used on the switch itself when in the "off" state. 8168 This should be a very SHORT string, as it appears in a small space. --> 8169 <attr name="switchTextOff" format="string" /> 8170 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 8171 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 8172 <attr name="disableDependentsState" /> 8173 </declare-styleable> 8174 8175 <declare-styleable name="SeekBarPreference"> 8176 <attr name="layout" /> 8177 <!-- Attribute indicating whether the slider within this preference can be adjusted, that is 8178 pressing left/right keys when this preference is focused will move the slider accordingly 8179 (for example, inline adjustable preferences). False, if the slider within the preference is 8180 read-only and cannot be adjusted. By default, the seekbar is adjustable. --> 8181 <attr name="adjustable" format="boolean" /> 8182 <!-- Flag indicating whether the TextView next to the seekbar that shows the current seekbar value will be 8183 displayed. If true, the view is VISIBLE; if false, the view will be GONE. By default, this view is VISIBLE. --> 8184 <attr name="showSeekBarValue" format="boolean" /> 8185 </declare-styleable> 8186 8187 <!-- Base attributes available to PreferenceFragment. --> 8188 <declare-styleable name="PreferenceFragment"> 8189 <!-- The layout for the PreferenceFragment. This should rarely need to be changed. --> 8190 <attr name="layout" /> 8191 <attr name="divider" /> 8192 </declare-styleable> 8193 8194 <!-- Base attributes available to PreferenceScreen. --> 8195 <declare-styleable name="PreferenceScreen"> 8196 <!-- The layout for the PreferenceScreen. This should rarely need to be changed. --> 8197 <attr name="screenLayout" format="reference" /> 8198 <attr name="divider" /> 8199 </declare-styleable> 8200 8201 <!-- Base attributes available to PreferenceActivity. --> 8202 <declare-styleable name="PreferenceActivity"> 8203 <!-- The layout for the Preference Activity. This should rarely need to be changed. --> 8204 <attr name="layout" /> 8205 <!-- The layout for the Preference Header. This should rarely need to be changed. --> 8206 <attr name="headerLayout" format="reference" /> 8207 <!-- true if the Icon view will be removed when there is none and thus not showing 8208 the fixed margins. --> 8209 <attr name="headerRemoveIconIfEmpty" format="boolean" /> 8210 </declare-styleable> 8211 8212 <!-- Use <code>tts-engine</code> as the root tag of the XML resource that 8213 describes a text to speech engine implemented as a subclass of 8214 {@link android.speech.tts.TextToSpeechService}. 8215 8216 The XML resource must be referenced from its 8217 {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data 8218 entry. --> 8219 <declare-styleable name="TextToSpeechEngine"> 8220 <attr name="settingsActivity" /> 8221 </declare-styleable> 8222 8223 <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that 8224 describes a collection of keyboard layouts provided by an application. 8225 Each keyboard layout is declared by a <code>keyboard-layout</code> tag 8226 with these attributes. 8227 8228 The XML resource that contains the keyboard layouts must be referenced from its 8229 {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS} 8230 meta-data entry used with broadcast receivers for 8231 {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. --> 8232 <declare-styleable name="KeyboardLayout"> 8233 <!-- The name of the keyboard layout, must be unique in the receiver. --> 8234 <attr name="name" /> 8235 <!-- The display label of the keyboard layout. --> 8236 <attr name="label" /> 8237 <!-- The key character map file resource. --> 8238 <attr name="keyboardLayout" format="reference" /> 8239 <!-- The locales the given keyboard layout corresponds to. --> 8240 <attr name="locale" format="string" /> 8241 <!-- The vendor ID of the hardware the given layout corresponds to. @hide --> 8242 <attr name="vendorId" format="integer" /> 8243 <!-- The product ID of the hardware the given layout corresponds to. @hide --> 8244 <attr name="productId" format="integer" /> 8245 </declare-styleable> 8246 8247 <declare-styleable name="MediaRouteButton"> 8248 <!-- This drawable is a state list where the "activated" state 8249 indicates active media routing. Non-activated indicates 8250 that media is playing to the local device only. 8251 @hide --> 8252 <attr name="externalRouteEnabledDrawable" format="reference" /> 8253 8254 <!-- The types of media routes the button and its resulting 8255 chooser will filter by. --> 8256 <attr name="mediaRouteTypes" format="integer"> 8257 <!-- Allow selection of live audio routes. --> 8258 <enum name="liveAudio" value="0x1" /> 8259 <!-- Allow selection of user (app-specified) routes. --> 8260 <enum name="user" value="0x800000" /> 8261 </attr> 8262 8263 <attr name="minWidth" /> 8264 <attr name="minHeight" /> 8265 </declare-styleable> 8266 8267 <!-- PagedView specific attributes. These attributes are used to customize 8268 a PagedView view in XML files. --> 8269 <declare-styleable name="PagedView"> 8270 <!-- The space between adjacent pages of the PagedView. --> 8271 <attr name="pageSpacing" format="dimension" /> 8272 <!-- The padding for the scroll indicator area. --> 8273 <attr name="scrollIndicatorPaddingLeft" format="dimension" /> 8274 <attr name="scrollIndicatorPaddingRight" format="dimension" /> 8275 </declare-styleable> 8276 8277 <declare-styleable name="KeyguardGlowStripView"> 8278 <attr name="dotSize" format="dimension" /> 8279 <attr name="numDots" format="integer" /> 8280 <attr name="glowDot" format="reference" /> 8281 <attr name="leftToRight" format="boolean" /> 8282 </declare-styleable> 8283 8284 <!-- Some child types have special behavior. --> 8285 <attr name="layout_childType"> 8286 <!-- No special behavior. Layout will proceed as normal. --> 8287 <enum name="none" value="0" /> 8288 <!-- Widget container. 8289 This will be resized in response to certain events. --> 8290 <enum name="widget" value="1" /> 8291 <!-- Security challenge container. 8292 This will be dismissed/shown in response to certain events, 8293 possibly obscuring widget elements. --> 8294 <enum name="challenge" value="2" /> 8295 <!-- User switcher. 8296 This will consume space from the total layout area. --> 8297 <enum name="userSwitcher" value="3" /> 8298 <!-- Scrim. This will block access to child views that 8299 come before it in the child list in bouncer mode. --> 8300 <enum name="scrim" value="4" /> 8301 <!-- The home for widgets. All widgets will be descendents of this. --> 8302 <enum name="widgets" value="5" /> 8303 <!-- This is a handle that is used for expanding the 8304 security challenge container when it is collapsed. --> 8305 <enum name="expandChallengeHandle" value="6" /> 8306 <!-- Delete drop target. This will be the drop target to delete pages. --> 8307 <enum name="pageDeleteDropTarget" value="7" /> 8308 </attr> 8309 8310 <!-- Attributes that can be used with <code><FragmentBreadCrumbs></code> 8311 tags. --> 8312 <declare-styleable name="FragmentBreadCrumbs"> 8313 <attr name="gravity" /> 8314 <attr name="itemLayout" format="reference" /> 8315 <attr name="itemColor" format="color|reference" /> 8316 </declare-styleable> 8317 8318 <declare-styleable name="Toolbar"> 8319 <attr name="titleTextAppearance" format="reference" /> 8320 <attr name="subtitleTextAppearance" format="reference" /> 8321 <attr name="title" /> 8322 <attr name="subtitle" /> 8323 <attr name="gravity" /> 8324 <!-- Specifies extra space on the left, start, right and end sides 8325 of the toolbar's title. Margin values should be positive. --> 8326 <attr name="titleMargin" format="dimension" /> 8327 <!-- Specifies extra space on the start side of the toolbar's title. 8328 If both this attribute and titleMargin are specified, then this 8329 attribute takes precedence. Margin values should be positive. --> 8330 <attr name="titleMarginStart" format="dimension" /> 8331 <!-- Specifies extra space on the end side of the toolbar's title. 8332 If both this attribute and titleMargin are specified, then this 8333 attribute takes precedence. Margin values should be positive. --> 8334 <attr name="titleMarginEnd" format="dimension" /> 8335 <!-- Specifies extra space on the top side of the toolbar's title. 8336 If both this attribute and titleMargin are specified, then this 8337 attribute takes precedence. Margin values should be positive. --> 8338 <attr name="titleMarginTop" format="dimension" /> 8339 <!-- Specifies extra space on the bottom side of the toolbar's title. 8340 If both this attribute and titleMargin are specified, then this 8341 attribute takes precedence. Margin values should be positive. --> 8342 <attr name="titleMarginBottom" format="dimension" /> 8343 <attr name="contentInsetStart" /> 8344 <attr name="contentInsetEnd" /> 8345 <attr name="contentInsetLeft" /> 8346 <attr name="contentInsetRight" /> 8347 <attr name="contentInsetStartWithNavigation" /> 8348 <attr name="contentInsetEndWithActions" /> 8349 <attr name="maxButtonHeight" format="dimension" /> 8350 <attr name="navigationButtonStyle" format="reference" /> 8351 <attr name="buttonGravity"> 8352 <!-- Push object to the top of its container, not changing its size. --> 8353 <flag name="top" value="0x30" /> 8354 <!-- Push object to the bottom of its container, not changing its size. --> 8355 <flag name="bottom" value="0x50" /> 8356 </attr> 8357 <!-- Icon drawable to use for the collapse button. --> 8358 <attr name="collapseIcon" format="reference" /> 8359 <!-- Text to set as the content description for the collapse button. --> 8360 <attr name="collapseContentDescription" format="string" /> 8361 <!-- Reference to a theme that should be used to inflate popups 8362 shown by widgets in the toolbar. --> 8363 <attr name="popupTheme" format="reference" /> 8364 <!-- Icon drawable to use for the navigation button located at 8365 the start of the toolbar. --> 8366 <attr name="navigationIcon" format="reference" /> 8367 <!-- Text to set as the content description for the navigation button 8368 located at the start of the toolbar. --> 8369 <attr name="navigationContentDescription" format="string" /> 8370 <!-- Drawable to set as the logo that appears at the starting side of 8371 the Toolbar, just after the navigation button. --> 8372 <attr name="logo" /> 8373 <!-- A content description string to describe the appearance of the 8374 associated logo image. --> 8375 <attr name="logoDescription" format="string" /> 8376 <!-- A color to apply to the title string. --> 8377 <attr name="titleTextColor" format="color" /> 8378 <!-- A color to apply to the subtitle string. --> 8379 <attr name="subtitleTextColor" format="color" /> 8380 </declare-styleable> 8381 8382 <declare-styleable name="Toolbar_LayoutParams"> 8383 <attr name="layout_gravity" /> 8384 </declare-styleable> 8385 8386 <declare-styleable name="ActionBar_LayoutParams"> 8387 <attr name="layout_gravity" /> 8388 </declare-styleable> 8389 8390 <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. --> 8391 <declare-styleable name="EdgeEffect"> 8392 <attr name="colorEdgeEffect" /> 8393 </declare-styleable> 8394 8395 <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a 8396 {@link android.media.tv.TvInputService}, which is referenced from its 8397 {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry. 8398 Described here are the attributes that can be included in that tag. --> 8399 <declare-styleable name="TvInputService"> 8400 <!-- Component name of an activity that allows the user to set up this service. --> 8401 <attr name="setupActivity" format="string" /> 8402 <!-- Component name of an activity that allows the user to modify the settings for this 8403 service. --> 8404 <attr name="settingsActivity" /> 8405 <!-- Attribute whether the TV input service can record programs. This value can be changed 8406 at runtime by calling 8407 {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. --> 8408 <attr name="canRecord" format="boolean" /> 8409 <!-- The number of tuners that the TV input service is associated with. This value can be 8410 changed at runtime by calling 8411 {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. --> 8412 <attr name="tunerCount" format="integer" /> 8413 </declare-styleable> 8414 8415 <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the 8416 XML resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8417 which is referenced from its 8418 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8419 <declare-styleable name="RatingSystemDefinition"> 8420 <!-- The unique name of the content rating system. --> 8421 <attr name="name" /> 8422 <!-- The title of the content rating system which is shown to the user. --> 8423 <attr name="title" /> 8424 <!-- The short description of the content rating system. --> 8425 <attr name="description" /> 8426 <!-- The country code associated with the content rating system, which consists of two 8427 uppercase letters that conform to the ISO 3166 standard. --> 8428 <attr name="country" format="string" /> 8429 </declare-styleable> 8430 8431 <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML 8432 resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8433 which is referenced from its 8434 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8435 <declare-styleable name="RatingDefinition"> 8436 <!-- The unique name of the content rating. --> 8437 <attr name="name" /> 8438 <!-- The title of the content rating which is shown to the user. --> 8439 <attr name="title" /> 8440 <!-- The short description of the content rating. --> 8441 <attr name="description" /> 8442 <!-- The age associated with the content rating. The content of this rating is suitable for 8443 people of this age or above. --> 8444 <attr name="contentAgeHint" format="integer" /> 8445 </declare-styleable> 8446 8447 <declare-styleable name="ResolverDrawerLayout"> 8448 <attr name="maxWidth" /> 8449 <attr name="maxCollapsedHeight" format="dimension" /> 8450 <attr name="maxCollapsedHeightSmall" format="dimension" /> 8451 </declare-styleable> 8452 8453 <declare-styleable name="MessagingLinearLayout"> 8454 <attr name="spacing" /> 8455 </declare-styleable> 8456 8457 <declare-styleable name="DateTimeView"> 8458 <attr name="showRelative" format="boolean" /> 8459 </declare-styleable> 8460 8461 <declare-styleable name="ResolverDrawerLayout_LayoutParams"> 8462 <attr name="layout_alwaysShow" format="boolean" /> 8463 <attr name="layout_ignoreOffset" format="boolean" /> 8464 <attr name="layout_gravity" /> 8465 <attr name="layout_hasNestedScrollIndicator" format="boolean" /> 8466 </declare-styleable> 8467 8468 <!-- @hide --> 8469 <declare-styleable name="Lighting"> 8470 <attr name="lightY" /> 8471 <attr name="lightZ" /> 8472 <attr name="lightRadius" /> 8473 <attr name="ambientShadowAlpha" /> 8474 <attr name="spotShadowAlpha" /> 8475 </declare-styleable> 8476 8477 <declare-styleable name="RestrictionEntry"> 8478 <attr name="key" /> 8479 <attr name="restrictionType"> 8480 <enum name="hidden" value="0" /> 8481 <enum name="bool" value="1" /> 8482 <enum name="choice" value="2" /> 8483 <enum name="multi-select" value="4" /> 8484 <enum name="integer" value="5" /> 8485 <enum name="string" value="6" /> 8486 <enum name="bundle" value="7" /> 8487 <enum name="bundle_array" value="8" /> 8488 </attr> 8489 <attr name="title" /> 8490 <attr name="description" /> 8491 <attr name="defaultValue" /> 8492 <attr name="entries" /> 8493 <attr name="entryValues" /> 8494 </declare-styleable> 8495 8496 <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. --> 8497 <declare-styleable name="GradientColor"> 8498 <!-- Start color of the gradient. --> 8499 <attr name="startColor" /> 8500 <!-- Optional center color. --> 8501 <attr name="centerColor" /> 8502 <!-- End color of the gradient. --> 8503 <attr name="endColor" /> 8504 <!-- Type of gradient. The default type is linear. --> 8505 <attr name="type" /> 8506 8507 <!-- Only applied to RadialGradient--> 8508 <!-- Radius of the gradient, used only with radial gradient. --> 8509 <attr name="gradientRadius" /> 8510 8511 <!-- Only applied to SweepGradient / RadialGradient--> 8512 <!-- X coordinate of the center of the gradient within the path. --> 8513 <attr name="centerX" /> 8514 <!-- Y coordinate of the center of the gradient within the path. --> 8515 <attr name="centerY" /> 8516 8517 <!-- LinearGradient specific --> 8518 <!-- X coordinate of the start point origin of the gradient. 8519 Defined in same coordinates as the path itself --> 8520 <attr name="startX" format="float" /> 8521 <!-- Y coordinate of the start point of the gradient within the shape. 8522 Defined in same coordinates as the path itself --> 8523 <attr name="startY" format="float" /> 8524 <!-- X coordinate of the end point origin of the gradient. 8525 Defined in same coordinates as the path itself --> 8526 <attr name="endX" format="float" /> 8527 <!-- Y coordinate of the end point of the gradient within the shape. 8528 Defined in same coordinates as the path itself --> 8529 <attr name="endY" format="float" /> 8530 8531 <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. --> 8532 <attr name="tileMode"/> 8533 </declare-styleable> 8534 8535 <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient 8536 Colors defined in <item> override the simple color attributes such as 8537 "startColor / centerColor / endColor" are ignored. --> 8538 <declare-styleable name="GradientColorItem"> 8539 <!-- The offset (or ratio) of this current color item inside the gradient. 8540 The value is only meaningful when it is between 0 and 1. --> 8541 <attr name="offset" format="float" /> 8542 <!-- The current color for the offset inside the gradient. --> 8543 <attr name="color" /> 8544 </declare-styleable> 8545 8546 <!-- @hide Attributes which will be read by the Activity to intialize the 8547 base activity TaskDescription. --> 8548 <declare-styleable name="ActivityTaskDescription"> 8549 <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary 8550 color. --> 8551 <attr name="colorPrimary" /> 8552 <!-- @hide From Theme.colorBackground, used for the TaskDescription background 8553 color. --> 8554 <attr name="colorBackground" /> 8555 </declare-styleable> 8556 8557 <declare-styleable name="Shortcut"> 8558 <attr name="shortcutId" format="string" /> 8559 <attr name="enabled" /> 8560 <attr name="icon" /> 8561 <attr name="shortcutShortLabel" format="reference" /> 8562 <attr name="shortcutLongLabel" format="reference" /> 8563 <attr name="shortcutDisabledMessage" format="reference" /> 8564 </declare-styleable> 8565 8566 <declare-styleable name="ShortcutCategories"> 8567 <attr name="name" /> 8568 </declare-styleable> 8569 8570 <!-- Attributes that are read when parsing a <font> tag, which is a child of 8571 <font-family>. --> 8572 <declare-styleable name="FontFamilyFont"> 8573 <attr name="fontStyle"> 8574 <enum name="normal" value="0" /> 8575 <enum name="italic" value="1" /> 8576 </attr> 8577 <attr name="font" format="reference" /> 8578 <attr name="fontWeight" format="integer" /> 8579 </declare-styleable> 8580 8581 <!-- Attributes that are read when parsing a <fontfamily> tag. --> 8582 <declare-styleable name="FontFamily"> 8583 <attr name="fontProviderAuthority" format="string" /> 8584 <attr name="fontProviderPackage" format="string" /> 8585 <attr name="fontProviderQuery" format="string" /> 8586 </declare-styleable> 8587 8588 <!-- @hide --> 8589 <declare-styleable name="RecyclerView"> 8590 <attr name="layoutManager" format="string" /> 8591 <attr name="orientation" /> 8592 <attr name="descendantFocusability" /> 8593 <attr name="spanCount" format="integer"/> 8594 <attr name="reverseLayout" format="boolean" /> 8595 <attr name="stackFromEnd" format="boolean" /> 8596 </declare-styleable> 8597 8598 <attr name="lockPatternStyle" format="reference" /> 8599</resources> 8600