attrs.xml revision 50309b4644a9f9e7c061a8df513d5c18b5c801b7
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 <!-- Default background dim amount when a menu, dialog, or something similar pops up. --> 66 <attr name="backgroundDimAmount" format="float" /> 67 <!-- Control whether dimming behind the window is enabled. The default 68 theme does not set this value, meaning it is based on whether the 69 window is floating. --> 70 <attr name="backgroundDimEnabled" format="boolean" /> 71 72 <!-- =========== --> 73 <!-- Text styles --> 74 <!-- =========== --> 75 <eat-comment /> 76 77 <!-- Default appearance of text: color, typeface, size, and style. --> 78 <attr name="textAppearance" format="reference" /> 79 <!-- Default appearance of text against an inverted background: 80 color, typeface, size, and style. --> 81 <attr name="textAppearanceInverse" format="reference" /> 82 83 <!-- The most prominent text color. --> 84 <attr name="textColorPrimary" format="reference|color" /> 85 <!-- Secondary text color. --> 86 <attr name="textColorSecondary" format="reference|color" /> 87 <!-- Tertiary text color. --> 88 <attr name="textColorTertiary" format="reference|color" /> 89 90 <!-- Primary inverse text color, useful for inverted backgrounds. --> 91 <attr name="textColorPrimaryInverse" format="reference|color" /> 92 <!-- Secondary inverse text color, useful for inverted backgrounds. --> 93 <attr name="textColorSecondaryInverse" format="reference|color" /> 94 <!-- Tertiary inverse text color, useful for inverted backgrounds. --> 95 <attr name="textColorTertiaryInverse" format="reference|color" /> 96 97 <!-- Inverse hint text color. --> 98 <attr name="textColorHintInverse" format="reference|color" /> 99 100 <!-- Bright text color. Only differentiates based on the disabled state. --> 101 <attr name="textColorPrimaryDisableOnly" format="reference|color" /> 102 103 <!-- Bright inverse text color. Only differentiates based on the disabled state. --> 104 <attr name="textColorPrimaryInverseDisableOnly" format="reference|color" /> 105 106 <!-- Bright text color. This does not differentiate the disabled state. As an example, 107 buttons use this since they display the disabled state via the background and not the 108 foreground text color. --> 109 <attr name="textColorPrimaryNoDisable" format="reference|color" /> 110 <!-- Dim text color. This does not differentiate the disabled state. --> 111 <attr name="textColorSecondaryNoDisable" format="reference|color" /> 112 113 <!-- Bright inverse text color. This does not differentiate the disabled state. --> 114 <attr name="textColorPrimaryInverseNoDisable" format="reference|color" /> 115 <!-- Dim inverse text color. This does not differentiate the disabled state. --> 116 <attr name="textColorSecondaryInverseNoDisable" format="reference|color" /> 117 118 <!-- Bright text color for use over activated backgrounds. --> 119 <attr name="textColorPrimaryActivated" format="reference|color" /> 120 <!-- Dim text color for use over activated backgrounds. --> 121 <attr name="textColorSecondaryActivated" format="reference|color" /> 122 123 <!-- Text color for urls in search suggestions, used by things like global search and the browser. @hide --> 124 <attr name="textColorSearchUrl" format="reference|color" /> 125 126 <!-- Color of highlighted text, when used in a light theme. --> 127 <attr name="textColorHighlightInverse" format="reference|color" /> 128 <!-- Color of link text (URLs), when used in a light theme. --> 129 <attr name="textColorLinkInverse" format="reference|color" /> 130 131 <!-- Color of list item text in alert dialogs. --> 132 <attr name="textColorAlertDialogListItem" format="reference|color" /> 133 134 <!-- Search widget more corpus result item background. --> 135 <attr name="searchWidgetCorpusItemBackground" format="reference|color" /> 136 137 <!-- Text color, typeface, size, and style for "large" text. Defaults to primary text color. --> 138 <attr name="textAppearanceLarge" format="reference" /> 139 <!-- Text color, typeface, size, and style for "medium" text. Defaults to primary text color. --> 140 <attr name="textAppearanceMedium" format="reference" /> 141 <!-- Text color, typeface, size, and style for "small" text. Defaults to secondary text color. --> 142 <attr name="textAppearanceSmall" format="reference" /> 143 144 <!-- Text color, typeface, size, and style for "large" inverse text. Defaults to primary inverse text color. --> 145 <attr name="textAppearanceLargeInverse" format="reference" /> 146 <!-- Text color, typeface, size, and style for "medium" inverse text. Defaults to primary inverse text color. --> 147 <attr name="textAppearanceMediumInverse" format="reference" /> 148 <!-- Text color, typeface, size, and style for "small" inverse text. Defaults to secondary inverse text color. --> 149 <attr name="textAppearanceSmallInverse" format="reference" /> 150 151 <!-- Text color, typeface, size, and style for system search result title. Defaults to primary inverse text color. --> 152 <attr name="textAppearanceSearchResultTitle" format="reference" /> 153 <!-- Text color, typeface, size, and style for system search result subtitle. Defaults to primary inverse text color. --> 154 <attr name="textAppearanceSearchResultSubtitle" format="reference" /> 155 156 <!-- Text color, typeface, size, and style for the text inside of a button. --> 157 <attr name="textAppearanceButton" format="reference" /> 158 159 <!-- Text color, typeface, size, and style for the text inside of a popup menu. --> 160 <attr name="textAppearanceLargePopupMenu" format="reference" /> 161 162 <!-- Text color, typeface, size, and style for small text inside of a popup menu. --> 163 <attr name="textAppearanceSmallPopupMenu" format="reference" /> 164 165 <!-- Text color, typeface, size, and style for header text inside of a popup menu. --> 166 <attr name="textAppearancePopupMenuHeader" format="reference" /> 167 168 <!-- The underline color and thickness for easy correct suggestion --> 169 <attr name="textAppearanceEasyCorrectSuggestion" format="reference" /> 170 171 <!-- The underline color and thickness for misspelled suggestion --> 172 <attr name="textAppearanceMisspelledSuggestion" format="reference" /> 173 174 <!-- The underline color and thickness for auto correction suggestion --> 175 <attr name="textAppearanceAutoCorrectionSuggestion" format="reference" /> 176 177 <!-- The underline color --> 178 <attr name="textUnderlineColor" format="reference|color" /> 179 <!-- The underline thickness --> 180 <attr name="textUnderlineThickness" format="reference|dimension" /> 181 182 <!-- EditText text foreground color. --> 183 <attr name="editTextColor" format="reference|color" /> 184 <!-- EditText background drawable. --> 185 <attr name="editTextBackground" format="reference" /> 186 187 <!-- Popup text displayed in TextView when setError is used. --> 188 <attr name="errorMessageBackground" format="reference" /> 189 <!-- Background used instead of errorMessageBackground when the popup has to be above. --> 190 <attr name="errorMessageAboveBackground" format="reference" /> 191 192 <!-- A styled string, specifying the style to be used for showing 193 inline candidate text when composing with an input method. The 194 text itself will be ignored, but the style spans will be applied 195 to the candidate text as it is edited. --> 196 <attr name="candidatesTextStyleSpans" format="reference|string" /> 197 198 <!-- Drawable to use for check marks. --> 199 <attr name="textCheckMark" format="reference" /> 200 <attr name="textCheckMarkInverse" format="reference" /> 201 202 <!-- Drawable to use for multiple choice indicators. --> 203 <attr name="listChoiceIndicatorMultiple" format="reference" /> 204 205 <!-- Drawable to use for single choice indicators. --> 206 <attr name="listChoiceIndicatorSingle" format="reference" /> 207 208 <!-- Drawable used as a background for selected list items. --> 209 <attr name="listChoiceBackgroundIndicator" format="reference" /> 210 211 <!-- Drawable used as a background for activated items. --> 212 <attr name="activatedBackgroundIndicator" format="reference" /> 213 214 <!-- ============= --> 215 <!-- Button styles --> 216 <!-- ============= --> 217 <eat-comment /> 218 219 <!-- Normal Button style. --> 220 <attr name="buttonStyle" format="reference" /> 221 222 <!-- Small Button style. --> 223 <attr name="buttonStyleSmall" format="reference" /> 224 225 <!-- Button style to inset into an EditText. --> 226 <attr name="buttonStyleInset" format="reference" /> 227 228 <!-- ToggleButton style. --> 229 <attr name="buttonStyleToggle" format="reference" /> 230 231 <!-- ============== --> 232 <!-- Gallery styles --> 233 <!-- ============== --> 234 <eat-comment /> 235 236 <!-- The preferred background for gallery items. This should be set 237 as the background of any Views you provide from the Adapter. --> 238 <attr name="galleryItemBackground" format="reference" /> 239 240 <!-- =========== --> 241 <!-- List styles --> 242 <!-- =========== --> 243 <eat-comment /> 244 245 <!-- The preferred list item height. --> 246 <attr name="listPreferredItemHeight" format="dimension" /> 247 <!-- A smaller, sleeker list item height. --> 248 <attr name="listPreferredItemHeightSmall" format="dimension" /> 249 <!-- A larger, more robust list item height. --> 250 <attr name="listPreferredItemHeightLarge" format="dimension" /> 251 <!-- The list item height for search results. @hide --> 252 <attr name="searchResultListItemHeight" format="dimension" /> 253 254 <!-- The preferred padding along the left edge of list items. --> 255 <attr name="listPreferredItemPaddingLeft" format="dimension" /> 256 <!-- The preferred padding along the right edge of list items. --> 257 <attr name="listPreferredItemPaddingRight" format="dimension" /> 258 259 <!-- The preferred TextAppearance for the primary text of list items. --> 260 <attr name="textAppearanceListItem" format="reference" /> 261 <!-- The preferred TextAppearance for the secondary text of list items. --> 262 <attr name="textAppearanceListItemSecondary" format="reference" /> 263 <!-- The preferred TextAppearance for the primary text of small list items. --> 264 <attr name="textAppearanceListItemSmall" format="reference" /> 265 266 <!-- The drawable for the list divider. --> 267 <attr name="listDivider" format="reference" /> 268 <!-- The list divider used in alert dialogs. --> 269 <attr name="listDividerAlertDialog" format="reference" /> 270 <!-- TextView style for list separators. --> 271 <attr name="listSeparatorTextViewStyle" format="reference" /> 272 <!-- The preferred left padding for an expandable list item (for child-specific layouts, 273 use expandableListPreferredChildPaddingLeft). This takes into account 274 the indicator that will be shown to next to the item. --> 275 <attr name="expandableListPreferredItemPaddingLeft" format="dimension" /> 276 <!-- The preferred left padding for an expandable list item that is a child. 277 If this is not provided, it defaults to the expandableListPreferredItemPaddingLeft. --> 278 <attr name="expandableListPreferredChildPaddingLeft" format="dimension" /> 279 <!-- The preferred left bound for an expandable list item's indicator. For a child-specific 280 indicator, use expandableListPreferredChildIndicatorLeft. --> 281 <attr name="expandableListPreferredItemIndicatorLeft" format="dimension" /> 282 <!-- The preferred right bound for an expandable list item's indicator. For a child-specific 283 indicator, use expandableListPreferredChildIndicatorRight. --> 284 <attr name="expandableListPreferredItemIndicatorRight" format="dimension" /> 285 <!-- The preferred left bound for an expandable list child's indicator. --> 286 <attr name="expandableListPreferredChildIndicatorLeft" format="dimension" /> 287 <!-- The preferred right bound for an expandable list child's indicator. --> 288 <attr name="expandableListPreferredChildIndicatorRight" format="dimension" /> 289 290 <!-- The preferred item height for dropdown lists. --> 291 <attr name="dropdownListPreferredItemHeight" format="dimension" /> 292 293 <!-- The preferred padding along the start edge of list items. --> 294 <attr name="listPreferredItemPaddingStart" format="dimension" /> 295 <!-- The preferred padding along the end edge of list items. --> 296 <attr name="listPreferredItemPaddingEnd" format="dimension" /> 297 298 <!-- ============= --> 299 <!-- Window styles --> 300 <!-- ============= --> 301 <eat-comment /> 302 303 <!-- Drawable to use as the overall window background. As of 304 {@link android.os.Build.VERSION_CODES#HONEYCOMB}, this may 305 be a selector that uses state_accelerated to pick a non-solid 306 color when running on devices that can draw such a bitmap 307 with complex compositing on top at 60fps. 308 309 <p>There are a few special considerations to use when setting this 310 drawable: 311 <ul> 312 <li> This information will be used to infer the pixel format 313 for your window's surface. If the drawable has any 314 non-opaque pixels, your window will be translucent 315 (32 bpp). 316 <li> If you want to draw the entire background 317 yourself, you should set this drawable to some solid 318 color that closely matches that background (so the 319 system's preview of your window will match), and 320 then in code manually set your window's background to 321 null so it will not be drawn. 322 </ul> --> 323 <attr name="windowBackground" format="reference" /> 324 <!-- Drawable to draw selectively within the inset areas when the windowBackground 325 has been set to null. This protects against seeing visual garbage in the 326 surface when the app has not drawn any content into this area. One example is 327 when the user is resizing a window of an activity that has 328 {@link android.R.attr#resizeableActivity} set for multi-window mode. --> 329 <attr name="windowBackgroundFallback" format="reference" /> 330 <!-- Drawable to use as a frame around the window. --> 331 <attr name="windowFrame" format="reference" /> 332 <!-- Flag indicating whether there should be no title on this window. --> 333 <attr name="windowNoTitle" format="boolean" /> 334 <!-- Flag indicating whether this window should fill the entire screen. Corresponds 335 to {@link android.view.WindowManager.LayoutParams#FLAG_FULLSCREEN}. --> 336 <attr name="windowFullscreen" format="boolean" /> 337 <!-- Flag indicating whether this window should extend into overscan region. Corresponds 338 to {@link android.view.WindowManager.LayoutParams#FLAG_LAYOUT_IN_OVERSCAN}. --> 339 <attr name="windowOverscan" format="boolean" /> 340 <!-- Flag indicating whether this is a floating window. --> 341 <attr name="windowIsFloating" format="boolean" /> 342 <!-- Flag indicating whether this is a translucent window. If this attribute is unset (but 343 not if set to false), the window might still be considered translucent, if 344 windowSwipeToDismiss is set to true. --> 345 <attr name="windowIsTranslucent" format="boolean" /> 346 <!-- Flag indicating that this window's background should be the 347 user's current wallpaper. Corresponds 348 to {@link android.view.WindowManager.LayoutParams#FLAG_SHOW_WALLPAPER}. --> 349 <attr name="windowShowWallpaper" format="boolean" /> 350 <!-- This Drawable is overlaid over the foreground of the Window's content area, usually 351 to place a shadow below the title. --> 352 <attr name="windowContentOverlay" format="reference" /> 353 <!-- The style resource to use for a window's title bar height. --> 354 <attr name="windowTitleSize" format="dimension" /> 355 <!-- The style resource to use for a window's title text. --> 356 <attr name="windowTitleStyle" format="reference" /> 357 <!-- The style resource to use for a window's title area. --> 358 <attr name="windowTitleBackgroundStyle" format="reference" /> 359 360 <!-- Reference to a style resource holding 361 the set of window animations to use, which can be 362 any of the attributes defined by 363 {@link android.R.styleable#WindowAnimation}. --> 364 <attr name="windowAnimationStyle" format="reference" /> 365 366 <!-- Flag indicating whether this window should have an Action Bar 367 in place of the usual title bar. --> 368 <attr name="windowActionBar" format="boolean" /> 369 370 <!-- Flag indicating whether this window's Action Bar should overlay 371 application content. Does nothing if the window would not 372 have an Action Bar. --> 373 <attr name="windowActionBarOverlay" format="boolean" /> 374 375 <!-- Flag indicating whether action modes should overlay window content 376 when there is not reserved space for their UI (such as an Action Bar). --> 377 <attr name="windowActionModeOverlay" format="boolean" /> 378 379 <!-- Defines the default soft input state that this window would 380 like when it is displayed. Corresponds 381 to {@link android.view.WindowManager.LayoutParams#softInputMode}. --> 382 <attr name="windowSoftInputMode"> 383 <!-- Not specified, use what the system thinks is best. This 384 is the default. --> 385 <flag name="stateUnspecified" value="0" /> 386 <!-- Leave the soft input window as-is, in whatever state it 387 last was. --> 388 <flag name="stateUnchanged" value="1" /> 389 <!-- Make the soft input area hidden when normally appropriate 390 (when the user is navigating forward to your window). --> 391 <flag name="stateHidden" value="2" /> 392 <!-- Always make the soft input area hidden when this window 393 has input focus. --> 394 <flag name="stateAlwaysHidden" value="3" /> 395 <!-- Make the soft input area visible when normally appropriate 396 (when the user is navigating forward to your window). --> 397 <flag name="stateVisible" value="4" /> 398 <!-- Always make the soft input area visible when this window 399 has input focus. --> 400 <flag name="stateAlwaysVisible" value="5" /> 401 402 <!-- The window resize/pan adjustment has not been specified, 403 the system will automatically select between resize and pan 404 modes, depending 405 on whether the content of the window has any layout views 406 that can scroll their contents. If there is such a view, 407 then the window will be resized, with the assumption being 408 that the resizeable area can be reduced to make room for 409 the input UI. --> 410 <flag name="adjustUnspecified" value="0x00" /> 411 <!-- Always resize the window: the content area of the window is 412 reduced to make room for the soft input area. --> 413 <flag name="adjustResize" value="0x10" /> 414 <!-- Don't resize the window to make room for the soft input area; 415 instead pan the contents of the window as focus moves inside 416 of it so that the user can see what they are typing. This is 417 generally less desireable than panning because the user may 418 need to close the input area to get at and interact with 419 parts of the window. --> 420 <flag name="adjustPan" value="0x20" /> 421 <!-- Don't resize <em>or</em> pan the window to make room for the 422 soft input area; the window is never adjusted for it. --> 423 <flag name="adjustNothing" value="0x30" /> 424 </attr> 425 426 <!-- Flag allowing you to disable the preview animation for a window. 427 The default value is false; if set to true, the system can never 428 use the window's theme to show a preview of it before your 429 actual instance is shown to the user. --> 430 <attr name="windowDisablePreview" format="boolean" /> 431 432 <!-- Flag indicating that this window should not be displayed at all. 433 The default value is false; if set to true, and this window is 434 the main window of an Activity, then it will never actually 435 be added to the window manager. This means that your activity 436 must immediately quit without waiting for user interaction, 437 because there will be no such interaction coming. --> 438 <attr name="windowNoDisplay" format="boolean" /> 439 440 <!-- Flag indicating that this window should allow touches to be split 441 across other windows that also support split touch. 442 The default value is true for applications with a targetSdkVersion 443 of Honeycomb or newer; false otherwise. 444 When this flag is false, the first pointer that goes down determines 445 the window to which all subsequent touches go until all pointers go up. 446 When this flag is true, each pointer (not necessarily the first) that 447 goes down determines the window to which all subsequent touches of that 448 pointer will go until that pointers go up thereby enabling touches 449 with multiple pointers to be split across multiple windows. --> 450 <attr name="windowEnableSplitTouch" format="boolean" /> 451 452 <!-- Control whether a container should automatically close itself if 453 the user touches outside of it. This only applies to activities 454 and dialogs. 455 456 <p>Note: this attribute will only be respected for applications 457 that are targeting {@link android.os.Build.VERSION_CODES#HONEYCOMB} 458 or later. --> 459 <attr name="windowCloseOnTouchOutside" format="boolean" /> 460 461 <!-- Flag indicating whether this window requests a translucent status bar. Corresponds 462 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_STATUS}. --> 463 <attr name="windowTranslucentStatus" format="boolean" /> 464 465 <!-- Flag indicating whether this window requests a translucent navigation bar. Corresponds 466 to {@link android.view.WindowManager.LayoutParams#FLAG_TRANSLUCENT_NAVIGATION}. --> 467 <attr name="windowTranslucentNavigation" format="boolean" /> 468 469 <!-- Flag to indicate that a window can be swiped away to be dismissed. 470 Corresponds to {@link android.view.Window#FEATURE_SWIPE_TO_DISMISS}. It will also 471 dynamically change translucency of the window, if the windowIsTranslucent is not set. 472 If windowIsTranslucent is set (to either true or false) it will obey that setting. --> 473 <attr name="windowSwipeToDismiss" format="boolean" /> 474 475 <!-- Flag indicating whether this window requests that content changes be performed 476 as scene changes with transitions. Corresponds to 477 {@link android.view.Window#FEATURE_CONTENT_TRANSITIONS}. --> 478 <attr name="windowContentTransitions" format="boolean" /> 479 480 <!-- Reference to a TransitionManager XML resource defining the desired 481 transitions between different window content. --> 482 <attr name="windowContentTransitionManager" format="reference" /> 483 484 <!-- Flag indicating whether this window allows Activity Transitions. 485 Corresponds to {@link android.view.Window#FEATURE_ACTIVITY_TRANSITIONS}. --> 486 <attr name="windowActivityTransitions" format="boolean" /> 487 488 <!-- Reference to a Transition XML resource defining the desired Transition 489 used to move Views into the initial Window's content Scene. Corresponds to 490 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 491 <attr name="windowEnterTransition" format="reference"/> 492 493 <!-- Reference to a Transition XML resource defining the desired Transition 494 used to move Views out of the scene when the Window is 495 preparing to close. Corresponds to 496 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 497 <attr name="windowReturnTransition" format="reference"/> 498 499 <!-- Reference to a Transition XML resource defining the desired Transition 500 used to move Views out of the Window's content Scene when launching a new Activity. 501 Corresponds to 502 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 503 <attr name="windowExitTransition" format="reference"/> 504 505 <!-- Reference to a Transition XML resource defining the desired Transition 506 used to move Views in to the scene when returning from a previously-started Activity. 507 Corresponds to 508 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 509 <attr name="windowReenterTransition" format="reference"/> 510 511 <!-- Reference to a Transition XML resource defining the desired Transition 512 used to move shared elements transferred into the Window's initial content Scene. 513 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 514 android.transition.Transition)}. --> 515 <attr name="windowSharedElementEnterTransition" format="reference"/> 516 517 <!-- Reference to a Transition XML resource defining the desired Transition 518 used to move shared elements transferred back to a calling Activity. 519 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 520 android.transition.Transition)}. --> 521 <attr name="windowSharedElementReturnTransition" format="reference"/> 522 523 <!-- Reference to a Transition XML resource defining the desired Transition 524 used when starting a new Activity to move shared elements prior to transferring 525 to the called Activity. 526 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 527 android.transition.Transition)}. --> 528 <attr name="windowSharedElementExitTransition" format="reference"/> 529 530 <!-- Reference to a Transition XML resource defining the desired Transition 531 used for shared elements transferred back to a calling Activity. 532 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 533 android.transition.Transition)}. --> 534 <attr name="windowSharedElementReenterTransition" format="reference"/> 535 536 <!-- Flag indicating whether this Window's transition should overlap with 537 the exiting transition of the calling Activity. Corresponds to 538 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. 539 The default value is true. --> 540 <attr name="windowAllowEnterTransitionOverlap" format="boolean"/> 541 542 <!-- Flag indicating whether this Window's transition should overlap with 543 the exiting transition of the called Activity when the called Activity 544 finishes. Corresponds to 545 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. 546 The default value is true. --> 547 <attr name="windowAllowReturnTransitionOverlap" format="boolean"/> 548 549 <!-- Indicates whether or not shared elements should use an overlay 550 during transitions. The default value is true. --> 551 <attr name="windowSharedElementsUseOverlay" format="boolean"/> 552 553 <!-- Internal layout used internally for window decor --> 554 <attr name="windowActionBarFullscreenDecorLayout" format="reference" /> 555 556 <!-- The duration, in milliseconds, of the window background fade duration 557 when transitioning into or away from an Activity when called with an 558 Activity Transition. Corresponds to 559 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 560 <attr name="windowTransitionBackgroundFadeDuration" format="integer"/> 561 562 <!-- ============ --> 563 <!-- Floating toolbar styles --> 564 <!-- ============ --> 565 <eat-comment /> 566 <attr name="floatingToolbarCloseDrawable" format="reference" /> 567 <attr name="floatingToolbarForegroundColor" format="reference|color" /> 568 <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" /> 569 <attr name="floatingToolbarItemBackgroundDrawable" format="reference" /> 570 <attr name="floatingToolbarOpenDrawable" format="reference" /> 571 <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" /> 572 573 <!-- ============ --> 574 <!-- Alert Dialog styles --> 575 <!-- ============ --> 576 <eat-comment /> 577 <attr name="alertDialogStyle" format="reference" /> 578 <attr name="alertDialogButtonGroupStyle" format="reference" /> 579 <attr name="alertDialogCenterButtons" format="boolean" /> 580 581 <!-- ============== --> 582 <!-- Image elements --> 583 <!-- ============== --> 584 <eat-comment /> 585i 586 <!-- Background that can be used behind parts of a UI that provide 587 details on data the user is selecting. For example, this is 588 the background element of PreferenceActivity's embedded 589 preference fragment. --> 590 <attr name="detailsElementBackground" format="reference" /> 591 592 <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan. 593 This should be used whenever an app is requesting the user to place a finger on the 594 fingerprint sensor. It can be combined with other drawables such as colored circles, so 595 the appearance matches the branding of the app requesting the fingerprint scan.--> 596 <attr name="fingerprintAuthDrawable" format="reference" /> 597 598 <!-- ============ --> 599 <!-- Panel styles --> 600 <!-- ============ --> 601 <eat-comment /> 602 603 <!-- The background of a panel when it is inset from the left and right edges of the screen. --> 604 <attr name="panelBackground" format="reference|color" /> 605 <!-- The background of a panel when it extends to the left and right edges of the screen. --> 606 <attr name="panelFullBackground" format="reference|color" /> 607 <!-- Default color of foreground panel imagery. --> 608 <attr name="panelColorForeground" format="reference|color" /> 609 <!-- Color that matches (as closely as possible) the panel background. --> 610 <attr name="panelColorBackground" format="reference|color" /> 611 <!-- Default appearance of panel text. --> 612 <attr name="panelTextAppearance" format="reference" /> 613 614 <attr name="panelMenuIsCompact" format="boolean" /> 615 <attr name="panelMenuListWidth" format="dimension" /> 616 <attr name="panelMenuListTheme" format="reference" /> 617 618 <!-- =================== --> 619 <!-- Other widget styles --> 620 <!-- =================== --> 621 <eat-comment /> 622 623 <!-- Default AbsListView style. --> 624 <attr name="absListViewStyle" format="reference" /> 625 <!-- Default AutoCompleteTextView style. --> 626 <attr name="autoCompleteTextViewStyle" format="reference" /> 627 <!-- Default Checkbox style. --> 628 <attr name="checkboxStyle" format="reference" /> 629 <!-- Default CheckedTextView style. --> 630 <attr name="checkedTextViewStyle" format="reference" /> 631 <!-- Default ListView style for drop downs. --> 632 <attr name="dropDownListViewStyle" format="reference" /> 633 <!-- Default EditText style. --> 634 <attr name="editTextStyle" format="reference" /> 635 <!-- Default ExpandableListView style. --> 636 <attr name="expandableListViewStyle" format="reference" /> 637 <!-- ExpandableListView with white background. --> 638 <attr name="expandableListViewWhiteStyle" format="reference" /> 639 <!-- Default Gallery style. --> 640 <attr name="galleryStyle" format="reference" /> 641 <!-- Default GestureOverlayView style. --> 642 <attr name="gestureOverlayViewStyle" format="reference" /> 643 <!-- Default GridView style. --> 644 <attr name="gridViewStyle" format="reference" /> 645 <!-- The style resource to use for an ImageButton. --> 646 <attr name="imageButtonStyle" format="reference" /> 647 <!-- The style resource to use for an ImageButton that is an image well. --> 648 <attr name="imageWellStyle" format="reference" /> 649 <!-- Default menu-style ListView style. --> 650 <attr name="listMenuViewStyle" format="reference" /> 651 <!-- Default ListView style. --> 652 <attr name="listViewStyle" format="reference" /> 653 <!-- ListView with white background. --> 654 <attr name="listViewWhiteStyle" format="reference" /> 655 <!-- Default PopupWindow style. --> 656 <attr name="popupWindowStyle" format="reference" /> 657 <!-- Default ProgressBar style. This is a medium circular progress bar. --> 658 <attr name="progressBarStyle" format="reference" /> 659 <!-- Horizontal ProgressBar style. This is a horizontal progress bar. --> 660 <attr name="progressBarStyleHorizontal" format="reference" /> 661 <!-- Small ProgressBar style. This is a small circular progress bar. --> 662 <attr name="progressBarStyleSmall" format="reference" /> 663 <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. --> 664 <attr name="progressBarStyleSmallTitle" format="reference" /> 665 <!-- Large ProgressBar style. This is a large circular progress bar. --> 666 <attr name="progressBarStyleLarge" format="reference" /> 667 <!-- Inverse ProgressBar style. This is a medium circular progress bar. --> 668 <attr name="progressBarStyleInverse" format="reference" /> 669 <!-- Small inverse ProgressBar style. This is a small circular progress bar. --> 670 <attr name="progressBarStyleSmallInverse" format="reference" /> 671 <!-- Large inverse ProgressBar style. This is a large circular progress bar. --> 672 <attr name="progressBarStyleLargeInverse" format="reference" /> 673 <!-- Default SeekBar style. --> 674 <attr name="seekBarStyle" format="reference" /> 675 <!-- Default RatingBar style. --> 676 <attr name="ratingBarStyle" format="reference" /> 677 <!-- Indicator RatingBar style. --> 678 <attr name="ratingBarStyleIndicator" format="reference" /> 679 <!-- Small indicator RatingBar style. --> 680 <attr name="ratingBarStyleSmall" format="reference" /> 681 <!-- Default RadioButton style. --> 682 <attr name="radioButtonStyle" format="reference" /> 683 <!-- Default ScrollView style. --> 684 <attr name="scrollViewStyle" format="reference" /> 685 <!-- Default HorizontalScrollView style. --> 686 <attr name="horizontalScrollViewStyle" format="reference" /> 687 <!-- Default Spinner style. --> 688 <attr name="spinnerStyle" format="reference" /> 689 <!-- Default dropdown Spinner style. --> 690 <attr name="dropDownSpinnerStyle" format="reference" /> 691 <!-- Default ActionBar dropdown style. --> 692 <attr name="actionDropDownStyle" format="reference" /> 693 <!-- Default action button style. --> 694 <attr name="actionButtonStyle" format="reference" /> 695 <!-- Default Star style. --> 696 <attr name="starStyle" format="reference" /> 697 <!-- Default TabWidget style. --> 698 <attr name="tabWidgetStyle" format="reference" /> 699 <!-- Default TextView style. --> 700 <attr name="textViewStyle" format="reference" /> 701 <!-- Default WebTextView style. --> 702 <attr name="webTextViewStyle" format="reference" /> 703 <!-- Default WebView style. --> 704 <attr name="webViewStyle" format="reference" /> 705 <!-- Default style for drop down items. --> 706 <attr name="dropDownItemStyle" format="reference" /> 707 <!-- Default style for spinner drop down items. --> 708 <attr name="spinnerDropDownItemStyle" format="reference" /> 709 <!-- Default style for drop down hints. --> 710 <attr name="dropDownHintAppearance" format="reference" /> 711 <!-- Default spinner item style. --> 712 <attr name="spinnerItemStyle" format="reference" /> 713 <!-- Default MapView style. --> 714 <attr name="mapViewStyle" format="reference" /> 715 <!-- Drawable used as an overlay on top of quickcontact photos. --> 716 <attr name="quickContactBadgeOverlay" format="reference" /> 717 <!-- Default quickcontact badge style with small quickcontact window. --> 718 <attr name="quickContactBadgeStyleWindowSmall" format="reference" /> 719 <!-- Default quickcontact badge style with medium quickcontact window. --> 720 <attr name="quickContactBadgeStyleWindowMedium" format="reference" /> 721 <!-- Default quickcontact badge style with large quickcontact window. --> 722 <attr name="quickContactBadgeStyleWindowLarge" format="reference" /> 723 <!-- Default quickcontact badge style with small quickcontact window. --> 724 <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" /> 725 <!-- Default quickcontact badge style with medium quickcontact window. --> 726 <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" /> 727 <!-- Default quickcontact badge style with large quickcontact window. --> 728 <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" /> 729 <!-- Reference to a style that will be used for the window containing a text 730 selection anchor. --> 731 <attr name="textSelectHandleWindowStyle" format="reference" /> 732 <!-- Reference to a style that will be used for the window containing a list of possible 733 text suggestions in an EditText. --> 734 <attr name="textSuggestionsWindowStyle" format="reference" /> 735 <!-- Default ListPopupWindow style. --> 736 <attr name="listPopupWindowStyle" format="reference" /> 737 <!-- Default PopupMenu style. --> 738 <attr name="popupMenuStyle" format="reference" /> 739 <!-- Default context menu PopupMenu style. --> 740 <attr name="contextPopupMenuStyle" format="reference" /> 741 <!-- Default StackView style. --> 742 <attr name="stackViewStyle" format="reference" /> 743 744 <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated 745 starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). --> 746 <attr name="fragmentBreadCrumbsStyle" format="reference" /> 747 748 <!-- NumberPicker style. --> 749 <attr name="numberPickerStyle" format="reference" /> 750 751 <!-- The CalendarView style. --> 752 <attr name="calendarViewStyle" format="reference" /> 753 754 <!-- The TimePicker style. --> 755 <attr name="timePickerStyle" format="reference" /> 756 757 <!-- The TimePicker dialog theme. --> 758 <attr name="timePickerDialogTheme" format="reference" /> 759 760 <!-- The DatePicker style. --> 761 <attr name="datePickerStyle" format="reference" /> 762 763 <!-- The DatePicker dialog theme. --> 764 <attr name="datePickerDialogTheme" format="reference" /> 765 766 <!-- Default ActivityChooserView style. --> 767 <attr name="activityChooserViewStyle" format="reference" /> 768 769 <!-- Default Toolbar style. --> 770 <attr name="toolbarStyle" format="reference" /> 771 772 <!-- Fast scroller styles --> 773 <eat-comment /> 774 775 <!-- Drawable to use as the fast scroll thumb. --> 776 <attr name="fastScrollThumbDrawable" format="reference" /> 777 <!-- Drawable to use as the fast scroll index preview window background 778 when shown on the right. --> 779 <attr name="fastScrollPreviewBackgroundRight" format="reference" /> 780 <!-- Drawable to use as the fast scroll index preview window background 781 when shown on the left. --> 782 <attr name="fastScrollPreviewBackgroundLeft" format="reference" /> 783 <!-- Drawable to use as the track for the fast scroll thumb. 784 This may be null. --> 785 <attr name="fastScrollTrackDrawable" format="reference" /> 786 <!-- Position of the fast scroll index overlay window. --> 787 <attr name="fastScrollOverlayPosition"> 788 <enum name="floating" value="0" /> 789 <enum name="atThumb" value="1" /> 790 <enum name="aboveThumb" value="2" /> 791 </attr> 792 <!-- Text color for the fast scroll index overlay. Make sure it 793 plays nicely with fastScrollPreviewBackground[Left|Right]. --> 794 <attr name="fastScrollTextColor" format="color" /> 795 796 <!-- =================== --> 797 <!-- Action bar styles --> 798 <!-- =================== --> 799 <eat-comment /> 800 <!-- Default style for tabs within an action bar --> 801 <attr name="actionBarTabStyle" format="reference" /> 802 <attr name="actionBarTabBarStyle" format="reference" /> 803 <attr name="actionBarTabTextStyle" format="reference" /> 804 <attr name="actionOverflowButtonStyle" format="reference" /> 805 <attr name="actionOverflowMenuStyle" format="reference" /> 806 <!-- Reference to a theme that should be used to inflate popups 807 shown by widgets in the action bar. --> 808 <attr name="actionBarPopupTheme" format="reference" /> 809 <!-- Reference to a style for the Action Bar --> 810 <attr name="actionBarStyle" format="reference" /> 811 <!-- Reference to a style for the split Action Bar. This style 812 controls the split component that holds the menu/action 813 buttons. actionBarStyle is still used for the primary 814 bar. --> 815 <attr name="actionBarSplitStyle" format="reference" /> 816 <!-- Reference to a theme that should be used to inflate the 817 action bar. This will be inherited by any widget inflated 818 into the action bar. --> 819 <attr name="actionBarTheme" format="reference" /> 820 <!-- Reference to a theme that should be used to inflate widgets 821 and layouts destined for the action bar. Most of the time 822 this will be a reference to the current theme, but when 823 the action bar has a significantly different contrast 824 profile than the rest of the activity the difference 825 can become important. If this is set to @null the current 826 theme will be used.--> 827 <attr name="actionBarWidgetTheme" format="reference" /> 828 <!-- Size of the Action Bar, including the contextual 829 bar used to present Action Modes. --> 830 <attr name="actionBarSize" format="dimension" > 831 <enum name="wrap_content" value="0" /> 832 </attr> 833 <!-- Custom divider drawable to use for elements in the action bar. --> 834 <attr name="actionBarDivider" format="reference" /> 835 <!-- Custom item state list drawable background for action bar items. --> 836 <attr name="actionBarItemBackground" format="reference" /> 837 <!-- TextAppearance style that will be applied to text that 838 appears within action menu items. --> 839 <attr name="actionMenuTextAppearance" format="reference" /> 840 <!-- Color for text that appears within action menu items. --> 841 <attr name="actionMenuTextColor" format="color|reference" /> 842 843 <!-- =================== --> 844 <!-- Action mode styles --> 845 <!-- =================== --> 846 <eat-comment /> 847 <attr name="actionModeStyle" format="reference" /> 848 <attr name="actionModeCloseButtonStyle" format="reference" /> 849 <!-- Background drawable to use for action mode UI --> 850 <attr name="actionModeBackground" format="reference" /> 851 <!-- Background drawable to use for action mode UI in the lower split bar --> 852 <attr name="actionModeSplitBackground" format="reference" /> 853 <!-- Drawable to use for the close action mode button --> 854 <attr name="actionModeCloseDrawable" format="reference" /> 855 856 <!-- Drawable to use for the Cut action button in Contextual Action Bar --> 857 <attr name="actionModeCutDrawable" format="reference" /> 858 <!-- Drawable to use for the Copy action button in Contextual Action Bar --> 859 <attr name="actionModeCopyDrawable" format="reference" /> 860 <!-- Drawable to use for the Paste action button in Contextual Action Bar --> 861 <attr name="actionModePasteDrawable" format="reference" /> 862 <!-- Drawable to use for the Select all action button in Contextual Action Bar --> 863 <attr name="actionModeSelectAllDrawable" format="reference" /> 864 <!-- Drawable to use for the Share action button in WebView selection action modes --> 865 <attr name="actionModeShareDrawable" format="reference" /> 866 <!-- Drawable to use for the Find action button in WebView selection action modes --> 867 <attr name="actionModeFindDrawable" format="reference" /> 868 <!-- Drawable to use for the Web Search action button in WebView selection action modes --> 869 <attr name="actionModeWebSearchDrawable" format="reference" /> 870 871 <!-- PopupWindow style to use for action modes when showing as a window overlay. --> 872 <attr name="actionModePopupWindowStyle" format="reference" /> 873 874 <!-- =================== --> 875 <!-- Preference styles --> 876 <!-- =================== --> 877 <eat-comment /> 878 879 <!-- Default style for PreferenceScreen. --> 880 <attr name="preferenceScreenStyle" format="reference" /> 881 <!-- Default style for the PreferenceActivity. --> 882 <attr name="preferenceActivityStyle" format="reference" /> 883 <!-- Default style for Headers pane in PreferenceActivity. --> 884 <attr name="preferenceFragmentStyle" format="reference" /> 885 <!-- Default style for PreferenceCategory. --> 886 <attr name="preferenceCategoryStyle" format="reference" /> 887 <!-- Default style for Preference. --> 888 <attr name="preferenceStyle" format="reference" /> 889 <!-- Default style for informational Preference. --> 890 <attr name="preferenceInformationStyle" format="reference" /> 891 <!-- Default style for CheckBoxPreference. --> 892 <attr name="checkBoxPreferenceStyle" format="reference" /> 893 <!-- Default style for YesNoPreference. --> 894 <attr name="yesNoPreferenceStyle" format="reference" /> 895 <!-- Default style for DialogPreference. --> 896 <attr name="dialogPreferenceStyle" format="reference" /> 897 <!-- Default style for EditTextPreference. --> 898 <attr name="editTextPreferenceStyle" format="reference" /> 899 <!-- @hide Default style for SeekBarDialogPreference. --> 900 <attr name="seekBarDialogPreferenceStyle" format="reference" /> 901 <!-- Default style for RingtonePreference. --> 902 <attr name="ringtonePreferenceStyle" format="reference" /> 903 <!-- The preference layout that has the child/tabbed effect. --> 904 <attr name="preferenceLayoutChild" format="reference" /> 905 <!-- Preference panel style --> 906 <attr name="preferencePanelStyle" format="reference" /> 907 <!-- Preference headers panel style --> 908 <attr name="preferenceHeaderPanelStyle" format="reference" /> 909 <!-- Preference list style --> 910 <attr name="preferenceListStyle" format="reference" /> 911 <!-- Preference fragment list style --> 912 <attr name="preferenceFragmentListStyle" format="reference" /> 913 <!-- Preference fragment padding side --> 914 <attr name="preferenceFragmentPaddingSide" format="dimension" /> 915 <!-- Default style for switch preferences. --> 916 <attr name="switchPreferenceStyle" format="reference" /> 917 <!-- Default style for seekbar preferences. --> 918 <attr name="seekBarPreferenceStyle" format="reference" /> 919 920 <!-- ============================ --> 921 <!-- Text selection handle styles --> 922 <!-- ============================ --> 923 <eat-comment /> 924 925 <!-- Reference to a drawable that will be used to display a text selection 926 anchor on the left side of a selection region. --> 927 <attr name="textSelectHandleLeft" format="reference" /> 928 <!-- Reference to a drawable that will be used to display a text selection 929 anchor on the right side of a selection region. --> 930 <attr name="textSelectHandleRight" format="reference" /> 931 <!-- Reference to a drawable that will be used to display a text selection 932 anchor for positioning the cursor within text. --> 933 <attr name="textSelectHandle" format="reference" /> 934 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 935 TextEdit field. --> 936 <attr name="textEditPasteWindowLayout" format="reference" /> 937 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 938 <attr name="textEditNoPasteWindowLayout" format="reference" /> 939 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 940 insertion cursor because it would be clipped if it were positioned on top. --> 941 <attr name="textEditSidePasteWindowLayout" format="reference" /> 942 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 943 <attr name="textEditSideNoPasteWindowLayout" format="reference" /> 944 945 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 946 <attr name="textEditSuggestionItemLayout" format="reference" /> 947 <!-- Layout of the container of the suggestion popup window. --> 948 <attr name="textEditSuggestionContainerLayout" format="reference" /> 949 <!-- Text appearance of the focused words to be replaced by suggested word. --> 950 <attr name="textEditSuggestionHighlightStyle" format="reference" /> 951 952 <!-- Theme to use for dialogs spawned from this theme. --> 953 <attr name="dialogTheme" format="reference" /> 954 <!-- Window decor layout to use in dialog mode with icons. --> 955 <attr name="dialogTitleIconsDecorLayout" format="reference" /> 956 <!-- Window decor layout to use in dialog mode with custom titles. --> 957 <attr name="dialogCustomTitleDecorLayout" format="reference" /> 958 <!-- Window decor layout to use in dialog mode with title only. --> 959 <attr name="dialogTitleDecorLayout" format="reference" /> 960 <!-- Preferred padding for dialog content. --> 961 <attr name="dialogPreferredPadding" format="dimension" /> 962 963 <!-- Theme to use for alert dialogs spawned from this theme. --> 964 <attr name="alertDialogTheme" format="reference" /> 965 <!-- Icon drawable to use for alerts --> 966 <attr name="alertDialogIcon" format="reference" /> 967 968 <!-- Theme to use for presentations spawned from this theme. --> 969 <attr name="presentationTheme" format="reference" /> 970 971 <!-- Drawable to use for generic vertical dividers. --> 972 <attr name="dividerVertical" format="reference" /> 973 974 <!-- Drawable to use for generic horizontal dividers. --> 975 <attr name="dividerHorizontal" format="reference" /> 976 977 <!-- Style for button bars --> 978 <attr name="buttonBarStyle" format="reference" /> 979 980 <!-- Style for buttons within button bars --> 981 <attr name="buttonBarButtonStyle" format="reference" /> 982 983 <!-- Style for the "positive" buttons within button bars --> 984 <attr name="buttonBarPositiveButtonStyle" format="reference" /> 985 986 <!-- Style for the "negative" buttons within button bars --> 987 <attr name="buttonBarNegativeButtonStyle" format="reference" /> 988 989 <!-- Style for the "neutral" buttons within button bars --> 990 <attr name="buttonBarNeutralButtonStyle" format="reference" /> 991 992 <!-- Style for the search query widget. --> 993 <attr name="searchViewStyle" format="reference" /> 994 995 <!-- Style for segmented buttons - a container that houses several buttons 996 with the appearance of a singel button broken into segments. --> 997 <attr name="segmentedButtonStyle" format="reference" /> 998 999 <!-- Background drawable for bordered standalone items that need focus/pressed states. --> 1000 <attr name="selectableItemBackground" format="reference" /> 1001 1002 <!-- Background drawable for borderless standalone items that need focus/pressed states. --> 1003 <attr name="selectableItemBackgroundBorderless" format="reference" /> 1004 1005 <!-- Style for buttons without an explicit border, often used in groups. --> 1006 <attr name="borderlessButtonStyle" format="reference" /> 1007 1008 <!-- Background to use for toasts --> 1009 <attr name="toastFrameBackground" format="reference" /> 1010 1011 <!-- Theme to use for Search Dialogs --> 1012 <attr name="searchDialogTheme" format="reference" /> 1013 1014 <!-- Specifies a drawable to use for the 'home as up' indicator. --> 1015 <attr name="homeAsUpIndicator" format="reference" /> 1016 1017 <!-- Preference frame layout styles. --> 1018 <attr name="preferenceFrameLayoutStyle" format="reference" /> 1019 1020 <!-- Default style for the Switch widget. --> 1021 <attr name="switchStyle" format="reference" /> 1022 1023 <!-- Default style for the MediaRouteButton widget. --> 1024 <attr name="mediaRouteButtonStyle" format="reference" /> 1025 1026 <!-- ============== --> 1027 <!-- Pointer styles --> 1028 <!-- ============== --> 1029 <eat-comment /> 1030 1031 <!-- The drawable for accessibility focused views. --> 1032 <attr name="accessibilityFocusedDrawable" format="reference" /> 1033 1034 <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide --> 1035 <attr name="findOnPageNextDrawable" format="reference" /> 1036 1037 <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide --> 1038 <attr name="findOnPagePreviousDrawable" format="reference" /> 1039 1040 <!-- ============= --> 1041 <!-- Color palette --> 1042 <!-- ============= --> 1043 <eat-comment /> 1044 1045 <!-- The primary branding color for the app. By default, this is the color applied to the 1046 action bar background. --> 1047 <attr name="colorPrimary" format="color" /> 1048 1049 <!-- Dark variant of the primary branding color. By default, this is the color applied to 1050 the status bar (via statusBarColor) and navigation bar (via navigationBarColor). --> 1051 <attr name="colorPrimaryDark" format="color" /> 1052 1053 <!-- The secondary branding color for the app. --> 1054 <attr name="colorSecondary" format="color" /> 1055 1056 <!-- Bright complement to the primary branding color. By default, this is the color applied 1057 to framework controls (via colorControlActivated). --> 1058 <attr name="colorAccent" format="color" /> 1059 1060 <!-- The color applied to framework controls in their normal state. --> 1061 <attr name="colorControlNormal" format="color" /> 1062 1063 <!-- The color applied to framework controls in their activated (ex. checked) state. --> 1064 <attr name="colorControlActivated" format="color" /> 1065 1066 <!-- The color applied to framework control highlights (ex. ripples, list selectors). --> 1067 <attr name="colorControlHighlight" format="color" /> 1068 1069 <!-- The color applied to framework buttons in their normal state. --> 1070 <attr name="colorButtonNormal" format="color" /> 1071 1072 <!-- The color applied to framework switch thumbs in their normal state. --> 1073 <attr name="colorSwitchThumbNormal" format="color" /> 1074 1075 <!-- The color applied to the edge effect on scrolling containers. --> 1076 <attr name="colorEdgeEffect" format="color" /> 1077 1078 <!-- =================== --> 1079 <!-- Lighting properties --> 1080 <!-- =================== --> 1081 <eat-comment /> 1082 1083 <!-- @hide The default Y position of the light used to project view shadows. --> 1084 <attr name="lightY" format="dimension" /> 1085 1086 <!-- @hide The default Z position of the light used to project view shadows. --> 1087 <attr name="lightZ" format="dimension" /> 1088 1089 <!-- @hide The default radius of the light used to project view shadows. --> 1090 <attr name="lightRadius" format="dimension" /> 1091 1092 <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. --> 1093 <attr name="ambientShadowAlpha" format="float" /> 1094 1095 <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. --> 1096 <attr name="spotShadowAlpha" format="float" /> 1097 </declare-styleable> 1098 1099 <!-- **************************************************************** --> 1100 <!-- Other non-theme attributes. --> 1101 <!-- **************************************************************** --> 1102 <eat-comment /> 1103 1104 <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). 1105 Supported values include the following:<p/> 1106 <ul> 1107 <li><b>px</b> Pixels</li> 1108 <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li> 1109 <li><b>pt</b> Points</li> 1110 <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li> 1111 </ul> 1112 --> 1113 <attr name="textSize" format="dimension" /> 1114 1115 <!-- Default font family. --> 1116 <attr name="fontFamily" format="string" /> 1117 1118 <!-- Default text typeface. --> 1119 <attr name="typeface"> 1120 <enum name="normal" value="0" /> 1121 <enum name="sans" value="1" /> 1122 <enum name="serif" value="2" /> 1123 <enum name="monospace" value="3" /> 1124 </attr> 1125 1126 <!-- Default text typeface style. --> 1127 <attr name="textStyle"> 1128 <flag name="normal" value="0" /> 1129 <flag name="bold" value="1" /> 1130 <flag name="italic" value="2" /> 1131 </attr> 1132 1133 <!-- Color of text (usually same as colorForeground). --> 1134 <attr name="textColor" format="reference|color" /> 1135 1136 <!-- Color of highlighted text. --> 1137 <attr name="textColorHighlight" format="reference|color" /> 1138 1139 <!-- Color of hint text (displayed when the field is empty). --> 1140 <attr name="textColorHint" format="reference|color" /> 1141 1142 <!-- Color of link text (URLs). --> 1143 <attr name="textColorLink" format="reference|color" /> 1144 1145 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 1146 <attr name="textCursorDrawable" format="reference" /> 1147 1148 <!-- Indicates that the content of a non-editable TextView can be selected. 1149 Default value is false. EditText content is always selectable. --> 1150 <attr name="textIsSelectable" format="boolean" /> 1151 1152 <!-- Where to ellipsize text. --> 1153 <attr name="ellipsize"> 1154 <enum name="none" value="0" /> 1155 <enum name="start" value="1" /> 1156 <enum name="middle" value="2" /> 1157 <enum name="end" value="3" /> 1158 <enum name="marquee" value="4" /> 1159 </attr> 1160 1161 <!-- The type of data being placed in a text field, used to help an 1162 input method decide how to let the user enter text. The constants 1163 here correspond to those defined by 1164 {@link android.text.InputType}. Generally you can select 1165 a single value, though some can be combined together as 1166 indicated. Setting this attribute to anything besides 1167 <var>none</var> also implies that the text is editable. --> 1168 <attr name="inputType"> 1169 <!-- There is no content type. The text is not editable. --> 1170 <flag name="none" value="0x00000000" /> 1171 <!-- Just plain old text. Corresponds to 1172 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1173 {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. --> 1174 <flag name="text" value="0x00000001" /> 1175 <!-- Can be combined with <var>text</var> and its variations to 1176 request capitalization of all characters. Corresponds to 1177 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. --> 1178 <flag name="textCapCharacters" value="0x00001001" /> 1179 <!-- Can be combined with <var>text</var> and its variations to 1180 request capitalization of the first character of every word. Corresponds to 1181 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. --> 1182 <flag name="textCapWords" value="0x00002001" /> 1183 <!-- Can be combined with <var>text</var> and its variations to 1184 request capitalization of the first character of every sentence. Corresponds to 1185 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. --> 1186 <flag name="textCapSentences" value="0x00004001" /> 1187 <!-- Can be combined with <var>text</var> and its variations to 1188 request auto-correction of text being input. Corresponds to 1189 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. --> 1190 <flag name="textAutoCorrect" value="0x00008001" /> 1191 <!-- Can be combined with <var>text</var> and its variations to 1192 specify that this field will be doing its own auto-completion and 1193 talking with the input method appropriately. Corresponds to 1194 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. --> 1195 <flag name="textAutoComplete" value="0x00010001" /> 1196 <!-- Can be combined with <var>text</var> and its variations to 1197 allow multiple lines of text in the field. If this flag is not set, 1198 the text field will be constrained to a single line. Corresponds to 1199 {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. --> 1200 <flag name="textMultiLine" value="0x00020001" /> 1201 <!-- Can be combined with <var>text</var> and its variations to 1202 indicate that though the regular text view should not be multiple 1203 lines, the IME should provide multiple lines if it can. Corresponds to 1204 {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. --> 1205 <flag name="textImeMultiLine" value="0x00040001" /> 1206 <!-- Can be combined with <var>text</var> and its variations to 1207 indicate that the IME should not show any 1208 dictionary-based word suggestions. Corresponds to 1209 {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. --> 1210 <flag name="textNoSuggestions" value="0x00080001" /> 1211 <!-- Text that will be used as a URI. Corresponds to 1212 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1213 {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. --> 1214 <flag name="textUri" value="0x00000011" /> 1215 <!-- Text that will be used as an e-mail address. Corresponds to 1216 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1217 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. --> 1218 <flag name="textEmailAddress" value="0x00000021" /> 1219 <!-- Text that is being supplied as the subject of an e-mail. Corresponds to 1220 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1221 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. --> 1222 <flag name="textEmailSubject" value="0x00000031" /> 1223 <!-- Text that is the content of a short message. Corresponds to 1224 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1225 {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. --> 1226 <flag name="textShortMessage" value="0x00000041" /> 1227 <!-- Text that is the content of a long message. Corresponds to 1228 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1229 {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. --> 1230 <flag name="textLongMessage" value="0x00000051" /> 1231 <!-- Text that is the name of a person. Corresponds to 1232 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1233 {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. --> 1234 <flag name="textPersonName" value="0x00000061" /> 1235 <!-- Text that is being supplied as a postal mailing address. Corresponds to 1236 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1237 {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. --> 1238 <flag name="textPostalAddress" value="0x00000071" /> 1239 <!-- Text that is a password. Corresponds to 1240 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1241 {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. --> 1242 <flag name="textPassword" value="0x00000081" /> 1243 <!-- Text that is a password that should be visible. Corresponds to 1244 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1245 {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. --> 1246 <flag name="textVisiblePassword" value="0x00000091" /> 1247 <!-- Text that is being supplied as text in a web form. Corresponds to 1248 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1249 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. --> 1250 <flag name="textWebEditText" value="0x000000a1" /> 1251 <!-- Text that is filtering some other data. Corresponds to 1252 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1253 {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. --> 1254 <flag name="textFilter" value="0x000000b1" /> 1255 <!-- Text that is for phonetic pronunciation, such as a phonetic name 1256 field in a contact entry. Corresponds to 1257 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1258 {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. --> 1259 <flag name="textPhonetic" value="0x000000c1" /> 1260 <!-- Text that will be used as an e-mail address on a web form. Corresponds to 1261 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1262 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. --> 1263 <flag name="textWebEmailAddress" value="0x000000d1" /> 1264 <!-- Text that will be used as a password on a web form. Corresponds to 1265 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1266 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. --> 1267 <flag name="textWebPassword" value="0x000000e1" /> 1268 <!-- A numeric only field. Corresponds to 1269 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1270 {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. --> 1271 <flag name="number" value="0x00000002" /> 1272 <!-- Can be combined with <var>number</var> and its other options to 1273 allow a signed number. Corresponds to 1274 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1275 {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. --> 1276 <flag name="numberSigned" value="0x00001002" /> 1277 <!-- Can be combined with <var>number</var> and its other options to 1278 allow a decimal (fractional) number. Corresponds to 1279 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1280 {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. --> 1281 <flag name="numberDecimal" value="0x00002002" /> 1282 <!-- A numeric password field. Corresponds to 1283 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1284 {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. --> 1285 <flag name="numberPassword" value="0x00000012" /> 1286 <!-- For entering a phone number. Corresponds to 1287 {@link android.text.InputType#TYPE_CLASS_PHONE}. --> 1288 <flag name="phone" value="0x00000003" /> 1289 <!-- For entering a date and time. Corresponds to 1290 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1291 {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. --> 1292 <flag name="datetime" value="0x00000004" /> 1293 <!-- For entering a date. Corresponds to 1294 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1295 {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. --> 1296 <flag name="date" value="0x00000014" /> 1297 <!-- For entering a time. Corresponds to 1298 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1299 {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. --> 1300 <flag name="time" value="0x00000024" /> 1301 </attr> 1302 1303 <!-- Additional features you can enable in an IME associated with an editor 1304 to improve the integration with your application. The constants 1305 here correspond to those defined by 1306 {@link android.view.inputmethod.EditorInfo#imeOptions}. --> 1307 <attr name="imeOptions"> 1308 <!-- There are no special semantics associated with this editor. --> 1309 <flag name="normal" value="0x00000000" /> 1310 <!-- There is no specific action associated with this editor, let the 1311 editor come up with its own if it can. 1312 Corresponds to 1313 {@link android.view.inputmethod.EditorInfo#IME_NULL}. --> 1314 <flag name="actionUnspecified" value="0x00000000" /> 1315 <!-- This editor has no action associated with it. 1316 Corresponds to 1317 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. --> 1318 <flag name="actionNone" value="0x00000001" /> 1319 <!-- The action key performs a "go" 1320 operation to take the user to the target of the text they typed. 1321 Typically used, for example, when entering a URL. 1322 Corresponds to 1323 {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. --> 1324 <flag name="actionGo" value="0x00000002" /> 1325 <!-- The action key performs a "search" 1326 operation, taking the user to the results of searching for the text 1327 the have typed (in whatever context is appropriate). 1328 Corresponds to 1329 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. --> 1330 <flag name="actionSearch" value="0x00000003" /> 1331 <!-- The action key performs a "send" 1332 operation, delivering the text to its target. This is typically used 1333 when composing a message. 1334 Corresponds to 1335 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. --> 1336 <flag name="actionSend" value="0x00000004" /> 1337 <!-- The action key performs a "next" 1338 operation, taking the user to the next field that will accept text. 1339 Corresponds to 1340 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. --> 1341 <flag name="actionNext" value="0x00000005" /> 1342 <!-- The action key performs a "done" 1343 operation, closing the soft input method. 1344 Corresponds to 1345 {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. --> 1346 <flag name="actionDone" value="0x00000006" /> 1347 <!-- The action key performs a "previous" 1348 operation, taking the user to the previous field that will accept text. 1349 Corresponds to 1350 {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. --> 1351 <flag name="actionPrevious" value="0x00000007" /> 1352 <!-- Used to request that the IME never go 1353 into fullscreen mode. Applications need to be aware that the flag is not 1354 a guarantee, and not all IMEs will respect it. 1355 <p>Corresponds to 1356 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1357 <flag name="flagNoFullscreen" value="0x2000000" /> 1358 <!-- Like flagNavigateNext, but 1359 specifies there is something interesting that a backward navigation 1360 can focus on. If the user selects the IME's facility to backward 1361 navigate, this will show up in the application as an actionPrevious 1362 at {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1363 InputConnection.performEditorAction(int)}. 1364 <p>Corresponds to 1365 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1366 <flag name="flagNavigatePrevious" value="0x4000000" /> 1367 <!-- Used to specify that there is something 1368 interesting that a forward navigation can focus on. This is like using 1369 actionNext, except allows the IME to be multiline (with 1370 an enter key) as well as provide forward navigation. Note that some 1371 IMEs may not be able to do this, especially when running on a small 1372 screen where there is little space. In that case it does not need to 1373 present a UI for this option. Like actionNext, if the 1374 user selects the IME's facility to forward navigate, this will show up 1375 in the application at 1376 {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1377 InputConnection.performEditorAction(int)}. 1378 <p>Corresponds to 1379 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. --> 1380 <flag name="flagNavigateNext" value="0x8000000" /> 1381 <!-- Used to specify that the IME does not need 1382 to show its extracted text UI. For input methods that may be fullscreen, 1383 often when in landscape mode, this allows them to be smaller and let part 1384 of the application be shown behind. Though there will likely be limited 1385 access to the application available from the user, it can make the 1386 experience of a (mostly) fullscreen IME less jarring. Note that when 1387 this flag is specified the IME may <em>not</em> be set up to be able 1388 to display text, so it should only be used in situations where this is 1389 not needed. 1390 <p>Corresponds to 1391 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. --> 1392 <flag name="flagNoExtractUi" value="0x10000000" /> 1393 <!-- Used in conjunction with a custom action, this indicates that the 1394 action should not be available as an accessory button when the 1395 input method is full-screen. 1396 Note that by setting this flag, there can be cases where the action 1397 is simply never available to the user. Setting this generally means 1398 that you think showing text being edited is more important than the 1399 action you have supplied. 1400 <p>Corresponds to 1401 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. --> 1402 <flag name="flagNoAccessoryAction" value="0x20000000" /> 1403 <!-- Used in conjunction with a custom action, 1404 this indicates that the action should not be available in-line as 1405 a replacement for the "enter" key. Typically this is 1406 because the action has such a significant impact or is not recoverable 1407 enough that accidentally hitting it should be avoided, such as sending 1408 a message. Note that {@link android.widget.TextView} will 1409 automatically set this flag for you on multi-line text views. 1410 <p>Corresponds to 1411 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. --> 1412 <flag name="flagNoEnterAction" value="0x40000000" /> 1413 <!-- Used to request that the IME should be capable of inputting ASCII 1414 characters. The intention of this flag is to ensure that the user 1415 can type Roman alphabet characters in a {@link android.widget.TextView} 1416 used for, typically, account ID or password input. It is expected that IMEs 1417 normally are able to input ASCII even without being told so (such IMEs 1418 already respect this flag in a sense), but there could be some cases they 1419 aren't when, for instance, only non-ASCII input languagaes like Arabic, 1420 Greek, Hebrew, Russian are enabled in the IME. Applications need to be 1421 aware that the flag is not a guarantee, and not all IMEs will respect it. 1422 However, it is strongly recommended for IME authors to respect this flag 1423 especially when their IME could end up with a state that has only non-ASCII 1424 input languages enabled. 1425 <p>Corresponds to 1426 {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. --> 1427 <flag name="flagForceAscii" value="0x80000000" /> 1428 </attr> 1429 1430 <!-- A coordinate in the X dimension. --> 1431 <attr name="x" format="dimension" /> 1432 <!-- A coordinate in the Y dimension. --> 1433 <attr name="y" format="dimension" /> 1434 1435 <!-- Specifies how an object should position its content, on both the X and Y axes, 1436 within its own bounds. --> 1437 <attr name="gravity"> 1438 <!-- Push object to the top of its container, not changing its size. --> 1439 <flag name="top" value="0x30" /> 1440 <!-- Push object to the bottom of its container, not changing its size. --> 1441 <flag name="bottom" value="0x50" /> 1442 <!-- Push object to the left of its container, not changing its size. --> 1443 <flag name="left" value="0x03" /> 1444 <!-- Push object to the right of its container, not changing its size. --> 1445 <flag name="right" value="0x05" /> 1446 <!-- Place object in the vertical center of its container, not changing its size. --> 1447 <flag name="center_vertical" value="0x10" /> 1448 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1449 <flag name="fill_vertical" value="0x70" /> 1450 <!-- Place object in the horizontal center of its container, not changing its size. --> 1451 <flag name="center_horizontal" value="0x01" /> 1452 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1453 <flag name="fill_horizontal" value="0x07" /> 1454 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1455 <flag name="center" value="0x11" /> 1456 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1457 <flag name="fill" value="0x77" /> 1458 <!-- Additional option that can be set to have the top and/or bottom edges of 1459 the child clipped to its container's bounds. 1460 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1461 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1462 <flag name="clip_vertical" value="0x80" /> 1463 <!-- Additional option that can be set to have the left and/or right edges of 1464 the child clipped to its container's bounds. 1465 The clip will be based on the horizontal gravity: a left gravity will clip the right 1466 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1467 <flag name="clip_horizontal" value="0x08" /> 1468 <!-- Push object to the beginning of its container, not changing its size. --> 1469 <flag name="start" value="0x00800003" /> 1470 <!-- Push object to the end of its container, not changing its size. --> 1471 <flag name="end" value="0x00800005" /> 1472 </attr> 1473 1474 <!-- Controls whether links such as urls and email addresses are 1475 automatically found and converted to clickable links. The default 1476 value is "none", disabling this feature. --> 1477 <attr name="autoLink"> 1478 <!-- Match no patterns (default). --> 1479 <flag name="none" value="0x00" /> 1480 <!-- Match Web URLs. --> 1481 <flag name="web" value="0x01" /> 1482 <!-- Match email addresses. --> 1483 <flag name="email" value="0x02" /> 1484 <!-- Match phone numbers. --> 1485 <flag name="phone" value="0x04" /> 1486 <!-- Match map addresses. --> 1487 <flag name="map" value="0x08" /> 1488 <!-- Match all patterns (equivalent to web|email|phone|map). --> 1489 <flag name="all" value="0x0f" /> 1490 </attr> 1491 1492 <!-- Reference to an array resource that will populate a list/adapter. --> 1493 <attr name="entries" format="reference" /> 1494 1495 <!-- Standard gravity constant that a child supplies to its parent. 1496 Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. --> 1497 <attr name="layout_gravity"> 1498 <!-- Push object to the top of its container, not changing its size. --> 1499 <flag name="top" value="0x30" /> 1500 <!-- Push object to the bottom of its container, not changing its size. --> 1501 <flag name="bottom" value="0x50" /> 1502 <!-- Push object to the left of its container, not changing its size. --> 1503 <flag name="left" value="0x03" /> 1504 <!-- Push object to the right of its container, not changing its size. --> 1505 <flag name="right" value="0x05" /> 1506 <!-- Place object in the vertical center of its container, not changing its size. --> 1507 <flag name="center_vertical" value="0x10" /> 1508 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1509 <flag name="fill_vertical" value="0x70" /> 1510 <!-- Place object in the horizontal center of its container, not changing its size. --> 1511 <flag name="center_horizontal" value="0x01" /> 1512 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1513 <flag name="fill_horizontal" value="0x07" /> 1514 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1515 <flag name="center" value="0x11" /> 1516 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1517 <flag name="fill" value="0x77" /> 1518 <!-- Additional option that can be set to have the top and/or bottom edges of 1519 the child clipped to its container's bounds. 1520 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1521 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1522 <flag name="clip_vertical" value="0x80" /> 1523 <!-- Additional option that can be set to have the left and/or right edges of 1524 the child clipped to its container's bounds. 1525 The clip will be based on the horizontal gravity: a left gravity will clip the right 1526 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1527 <flag name="clip_horizontal" value="0x08" /> 1528 <!-- Push object to the beginning of its container, not changing its size. --> 1529 <flag name="start" value="0x00800003" /> 1530 <!-- Push object to the end of its container, not changing its size. --> 1531 <flag name="end" value="0x00800005" /> 1532 </attr> 1533 1534 <!-- Standard orientation constant. --> 1535 <attr name="orientation"> 1536 <!-- Defines an horizontal widget. --> 1537 <enum name="horizontal" value="0" /> 1538 <!-- Defines a vertical widget. --> 1539 <enum name="vertical" value="1" /> 1540 </attr> 1541 1542 <!-- Alignment constants. --> 1543 <attr name="alignmentMode"> 1544 <!-- Align the bounds of the children. 1545 See {@link android.widget.GridLayout#ALIGN_BOUNDS}. --> 1546 <enum name="alignBounds" value="0" /> 1547 <!-- Align the margins of the children. 1548 See {@link android.widget.GridLayout#ALIGN_MARGINS}. --> 1549 <enum name="alignMargins" value="1" /> 1550 </attr> 1551 1552 <!-- ========================== --> 1553 <!-- Key Codes --> 1554 <!-- ========================== --> 1555 <eat-comment /> 1556 1557 <!-- This enum provides the same keycode values as can be found in 1558 {@link android.view.KeyEvent}. --> 1559 <attr name="keycode"> 1560 <enum name="KEYCODE_UNKNOWN" value="0" /> 1561 <enum name="KEYCODE_SOFT_LEFT" value="1" /> 1562 <enum name="KEYCODE_SOFT_RIGHT" value="2" /> 1563 <enum name="KEYCODE_HOME" value="3" /> 1564 <enum name="KEYCODE_BACK" value="4" /> 1565 <enum name="KEYCODE_CALL" value="5" /> 1566 <enum name="KEYCODE_ENDCALL" value="6" /> 1567 <enum name="KEYCODE_0" value="7" /> 1568 <enum name="KEYCODE_1" value="8" /> 1569 <enum name="KEYCODE_2" value="9" /> 1570 <enum name="KEYCODE_3" value="10" /> 1571 <enum name="KEYCODE_4" value="11" /> 1572 <enum name="KEYCODE_5" value="12" /> 1573 <enum name="KEYCODE_6" value="13" /> 1574 <enum name="KEYCODE_7" value="14" /> 1575 <enum name="KEYCODE_8" value="15" /> 1576 <enum name="KEYCODE_9" value="16" /> 1577 <enum name="KEYCODE_STAR" value="17" /> 1578 <enum name="KEYCODE_POUND" value="18" /> 1579 <enum name="KEYCODE_DPAD_UP" value="19" /> 1580 <enum name="KEYCODE_DPAD_DOWN" value="20" /> 1581 <enum name="KEYCODE_DPAD_LEFT" value="21" /> 1582 <enum name="KEYCODE_DPAD_RIGHT" value="22" /> 1583 <enum name="KEYCODE_DPAD_CENTER" value="23" /> 1584 <enum name="KEYCODE_VOLUME_UP" value="24" /> 1585 <enum name="KEYCODE_VOLUME_DOWN" value="25" /> 1586 <enum name="KEYCODE_POWER" value="26" /> 1587 <enum name="KEYCODE_CAMERA" value="27" /> 1588 <enum name="KEYCODE_CLEAR" value="28" /> 1589 <enum name="KEYCODE_A" value="29" /> 1590 <enum name="KEYCODE_B" value="30" /> 1591 <enum name="KEYCODE_C" value="31" /> 1592 <enum name="KEYCODE_D" value="32" /> 1593 <enum name="KEYCODE_E" value="33" /> 1594 <enum name="KEYCODE_F" value="34" /> 1595 <enum name="KEYCODE_G" value="35" /> 1596 <enum name="KEYCODE_H" value="36" /> 1597 <enum name="KEYCODE_I" value="37" /> 1598 <enum name="KEYCODE_J" value="38" /> 1599 <enum name="KEYCODE_K" value="39" /> 1600 <enum name="KEYCODE_L" value="40" /> 1601 <enum name="KEYCODE_M" value="41" /> 1602 <enum name="KEYCODE_N" value="42" /> 1603 <enum name="KEYCODE_O" value="43" /> 1604 <enum name="KEYCODE_P" value="44" /> 1605 <enum name="KEYCODE_Q" value="45" /> 1606 <enum name="KEYCODE_R" value="46" /> 1607 <enum name="KEYCODE_S" value="47" /> 1608 <enum name="KEYCODE_T" value="48" /> 1609 <enum name="KEYCODE_U" value="49" /> 1610 <enum name="KEYCODE_V" value="50" /> 1611 <enum name="KEYCODE_W" value="51" /> 1612 <enum name="KEYCODE_X" value="52" /> 1613 <enum name="KEYCODE_Y" value="53" /> 1614 <enum name="KEYCODE_Z" value="54" /> 1615 <enum name="KEYCODE_COMMA" value="55" /> 1616 <enum name="KEYCODE_PERIOD" value="56" /> 1617 <enum name="KEYCODE_ALT_LEFT" value="57" /> 1618 <enum name="KEYCODE_ALT_RIGHT" value="58" /> 1619 <enum name="KEYCODE_SHIFT_LEFT" value="59" /> 1620 <enum name="KEYCODE_SHIFT_RIGHT" value="60" /> 1621 <enum name="KEYCODE_TAB" value="61" /> 1622 <enum name="KEYCODE_SPACE" value="62" /> 1623 <enum name="KEYCODE_SYM" value="63" /> 1624 <enum name="KEYCODE_EXPLORER" value="64" /> 1625 <enum name="KEYCODE_ENVELOPE" value="65" /> 1626 <enum name="KEYCODE_ENTER" value="66" /> 1627 <enum name="KEYCODE_DEL" value="67" /> 1628 <enum name="KEYCODE_GRAVE" value="68" /> 1629 <enum name="KEYCODE_MINUS" value="69" /> 1630 <enum name="KEYCODE_EQUALS" value="70" /> 1631 <enum name="KEYCODE_LEFT_BRACKET" value="71" /> 1632 <enum name="KEYCODE_RIGHT_BRACKET" value="72" /> 1633 <enum name="KEYCODE_BACKSLASH" value="73" /> 1634 <enum name="KEYCODE_SEMICOLON" value="74" /> 1635 <enum name="KEYCODE_APOSTROPHE" value="75" /> 1636 <enum name="KEYCODE_SLASH" value="76" /> 1637 <enum name="KEYCODE_AT" value="77" /> 1638 <enum name="KEYCODE_NUM" value="78" /> 1639 <enum name="KEYCODE_HEADSETHOOK" value="79" /> 1640 <enum name="KEYCODE_FOCUS" value="80" /> 1641 <enum name="KEYCODE_PLUS" value="81" /> 1642 <enum name="KEYCODE_MENU" value="82" /> 1643 <enum name="KEYCODE_NOTIFICATION" value="83" /> 1644 <enum name="KEYCODE_SEARCH" value="84" /> 1645 <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" /> 1646 <enum name="KEYCODE_MEDIA_STOP" value="86" /> 1647 <enum name="KEYCODE_MEDIA_NEXT" value="87" /> 1648 <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" /> 1649 <enum name="KEYCODE_MEDIA_REWIND" value="89" /> 1650 <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" /> 1651 <enum name="KEYCODE_MUTE" value="91" /> 1652 <enum name="KEYCODE_PAGE_UP" value="92" /> 1653 <enum name="KEYCODE_PAGE_DOWN" value="93" /> 1654 <enum name="KEYCODE_PICTSYMBOLS" value="94" /> 1655 <enum name="KEYCODE_SWITCH_CHARSET" value="95" /> 1656 <enum name="KEYCODE_BUTTON_A" value="96" /> 1657 <enum name="KEYCODE_BUTTON_B" value="97" /> 1658 <enum name="KEYCODE_BUTTON_C" value="98" /> 1659 <enum name="KEYCODE_BUTTON_X" value="99" /> 1660 <enum name="KEYCODE_BUTTON_Y" value="100" /> 1661 <enum name="KEYCODE_BUTTON_Z" value="101" /> 1662 <enum name="KEYCODE_BUTTON_L1" value="102" /> 1663 <enum name="KEYCODE_BUTTON_R1" value="103" /> 1664 <enum name="KEYCODE_BUTTON_L2" value="104" /> 1665 <enum name="KEYCODE_BUTTON_R2" value="105" /> 1666 <enum name="KEYCODE_BUTTON_THUMBL" value="106" /> 1667 <enum name="KEYCODE_BUTTON_THUMBR" value="107" /> 1668 <enum name="KEYCODE_BUTTON_START" value="108" /> 1669 <enum name="KEYCODE_BUTTON_SELECT" value="109" /> 1670 <enum name="KEYCODE_BUTTON_MODE" value="110" /> 1671 <enum name="KEYCODE_ESCAPE" value="111" /> 1672 <enum name="KEYCODE_FORWARD_DEL" value="112" /> 1673 <enum name="KEYCODE_CTRL_LEFT" value="113" /> 1674 <enum name="KEYCODE_CTRL_RIGHT" value="114" /> 1675 <enum name="KEYCODE_CAPS_LOCK" value="115" /> 1676 <enum name="KEYCODE_SCROLL_LOCK" value="116" /> 1677 <enum name="KEYCODE_META_LEFT" value="117" /> 1678 <enum name="KEYCODE_META_RIGHT" value="118" /> 1679 <enum name="KEYCODE_FUNCTION" value="119" /> 1680 <enum name="KEYCODE_SYSRQ" value="120" /> 1681 <enum name="KEYCODE_BREAK" value="121" /> 1682 <enum name="KEYCODE_MOVE_HOME" value="122" /> 1683 <enum name="KEYCODE_MOVE_END" value="123" /> 1684 <enum name="KEYCODE_INSERT" value="124" /> 1685 <enum name="KEYCODE_FORWARD" value="125" /> 1686 <enum name="KEYCODE_MEDIA_PLAY" value="126" /> 1687 <enum name="KEYCODE_MEDIA_PAUSE" value="127" /> 1688 <enum name="KEYCODE_MEDIA_CLOSE" value="128" /> 1689 <enum name="KEYCODE_MEDIA_EJECT" value="129" /> 1690 <enum name="KEYCODE_MEDIA_RECORD" value="130" /> 1691 <enum name="KEYCODE_F1" value="131" /> 1692 <enum name="KEYCODE_F2" value="132" /> 1693 <enum name="KEYCODE_F3" value="133" /> 1694 <enum name="KEYCODE_F4" value="134" /> 1695 <enum name="KEYCODE_F5" value="135" /> 1696 <enum name="KEYCODE_F6" value="136" /> 1697 <enum name="KEYCODE_F7" value="137" /> 1698 <enum name="KEYCODE_F8" value="138" /> 1699 <enum name="KEYCODE_F9" value="139" /> 1700 <enum name="KEYCODE_F10" value="140" /> 1701 <enum name="KEYCODE_F11" value="141" /> 1702 <enum name="KEYCODE_F12" value="142" /> 1703 <enum name="KEYCODE_NUM_LOCK" value="143" /> 1704 <enum name="KEYCODE_NUMPAD_0" value="144" /> 1705 <enum name="KEYCODE_NUMPAD_1" value="145" /> 1706 <enum name="KEYCODE_NUMPAD_2" value="146" /> 1707 <enum name="KEYCODE_NUMPAD_3" value="147" /> 1708 <enum name="KEYCODE_NUMPAD_4" value="148" /> 1709 <enum name="KEYCODE_NUMPAD_5" value="149" /> 1710 <enum name="KEYCODE_NUMPAD_6" value="150" /> 1711 <enum name="KEYCODE_NUMPAD_7" value="151" /> 1712 <enum name="KEYCODE_NUMPAD_8" value="152" /> 1713 <enum name="KEYCODE_NUMPAD_9" value="153" /> 1714 <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" /> 1715 <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" /> 1716 <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" /> 1717 <enum name="KEYCODE_NUMPAD_ADD" value="157" /> 1718 <enum name="KEYCODE_NUMPAD_DOT" value="158" /> 1719 <enum name="KEYCODE_NUMPAD_COMMA" value="159" /> 1720 <enum name="KEYCODE_NUMPAD_ENTER" value="160" /> 1721 <enum name="KEYCODE_NUMPAD_EQUALS" value="161" /> 1722 <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" /> 1723 <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" /> 1724 <enum name="KEYCODE_VOLUME_MUTE" value="164" /> 1725 <enum name="KEYCODE_INFO" value="165" /> 1726 <enum name="KEYCODE_CHANNEL_UP" value="166" /> 1727 <enum name="KEYCODE_CHANNEL_DOWN" value="167" /> 1728 <enum name="KEYCODE_ZOOM_IN" value="168" /> 1729 <enum name="KEYCODE_ZOOM_OUT" value="169" /> 1730 <enum name="KEYCODE_TV" value="170" /> 1731 <enum name="KEYCODE_WINDOW" value="171" /> 1732 <enum name="KEYCODE_GUIDE" value="172" /> 1733 <enum name="KEYCODE_DVR" value="173" /> 1734 <enum name="KEYCODE_BOOKMARK" value="174" /> 1735 <enum name="KEYCODE_CAPTIONS" value="175" /> 1736 <enum name="KEYCODE_SETTINGS" value="176" /> 1737 <enum name="KEYCODE_TV_POWER" value="177" /> 1738 <enum name="KEYCODE_TV_INPUT" value="178" /> 1739 <enum name="KEYCODE_STB_POWER" value="179" /> 1740 <enum name="KEYCODE_STB_INPUT" value="180" /> 1741 <enum name="KEYCODE_AVR_POWER" value="181" /> 1742 <enum name="KEYCODE_AVR_INPUT" value="182" /> 1743 <enum name="KEYCODE_PROG_GRED" value="183" /> 1744 <enum name="KEYCODE_PROG_GREEN" value="184" /> 1745 <enum name="KEYCODE_PROG_YELLOW" value="185" /> 1746 <enum name="KEYCODE_PROG_BLUE" value="186" /> 1747 <enum name="KEYCODE_APP_SWITCH" value="187" /> 1748 <enum name="KEYCODE_BUTTON_1" value="188" /> 1749 <enum name="KEYCODE_BUTTON_2" value="189" /> 1750 <enum name="KEYCODE_BUTTON_3" value="190" /> 1751 <enum name="KEYCODE_BUTTON_4" value="191" /> 1752 <enum name="KEYCODE_BUTTON_5" value="192" /> 1753 <enum name="KEYCODE_BUTTON_6" value="193" /> 1754 <enum name="KEYCODE_BUTTON_7" value="194" /> 1755 <enum name="KEYCODE_BUTTON_8" value="195" /> 1756 <enum name="KEYCODE_BUTTON_9" value="196" /> 1757 <enum name="KEYCODE_BUTTON_10" value="197" /> 1758 <enum name="KEYCODE_BUTTON_11" value="198" /> 1759 <enum name="KEYCODE_BUTTON_12" value="199" /> 1760 <enum name="KEYCODE_BUTTON_13" value="200" /> 1761 <enum name="KEYCODE_BUTTON_14" value="201" /> 1762 <enum name="KEYCODE_BUTTON_15" value="202" /> 1763 <enum name="KEYCODE_BUTTON_16" value="203" /> 1764 <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" /> 1765 <enum name="KEYCODE_MANNER_MODE" value="205" /> 1766 <enum name="KEYCODE_3D_MODE" value="206" /> 1767 <enum name="KEYCODE_CONTACTS" value="207" /> 1768 <enum name="KEYCODE_CALENDAR" value="208" /> 1769 <enum name="KEYCODE_MUSIC" value="209" /> 1770 <enum name="KEYCODE_CALCULATOR" value="210" /> 1771 <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" /> 1772 <enum name="KEYCODE_EISU" value="212" /> 1773 <enum name="KEYCODE_MUHENKAN" value="213" /> 1774 <enum name="KEYCODE_HENKAN" value="214" /> 1775 <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" /> 1776 <enum name="KEYCODE_YEN" value="216" /> 1777 <enum name="KEYCODE_RO" value="217" /> 1778 <enum name="KEYCODE_KANA" value="218" /> 1779 <enum name="KEYCODE_ASSIST" value="219" /> 1780 <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" /> 1781 <enum name="KEYCODE_BRIGHTNESS_UP" value="221" /> 1782 <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" /> 1783 <enum name="KEYCODE_MEDIA_SLEEP" value="223" /> 1784 <enum name="KEYCODE_MEDIA_WAKEUP" value="224" /> 1785 <enum name="KEYCODE_PAIRING" value="225" /> 1786 <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" /> 1787 <enum name="KEYCODE_11" value="227" /> 1788 <enum name="KEYCODE_12" value="228" /> 1789 <enum name="KEYCODE_LAST_CHANNEL" value="229" /> 1790 <enum name="KEYCODE_TV_DATA_SERVICE" value="230" /> 1791 <enum name="KEYCODE_VOICE_ASSIST" value="231" /> 1792 <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" /> 1793 <enum name="KEYCODE_TV_TELETEXT" value="233" /> 1794 <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" /> 1795 <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" /> 1796 <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" /> 1797 <enum name="KEYCODE_TV_SATELLITE" value="237" /> 1798 <enum name="KEYCODE_TV_SATELLITE_BS" value="238" /> 1799 <enum name="KEYCODE_TV_SATELLITE_CS" value="239" /> 1800 <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" /> 1801 <enum name="KEYCODE_TV_NETWORK" value="241" /> 1802 <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" /> 1803 <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" /> 1804 <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" /> 1805 <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" /> 1806 <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" /> 1807 <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" /> 1808 <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" /> 1809 <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" /> 1810 <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" /> 1811 <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" /> 1812 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" /> 1813 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" /> 1814 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" /> 1815 <enum name="KEYCODE_TV_ZOOM_MODE" value="255" /> 1816 <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" /> 1817 <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" /> 1818 <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" /> 1819 <enum name="KEYCODE_HELP" value="259" /> 1820 <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" /> 1821 <enum name="KEYCODE_NAVIGATE_NEXT" value="261" /> 1822 <enum name="KEYCODE_NAVIGATE_IN" value="262" /> 1823 <enum name="KEYCODE_NAVIGATE_OUT" value="263" /> 1824 <enum name="KEYCODE_STEM_PRIMARY" value="264" /> 1825 <enum name="KEYCODE_STEM_1" value="265" /> 1826 <enum name="KEYCODE_STEM_2" value="266" /> 1827 <enum name="KEYCODE_STEM_3" value="267" /> 1828 <enum name="KEYCODE_DPAD_UP_LEFT" value="268" /> 1829 <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" /> 1830 <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" /> 1831 <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" /> 1832 <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" /> 1833 <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" /> 1834 <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" /> 1835 <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" /> 1836 <enum name="KEYCODE_SOFT_SLEEP" value="276" /> 1837 <enum name="KEYCODE_CUT" value="277" /> 1838 <enum name="KEYCODE_COPY" value="278" /> 1839 <enum name="KEYCODE_PASTE" value="279" /> 1840 <enum name="KEYCODE_SYSTEM_NAVIGATION_UP" value="280" /> 1841 <enum name="KEYCODE_SYSTEM_NAVIGATION_DOWN" value="281" /> 1842 <enum name="KEYCODE_SYSTEM_NAVIGATION_LEFT" value="282" /> 1843 <enum name="KEYCODE_SYSTEM_NAVIGATION_RIGHT" value="283" /> 1844 </attr> 1845 1846 <!-- ***************************************************************** --> 1847 <!-- These define collections of attributes that can are with classes. --> 1848 <!-- ***************************************************************** --> 1849 1850 <!-- ========================== --> 1851 <!-- Special attribute classes. --> 1852 <!-- ========================== --> 1853 <eat-comment /> 1854 1855 <!-- The set of attributes that describe a Windows's theme. --> 1856 <declare-styleable name="Window"> 1857 <attr name="windowBackground" /> 1858 <attr name="windowBackgroundFallback" /> 1859 <attr name="windowContentOverlay" /> 1860 <attr name="windowFrame" /> 1861 <attr name="windowNoTitle" /> 1862 <attr name="windowFullscreen" /> 1863 <attr name="windowOverscan" /> 1864 <attr name="windowIsFloating" /> 1865 <attr name="windowIsTranslucent" /> 1866 <attr name="windowShowWallpaper" /> 1867 <attr name="windowAnimationStyle" /> 1868 <attr name="windowSoftInputMode" /> 1869 <attr name="windowDisablePreview" /> 1870 <attr name="windowNoDisplay" /> 1871 <attr name="textColor" /> 1872 <attr name="backgroundDimEnabled" /> 1873 <attr name="backgroundDimAmount" /> 1874 <attr name="windowActionBar" /> 1875 <attr name="windowActionModeOverlay" /> 1876 <attr name="windowActionBarOverlay" /> 1877 <attr name="windowEnableSplitTouch" /> 1878 <attr name="windowCloseOnTouchOutside" /> 1879 <attr name="windowTranslucentStatus" /> 1880 <attr name="windowTranslucentNavigation" /> 1881 <attr name="windowSwipeToDismiss" /> 1882 <attr name="windowContentTransitions" /> 1883 <attr name="windowActivityTransitions" /> 1884 <attr name="windowContentTransitionManager" /> 1885 <attr name="windowActionBarFullscreenDecorLayout" /> 1886 1887 <!-- The minimum width the window is allowed to be, along the major 1888 axis of the screen. That is, when in landscape. Can be either 1889 an absolute dimension or a fraction of the screen size in that 1890 dimension. --> 1891 <attr name="windowMinWidthMajor" format="dimension|fraction" /> 1892 <!-- The minimum width the window is allowed to be, along the minor 1893 axis of the screen. That is, when in portrait. Can be either 1894 an absolute dimension or a fraction of the screen size in that 1895 dimension. --> 1896 <attr name="windowMinWidthMinor" format="dimension|fraction" /> 1897 1898 <!-- A fixed width for the window along the major axis of the screen, 1899 that is, when in landscape. Can be either an absolute dimension 1900 or a fraction of the screen size in that dimension. --> 1901 <attr name="windowFixedWidthMajor" format="dimension|fraction" /> 1902 <!-- A fixed height for the window along the minor axis of the screen, 1903 that is, when in landscape. Can be either an absolute dimension 1904 or a fraction of the screen size in that dimension. --> 1905 <attr name="windowFixedHeightMinor" format="dimension|fraction" /> 1906 1907 <!-- A fixed width for the window along the minor axis of the screen, 1908 that is, when in portrait. Can be either an absolute dimension 1909 or a fraction of the screen size in that dimension. --> 1910 <attr name="windowFixedWidthMinor" format="dimension|fraction" /> 1911 <!-- A fixed height for the window along the major axis of the screen, 1912 that is, when in portrait. Can be either an absolute dimension 1913 or a fraction of the screen size in that dimension. --> 1914 <attr name="windowFixedHeightMajor" format="dimension|fraction" /> 1915 <attr name="windowOutsetBottom" format="dimension" /> 1916 <!-- Reference to a Transition XML resource defining the desired Transition 1917 used to move Views into the initial Window's content Scene. Corresponds to 1918 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 1919 <attr name="windowEnterTransition"/> 1920 1921 <!-- Reference to a Transition XML resource defining the desired Transition 1922 used to move Views out of the scene when the Window is 1923 preparing to close. Corresponds to 1924 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 1925 <attr name="windowReturnTransition"/> 1926 1927 <!-- Reference to a Transition XML resource defining the desired Transition 1928 used to move Views out of the Window's content Scene when launching a new Activity. 1929 Corresponds to 1930 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 1931 <attr name="windowExitTransition"/> 1932 1933 <!-- Reference to a Transition XML resource defining the desired Transition 1934 used to move Views in to the scene when returning from a previously-started Activity. 1935 Corresponds to 1936 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 1937 <attr name="windowReenterTransition"/> 1938 1939 <!-- Reference to a Transition XML resource defining the desired Transition 1940 used to move shared elements transferred into the Window's initial content Scene. 1941 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 1942 android.transition.Transition)}. --> 1943 <attr name="windowSharedElementEnterTransition"/> 1944 1945 <!-- Reference to a Transition XML resource defining the desired Transition 1946 used to move shared elements transferred back to a calling Activity. 1947 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 1948 android.transition.Transition)}. --> 1949 <attr name="windowSharedElementReturnTransition"/> 1950 1951 <!-- Reference to a Transition XML resource defining the desired Transition 1952 used when starting a new Activity to move shared elements prior to transferring 1953 to the called Activity. 1954 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 1955 android.transition.Transition)}. --> 1956 <attr name="windowSharedElementExitTransition"/> 1957 1958 <!-- Reference to a Transition XML resource defining the desired Transition 1959 used for shared elements transferred back to a calling Activity. 1960 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 1961 android.transition.Transition)}. --> 1962 <attr name="windowSharedElementReenterTransition"/> 1963 1964 1965 <!-- Flag indicating whether this Window's transition should overlap with 1966 the exiting transition of the calling Activity. Corresponds to 1967 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> 1968 <attr name="windowAllowEnterTransitionOverlap"/> 1969 1970 <!-- Flag indicating whether this Window's transition should overlap with 1971 the exiting transition of the called Activity when the called Activity 1972 finishes. Corresponds to 1973 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. --> 1974 <attr name="windowAllowReturnTransitionOverlap"/> 1975 1976 <!-- Indicates whether or not shared elements should use an overlay 1977 during transitions. The default value is true. --> 1978 <attr name="windowSharedElementsUseOverlay"/> 1979 1980 <!-- Flag indicating whether this Window is responsible for drawing the background for the 1981 system bars. If true and the window is not floating, the system bars are drawn with a 1982 transparent background and the corresponding areas in this window are filled with the 1983 colors specified in {@link android.R.attr#statusBarColor} and 1984 {@link android.R.attr#navigationBarColor}. Corresponds to 1985 {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. --> 1986 <attr name="windowDrawsSystemBarBackgrounds" format="boolean" /> 1987 1988 <!-- The color for the status bar. If the color is not opaque, consider setting 1989 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 1990 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}. 1991 For this to take effect, the window must be drawing the system bar backgrounds with 1992 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 1993 have been requested to be translucent with 1994 {@link android.R.attr#windowTranslucentStatus}. 1995 Corresponds to {@link android.view.Window#setStatusBarColor(int)}. --> 1996 <attr name="statusBarColor" format="color" /> 1997 1998 <!-- The color for the navigation bar. If the color is not opaque, consider setting 1999 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 2000 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}. 2001 For this to take effect, the window must be drawing the system bar backgrounds with 2002 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 2003 have been requested to be translucent with 2004 {@link android.R.attr#windowTranslucentNavigation}. 2005 Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. --> 2006 <attr name="navigationBarColor" format="color" /> 2007 2008 <!-- The duration, in milliseconds, of the window background fade duration 2009 when transitioning into or away from an Activity when called with an 2010 Activity Transition. Corresponds to 2011 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 2012 <attr name="windowTransitionBackgroundFadeDuration" /> 2013 2014 <!-- Elevation to use for the window. --> 2015 <attr name="windowElevation" format="dimension" /> 2016 2017 <!-- Whether to clip window content to the outline of the window background. --> 2018 <attr name="windowClipToOutline" format="boolean" /> 2019 2020 <!-- If set, the status bar will be drawn such that it is compatible with a light 2021 status bar background. 2022 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2023 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2024 have been requested to be translucent with 2025 {@link android.R.attr#windowTranslucentStatus}. 2026 Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on 2027 the decor view. --> 2028 <attr name="windowLightStatusBar" format="boolean" /> 2029 </declare-styleable> 2030 2031 <!-- The set of attributes that describe a AlertDialog's theme. --> 2032 <declare-styleable name="AlertDialog"> 2033 <attr name="fullDark" format="reference|color" /> 2034 <attr name="topDark" format="reference|color" /> 2035 <attr name="centerDark" format="reference|color" /> 2036 <attr name="bottomDark" format="reference|color" /> 2037 <attr name="fullBright" format="reference|color" /> 2038 <attr name="topBright" format="reference|color" /> 2039 <attr name="centerBright" format="reference|color" /> 2040 <attr name="bottomBright" format="reference|color" /> 2041 <attr name="bottomMedium" format="reference|color" /> 2042 <attr name="centerMedium" format="reference|color" /> 2043 <attr name="layout" /> 2044 <attr name="buttonPanelSideLayout" format="reference" /> 2045 <attr name="listLayout" format="reference" /> 2046 <attr name="multiChoiceItemLayout" format="reference" /> 2047 <attr name="singleChoiceItemLayout" format="reference" /> 2048 <attr name="listItemLayout" format="reference" /> 2049 <attr name="progressLayout" format="reference" /> 2050 <attr name="horizontalProgressLayout" format="reference" /> 2051 <!-- @hide Not ready for public use. --> 2052 <attr name="showTitle" format="boolean" /> 2053 <!-- @hide Whether fullDark, etc. should use default values if null. --> 2054 <attr name="needsDefaultBackgrounds" format="boolean" /> 2055 <!-- @hide Workaround until we replace AlertController with custom layout. --> 2056 <attr name="controllerType"> 2057 <!-- The default controller. --> 2058 <enum name="normal" value="0" /> 2059 <!-- Controller for micro specific layout. --> 2060 <enum name="micro" value="1" /> 2061 </attr> 2062 <!-- @hide Offset when scrolling to a selection. --> 2063 <attr name="selectionScrollOffset" format="dimension" /> 2064 </declare-styleable> 2065 2066 <!-- @hide --> 2067 <declare-styleable name="ButtonBarLayout"> 2068 <!-- Whether to automatically stack the buttons when there is not 2069 enough space to lay them out side-by-side. --> 2070 <attr name="allowStacking" format="boolean" /> 2071 </declare-styleable> 2072 2073 <!-- Fragment animation class attributes. --> 2074 <declare-styleable name="FragmentAnimation"> 2075 <attr name="fragmentOpenEnterAnimation" format="reference" /> 2076 <attr name="fragmentOpenExitAnimation" format="reference" /> 2077 <attr name="fragmentCloseEnterAnimation" format="reference" /> 2078 <attr name="fragmentCloseExitAnimation" format="reference" /> 2079 <attr name="fragmentFadeEnterAnimation" format="reference" /> 2080 <attr name="fragmentFadeExitAnimation" format="reference" /> 2081 </declare-styleable> 2082 2083 <!-- Window animation class attributes. --> 2084 <declare-styleable name="WindowAnimation"> 2085 <!-- The animation used when a window is being added. --> 2086 <attr name="windowEnterAnimation" format="reference" /> 2087 <!-- The animation used when a window is being removed. --> 2088 <attr name="windowExitAnimation" format="reference" /> 2089 <!-- The animation used when a window is going from INVISIBLE to VISIBLE. --> 2090 <attr name="windowShowAnimation" format="reference" /> 2091 <!-- The animation used when a window is going from VISIBLE to INVISIBLE. --> 2092 <attr name="windowHideAnimation" format="reference" /> 2093 2094 <!-- When opening a new activity, this is the animation that is 2095 run on the next activity (which is entering the screen). --> 2096 <attr name="activityOpenEnterAnimation" format="reference" /> 2097 <!-- When opening a new activity, this is the animation that is 2098 run on the previous activity (which is exiting the screen). --> 2099 <attr name="activityOpenExitAnimation" format="reference" /> 2100 <!-- When closing the current activity, this is the animation that is 2101 run on the next activity (which is entering the screen). --> 2102 <attr name="activityCloseEnterAnimation" format="reference" /> 2103 <!-- When closing the current activity, this is the animation that is 2104 run on the current activity (which is exiting the screen). --> 2105 <attr name="activityCloseExitAnimation" format="reference" /> 2106 <!-- When opening an activity in a new task, this is the animation that is 2107 run on the activity of the new task (which is entering the screen). --> 2108 <attr name="taskOpenEnterAnimation" format="reference" /> 2109 <!-- When opening an activity in a new task, this is the animation that is 2110 run on the activity of the old task (which is exiting the screen). --> 2111 <attr name="taskOpenExitAnimation" format="reference" /> 2112 <!-- When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, 2113 this is the animation that is run on the activity of the new task (which is 2114 entering the screen and then leaving). --> 2115 <attr name="launchTaskBehindTargetAnimation" format="reference" /> 2116 <!-- When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, 2117 this is the animation that is run on the activity of the old task (which is 2118 already on the screen and then stays on). --> 2119 <attr name="launchTaskBehindSourceAnimation" format="reference" /> 2120 <!-- When closing the last activity of a task, this is the animation that is 2121 run on the activity of the next task (which is entering the screen). --> 2122 <attr name="taskCloseEnterAnimation" format="reference" /> 2123 <!-- When opening an activity in a new task, this is the animation that is 2124 run on the activity of the old task (which is exiting the screen). --> 2125 <attr name="taskCloseExitAnimation" format="reference" /> 2126 <!-- When bringing an existing task to the foreground, this is the 2127 animation that is run on the top activity of the task being brought 2128 to the foreground (which is entering the screen). --> 2129 <attr name="taskToFrontEnterAnimation" format="reference" /> 2130 <!-- When bringing an existing task to the foreground, this is the 2131 animation that is run on the current foreground activity 2132 (which is exiting the screen). --> 2133 <attr name="taskToFrontExitAnimation" format="reference" /> 2134 <!-- When sending the current task to the background, this is the 2135 animation that is run on the top activity of the task behind 2136 it (which is entering the screen). --> 2137 <attr name="taskToBackEnterAnimation" format="reference" /> 2138 <!-- When sending the current task to the background, this is the 2139 animation that is run on the top activity of the current task 2140 (which is exiting the screen). --> 2141 <attr name="taskToBackExitAnimation" format="reference" /> 2142 2143 <!-- When opening a new activity that shows the wallpaper, while 2144 currently not showing the wallpaper, this is the animation that 2145 is run on the new wallpaper activity (which is entering the screen). --> 2146 <attr name="wallpaperOpenEnterAnimation" format="reference" /> 2147 <!-- When opening a new activity that shows the wallpaper, while 2148 currently not showing the wallpaper, this is the animation that 2149 is run on the current activity (which is exiting the screen). --> 2150 <attr name="wallpaperOpenExitAnimation" format="reference" /> 2151 <!-- When opening a new activity that hides the wallpaper, while 2152 currently showing the wallpaper, this is the animation that 2153 is run on the new activity (which is entering the screen). --> 2154 <attr name="wallpaperCloseEnterAnimation" format="reference" /> 2155 <!-- When opening a new activity that hides the wallpaper, while 2156 currently showing the wallpaper, this is the animation that 2157 is run on the old wallpaper activity (which is exiting the screen). --> 2158 <attr name="wallpaperCloseExitAnimation" format="reference" /> 2159 2160 <!-- When opening a new activity that is on top of the wallpaper 2161 when the current activity is also on top of the wallpaper, 2162 this is the animation that is run on the new activity 2163 (which is entering the screen). The wallpaper remains 2164 static behind the animation. --> 2165 <attr name="wallpaperIntraOpenEnterAnimation" format="reference" /> 2166 <!-- When opening a new activity that is on top of the wallpaper 2167 when the current activity is also on top of the wallpaper, 2168 this is the animation that is run on the current activity 2169 (which is exiting the screen). The wallpaper remains 2170 static behind the animation. --> 2171 <attr name="wallpaperIntraOpenExitAnimation" format="reference" /> 2172 <!-- When closing a foreround activity that is on top of the wallpaper 2173 when the previous activity is also on top of the wallpaper, 2174 this is the animation that is run on the previous activity 2175 (which is entering the screen). The wallpaper remains 2176 static behind the animation. --> 2177 <attr name="wallpaperIntraCloseEnterAnimation" format="reference" /> 2178 <!-- When closing a foreround activity that is on top of the wallpaper 2179 when the previous activity is also on top of the wallpaper, 2180 this is the animation that is run on the current activity 2181 (which is exiting the screen). The wallpaper remains 2182 static behind the animation. --> 2183 <attr name="wallpaperIntraCloseExitAnimation" format="reference" /> 2184 2185 <!-- When opening a new activity from a RemoteViews, this is the 2186 animation that is run on the next activity (which is entering the 2187 screen). Requires config_overrideRemoteViewsActivityTransition to 2188 be true. --> 2189 <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" /> 2190 2191 </declare-styleable> 2192 2193 <!-- ============================= --> 2194 <!-- View package class attributes --> 2195 <!-- ============================= --> 2196 <eat-comment /> 2197 2198 <!-- Attributes that can be used with {@link android.view.View} or 2199 any of its subclasses. Also see {@link #ViewGroup_Layout} for 2200 attributes that are processed by the view's parent. --> 2201 <declare-styleable name="View"> 2202 <!-- Supply an identifier name for this view, to later retrieve it 2203 with {@link android.view.View#findViewById View.findViewById()} or 2204 {@link android.app.Activity#findViewById Activity.findViewById()}. 2205 This must be a 2206 resource reference; typically you set this using the 2207 <code>@+</code> syntax to create a new ID resources. 2208 For example: <code>android:id="@+id/my_id"</code> which 2209 allows you to later retrieve the view 2210 with <code>findViewById(R.id.my_id)</code>. --> 2211 <attr name="id" format="reference" /> 2212 2213 <!-- Supply a tag for this view containing a String, to be retrieved 2214 later with {@link android.view.View#getTag View.getTag()} or 2215 searched for with {@link android.view.View#findViewWithTag 2216 View.findViewWithTag()}. It is generally preferable to use 2217 IDs (through the android:id attribute) instead of tags because 2218 they are faster and allow for compile-time type checking. --> 2219 <attr name="tag" format="string" /> 2220 2221 <!-- The initial horizontal scroll offset, in pixels.--> 2222 <attr name="scrollX" format="dimension" /> 2223 2224 <!-- The initial vertical scroll offset, in pixels. --> 2225 <attr name="scrollY" format="dimension" /> 2226 2227 <!-- A drawable to use as the background. This can be either a reference 2228 to a full drawable resource (such as a PNG image, 9-patch, 2229 XML state list description, etc), or a solid color such as "#ff000000" 2230 (black). --> 2231 <attr name="background" format="reference|color" /> 2232 2233 <!-- Sets the padding, in pixels, of all four edges. Padding is defined as 2234 space between the edges of the view and the view's content. A views size 2235 will include it's padding. If a {@link android.R.attr#background} 2236 is provided, the padding will initially be set to that (0 if the 2237 drawable does not have padding). Explicitly setting a padding value 2238 will override the corresponding padding found in the background. --> 2239 <attr name="padding" format="dimension" /> 2240 <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. --> 2241 <attr name="paddingLeft" format="dimension" /> 2242 <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. --> 2243 <attr name="paddingTop" format="dimension" /> 2244 <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. --> 2245 <attr name="paddingRight" format="dimension" /> 2246 <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. --> 2247 <attr name="paddingBottom" format="dimension" /> 2248 <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. --> 2249 <attr name="paddingStart" format="dimension" /> 2250 <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. --> 2251 <attr name="paddingEnd" format="dimension" /> 2252 2253 <!-- Boolean that controls whether a view can take focus. By default the user can not 2254 move focus to a view; by setting this attribute to true the view is 2255 allowed to take focus. This value does not impact the behavior of 2256 directly calling {@link android.view.View#requestFocus}, which will 2257 always request focus regardless of this view. It only impacts where 2258 focus navigation will try to move focus. --> 2259 <attr name="focusable" format="boolean" /> 2260 2261 <!-- Boolean that controls whether a view can take focus while in touch mode. 2262 If this is true for a view, that view can gain focus when clicked on, and can keep 2263 focus if another view is clicked on that doesn't have this attribute set to true. --> 2264 <attr name="focusableInTouchMode" format="boolean" /> 2265 2266 <!-- Controls the initial visibility of the view. --> 2267 <attr name="visibility"> 2268 <!-- Visible on screen; the default value. --> 2269 <enum name="visible" value="0" /> 2270 <!-- Not displayed, but taken into account during layout (space is left for it). --> 2271 <enum name="invisible" value="1" /> 2272 <!-- Completely hidden, as if the view had not been added. --> 2273 <enum name="gone" value="2" /> 2274 </attr> 2275 2276 <!-- Boolean internal attribute to adjust view layout based on 2277 system windows such as the status bar. 2278 If true, adjusts the padding of this view to leave space for the system windows. 2279 Will only take effect if this view is in a non-embedded activity. --> 2280 <attr name="fitsSystemWindows" format="boolean" /> 2281 2282 <!-- Defines which scrollbars should be displayed on scrolling or not. --> 2283 <attr name="scrollbars"> 2284 <!-- No scrollbar is displayed. --> 2285 <flag name="none" value="0x00000000" /> 2286 <!-- Displays horizontal scrollbar only. --> 2287 <flag name="horizontal" value="0x00000100" /> 2288 <!-- Displays vertical scrollbar only. --> 2289 <flag name="vertical" value="0x00000200" /> 2290 </attr> 2291 2292 <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or 2293 inset. When inset, they add to the padding of the view. And the 2294 scrollbars can be drawn inside the padding area or on the edge of 2295 the view. For example, if a view has a background drawable and you 2296 want to draw the scrollbars inside the padding specified by the 2297 drawable, you can use insideOverlay or insideInset. If you want them 2298 to appear at the edge of the view, ignoring the padding, then you can 2299 use outsideOverlay or outsideInset.--> 2300 <attr name="scrollbarStyle"> 2301 <!-- Inside the padding and overlaid --> 2302 <enum name="insideOverlay" value="0x0" /> 2303 <!-- Inside the padding and inset --> 2304 <enum name="insideInset" value="0x01000000" /> 2305 <!-- Edge of the view and overlaid --> 2306 <enum name="outsideOverlay" value="0x02000000" /> 2307 <!-- Edge of the view and inset --> 2308 <enum name="outsideInset" value="0x03000000" /> 2309 </attr> 2310 2311 <!-- Set this if the view will serve as a scrolling container, meaning 2312 that it can be resized to shrink its overall window so that there 2313 will be space for an input method. If not set, the default 2314 value will be true if "scrollbars" has the vertical scrollbar 2315 set, else it will be false. --> 2316 <attr name="isScrollContainer" format="boolean" /> 2317 2318 <!-- Defines whether to fade out scrollbars when they are not in use. --> 2319 <attr name="fadeScrollbars" format="boolean" /> 2320 <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. --> 2321 <attr name="scrollbarFadeDuration" format="integer" /> 2322 <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. --> 2323 <attr name="scrollbarDefaultDelayBeforeFade" format="integer" /> 2324 <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. --> 2325 <attr name="scrollbarSize" format="dimension" /> 2326 <!-- Defines the horizontal scrollbar thumb drawable. --> 2327 <attr name="scrollbarThumbHorizontal" format="reference" /> 2328 <!-- Defines the vertical scrollbar thumb drawable. --> 2329 <attr name="scrollbarThumbVertical" format="reference" /> 2330 <!-- Defines the horizontal scrollbar track drawable. --> 2331 <attr name="scrollbarTrackHorizontal" format="reference" /> 2332 <!-- Defines the vertical scrollbar track drawable. --> 2333 <attr name="scrollbarTrackVertical" format="reference" /> 2334 <!-- Defines whether the horizontal scrollbar track should always be drawn. --> 2335 <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" /> 2336 <!-- Defines whether the vertical scrollbar track should always be drawn. --> 2337 <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" /> 2338 2339 <!-- This attribute is ignored in API level 14 2340 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}) and higher. 2341 Using fading edges may introduce noticeable performance 2342 degradations and should be used only when required by the application's 2343 visual design. To request fading edges with API level 14 and above, 2344 use the <code>android:requiresFadingEdge</code> attribute instead. --> 2345 <attr name="fadingEdge"> 2346 <!-- No edge is faded. --> 2347 <flag name="none" value="0x00000000" /> 2348 <!-- Fades horizontal edges only. --> 2349 <flag name="horizontal" value="0x00001000" /> 2350 <!-- Fades vertical edges only. --> 2351 <flag name="vertical" value="0x00002000" /> 2352 </attr> 2353 <!-- Defines which edges should be faded on scrolling. --> 2354 <attr name="requiresFadingEdge"> 2355 <!-- No edge is faded. --> 2356 <flag name="none" value="0x00000000" /> 2357 <!-- Fades horizontal edges only. --> 2358 <flag name="horizontal" value="0x00001000" /> 2359 <!-- Fades vertical edges only. --> 2360 <flag name="vertical" value="0x00002000" /> 2361 </attr> 2362 <!-- Defines the length of the fading edges. --> 2363 <attr name="fadingEdgeLength" format="dimension" /> 2364 2365 <!-- Defines the next view to give focus to when the next focus is 2366 {@link android.view.View#FOCUS_LEFT}. 2367 2368 If the reference refers to a view that does not exist or is part 2369 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2370 will result when the reference is accessed.--> 2371 <attr name="nextFocusLeft" format="reference"/> 2372 2373 <!-- Defines the next view to give focus to when the next focus is 2374 {@link android.view.View#FOCUS_RIGHT} 2375 2376 If the reference refers to a view that does not exist or is part 2377 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2378 will result when the reference is accessed.--> 2379 <attr name="nextFocusRight" format="reference"/> 2380 2381 <!-- Defines the next view to give focus to when the next focus is 2382 {@link android.view.View#FOCUS_UP} 2383 2384 If the reference refers to a view that does not exist or is part 2385 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2386 will result when the reference is accessed.--> 2387 <attr name="nextFocusUp" format="reference"/> 2388 2389 <!-- Defines the next view to give focus to when the next focus is 2390 {@link android.view.View#FOCUS_DOWN} 2391 2392 If the reference refers to a view that does not exist or is part 2393 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2394 will result when the reference is accessed.--> 2395 <attr name="nextFocusDown" format="reference"/> 2396 2397 <!-- Defines the next view to give focus to when the next focus is 2398 {@link android.view.View#FOCUS_FORWARD} 2399 2400 If the reference refers to a view that does not exist or is part 2401 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2402 will result when the reference is accessed.--> 2403 <attr name="nextFocusForward" format="reference"/> 2404 2405 <!-- Defines whether this view reacts to click events. --> 2406 <attr name="clickable" format="boolean" /> 2407 2408 <!-- Defines whether this view reacts to long click events. --> 2409 <attr name="longClickable" format="boolean" /> 2410 2411 <!-- Defines whether this view reacts to context click events. --> 2412 <attr name="contextClickable" format="boolean" /> 2413 2414 <!-- If false, no state will be saved for this view when it is being 2415 frozen. The default is true, allowing the view to be saved 2416 (however it also must have an ID assigned to it for its 2417 state to be saved). Setting this to false only disables the 2418 state for this view, not for its children which may still 2419 be saved. --> 2420 <attr name="saveEnabled" format="boolean" /> 2421 2422 <!-- Specifies whether to filter touches when the view's window is obscured by 2423 another visible window. When set to true, the view will not receive touches 2424 whenever a toast, dialog or other window appears above the view's window. 2425 Refer to the {@link android.view.View} security documentation for more details. --> 2426 <attr name="filterTouchesWhenObscured" format="boolean" /> 2427 2428 <!-- Defines the quality of translucent drawing caches. This property is used 2429 only when the drawing cache is enabled and translucent. The default value is auto. --> 2430 <attr name="drawingCacheQuality"> 2431 <!-- Lets the framework decide what quality level should be used 2432 for the drawing cache. --> 2433 <enum name="auto" value="0" /> 2434 <!-- Low quality. When set to low quality, the drawing cache uses a lower color 2435 depth, thus losing precision in rendering gradients, but uses less memory. --> 2436 <enum name="low" value="1" /> 2437 <!-- High quality. When set to high quality, the drawing cache uses a higher 2438 color depth but uses more memory. --> 2439 <enum name="high" value="2" /> 2440 </attr> 2441 2442 <!-- Controls whether the view's window should keep the screen on 2443 while visible. --> 2444 <attr name="keepScreenOn" format="boolean" /> 2445 2446 <!-- When this attribute is set to true, the view gets its drawable state 2447 (focused, pressed, etc.) from its direct parent rather than from itself. --> 2448 <attr name="duplicateParentState" format="boolean" /> 2449 2450 <!-- Defines the minimum height of the view. It is not guaranteed 2451 the view will be able to achieve this minimum height (for example, 2452 if its parent layout constrains it with less available height). --> 2453 <attr name="minHeight" /> 2454 2455 <!-- Defines the minimum width of the view. It is not guaranteed 2456 the view will be able to achieve this minimum width (for example, 2457 if its parent layout constrains it with less available width). --> 2458 <attr name="minWidth" /> 2459 2460 <!-- Boolean that controls whether a view should have sound effects 2461 enabled for events such as clicking and touching. --> 2462 <attr name="soundEffectsEnabled" format="boolean" /> 2463 2464 <!-- Boolean that controls whether a view should have haptic feedback 2465 enabled for events such as long presses. --> 2466 <attr name="hapticFeedbackEnabled" format="boolean" /> 2467 2468 <!-- Defines text that briefly describes content of the view. This property is used 2469 primarily for accessibility. Since some views do not have textual 2470 representation this attribute can be used for providing such. --> 2471 <attr name="contentDescription" format="string" localization="suggested" /> 2472 2473 <!-- Sets the id of a view before which this one is visited in accessibility traversal. 2474 A screen-reader must visit the content of this view before the content of the one 2475 it precedes. 2476 @see android.view.View#setAccessibilityTraversalBefore(int)} --> 2477 <attr name="accessibilityTraversalBefore" format="integer" /> 2478 2479 <!-- Sets the id of a view after which this one is visited in accessibility traversal. 2480 A screen-reader must visit the content of the other view before the content of 2481 this one. 2482 @see android.view.View#setAccessibilityTraversalAfter(int)} --> 2483 <attr name="accessibilityTraversalAfter" format="integer" /> 2484 2485 <!-- Name of the method in this View's context to invoke when the view is 2486 clicked. This name must correspond to a public method that takes 2487 exactly one parameter of type View. For instance, if you specify 2488 <code>android:onClick="sayHello"</code>, you must declare a 2489 <code>public void sayHello(View v)</code> method of your context 2490 (typically, your Activity). --> 2491 <attr name="onClick" format="string" /> 2492 2493 <!-- Defines over-scrolling behavior. This property is used only if the 2494 View is scrollable. Over-scrolling is the ability for the user to 2495 receive feedback when attempting to scroll beyond meaningful content. --> 2496 <attr name="overScrollMode"> 2497 <!-- Always show over-scroll effects, even if the content fits entirely 2498 within the available space. --> 2499 <enum name="always" value="0" /> 2500 <!-- Only show over-scroll effects if the content is large 2501 enough to meaningfully scroll. --> 2502 <enum name="ifContentScrolls" value="1" /> 2503 <!-- Never show over-scroll effects. --> 2504 <enum name="never" value="2" /> 2505 </attr> 2506 2507 <!-- alpha property of the view, as a value between 0 (completely transparent) and 1 2508 (completely opaque). --> 2509 <attr name="alpha" format="float" /> 2510 2511 <!-- base z depth of the view --> 2512 <attr name="elevation" format="dimension" /> 2513 2514 <!-- translation in x of the view. This value is added post-layout to the left 2515 property of the view, which is set by its layout. --> 2516 <attr name="translationX" format="dimension" /> 2517 2518 <!-- translation in y of the view. This value is added post-layout to the top 2519 property of the view, which is set by its layout. --> 2520 <attr name="translationY" format="dimension" /> 2521 2522 <!-- translation in z of the view. This value is added to its elevation. --> 2523 <attr name="translationZ" format="dimension" /> 2524 2525 <!-- x location of the pivot point around which the view will rotate and scale. 2526 This xml attribute sets the pivotX property of the View. --> 2527 <attr name="transformPivotX" format="dimension" /> 2528 2529 <!-- y location of the pivot point around which the view will rotate and scale. 2530 This xml attribute sets the pivotY property of the View. --> 2531 <attr name="transformPivotY" format="dimension" /> 2532 2533 <!-- rotation of the view, in degrees. --> 2534 <attr name="rotation" format="float" /> 2535 2536 <!-- rotation of the view around the x axis, in degrees. --> 2537 <attr name="rotationX" format="float" /> 2538 2539 <!-- rotation of the view around the y axis, in degrees. --> 2540 <attr name="rotationY" format="float" /> 2541 2542 <!-- scale of the view in the x direction. --> 2543 <attr name="scaleX" format="float" /> 2544 2545 <!-- scale of the view in the y direction. --> 2546 <attr name="scaleY" format="float" /> 2547 2548 <!-- Determines which side the vertical scroll bar should be placed on. --> 2549 <attr name="verticalScrollbarPosition"> 2550 <!-- Place the scroll bar wherever the system default determines. --> 2551 <enum name="defaultPosition" value="0" /> 2552 <!-- Place the scroll bar on the left. --> 2553 <enum name="left" value="1" /> 2554 <!-- Place the scroll bar on the right. --> 2555 <enum name="right" value="2" /> 2556 </attr> 2557 2558 <!-- Specifies the type of layer backing this view. The default value is none. 2559 Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)} 2560 for more information.--> 2561 <attr name="layerType"> 2562 <!-- Don't use a layer. --> 2563 <enum name="none" value="0" /> 2564 <!-- Use a software layer. Refer to 2565 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2566 more information. --> 2567 <enum name="software" value="1" /> 2568 <!-- Use a hardware layer. Refer to 2569 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2570 more information. --> 2571 <enum name="hardware" value="2" /> 2572 </attr> 2573 2574 <!-- Defines the direction of layout drawing. This typically is associated with writing 2575 direction of the language script used. The possible values are "ltr" for Left-to-Right, 2576 "rtl" for Right-to-Left, "locale", and "inherit" from parent view. If there is nothing 2577 to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction 2578 used in "en-US". The default for this attribute is "inherit". --> 2579 <attr name="layoutDirection"> 2580 <!-- Left-to-Right --> 2581 <enum name="ltr" value="0" /> 2582 <!-- Right-to-Left --> 2583 <enum name="rtl" value="1" /> 2584 <!-- Inherit from parent --> 2585 <enum name="inherit" value="2" /> 2586 <!-- Locale --> 2587 <enum name="locale" value="3" /> 2588 </attr> 2589 2590 <!-- Defines the direction of the text. --> 2591 <attr name="textDirection" format="integer"> 2592 <!-- Default --> 2593 <enum name="inherit" value="0" /> 2594 <!-- Default for the root view. The first strong directional character determines the 2595 paragraph direction. If there is no strong directional character, the paragraph 2596 direction is the view’s resolved layout direction. --> 2597 <enum name="firstStrong" value="1" /> 2598 <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise 2599 it is LTR if it contains any strong LTR characters. If there are neither, the 2600 paragraph direction is the view’s resolved layout direction. --> 2601 <enum name="anyRtl" value="2" /> 2602 <!-- The paragraph direction is left to right. --> 2603 <enum name="ltr" value="3" /> 2604 <!-- The paragraph direction is right to left. --> 2605 <enum name="rtl" value="4" /> 2606 <!-- The paragraph direction is coming from the system Locale. --> 2607 <enum name="locale" value="5" /> 2608 <!-- The first strong directional character determines the paragraph direction. If 2609 there is no strong directional character, the paragraph direction is LTR. --> 2610 <enum name="firstStrongLtr" value="6" /> 2611 <!-- The first strong directional character determines the paragraph direction. If 2612 there is no strong directional character, the paragraph direction is RTL. --> 2613 <enum name="firstStrongRtl" value="7" /> 2614 </attr> 2615 2616 <!-- Defines the alignment of the text. --> 2617 <attr name="textAlignment" format="integer"> 2618 <!-- Default --> 2619 <enum name="inherit" value="0" /> 2620 <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, 2621 ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s 2622 text direction --> 2623 <enum name="gravity" value="1" /> 2624 <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. --> 2625 <enum name="textStart" value="2" /> 2626 <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. --> 2627 <enum name="textEnd" value="3" /> 2628 <!-- Center the paragraph, e.g. ALIGN_CENTER. --> 2629 <enum name="center" value="4" /> 2630 <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved 2631 layoutDirection is LTR, and ALIGN_RIGHT otherwise. --> 2632 <enum name="viewStart" value="5" /> 2633 <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved 2634 layoutDirection is LTR, and ALIGN_LEFT otherwise --> 2635 <enum name="viewEnd" value="6" /> 2636 </attr> 2637 2638 <!-- Describes whether or not this view is important for accessibility. 2639 If it is important, the view fires accessibility events and is 2640 reported to accessibility services that query the screen. Note: 2641 While not recommended, an accessibility service may decide to 2642 ignore this attribute and operate on all views in the view tree. --> 2643 <attr name="importantForAccessibility" format="integer"> 2644 <!-- The system determines whether the view is important for accessibility - default 2645 (recommended). --> 2646 <enum name="auto" value="0" /> 2647 <!-- The view is important for accessibility. --> 2648 <enum name="yes" value="1" /> 2649 <!-- The view is not important for accessibility. --> 2650 <enum name="no" value="2" /> 2651 <!-- The view is not important for accessibility, nor are any of its descendant 2652 views. --> 2653 <enum name="noHideDescendants" value="4" /> 2654 </attr> 2655 2656 <!-- Indicates to accessibility services whether the user should be notified when 2657 this view changes. --> 2658 <attr name="accessibilityLiveRegion" format="integer"> 2659 <!-- Accessibility services should not announce changes to this view. --> 2660 <enum name="none" value="0" /> 2661 <!-- Accessibility services should announce changes to this view. --> 2662 <enum name="polite" value="1" /> 2663 <!-- Accessibility services should interrupt ongoing speech to immediately 2664 announce changes to this view. --> 2665 <enum name="assertive" value="2" /> 2666 </attr> 2667 2668 <!-- Specifies the id of a view for which this view serves as a label for 2669 accessibility purposes. For example, a TextView before an EditText in 2670 the UI usually specifies what infomation is contained in the EditText. 2671 Hence, the TextView is a label for the EditText. --> 2672 <attr name="labelFor" format="reference" /> 2673 2674 <!-- Specifies a theme override for a view. When a theme override is set, the 2675 view will be inflated using a {@link android.content.Context} themed with 2676 the specified resource. During XML inflation, any child views under the 2677 view with a theme override will inherit the themed context. --> 2678 <attr name="theme" /> 2679 2680 <!-- Names a View such that it can be identified for Transitions. Names should be 2681 unique in the View hierarchy. --> 2682 <attr name="transitionName" format="string" /> 2683 2684 <!-- Specifies that this view should permit nested scrolling within a compatible 2685 ancestor view. --> 2686 <attr name="nestedScrollingEnabled" format="boolean" /> 2687 2688 <!-- Sets the state-based animator for the View. --> 2689 <attr name="stateListAnimator" format="reference"/> 2690 2691 <!-- Tint to apply to the background. --> 2692 <attr name="backgroundTint" format="color" /> 2693 2694 <!-- Blending mode used to apply the background tint. --> 2695 <attr name="backgroundTintMode"> 2696 <!-- The tint is drawn on top of the drawable. 2697 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2698 <enum name="src_over" value="3" /> 2699 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2700 color channels are thrown out. [Sa * Da, Sc * Da] --> 2701 <enum name="src_in" value="5" /> 2702 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2703 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2704 <enum name="src_atop" value="9" /> 2705 <!-- Multiplies the color and alpha channels of the drawable with those of 2706 the tint. [Sa * Da, Sc * Dc] --> 2707 <enum name="multiply" value="14" /> 2708 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2709 <enum name="screen" value="15" /> 2710 <!-- Combines the tint and drawable color and alpha channels, clamping the 2711 result to valid color values. Saturate(S + D) --> 2712 <enum name="add" value="16" /> 2713 </attr> 2714 2715 <!-- ViewOutlineProvider used to determine the View's Outline. --> 2716 <attr name="outlineProvider"> 2717 <!-- Default, background drawable-driven outline. --> 2718 <enum name="background" value="0" /> 2719 <!-- No outline provider. --> 2720 <enum name="none" value="1" /> 2721 <!-- Generates an opaque outline for the bounds of the view. --> 2722 <enum name="bounds" value="2" /> 2723 <!-- Generates an opaque outline for the padded bounds of the view. --> 2724 <enum name="paddedBounds" value="3" /> 2725 </attr> 2726 2727 <!-- Defines the drawable to draw over the content. This can be used as an overlay. 2728 The foreground drawable participates in the padding of the content if the gravity 2729 is set to fill. --> 2730 <attr name="foreground" format="reference|color" /> 2731 <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults 2732 to fill. --> 2733 <attr name="foregroundGravity"> 2734 <!-- Push object to the top of its container, not changing its size. --> 2735 <flag name="top" value="0x30" /> 2736 <!-- Push object to the bottom of its container, not changing its size. --> 2737 <flag name="bottom" value="0x50" /> 2738 <!-- Push object to the left of its container, not changing its size. --> 2739 <flag name="left" value="0x03" /> 2740 <!-- Push object to the right of its container, not changing its size. --> 2741 <flag name="right" value="0x05" /> 2742 <!-- Place object in the vertical center of its container, not changing its size. --> 2743 <flag name="center_vertical" value="0x10" /> 2744 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 2745 <flag name="fill_vertical" value="0x70" /> 2746 <!-- Place object in the horizontal center of its container, not changing its size. --> 2747 <flag name="center_horizontal" value="0x01" /> 2748 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 2749 <flag name="fill_horizontal" value="0x07" /> 2750 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 2751 <flag name="center" value="0x11" /> 2752 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 2753 <flag name="fill" value="0x77" /> 2754 <!-- Additional option that can be set to have the top and/or bottom edges of 2755 the child clipped to its container's bounds. 2756 The clip will be based on the vertical gravity: a top gravity will clip the bottom 2757 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 2758 <flag name="clip_vertical" value="0x80" /> 2759 <!-- Additional option that can be set to have the left and/or right edges of 2760 the child clipped to its container's bounds. 2761 The clip will be based on the horizontal gravity: a left gravity will clip the right 2762 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 2763 <flag name="clip_horizontal" value="0x08" /> 2764 </attr> 2765 <!-- Defines whether the foreground drawable should be drawn inside the padding. 2766 This property is turned on by default. --> 2767 <attr name="foregroundInsidePadding" format="boolean" /> 2768 <!-- Tint to apply to the foreground. --> 2769 <attr name="foregroundTint" format="color" /> 2770 <!-- Blending mode used to apply the foreground tint. --> 2771 <attr name="foregroundTintMode"> 2772 <!-- The tint is drawn on top of the drawable. 2773 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2774 <enum name="src_over" value="3" /> 2775 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2776 color channels are thrown out. [Sa * Da, Sc * Da] --> 2777 <enum name="src_in" value="5" /> 2778 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2779 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2780 <enum name="src_atop" value="9" /> 2781 <!-- Multiplies the color and alpha channels of the drawable with those of 2782 the tint. [Sa * Da, Sc * Dc] --> 2783 <enum name="multiply" value="14" /> 2784 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2785 <enum name="screen" value="15" /> 2786 <!-- Combines the tint and drawable color and alpha channels, clamping the 2787 result to valid color values. Saturate(S + D) --> 2788 <enum name="add" value="16" /> 2789 </attr> 2790 2791 <!-- Defines which scroll indicators should be displayed when the view 2792 can be scrolled. Multiple values may be combined using logical OR, 2793 for example "top|bottom". --> 2794 <attr name="scrollIndicators"> 2795 <!-- No scroll indicators are displayed. --> 2796 <flag name="none" value="0x00" /> 2797 <!-- Displays top scroll indicator when view can be scrolled up. --> 2798 <flag name="top" value="0x01" /> 2799 <!-- Displays bottom scroll indicator when vew can be scrolled down. --> 2800 <flag name="bottom" value="0x02" /> 2801 <!-- Displays left scroll indicator when vew can be scrolled left. --> 2802 <flag name="left" value="0x04" /> 2803 <!-- Displays right scroll indicator when vew can be scrolled right. --> 2804 <flag name="right" value="0x08" /> 2805 <!-- Displays right scroll indicator when vew can be scrolled in the 2806 start direction. --> 2807 <flag name="start" value="0x10" /> 2808 <!-- Displays right scroll indicator when vew can be scrolled in the 2809 end direction. --> 2810 <flag name="end" value="0x20" /> 2811 </attr> 2812 2813 <attr name="pointerIcon"> 2814 <!-- Null icon, pointer becomes invisible. --> 2815 <enum name="none" value="0" /> 2816 <!-- The default icon of arrow pointer. --> 2817 <enum name="arrow" value="1000" /> 2818 <!-- Pointer icon indicating context-menu will appear. --> 2819 <enum name="context_menu" value="1001" /> 2820 <!-- Pointer icon of a hand with the index finger. --> 2821 <enum name="hand" value="1002" /> 2822 <!-- Pointer icon indicating help. --> 2823 <enum name="help" value="1003" /> 2824 <!-- Pointer icon indicating something is going on and waiting. --> 2825 <enum name="wait" value="1004" /> 2826 <!-- Pointer icon for cell and grid. --> 2827 <enum name="cell" value="1006" /> 2828 <!-- Pointer icon of crosshair, indicating to spot a location. --> 2829 <enum name="crosshair" value="1007" /> 2830 <!-- Pointer icon of I-beam, usually for text. --> 2831 <enum name="text" value="1008" /> 2832 <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. --> 2833 <enum name="vertical_text" value="1009" /> 2834 <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be 2835 created. --> 2836 <enum name="alias" value="1010" /> 2837 <!-- Pointer icon of 'copy', used for drag/drop. --> 2838 <enum name="copy" value="1011" /> 2839 <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the 2840 current location. --> 2841 <enum name="no_drop" value="1012" /> 2842 <!-- Pointer icon of four-way arrows, indicating scrolling all direction. --> 2843 <enum name="all_scroll" value="1013" /> 2844 <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. --> 2845 <enum name="horizontal_double_arrow" value="1014" /> 2846 <!-- Pointer icon of vertical double arrow, indicating vertical resize. --> 2847 <enum name="vertical_double_arrow" value="1015" /> 2848 <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left. 2849 Indicating freeform resize. --> 2850 <enum name="top_right_diagonal_double_arrow" value="1016" /> 2851 <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right. 2852 Indicating freeform resize. --> 2853 <enum name="top_left_diagonal_double_arrow" value="1017" /> 2854 <!-- Pointer icon indicating zoom-in. --> 2855 <enum name="zoom_in" value="1018" /> 2856 <!-- Pointer icon indicating zoom-out. --> 2857 <enum name="zoom_out" value="1019" /> 2858 <!-- Pointer icon of a hand sign to grab something. --> 2859 <enum name="grab" value="1020" /> 2860 <!-- Pointer icon of a hand sign while grabbing something. --> 2861 <enum name="grabbing" value="1021" /> 2862 </attr> 2863 2864 <!-- Whether this view has elements that may overlap when drawn. See 2865 {@link android.view.View#forceHasOverlappingRendering(boolean)}. --> 2866 <attr name="forceHasOverlappingRendering" format="boolean" /> 2867 2868 </declare-styleable> 2869 2870 <!-- Attributes that can be assigned to a tag for a particular View. --> 2871 <declare-styleable name="ViewTag"> 2872 <!-- Specifies the key identifying a tag. This must be a resource reference. --> 2873 <attr name="id" /> 2874 <!-- Specifies the value with which to tag the view. --> 2875 <attr name="value" /> 2876 </declare-styleable> 2877 2878 <!-- Attributes that can be assigned to an <include> tag. 2879 @hide --> 2880 <declare-styleable name="Include"> 2881 <attr name="id" /> 2882 <attr name="visibility" /> 2883 </declare-styleable> 2884 2885 <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any 2886 of its subclasses. Also see {@link #ViewGroup_Layout} for 2887 attributes that this class processes in its children. --> 2888 <declare-styleable name="ViewGroup"> 2889 <!-- Defines whether changes in layout (caused by adding and removing items) should 2890 cause a LayoutTransition to run. When this flag is set to true, a default 2891 LayoutTransition object will be set on the ViewGroup container and default 2892 animations will run when these layout changes occur.--> 2893 <attr name="animateLayoutChanges" format="boolean" /> 2894 <!-- Defines whether a child is limited to draw inside of its bounds or not. 2895 This is useful with animations that scale the size of the children to more 2896 than 100% for instance. In such a case, this property should be set to false 2897 to allow the children to draw outside of their bounds. The default value of 2898 this property is true. --> 2899 <attr name="clipChildren" format="boolean" /> 2900 <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any 2901 EdgeEffect to its padding, if padding is not zero. This property is set to true by 2902 default. --> 2903 <attr name="clipToPadding" format="boolean" /> 2904 <!-- Defines the layout animation to use the first time the ViewGroup is laid out. 2905 Layout animations can also be started manually after the first layout. --> 2906 <attr name="layoutAnimation" format="reference" /> 2907 <!-- Defines whether layout animations should create a drawing cache for their 2908 children. Enabling the animation cache consumes more memory and requires 2909 a longer initialization but provides better performance. The animation 2910 cache is enabled by default. --> 2911 <attr name="animationCache" format="boolean" /> 2912 <!-- Defines the persistence of the drawing cache. The drawing cache might be 2913 enabled by a ViewGroup for all its children in specific situations (for 2914 instance during a scrolling.) This property lets you persist the cache 2915 in memory after its initial usage. Persisting the cache consumes more 2916 memory but may prevent frequent garbage collection is the cache is created 2917 over and over again. By default the persistence is set to scrolling. --> 2918 <attr name="persistentDrawingCache"> 2919 <!-- The drawing cache is not persisted after use. --> 2920 <flag name="none" value="0x0" /> 2921 <!-- The drawing cache is persisted after a layout animation. --> 2922 <flag name="animation" value="0x1" /> 2923 <!-- The drawing cache is persisted after a scroll. --> 2924 <flag name="scrolling" value="0x2" /> 2925 <!-- The drawing cache is always persisted. --> 2926 <flag name="all" value="0x3" /> 2927 </attr> 2928 <!-- Defines whether the ViewGroup should always draw its children using their 2929 drawing cache or not. The default value is true. --> 2930 <attr name="alwaysDrawnWithCache" format="boolean" /> 2931 <!-- Sets whether this ViewGroup's drawable states also include 2932 its children's drawable states. This is used, for example, to 2933 make a group appear to be focused when its child EditText or button 2934 is focused. --> 2935 <attr name="addStatesFromChildren" format="boolean" /> 2936 2937 <!-- Defines the relationship between the ViewGroup and its descendants 2938 when looking for a View to take focus. --> 2939 <attr name="descendantFocusability"> 2940 <!-- The ViewGroup will get focus before any of its descendants. --> 2941 <enum name="beforeDescendants" value="0" /> 2942 <!-- The ViewGroup will get focus only if none of its descendants want it. --> 2943 <enum name="afterDescendants" value="1" /> 2944 <!-- The ViewGroup will block its descendants from receiving focus. --> 2945 <enum name="blocksDescendants" value="2" /> 2946 </attr> 2947 2948 <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. --> 2949 <attr name="touchscreenBlocksFocus" format="boolean" /> 2950 2951 <!-- Sets whether this ViewGroup should split MotionEvents 2952 to separate child views during touch event dispatch. 2953 If false (default), touch events will be dispatched to 2954 the child view where the first pointer went down until 2955 the last pointer goes up. 2956 If true, touch events may be dispatched to multiple children. 2957 MotionEvents for each pointer will be dispatched to the child 2958 view where the initial ACTION_DOWN event happened. 2959 See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)} 2960 for more information. --> 2961 <attr name="splitMotionEvents" format="boolean" /> 2962 2963 <!-- Defines the layout mode of this ViewGroup. --> 2964 <attr name="layoutMode"> 2965 <!-- Use the children's clip bounds when laying out this container. --> 2966 <enum name="clipBounds" value="0" /> 2967 <!-- Use the children's optical bounds when laying out this container. --> 2968 <enum name="opticalBounds" value="1" /> 2969 </attr> 2970 2971 <!-- Sets whether or not this ViewGroup should be treated as a single entity 2972 when doing an Activity transition. Typically, the elements inside a 2973 ViewGroup are each transitioned from the scene individually. The default 2974 for a ViewGroup is false unless it has a background. See 2975 {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity, 2976 android.view.View, String)} for more information. Corresponds to 2977 {@link android.view.ViewGroup#setTransitionGroup(boolean)}.--> 2978 <attr name="transitionGroup" format="boolean" /> 2979 </declare-styleable> 2980 2981 <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts 2982 inside your application at runtime. --> 2983 <declare-styleable name="ViewStub"> 2984 <!-- Supply an identifier name for this view. --> 2985 <attr name="id" /> 2986 <!-- Supply an identifier for the layout resource to inflate when the ViewStub 2987 becomes visible or when forced to do so. The layout resource must be a 2988 valid reference to a layout. --> 2989 <attr name="layout" format="reference" /> 2990 <!-- Overrides the id of the inflated View with this value. --> 2991 <attr name="inflatedId" format="reference" /> 2992 </declare-styleable> 2993 2994 <!-- ===================================== --> 2995 <!-- View package parent layout attributes --> 2996 <!-- ===================================== --> 2997 <eat-comment /> 2998 2999 <!-- This is the basic set of layout attributes that are common to all 3000 layout managers. These attributes are specified with the rest of 3001 a view's normal attributes (such as {@link android.R.attr#background}, 3002 but will be parsed by the view's parent and ignored by the child. 3003 <p>The values defined here correspond to the base layout attribute 3004 class {@link android.view.ViewGroup.LayoutParams}. --> 3005 <declare-styleable name="ViewGroup_Layout"> 3006 <!-- Specifies the basic width of the view. This is a required attribute 3007 for any view inside of a containing layout manager. Its value may 3008 be a dimension (such as "12dip") for a constant width or one of 3009 the special constants. --> 3010 <attr name="layout_width" format="dimension"> 3011 <!-- The view should be as big as its parent (minus padding). 3012 This constant is deprecated starting from API Level 8 and 3013 is replaced by {@code match_parent}. --> 3014 <enum name="fill_parent" value="-1" /> 3015 <!-- The view should be as big as its parent (minus padding). 3016 Introduced in API Level 8. --> 3017 <enum name="match_parent" value="-1" /> 3018 <!-- The view should be only big enough to enclose its content (plus padding). --> 3019 <enum name="wrap_content" value="-2" /> 3020 </attr> 3021 3022 <!-- Specifies the basic height of the view. This is a required attribute 3023 for any view inside of a containing layout manager. Its value may 3024 be a dimension (such as "12dip") for a constant height or one of 3025 the special constants. --> 3026 <attr name="layout_height" format="dimension"> 3027 <!-- The view should be as big as its parent (minus padding). 3028 This constant is deprecated starting from API Level 8 and 3029 is replaced by {@code match_parent}. --> 3030 <enum name="fill_parent" value="-1" /> 3031 <!-- The view should be as big as its parent (minus padding). 3032 Introduced in API Level 8. --> 3033 <enum name="match_parent" value="-1" /> 3034 <!-- The view should be only big enough to enclose its content (plus padding). --> 3035 <enum name="wrap_content" value="-2" /> 3036 </attr> 3037 </declare-styleable> 3038 3039 <!-- This is the basic set of layout attributes for layout managers that 3040 wish to place margins around their child views. 3041 These attributes are specified with the rest of 3042 a view's normal attributes (such as {@link android.R.attr#background}, 3043 but will be parsed by the view's parent and ignored by the child. 3044 <p>The values defined here correspond to the base layout attribute 3045 class {@link android.view.ViewGroup.MarginLayoutParams}. --> 3046 <declare-styleable name="ViewGroup_MarginLayout"> 3047 <attr name="layout_width" /> 3048 <attr name="layout_height" /> 3049 <!-- Specifies extra space on the left, top, right and bottom 3050 sides of this view. This space is outside this view's bounds. 3051 Margin values should be positive. --> 3052 <attr name="layout_margin" format="dimension" /> 3053 <!-- Specifies extra space on the left side of this view. 3054 This space is outside this view's bounds. 3055 Margin values should be positive. --> 3056 <attr name="layout_marginLeft" format="dimension" /> 3057 <!-- Specifies extra space on the top side of this view. 3058 This space is outside this view's bounds. 3059 Margin values should be positive.--> 3060 <attr name="layout_marginTop" format="dimension" /> 3061 <!-- Specifies extra space on the right side of this view. 3062 This space is outside this view's bounds. 3063 Margin values should be positive.--> 3064 <attr name="layout_marginRight" format="dimension" /> 3065 <!-- Specifies extra space on the bottom side of this view. 3066 This space is outside this view's bounds. 3067 Margin values should be positive.--> 3068 <attr name="layout_marginBottom" format="dimension" /> 3069 <!-- Specifies extra space on the start side of this view. 3070 This space is outside this view's bounds. 3071 Margin values should be positive.--> 3072 <attr name="layout_marginStart" format="dimension" /> 3073 <!-- Specifies extra space on the end side of this view. 3074 This space is outside this view's bounds. 3075 Margin values should be positive.--> 3076 <attr name="layout_marginEnd" format="dimension" /> 3077 </declare-styleable> 3078 3079 <!-- Use <code>input-method</code> as the root tag of the XML resource that 3080 describes an 3081 {@link android.view.inputmethod.InputMethod} service, which is 3082 referenced from its 3083 {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA} 3084 meta-data entry. Described here are the attributes that can be 3085 included in that tag. --> 3086 <declare-styleable name="InputMethod"> 3087 <!-- Component name of an activity that allows the user to modify 3088 the settings for this service. --> 3089 <attr name="settingsActivity" format="string" /> 3090 <!-- Set to true in all of the configurations for which this input 3091 method should be considered an option as the default. --> 3092 <attr name="isDefault" format="boolean" /> 3093 <!-- Set to true if this input method supports ways to switch to 3094 a next input method (e.g. a globe key.). When this is true and 3095 InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true, 3096 the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod() 3097 accordingly. 3098 <p> Note that the system determines the most appropriate next input method 3099 and subtype in order to provide the consistent user experience in switching 3100 between IMEs and subtypes. --> 3101 <attr name="supportsSwitchingToNextInputMethod" format="boolean" /> 3102 </declare-styleable> 3103 3104 <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...) 3105 and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows 3106 the system to call the specified subtype of the IME directly. --> 3107 <declare-styleable name="InputMethod_Subtype"> 3108 <!-- The name of the subtype. --> 3109 <attr name="label" /> 3110 <!-- The icon of the subtype. --> 3111 <attr name="icon" /> 3112 <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) 3113 and will be passed to the IME when the framework calls the IME 3114 with the subtype. This is also used by the framework to know the supported locales 3115 of the IME. --> 3116 <attr name="imeSubtypeLocale" format="string" /> 3117 <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this 3118 string will be passed to the IME when the framework calls the IME with the 3119 subtype. {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the 3120 value specified in this attribute. --> 3121 <attr name="imeSubtypeMode" format="string" /> 3122 <!-- Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the 3123 input method selection list in the settings app. 3124 InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it 3125 chooses a target subtype. --> 3126 <attr name="isAuxiliary" format="boolean" /> 3127 <!-- Set true when this subtype should be selected by default if no other subtypes are 3128 selected explicitly. Note that a subtype with this parameter being true will 3129 not be shown in the subtypes list. --> 3130 <attr name="overridesImplicitlyEnabledSubtype" format="boolean" /> 3131 <!-- The extra value of the subtype. This string can be any string and will be passed to 3132 the IME when the framework calls the IME with the subtype. --> 3133 <attr name="imeSubtypeExtraValue" format="string" /> 3134 <!-- The unique id for the subtype. The input method framework keeps track of enabled 3135 subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even 3136 if other attributes are different. If the ID is unspecified (by calling the other 3137 constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue, 3138 isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. --> 3139 <attr name="subtypeId" format="integer"/> 3140 <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII 3141 capable, it should guarantee that the user can input ASCII characters with 3142 this subtype. This is important because many password fields only allow 3143 ASCII-characters. --> 3144 <attr name="isAsciiCapable" format="boolean" /> 3145 <!-- The BCP-47 Language Tag of the subtype. This replaces 3146 {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}. --> 3147 <attr name="languageTag" format="string" /> 3148 </declare-styleable> 3149 3150 <!-- Use <code>spell-checker</code> as the root tag of the XML resource that 3151 describes an 3152 {@link android.service.textservice.SpellCheckerService} service, which is 3153 referenced from its 3154 {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA} 3155 meta-data entry. Described here are the attributes that can be 3156 included in that tag. --> 3157 <declare-styleable name="SpellChecker"> 3158 <!-- The name of the spell checker. --> 3159 <attr name="label" /> 3160 <!-- Component name of an activity that allows the user to modify 3161 the settings for this service. --> 3162 <attr name="settingsActivity"/> 3163 </declare-styleable> 3164 3165 <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) --> 3166 <declare-styleable name="SpellChecker_Subtype"> 3167 <!-- The name of the subtype. --> 3168 <attr name="label" /> 3169 <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) 3170 This is also used by the framework to know the supported locales 3171 of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()} 3172 returns the value specified in this attribute. --> 3173 <attr name="subtypeLocale" format="string" /> 3174 <!-- The extra value of the subtype. This string can be any string and will be passed to 3175 the SpellChecker. --> 3176 <attr name="subtypeExtraValue" format="string" /> 3177 <!-- The unique id for the subtype. The text service (spell checker) framework keeps track 3178 of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs 3179 will stay enabled even if other attributes are different. If the ID is unspecified or 3180 or explicitly specified to 0 in XML resources, 3181 {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue}) will be used instead. 3182 --> 3183 <attr name="subtypeId" /> 3184 <!-- The BCP-47 Language Tag of the subtype. This replaces 3185 {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}. --> 3186 <attr name="languageTag" /> 3187 </declare-styleable> 3188 3189 <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that 3190 describes an {@link android.accessibilityservice.AccessibilityService} service, 3191 which is referenced from its 3192 {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA} 3193 meta-data entry. --> 3194 <declare-styleable name="AccessibilityService"> 3195 <!-- The event types this serivce would like to receive as specified in 3196 {@link android.view.accessibility.AccessibilityEvent}. This setting 3197 can be changed at runtime by calling 3198 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3199 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3200 <attr name="accessibilityEventTypes"> 3201 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.--> 3202 <flag name="typeViewClicked" value="0x00000001" /> 3203 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. --> 3204 <flag name="typeViewLongClicked" value="0x00000002" /> 3205 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. --> 3206 <flag name="typeViewSelected" value="0x00000004" /> 3207 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. --> 3208 <flag name="typeViewFocused" value="0x00000008" /> 3209 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. --> 3210 <flag name="typeViewTextChanged" value="0x00000010" /> 3211 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. --> 3212 <flag name="typeWindowStateChanged" value="0x00000020" /> 3213 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. --> 3214 <flag name="typeNotificationStateChanged" value="0x00000040" /> 3215 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. --> 3216 <flag name="typeViewHoverEnter" value="0x00000080" /> 3217 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. --> 3218 <flag name="typeViewHoverExit" value="0x00000100" /> 3219 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. --> 3220 <flag name="typeTouchExplorationGestureStart" value="0x00000200" /> 3221 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. --> 3222 <flag name="typeTouchExplorationGestureEnd" value="0x00000400" /> 3223 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. --> 3224 <flag name="typeWindowContentChanged" value="0x00000800" /> 3225 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. --> 3226 <flag name="typeViewScrolled" value="0x000001000" /> 3227 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. --> 3228 <flag name="typeViewTextSelectionChanged" value="0x000002000" /> 3229 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. --> 3230 <flag name="typeAnnouncement" value="0x00004000" /> 3231 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. --> 3232 <flag name="typeViewAccessibilityFocused" value="0x00008000" /> 3233 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. --> 3234 <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" /> 3235 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. --> 3236 <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" /> 3237 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. --> 3238 <flag name="typeGestureDetectionStart" value="0x00040000" /> 3239 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. --> 3240 <flag name="typeGestureDetectionEnd" value="0x00080000" /> 3241 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. --> 3242 <flag name="typeTouchInteractionStart" value="0x00100000" /> 3243 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. --> 3244 <flag name="typeTouchInteractionEnd" value="0x00200000" /> 3245 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. --> 3246 <flag name="typeWindowsChanged" value="0x00400000" /> 3247 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. --> 3248 <flag name="typeContextClicked" value="0x00800000" /> 3249 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. --> 3250 <flag name="typeAssistReadingContext" value="0x01000000" /> 3251 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. --> 3252 <flag name="typeAllMask" value="0xffffffff" /> 3253 </attr> 3254 <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages). 3255 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3256 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3257 <attr name="packageNames" format="string" /> 3258 <!-- The feedback types this serivce provides as specified in 3259 {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting 3260 can be changed at runtime by calling 3261 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3262 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3263 <attr name="accessibilityFeedbackType"> 3264 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. --> 3265 <flag name="feedbackSpoken" value="0x00000001" /> 3266 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. --> 3267 <flag name="feedbackHaptic" value="0x00000002" /> 3268 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. --> 3269 <flag name="feedbackAudible" value="0x00000004" /> 3270 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. --> 3271 <flag name="feedbackVisual" value="0x00000008" /> 3272 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. --> 3273 <flag name="feedbackGeneric" value="0x00000010" /> 3274 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. --> 3275 <flag name="feedbackAllMask" value="0xffffffff" /> 3276 </attr> 3277 <!-- The minimal period in milliseconds between two accessibility events of the same type 3278 are sent to this serivce. This setting can be changed at runtime by calling 3279 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3280 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3281 <attr name="notificationTimeout" format="integer" /> 3282 <!-- Additional flags as specified in 3283 {@link android.accessibilityservice.AccessibilityServiceInfo}. 3284 This setting can be changed at runtime by calling 3285 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3286 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3287 <attr name="accessibilityFlags"> 3288 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} --> 3289 <flag name="flagDefault" value="0x00000001" /> 3290 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} --> 3291 <flag name="flagIncludeNotImportantViews" value="0x00000002" /> 3292 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} --> 3293 <flag name="flagRequestTouchExplorationMode" value="0x00000004" /> 3294 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} --> 3295 <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" /> 3296 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} --> 3297 <flag name="flagReportViewIds" value="0x00000010" /> 3298 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} --> 3299 <flag name="flagRequestFilterKeyEvents" value="0x00000020" /> 3300 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} --> 3301 <flag name="flagRetrieveInteractiveWindows" value="0x00000040" /> 3302 </attr> 3303 <!-- Component name of an activity that allows the user to modify 3304 the settings for this service. This setting cannot be changed at runtime. --> 3305 <attr name="settingsActivity" /> 3306 <!-- Attribute whether the accessibility service wants to be able to retrieve the 3307 active window content. This setting cannot be changed at runtime. --> 3308 <attr name="canRetrieveWindowContent" format="boolean" /> 3309 <!-- Attribute whether the accessibility service wants to be able to request touch 3310 exploration mode in which touched items are spoken aloud and the UI can be 3311 explored via gestures. 3312 <p> 3313 Required to allow setting the {@link android.accessibilityservice 3314 #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag. 3315 </p> 3316 --> 3317 <attr name="canRequestTouchExplorationMode" format="boolean" /> 3318 <!-- Attribute whether the accessibility service wants to be able to request enhanced 3319 web accessibility enhancements. For example, installing scripts to make app 3320 content more accessible. 3321 <p> 3322 Required to allow setting the {@link android.accessibilityservice 3323 #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag. 3324 </p> 3325 --> 3326 <attr name="canRequestEnhancedWebAccessibility" format="boolean" /> 3327 <!-- Attribute whether the accessibility service wants to be able to request to 3328 filter key events. 3329 <p> 3330 Required to allow setting the {@link android.accessibilityservice 3331 #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag. 3332 </p> 3333 --> 3334 <attr name="canRequestFilterKeyEvents" format="boolean" /> 3335 <!-- Attribute whether the accessibility service wants to be able to control 3336 display magnification. 3337 <p> 3338 Required to allow setting the {@link android.accessibilityservice 3339 #AccessibilityServiceInfo#FLAG_CAN_CONTROL_MAGNIFICATION} flag. 3340 </p> 3341 --> 3342 <attr name="canControlMagnification" format="boolean" /> 3343 <!-- Attribute whether the accessibility service wants to be able to perform gestures. 3344 <p> 3345 Required to allow setting the {@link android.accessibilityservice 3346 #AccessibilityServiceInfo#FLAG_CAN_PERFORM_GESTURES} flag. 3347 </p> 3348 --> 3349 <attr name="canPerformGestures" format="boolean" /> 3350 <!-- Short description of the accessibility service purpose or behavior.--> 3351 <attr name="description" /> 3352 </declare-styleable> 3353 3354 <!-- Use <code>print-service</code> as the root tag of the XML resource that 3355 describes an {@link android.printservice.PrintService} service, which is 3356 referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA} 3357 meta-data entry. --> 3358 <declare-styleable name="PrintService"> 3359 <!-- Fully qualified class name of an activity that allows the user to modify 3360 the settings for this service. --> 3361 <attr name="settingsActivity" /> 3362 <!-- Fully qualified class name of an activity that allows the user to manually 3363 add printers to this print service. --> 3364 <attr name="addPrintersActivity" format="string"/> 3365 <!-- Fully qualified class name of an activity with advanced print options 3366 specific to this print service. --> 3367 <attr name="advancedPrintOptionsActivity" format="string"/> 3368 <!-- The vendor name if this print service is vendor specific. --> 3369 <attr name="vendor" format="string"/> 3370 </declare-styleable> 3371 3372 <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that 3373 describes an {@link android.nfc.cardemulation.HostApduService} service, which 3374 is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA} 3375 entry. --> 3376 <declare-styleable name="HostApduService"> 3377 <!-- Short description of the functionality the service implements. This attribute 3378 is mandatory.--> 3379 <attr name="description" /> 3380 <!-- Whether the device must be unlocked before routing data to this service. 3381 The default is false.--> 3382 <attr name="requireDeviceUnlock" format="boolean"/> 3383 <!-- A drawable that can be rendered in Android's system UI for representing 3384 the service. --> 3385 <attr name="apduServiceBanner" format="reference"/> 3386 <!-- Component name of an activity that allows the user to modify 3387 the settings for this service. --> 3388 <attr name="settingsActivity"/> 3389 </declare-styleable> 3390 3391 <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that 3392 describes an {@link android.nfc.cardemulation.OffHostApduService} 3393 service, which is referenced from its 3394 {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. --> 3395 <declare-styleable name="OffHostApduService"> 3396 <!-- Short description of the functionality the service implements. This attribute 3397 is mandatory.--> 3398 <attr name="description" /> 3399 <!-- A drawable that can be rendered in Android's system UI for representing 3400 the service. --> 3401 <attr name="apduServiceBanner"/> 3402 <!-- Component name of an activity that allows the user to modify 3403 the settings for this service. --> 3404 <attr name="settingsActivity"/> 3405 </declare-styleable> 3406 3407 <!-- Specify one or more <code>aid-group</code> elements inside a 3408 <code>host-apdu-service</code> or <code>offhost-apdu-service</code> 3409 element to define a group of ISO7816 Application ID (AIDs) that 3410 your service can handle.--> 3411 <declare-styleable name="AidGroup"> 3412 <!-- Short description of what the AID group implements. This attribute is mandatory.--> 3413 <attr name="description" /> 3414 <!-- The category attribute will be used by the Android platform to present 3415 multiple applications that register ISO 7816 Application IDs (AIDs) in the 3416 same category uniformly. 3417 Additionally, when a category is specified, Android will ensure that either 3418 all AIDs in this group are routed to this application, or none at all. 3419 This attribute is optional.--> 3420 <attr name="category" format="string" /> 3421 </declare-styleable> 3422 3423 <!-- Specify one or more <code>aid-filter</code> elements inside a 3424 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3425 your service can handle. --> 3426 <declare-styleable name="AidFilter"> 3427 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3428 <attr name="name" /> 3429 </declare-styleable> 3430 3431 <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a 3432 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3433 prefix your service can handle. --> 3434 <declare-styleable name="AidPrefixFilter"> 3435 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3436 <attr name="name" /> 3437 </declare-styleable> 3438 3439 <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that 3440 describes an {@link android.nfc.cardemulation.HostNfcFService} service, which 3441 is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA} 3442 entry. --> 3443 <declare-styleable name="HostNfcFService"> 3444 <!-- Short description of the functionality the service implements. This attribute 3445 is mandatory.--> 3446 <attr name="description" /> 3447 </declare-styleable> 3448 3449 <!-- Specify one or more <code>system-code-filter</code> elements inside a 3450 <code>host-nfcf-service</code> element to specify a System Code 3451 your service can handle. --> 3452 <declare-styleable name="SystemCodeFilter"> 3453 <!-- The System Code. This attribute is mandatory. --> 3454 <attr name="name" /> 3455 </declare-styleable> 3456 3457 <!-- Specify one or more <code>nfcid2-filter</code> elements inside a 3458 <code>host-nfcf-service</code> element to specify a NFCID2 3459 your service can handle. --> 3460 <declare-styleable name="Nfcid2Filter"> 3461 <!-- The NFCID2. This attribute is mandatory. --> 3462 <attr name="name" /> 3463 </declare-styleable> 3464 3465 <declare-styleable name="ActionMenuItemView"> 3466 <attr name="minWidth" /> 3467 </declare-styleable> 3468 3469 <!-- =============================== --> 3470 <!-- Widget package class attributes --> 3471 <!-- =============================== --> 3472 <eat-comment /> 3473 3474 <declare-styleable name="AbsListView"> 3475 <!-- Drawable used to indicate the currently selected item in the list. --> 3476 <attr name="listSelector" format="color|reference" /> 3477 <!-- When set to true, the selector will be drawn over the selected item. 3478 Otherwise the selector is drawn behind the selected item. The default 3479 value is false. --> 3480 <attr name="drawSelectorOnTop" format="boolean" /> 3481 <!-- Used by ListView and GridView to stack their content from the bottom. --> 3482 <attr name="stackFromBottom" format="boolean" /> 3483 <!-- When set to true, the list uses a drawing cache during scrolling. 3484 This makes the rendering faster but uses more memory. The default 3485 value is true. --> 3486 <attr name="scrollingCache" format="boolean" /> 3487 <!-- When set to true, the list will filter results as the user types. The 3488 List's adapter must support the Filterable interface for this to work. --> 3489 <attr name="textFilterEnabled" format="boolean" /> 3490 <!-- Sets the transcript mode for the list. In transcript mode, the list 3491 scrolls to the bottom to make new items visible when they are added. --> 3492 <attr name="transcriptMode"> 3493 <!-- Disables transcript mode. This is the default value. --> 3494 <enum name="disabled" value="0"/> 3495 <!-- The list will automatically scroll to the bottom when 3496 a data set change notification is received and only if the last item is 3497 already visible on screen. --> 3498 <enum name="normal" value="1" /> 3499 <!-- The list will automatically scroll to the bottom, no matter what items 3500 are currently visible. --> 3501 <enum name="alwaysScroll" value="2" /> 3502 </attr> 3503 <!-- Indicates that this list will always be drawn on top of solid, single-color 3504 opaque background. This allows the list to optimize drawing. --> 3505 <attr name="cacheColorHint" format="color" /> 3506 <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through 3507 the list. --> 3508 <attr name="fastScrollEnabled" format="boolean" /> 3509 <!-- Specifies the style of the fast scroll decorations. --> 3510 <attr name="fastScrollStyle" format="reference" /> 3511 <!-- When set to true, the list will use a more refined calculation 3512 method based on the pixels height of the items visible on screen. This 3513 property is set to true by default but should be set to false if your adapter 3514 will display items of varying heights. When this property is set to true and 3515 your adapter displays items of varying heights, the scrollbar thumb will 3516 change size as the user scrolls through the list. When set to false, the list 3517 will use only the number of items in the adapter and the number of items visible 3518 on screen to determine the scrollbar's properties. --> 3519 <attr name="smoothScrollbar" format="boolean" /> 3520 <!-- Defines the choice behavior for the view. By default, lists do not have 3521 any choice behavior. By setting the choiceMode to singleChoice, the list 3522 allows up to one item to be in a chosen state. By setting the choiceMode to 3523 multipleChoice, the list allows any number of items to be chosen. 3524 Finally, by setting the choiceMode to multipleChoiceModal the list allows 3525 any number of items to be chosen in a special selection mode. 3526 The application will supply a 3527 {@link android.widget.AbsListView.MultiChoiceModeListener} using 3528 {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the 3529 selection mode. This uses the {@link android.view.ActionMode} API. --> 3530 <attr name="choiceMode"> 3531 <!-- Normal list that does not indicate choices. --> 3532 <enum name="none" value="0" /> 3533 <!-- The list allows up to one choice. --> 3534 <enum name="singleChoice" value="1" /> 3535 <!-- The list allows multiple choices. --> 3536 <enum name="multipleChoice" value="2" /> 3537 <!-- The list allows multiple choices in a custom selection mode. --> 3538 <enum name="multipleChoiceModal" value="3" /> 3539 </attr> 3540 3541 <!-- When set to true, the list will always show the fast scroll interface. 3542 This setting implies fastScrollEnabled. --> 3543 <attr name="fastScrollAlwaysVisible" format="boolean" /> 3544 </declare-styleable> 3545 <!-- @hide --> 3546 <declare-styleable name="RecycleListView"> 3547 <!-- Bottom padding to use when no buttons are present. --> 3548 <attr name="paddingBottomNoButtons" format="dimension" /> 3549 <!-- Top padding to use when no title is present. --> 3550 <attr name="paddingTopNoTitle" format="dimension" /> 3551 </declare-styleable> 3552 <declare-styleable name="AbsSpinner"> 3553 <!-- Reference to an array resource that will populate the Spinner. For static content, 3554 this is simpler than populating the Spinner programmatically. --> 3555 <attr name="entries" /> 3556 </declare-styleable> 3557 <declare-styleable name="AnalogClock"> 3558 <attr name="dial" format="reference"/> 3559 <attr name="hand_hour" format="reference"/> 3560 <attr name="hand_minute" format="reference"/> 3561 </declare-styleable> 3562 <declare-styleable name="Button"> 3563 </declare-styleable> 3564 <declare-styleable name="Chronometer"> 3565 <!-- Format string: if specified, the Chronometer will display this 3566 string, with the first "%s" replaced by the current timer value 3567 in "MM:SS" or "H:MM:SS" form. 3568 If no format string is specified, the Chronometer will simply display 3569 "MM:SS" or "H:MM:SS". --> 3570 <attr name="format" format="string" localization="suggested" /> 3571 <!-- Specifies whether this Chronometer counts down or counts up from the base. 3572 If not specified this is false and the Chronometer counts up. --> 3573 <attr name="countDown" format="boolean" /> 3574 </declare-styleable> 3575 <declare-styleable name="CompoundButton"> 3576 <!-- Indicates the initial checked state of this button. --> 3577 <attr name="checked" format="boolean" /> 3578 <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). --> 3579 <attr name="button" format="reference" /> 3580 <!-- Tint to apply to the button graphic. --> 3581 <attr name="buttonTint" format="color" /> 3582 <!-- Blending mode used to apply the button graphic tint. --> 3583 <attr name="buttonTintMode"> 3584 <!-- The tint is drawn on top of the drawable. 3585 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3586 <enum name="src_over" value="3" /> 3587 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3588 color channels are thrown out. [Sa * Da, Sc * Da] --> 3589 <enum name="src_in" value="5" /> 3590 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3591 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3592 <enum name="src_atop" value="9" /> 3593 <!-- Multiplies the color and alpha channels of the drawable with those of 3594 the tint. [Sa * Da, Sc * Dc] --> 3595 <enum name="multiply" value="14" /> 3596 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3597 <enum name="screen" value="15" /> 3598 <!-- Combines the tint and drawable color and alpha channels, clamping the 3599 result to valid color values. Saturate(S + D) --> 3600 <enum name="add" value="16" /> 3601 </attr> 3602 </declare-styleable> 3603 <declare-styleable name="CheckedTextView"> 3604 <!-- Indicates the initial checked state of this text. --> 3605 <attr name="checked" /> 3606 <!-- Drawable used for the check mark graphic. --> 3607 <attr name="checkMark" format="reference"/> 3608 <!-- Tint to apply to the check mark. --> 3609 <attr name="checkMarkTint" format="color" /> 3610 <!-- Blending mode used to apply the check mark tint. --> 3611 <attr name="checkMarkTintMode"> 3612 <!-- The tint is drawn on top of the drawable. 3613 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3614 <enum name="src_over" value="3" /> 3615 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3616 color channels are thrown out. [Sa * Da, Sc * Da] --> 3617 <enum name="src_in" value="5" /> 3618 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3619 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3620 <enum name="src_atop" value="9" /> 3621 <!-- Multiplies the color and alpha channels of the drawable with those of 3622 the tint. [Sa * Da, Sc * Dc] --> 3623 <enum name="multiply" value="14" /> 3624 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3625 <enum name="screen" value="15" /> 3626 <!-- Combines the tint and drawable color and alpha channels, clamping the 3627 result to valid color values. Saturate(S + D) --> 3628 <enum name="add" value="16" /> 3629 </attr> 3630 <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. --> 3631 <attr name="checkMarkGravity"> 3632 <!-- Push object to the left of its container, not changing its size. --> 3633 <flag name="left" value="0x03" /> 3634 <!-- Push object to the right of its container, not changing its size. --> 3635 <flag name="right" value="0x05" /> 3636 <!-- Push object to the beginning of its container, not changing its size. --> 3637 <flag name="start" value="0x00800003" /> 3638 <!-- Push object to the end of its container, not changing its size. --> 3639 <flag name="end" value="0x00800005" /> 3640 </attr> 3641 </declare-styleable> 3642 <declare-styleable name="EditText"> 3643 </declare-styleable> 3644 <declare-styleable name="FastScroll"> 3645 <!-- Drawable used for the scroll bar thumb. --> 3646 <attr name="thumbDrawable" format="reference" /> 3647 <!-- Minimum width of the thumb. --> 3648 <attr name="thumbMinWidth" format="dimension" /> 3649 <!-- Minimum height of the thumb. --> 3650 <attr name="thumbMinHeight" format="dimension" /> 3651 <!-- Drawable used for the scroll bar track. --> 3652 <attr name="trackDrawable" format="reference" /> 3653 <!-- Drawable used for the section header preview when right-aligned. --> 3654 <attr name="backgroundRight" format="reference" /> 3655 <!-- Drawable used for the section header preview when left-aligned. --> 3656 <attr name="backgroundLeft" format="reference" /> 3657 <!-- Position of section header preview. --> 3658 <attr name="position"> 3659 <!-- Floating at the top of the content. --> 3660 <enum name="floating" value="0" /> 3661 <!-- Pinned to the thumb, vertically centered with the middle of the thumb. --> 3662 <enum name="atThumb" value="1" /> 3663 <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. --> 3664 <enum name="aboveThumb" value="2" /> 3665 </attr> 3666 <attr name="textAppearance" /> 3667 <attr name="textColor" /> 3668 <attr name="textSize" /> 3669 <!-- Minimum width of the section header preview. --> 3670 <attr name="minWidth" /> 3671 <!-- Minimum height of the section header preview. --> 3672 <attr name="minHeight" /> 3673 <!-- Padding for the section header preview. --> 3674 <attr name="padding" /> 3675 <!-- Position of thumb in relation to the track. --> 3676 <attr name="thumbPosition"> 3677 <!-- The thumb's midpoint is anchored to the track. At its 3678 extremes, the thumb will extend half-way outside the 3679 track. --> 3680 <enum name="midpoint" value="0" /> 3681 <!-- The thumb is entirely inside the track. At its extremes, 3682 the thumb will be contained entirely within the track. --> 3683 <enum name="inside" value="1" /> 3684 </attr> 3685 </declare-styleable> 3686 <declare-styleable name="FrameLayout"> 3687 <!-- Determines whether to measure all children or just those in 3688 the VISIBLE or INVISIBLE state when measuring. Defaults to false. --> 3689 <attr name="measureAllChildren" format="boolean" /> 3690 </declare-styleable> 3691 <declare-styleable name="ExpandableListView"> 3692 <!-- Indicator shown beside the group View. This can be a stateful Drawable. --> 3693 <attr name="groupIndicator" format="reference" /> 3694 <!-- Indicator shown beside the child View. This can be a stateful Drawable. --> 3695 <attr name="childIndicator" format="reference" /> 3696 <!-- The left bound for an item's indicator. To specify a left bound specific to children, 3697 use childIndicatorLeft. --> 3698 <attr name="indicatorLeft" format="dimension" /> 3699 <!-- The right bound for an item's indicator. To specify a right bound specific to children, 3700 use childIndicatorRight. --> 3701 <attr name="indicatorRight" format="dimension" /> 3702 <!-- The left bound for a child's indicator. --> 3703 <attr name="childIndicatorLeft" format="dimension" /> 3704 <!-- The right bound for a child's indicator. --> 3705 <attr name="childIndicatorRight" format="dimension" /> 3706 <!-- Drawable or color that is used as a divider for children. (It will drawn 3707 below and above child items.) The height of this will be the same as 3708 the height of the normal list item divider. --> 3709 <attr name="childDivider" format="reference|color" /> 3710 <!-- The start bound for an item's indicator. To specify a start bound specific to children, 3711 use childIndicatorStart. --> 3712 <attr name="indicatorStart" format="dimension" /> 3713 <!-- The end bound for an item's indicator. To specify a right bound specific to children, 3714 use childIndicatorEnd. --> 3715 <attr name="indicatorEnd" format="dimension" /> 3716 <!-- The start bound for a child's indicator. --> 3717 <attr name="childIndicatorStart" format="dimension" /> 3718 <!-- The end bound for a child's indicator. --> 3719 <attr name="childIndicatorEnd" format="dimension" /> 3720 </declare-styleable> 3721 <declare-styleable name="Gallery"> 3722 <attr name="gravity" /> 3723 <!-- Sets how long a transition animation should run (in milliseconds) 3724 when layout has changed. Only relevant if animation is turned on. --> 3725 <attr name="animationDuration" format="integer" min="0" /> 3726 <attr name="spacing" format="dimension" /> 3727 <!-- Sets the alpha on the items that are not selected. --> 3728 <attr name="unselectedAlpha" format="float" /> 3729 </declare-styleable> 3730 <declare-styleable name="GridView"> 3731 <!-- Defines the default horizontal spacing between columns. --> 3732 <attr name="horizontalSpacing" format="dimension" /> 3733 <!-- Defines the default vertical spacing between rows. --> 3734 <attr name="verticalSpacing" format="dimension" /> 3735 <!-- Defines how columns should stretch to fill the available empty space, if any. --> 3736 <attr name="stretchMode"> 3737 <!-- Stretching is disabled. --> 3738 <enum name="none" value="0"/> 3739 <!-- The spacing between each column is stretched. --> 3740 <enum name="spacingWidth" value="1" /> 3741 <!-- Each column is stretched equally. --> 3742 <enum name="columnWidth" value="2" /> 3743 <!-- The spacing between each column is uniformly stretched.. --> 3744 <enum name="spacingWidthUniform" value="3" /> 3745 </attr> 3746 <!-- Specifies the fixed width for each column. --> 3747 <attr name="columnWidth" format="dimension" /> 3748 <!-- Defines how many columns to show. --> 3749 <attr name="numColumns" format="integer" min="0"> 3750 <!-- Display as many columns as possible to fill the available space. --> 3751 <enum name="auto_fit" value="-1" /> 3752 </attr> 3753 <!-- Specifies the gravity within each cell. --> 3754 <attr name="gravity" /> 3755 </declare-styleable> 3756 <declare-styleable name="ImageSwitcher"> 3757 </declare-styleable> 3758 <declare-styleable name="ImageView"> 3759 <!-- Sets a drawable as the content of this ImageView. --> 3760 <attr name="src" format="reference|color" /> 3761 <!-- Controls how the image should be resized or moved to match the size 3762 of this ImageView. See {@link android.widget.ImageView.ScaleType} --> 3763 <attr name="scaleType"> 3764 <!-- Scale using the image matrix when drawing. See 3765 {@link android.widget.ImageView#setImageMatrix(Matrix)}. --> 3766 <enum name="matrix" value="0" /> 3767 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. --> 3768 <enum name="fitXY" value="1" /> 3769 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. --> 3770 <enum name="fitStart" value="2" /> 3771 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. --> 3772 <enum name="fitCenter" value="3" /> 3773 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. --> 3774 <enum name="fitEnd" value="4" /> 3775 <!-- Center the image in the view, but perform no scaling. --> 3776 <enum name="center" value="5" /> 3777 <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions 3778 (width and height) of the image will be equal to or larger than the corresponding 3779 dimension of the view (minus padding). The image is then centered in the view. --> 3780 <enum name="centerCrop" value="6" /> 3781 <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both 3782 dimensions (width and height) of the image will be equal to or less than the 3783 corresponding dimension of the view (minus padding). The image is then centered in 3784 the view. --> 3785 <enum name="centerInside" value="7" /> 3786 </attr> 3787 <!-- Set this to true if you want the ImageView to adjust its bounds 3788 to preserve the aspect ratio of its drawable. --> 3789 <attr name="adjustViewBounds" format="boolean" /> 3790 <!-- An optional argument to supply a maximum width for this view. 3791 See {see android.widget.ImageView#setMaxWidth} for details. --> 3792 <attr name="maxWidth" format="dimension" /> 3793 <!-- An optional argument to supply a maximum height for this view. 3794 See {see android.widget.ImageView#setMaxHeight} for details. --> 3795 <attr name="maxHeight" format="dimension" /> 3796 <!-- The tinting color for the image. By default, the tint will blend using SRC_ATOP mode. 3797 Please note that for compatibility reasons, this is NOT consistent with the default 3798 SRC_IN tint mode used by {@link android.widget.ImageView#setImageTintList} and by 3799 similar tint attributes on other views. --> 3800 <attr name="tint" format="color" /> 3801 <!-- If true, the image view will be baseline aligned with based on its 3802 bottom edge. --> 3803 <attr name="baselineAlignBottom" format="boolean" /> 3804 <!-- If true, the image will be cropped to fit within its padding. --> 3805 <attr name="cropToPadding" format="boolean" /> 3806 <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline} 3807 for details --> 3808 <attr name="baseline" format="dimension" /> 3809 <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent 3810 to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). --> 3811 <attr name="drawableAlpha" format="integer" /> 3812 <!-- Blending mode used to apply the image tint. --> 3813 <attr name="tintMode" /> 3814 </declare-styleable> 3815 <declare-styleable name="ToggleButton"> 3816 <!-- The text for the button when it is checked. --> 3817 <attr name="textOn" format="string" /> 3818 <!-- The text for the button when it is not checked. --> 3819 <attr name="textOff" format="string" /> 3820 <!-- The alpha to apply to the indicator when disabled. --> 3821 <attr name="disabledAlpha" /> 3822 </declare-styleable> 3823 <declare-styleable name="RelativeLayout"> 3824 <attr name="gravity" /> 3825 <!-- Indicates what view should not be affected by gravity. --> 3826 <attr name="ignoreGravity" format="reference" /> 3827 </declare-styleable> 3828 <declare-styleable name="LinearLayout"> 3829 <!-- Should the layout be a column or a row? Use "horizontal" 3830 for a row, "vertical" for a column. The default is 3831 horizontal. --> 3832 <attr name="orientation" /> 3833 <attr name="gravity" /> 3834 <!-- When set to false, prevents the layout from aligning its children's 3835 baselines. This attribute is particularly useful when the children 3836 use different values for gravity. The default value is true. --> 3837 <attr name="baselineAligned" format="boolean" /> 3838 <!-- When a linear layout is part of another layout that is baseline 3839 aligned, it can specify which of its children to baseline align to 3840 (that is, which child TextView).--> 3841 <attr name="baselineAlignedChildIndex" format="integer" min="0"/> 3842 <!-- Defines the maximum weight sum. If unspecified, the sum is computed 3843 by adding the layout_weight of all of the children. This can be 3844 used for instance to give a single child 50% of the total available 3845 space by giving it a layout_weight of 0.5 and setting the weightSum 3846 to 1.0. --> 3847 <attr name="weightSum" format="float" /> 3848 <!-- When set to true, all children with a weight will be considered having 3849 the minimum size of the largest child. If false, all children are 3850 measured normally. --> 3851 <attr name="measureWithLargestChild" format="boolean" /> 3852 <!-- Drawable to use as a vertical divider between buttons. --> 3853 <attr name="divider" /> 3854 <!-- Setting for which dividers to show. --> 3855 <attr name="showDividers"> 3856 <flag name="none" value="0" /> 3857 <flag name="beginning" value="1" /> 3858 <flag name="middle" value="2" /> 3859 <flag name="end" value="4" /> 3860 </attr> 3861 <!-- Size of padding on either end of a divider. --> 3862 <attr name="dividerPadding" format="dimension" /> 3863 </declare-styleable> 3864 <declare-styleable name="GridLayout"> 3865 <!-- The orientation property is not used during layout. It is only used to 3866 allocate row and column parameters when they are not specified by its children's 3867 layout paramters. GridLayout works like LinearLayout in this case; 3868 putting all the components either in a single row or in a single column - 3869 depending on the value of this flag. In the horizontal case, a columnCount 3870 property may be additionally supplied to force new rows to be created when a 3871 row is full. The rowCount attribute may be used similarly in the vertical case. 3872 The default is horizontal. --> 3873 <attr name="orientation" /> 3874 <!-- The maxmimum number of rows to create when automatically positioning children. --> 3875 <attr name="rowCount" format="integer" /> 3876 <!-- The maxmimum number of columns to create when automatically positioning children. --> 3877 <attr name="columnCount" format="integer" /> 3878 <!-- When set to true, tells GridLayout to use default margins when none are specified 3879 in a view's layout parameters. 3880 The default value is false. 3881 See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.--> 3882 <attr name="useDefaultMargins" format="boolean" /> 3883 <!-- When set to alignMargins, causes alignment to take place between the outer 3884 boundary of a view, as defined by its margins. When set to alignBounds, 3885 causes alignment to take place between the edges of the view. 3886 The default is alignMargins. 3887 See {@link android.widget.GridLayout#setAlignmentMode(int)}.--> 3888 <attr name="alignmentMode" /> 3889 <!-- When set to true, forces row boundaries to appear in the same order 3890 as row indices. 3891 The default is true. 3892 See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.--> 3893 <attr name="rowOrderPreserved" format="boolean" /> 3894 <!-- When set to true, forces column boundaries to appear in the same order 3895 as column indices. 3896 The default is true. 3897 See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.--> 3898 <attr name="columnOrderPreserved" format="boolean" /> 3899 </declare-styleable> 3900 <declare-styleable name="ListView"> 3901 <!-- Reference to an array resource that will populate the ListView. For static content, 3902 this is simpler than populating the ListView programmatically. --> 3903 <attr name="entries" /> 3904 <!-- Drawable or color to draw between list items. --> 3905 <attr name="divider" format="reference|color" /> 3906 <!-- Height of the divider. Will use the intrinsic height of the divider if this 3907 is not specified. --> 3908 <attr name="dividerHeight" format="dimension" /> 3909 <!-- When set to false, the ListView will not draw the divider after each header view. 3910 The default value is true. --> 3911 <attr name="headerDividersEnabled" format="boolean" /> 3912 <!-- When set to false, the ListView will not draw the divider before each footer view. 3913 The default value is true. --> 3914 <attr name="footerDividersEnabled" format="boolean" /> 3915 <!-- Drawable to draw above list content. --> 3916 <attr name="overScrollHeader" format="reference|color" /> 3917 <!-- Drawable to draw below list content. --> 3918 <attr name="overScrollFooter" format="reference|color" /> 3919 </declare-styleable> 3920 <declare-styleable name="PreferenceFrameLayout"> 3921 <!-- Padding to use at the top of the prefs content. --> 3922 <attr name="borderTop" format="dimension" /> 3923 <!-- Padding to use at the bottom of the prefs content. --> 3924 <attr name="borderBottom" format="dimension" /> 3925 <!-- Padding to use at the left of the prefs content. --> 3926 <attr name="borderLeft" format="dimension" /> 3927 <!-- Padding to use at the right of the prefs content. --> 3928 <attr name="borderRight" format="dimension" /> 3929 </declare-styleable> 3930 <declare-styleable name="PreferenceFrameLayout_Layout"> 3931 <!-- Padding to use at the top of the prefs content. --> 3932 <attr name="layout_removeBorders" format="boolean" /> 3933 </declare-styleable> 3934 <declare-styleable name="MenuView"> 3935 <!-- Default appearance of menu item text. --> 3936 <attr name="itemTextAppearance" format="reference" /> 3937 <!-- Default horizontal divider between rows of menu items. --> 3938 <attr name="horizontalDivider" format="reference" /> 3939 <!-- Default vertical divider between menu items. --> 3940 <attr name="verticalDivider" format="reference" /> 3941 <!-- Default background for the menu header. --> 3942 <attr name="headerBackground" format="color|reference" /> 3943 <!-- Default background for each menu item. --> 3944 <attr name="itemBackground" format="color|reference" /> 3945 <!-- Default animations for the menu. --> 3946 <attr name="windowAnimationStyle" /> 3947 <!-- Default disabled icon alpha for each menu item that shows an icon. --> 3948 <attr name="itemIconDisabledAlpha" format="float" /> 3949 <!-- Whether space should be reserved in layout when an icon is missing. --> 3950 <attr name="preserveIconSpacing" format="boolean" /> 3951 <!-- Drawable for the arrow icon indicating a particular item is a submenu. --> 3952 <attr name="subMenuArrow" format="reference" /> 3953 </declare-styleable> 3954 <declare-styleable name="IconMenuView"> 3955 <!-- Defines the height of each row. --> 3956 <attr name="rowHeight" format="dimension" /> 3957 <!-- Defines the maximum number of rows displayed. --> 3958 <attr name="maxRows" format="integer" /> 3959 <!-- Defines the maximum number of items per row. --> 3960 <attr name="maxItemsPerRow" format="integer" /> 3961 <!-- Defines the maximum number of items to show. --> 3962 <attr name="maxItems" format="integer" /> 3963 <!-- 'More' icon. --> 3964 <attr name="moreIcon" format="reference" /> 3965 </declare-styleable> 3966 3967 <declare-styleable name="ProgressBar"> 3968 <!-- Defines the maximum value the progress can take. --> 3969 <attr name="max" format="integer" /> 3970 <!-- Defines the default progress value, between 0 and max. --> 3971 <attr name="progress" format="integer" /> 3972 <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between 3973 the primary progress and the background. It can be ideal for media scenarios such as 3974 showing the buffering progress while the default progress shows the play progress. --> 3975 <attr name="secondaryProgress" format="integer" /> 3976 <!-- Allows to enable the indeterminate mode. In this mode the progress 3977 bar plays an infinite looping animation. --> 3978 <attr name="indeterminate" format="boolean" /> 3979 <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). --> 3980 <attr name="indeterminateOnly" format="boolean" /> 3981 <!-- Drawable used for the indeterminate mode. --> 3982 <attr name="indeterminateDrawable" format="reference" /> 3983 <!-- Drawable used for the progress mode. --> 3984 <attr name="progressDrawable" format="reference" /> 3985 <!-- Duration of the indeterminate animation. --> 3986 <attr name="indeterminateDuration" format="integer" min="1" /> 3987 <!-- Defines how the indeterminate mode should behave when the progress 3988 reaches max. --> 3989 <attr name="indeterminateBehavior"> 3990 <!-- Progress starts over from 0. --> 3991 <enum name="repeat" value="1" /> 3992 <!-- Progress keeps the current value and goes back to 0. --> 3993 <enum name="cycle" value="2" /> 3994 </attr> 3995 <attr name="minWidth" format="dimension" /> 3996 <attr name="maxWidth" /> 3997 <attr name="minHeight" format="dimension" /> 3998 <attr name="maxHeight" /> 3999 <attr name="interpolator" format="reference" /> 4000 <!-- Timeout between frames of animation in milliseconds 4001 {@deprecated Not used by the framework.} --> 4002 <attr name="animationResolution" format="integer" /> 4003 <!-- Defines if the associated drawables need to be mirrored when in RTL mode. 4004 Default is false --> 4005 <attr name="mirrorForRtl" format="boolean" /> 4006 <!-- Tint to apply to the progress indicator. --> 4007 <attr name="progressTint" format="color" /> 4008 <!-- Blending mode used to apply the progress indicator tint. --> 4009 <attr name="progressTintMode"> 4010 <!-- The tint is drawn on top of the drawable. 4011 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4012 <enum name="src_over" value="3" /> 4013 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4014 color channels are thrown out. [Sa * Da, Sc * Da] --> 4015 <enum name="src_in" value="5" /> 4016 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4017 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4018 <enum name="src_atop" value="9" /> 4019 <!-- Multiplies the color and alpha channels of the drawable with those of 4020 the tint. [Sa * Da, Sc * Dc] --> 4021 <enum name="multiply" value="14" /> 4022 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4023 <enum name="screen" value="15" /> 4024 <!-- Combines the tint and drawable color and alpha channels, clamping the 4025 result to valid color values. Saturate(S + D) --> 4026 <enum name="add" value="16" /> 4027 </attr> 4028 <!-- Tint to apply to the progress indicator background. --> 4029 <attr name="progressBackgroundTint" format="color" /> 4030 <!-- Blending mode used to apply the progress indicator background tint. --> 4031 <attr name="progressBackgroundTintMode"> 4032 <!-- The tint is drawn on top of the drawable. 4033 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4034 <enum name="src_over" value="3" /> 4035 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4036 color channels are thrown out. [Sa * Da, Sc * Da] --> 4037 <enum name="src_in" value="5" /> 4038 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4039 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4040 <enum name="src_atop" value="9" /> 4041 <!-- Multiplies the color and alpha channels of the drawable with those of 4042 the tint. [Sa * Da, Sc * Dc] --> 4043 <enum name="multiply" value="14" /> 4044 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4045 <enum name="screen" value="15" /> 4046 <!-- Combines the tint and drawable color and alpha channels, clamping the 4047 result to valid color values. Saturate(S + D) --> 4048 <enum name="add" value="16" /> 4049 </attr> 4050 <!-- Tint to apply to the secondary progress indicator. --> 4051 <attr name="secondaryProgressTint" format="color" /> 4052 <!-- Blending mode used to apply the secondary progress indicator tint. --> 4053 <attr name="secondaryProgressTintMode"> 4054 <!-- The tint is drawn on top of the drawable. 4055 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4056 <enum name="src_over" value="3" /> 4057 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4058 color channels are thrown out. [Sa * Da, Sc * Da] --> 4059 <enum name="src_in" value="5" /> 4060 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4061 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4062 <enum name="src_atop" value="9" /> 4063 <!-- Multiplies the color and alpha channels of the drawable with those of 4064 the tint. [Sa * Da, Sc * Dc] --> 4065 <enum name="multiply" value="14" /> 4066 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4067 <enum name="screen" value="15" /> 4068 <!-- Combines the tint and drawable color and alpha channels, clamping the 4069 result to valid color values. Saturate(S + D) --> 4070 <enum name="add" value="16" /> 4071 </attr> 4072 <!-- Tint to apply to the indeterminate progress indicator. --> 4073 <attr name="indeterminateTint" format="color" /> 4074 <!-- Blending mode used to apply the indeterminate progress indicator tint. --> 4075 <attr name="indeterminateTintMode"> 4076 <!-- The tint is drawn on top of the drawable. 4077 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4078 <enum name="src_over" value="3" /> 4079 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4080 color channels are thrown out. [Sa * Da, Sc * Da] --> 4081 <enum name="src_in" value="5" /> 4082 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4083 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4084 <enum name="src_atop" value="9" /> 4085 <!-- Multiplies the color and alpha channels of the drawable with those of 4086 the tint. [Sa * Da, Sc * Dc] --> 4087 <enum name="multiply" value="14" /> 4088 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4089 <enum name="screen" value="15" /> 4090 <!-- Combines the tint and drawable color and alpha channels, clamping the 4091 result to valid color values. Saturate(S + D) --> 4092 <enum name="add" value="16" /> 4093 </attr> 4094 <!-- Tint to apply to the background. --> 4095 <attr name="backgroundTint" /> 4096 <!-- Blending mode used to apply the background tint. --> 4097 <attr name="backgroundTintMode" /> 4098 </declare-styleable> 4099 4100 <declare-styleable name="SeekBar"> 4101 <!-- Draws the thumb on a seekbar. --> 4102 <attr name="thumb" format="reference" /> 4103 <!-- An offset for the thumb that allows it to extend out of the range of the track. --> 4104 <attr name="thumbOffset" format="dimension" /> 4105 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 4106 <attr name="splitTrack" format="boolean" /> 4107 <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha 4108 when disabled. This is required for Holo and Gingerbread, but 4109 should always be false for Material and beyond. 4110 @hide Developers shouldn't need to change this. --> 4111 <attr name="useDisabledAlpha" format="boolean" /> 4112 <!-- Tint to apply to the thumb drawable. --> 4113 <attr name="thumbTint" format="color" /> 4114 <!-- Blending mode used to apply the thumb tint. --> 4115 <attr name="thumbTintMode"> 4116 <!-- The tint is drawn on top of the drawable. 4117 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4118 <enum name="src_over" value="3" /> 4119 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4120 color channels are thrown out. [Sa * Da, Sc * Da] --> 4121 <enum name="src_in" value="5" /> 4122 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4123 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4124 <enum name="src_atop" value="9" /> 4125 <!-- Multiplies the color and alpha channels of the drawable with those of 4126 the tint. [Sa * Da, Sc * Dc] --> 4127 <enum name="multiply" value="14" /> 4128 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4129 <enum name="screen" value="15" /> 4130 <!-- Combines the tint and drawable color and alpha channels, clamping the 4131 result to valid color values. Saturate(S + D) --> 4132 <enum name="add" value="16" /> 4133 </attr> 4134 <!-- Drawable displayed at each progress position on a seekbar. --> 4135 <attr name="tickMark" format="reference" /> 4136 <!-- Tint to apply to the tick mark drawable. --> 4137 <attr name="tickMarkTint" format="color" /> 4138 <!-- Blending mode used to apply the tick mark tint. --> 4139 <attr name="tickMarkTintMode"> 4140 <!-- The tint is drawn on top of the drawable. 4141 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4142 <enum name="src_over" value="3" /> 4143 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4144 color channels are thrown out. [Sa * Da, Sc * Da] --> 4145 <enum name="src_in" value="5" /> 4146 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4147 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4148 <enum name="src_atop" value="9" /> 4149 <!-- Multiplies the color and alpha channels of the drawable with those of 4150 the tint. [Sa * Da, Sc * Dc] --> 4151 <enum name="multiply" value="14" /> 4152 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4153 <enum name="screen" value="15" /> 4154 <!-- Combines the tint and drawable color and alpha channels, clamping the 4155 result to valid color values. Saturate(S + D) --> 4156 <enum name="add" value="16" /> 4157 </attr> 4158 </declare-styleable> 4159 4160 <declare-styleable name="StackView"> 4161 <!-- Color of the res-out outline. --> 4162 <attr name="resOutColor" format="color" /> 4163 <!-- Color of the outline of click feedback. --> 4164 <attr name="clickColor" format="color" /> 4165 </declare-styleable> 4166 4167 <declare-styleable name="RatingBar"> 4168 <!-- The number of stars (or rating items) to show. --> 4169 <attr name="numStars" format="integer" /> 4170 <!-- The rating to set by default. --> 4171 <attr name="rating" format="float" /> 4172 <!-- The step size of the rating. --> 4173 <attr name="stepSize" format="float" /> 4174 <!-- Whether this rating bar is an indicator (and non-changeable by the user). --> 4175 <attr name="isIndicator" format="boolean" /> 4176 </declare-styleable> 4177 4178 <declare-styleable name="RadioGroup"> 4179 <!-- The id of the child radio button that should be checked by default 4180 within this radio group. --> 4181 <attr name="checkedButton" format="integer" /> 4182 <!-- Should the radio group be a column or a row? Use "horizontal" 4183 for a row, "vertical" for a column. The default is 4184 vertical. --> 4185 <attr name="orientation" /> 4186 </declare-styleable> 4187 <declare-styleable name="TableLayout"> 4188 <!-- The zero-based index of the columns to stretch. The column indices 4189 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4190 indices are ignored. You can stretch all columns by using the 4191 value "*" instead. Note that a column can be marked stretchable 4192 and shrinkable at the same time. --> 4193 <attr name="stretchColumns" format="string" /> 4194 <!-- The zero-based index of the columns to shrink. The column indices 4195 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4196 indices are ignored. You can shrink all columns by using the 4197 value "*" instead. Note that a column can be marked stretchable 4198 and shrinkable at the same time. --> 4199 <attr name="shrinkColumns" format="string" /> 4200 <!-- The zero-based index of the columns to collapse. The column indices 4201 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4202 indices are ignored. --> 4203 <attr name="collapseColumns" format="string" /> 4204 </declare-styleable> 4205 <declare-styleable name="TableRow"> 4206 4207 </declare-styleable> 4208 <declare-styleable name="TableRow_Cell"> 4209 <!-- The index of the column in which this child should be. --> 4210 <attr name="layout_column" format="integer" /> 4211 <!-- Defines how many columns this child should span. Must be >= 1.--> 4212 <attr name="layout_span" format="integer" /> 4213 </declare-styleable> 4214 <declare-styleable name="TabWidget"> 4215 <!-- Drawable used to draw the divider between tabs. --> 4216 <attr name="divider" /> 4217 <!-- Determines whether the strip under the tab indicators is drawn or not. --> 4218 <attr name="tabStripEnabled" format="boolean" /> 4219 <!-- Drawable used to draw the left part of the strip underneath the tabs. --> 4220 <attr name="tabStripLeft" format="reference" /> 4221 <!-- Drawable used to draw the right part of the strip underneath the tabs. --> 4222 <attr name="tabStripRight" format="reference" /> 4223 <!-- Layout used to organize each tab's content. --> 4224 <attr name="tabLayout" format="reference" /> 4225 </declare-styleable> 4226 <declare-styleable name="TextAppearance"> 4227 <!-- Text color. --> 4228 <attr name="textColor" /> 4229 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4230 <attr name="textSize" /> 4231 <!-- Style (bold, italic, bolditalic) for the text. --> 4232 <attr name="textStyle" /> 4233 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4234 <attr name="typeface" /> 4235 <!-- Font family (named by string) for the text. --> 4236 <attr name="fontFamily" /> 4237 <!-- Color of the text selection highlight. --> 4238 <attr name="textColorHighlight" /> 4239 <!-- Color of the hint text. --> 4240 <attr name="textColorHint" /> 4241 <!-- Color of the links. --> 4242 <attr name="textColorLink" /> 4243 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4244 <attr name="textAllCaps" format="boolean" /> 4245 <!-- Place a blurred shadow of text underneath the text, drawn with the 4246 specified color. The text shadow produced does not interact with 4247 properties on View that are responsible for real time shadows, 4248 {@link android.R.styleable#View_elevation elevation} and 4249 {@link android.R.styleable#View_translationZ translationZ}. --> 4250 <attr name="shadowColor" format="color" /> 4251 <!-- Horizontal offset of the text shadow. --> 4252 <attr name="shadowDx" format="float" /> 4253 <!-- Vertical offset of the text shadow. --> 4254 <attr name="shadowDy" format="float" /> 4255 <!-- Blur radius of the text shadow. --> 4256 <attr name="shadowRadius" format="float" /> 4257 <!-- Elegant text height, especially for less compacted complex script text. --> 4258 <attr name="elegantTextHeight" format="boolean" /> 4259 <!-- Text letter-spacing. --> 4260 <attr name="letterSpacing" format="float" /> 4261 <!-- Font feature settings. --> 4262 <attr name="fontFeatureSettings" format="string" /> 4263 </declare-styleable> 4264 <declare-styleable name="TextClock"> 4265 <!-- Specifies the formatting pattern used to show the time and/or date 4266 in 12-hour mode. Please refer to {@link android.text.format.DateFormat} 4267 for a complete description of accepted formatting patterns. 4268 The default pattern is a locale-appropriate equivalent of "h:mm a". --> 4269 <attr name="format12Hour" format="string"/> 4270 <!-- Specifies the formatting pattern used to show the time and/or date 4271 in 24-hour mode. Please refer to {@link android.text.format.DateFormat} 4272 for a complete description of accepted formatting patterns. 4273 The default pattern is a locale-appropriate equivalent of "H:mm". --> 4274 <attr name="format24Hour" format="string"/> 4275 <!-- Specifies the time zone to use. When this attribute is specified, the 4276 TextClock will ignore the time zone of the system. To use the user's 4277 time zone, do not specify this attribute. The default value is the 4278 user's time zone. Please refer to {@link java.util.TimeZone} for more 4279 information about time zone ids. --> 4280 <attr name="timeZone" format="string"/> 4281 </declare-styleable> 4282 <declare-styleable name="TextSwitcher"> 4283 </declare-styleable> 4284 <declare-styleable name="TextView"> 4285 <!-- Determines the minimum type that getText() will return. 4286 The default is "normal". 4287 Note that EditText and LogTextBox always return Editable, 4288 even if you specify something less powerful here. --> 4289 <attr name="bufferType"> 4290 <!-- Can return any CharSequence, possibly a 4291 Spanned one if the source text was Spanned. --> 4292 <enum name="normal" value="0" /> 4293 <!-- Can only return Spannable. --> 4294 <enum name="spannable" value="1" /> 4295 <!-- Can only return Spannable and Editable. --> 4296 <enum name="editable" value="2" /> 4297 </attr> 4298 <!-- Text to display. --> 4299 <attr name="text" format="string" localization="suggested" /> 4300 <!-- Hint text to display when the text is empty. --> 4301 <attr name="hint" format="string" /> 4302 <!-- Text color. --> 4303 <attr name="textColor" /> 4304 <!-- Color of the text selection highlight. --> 4305 <attr name="textColorHighlight" /> 4306 <!-- Color of the hint text. --> 4307 <attr name="textColorHint" /> 4308 <!-- Base text color, typeface, size, and style. --> 4309 <attr name="textAppearance" /> 4310 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4311 <attr name="textSize" /> 4312 <!-- Sets the horizontal scaling factor for the text. --> 4313 <attr name="textScaleX" format="float" /> 4314 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4315 <attr name="typeface" /> 4316 <!-- Style (bold, italic, bolditalic) for the text. --> 4317 <attr name="textStyle" /> 4318 <!-- Font family (named by string) for the text. --> 4319 <attr name="fontFamily" /> 4320 <!-- Text color for links. --> 4321 <attr name="textColorLink" /> 4322 <!-- Makes the cursor visible (the default) or invisible. --> 4323 <attr name="cursorVisible" format="boolean" /> 4324 <!-- Makes the TextView be at most this many lines tall. 4325 4326 When used on an editable text, the <code>inputType</code> attribute's value must be 4327 combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. --> 4328 <attr name="maxLines" format="integer" min="0" /> 4329 <!-- Makes the TextView be at most this many pixels tall. --> 4330 <attr name="maxHeight" /> 4331 <!-- Makes the TextView be exactly this many lines tall. --> 4332 <attr name="lines" format="integer" min="0" /> 4333 <!-- Makes the TextView be exactly this many pixels tall. 4334 You could get the same effect by specifying this number in the 4335 layout parameters. --> 4336 <attr name="height" format="dimension" /> 4337 <!-- Makes the TextView be at least this many lines tall. 4338 4339 When used on an editable text, the <code>inputType</code> attribute's value must be 4340 combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. --> 4341 <attr name="minLines" format="integer" min="0" /> 4342 <!-- Makes the TextView be at least this many pixels tall. --> 4343 <attr name="minHeight" /> 4344 <!-- Makes the TextView be at most this many ems wide. --> 4345 <attr name="maxEms" format="integer" min="0" /> 4346 <!-- Makes the TextView be at most this many pixels wide. --> 4347 <attr name="maxWidth" /> 4348 <!-- Makes the TextView be exactly this many ems wide. --> 4349 <attr name="ems" format="integer" min="0" /> 4350 <!-- Makes the TextView be exactly this many pixels wide. 4351 You could get the same effect by specifying this number in the 4352 layout parameters. --> 4353 <attr name="width" format="dimension" /> 4354 <!-- Makes the TextView be at least this many ems wide. --> 4355 <attr name="minEms" format="integer" min="0" /> 4356 <!-- Makes the TextView be at least this many pixels wide. --> 4357 <attr name="minWidth" /> 4358 <!-- Specifies how to align the text by the view's x- and/or y-axis 4359 when the text is smaller than the view. --> 4360 <attr name="gravity" /> 4361 <!-- Whether the text is allowed to be wider than the view (and 4362 therefore can be scrolled horizontally). --> 4363 <attr name="scrollHorizontally" format="boolean" /> 4364 <!-- Whether the characters of the field are displayed as 4365 password dots instead of themselves. 4366 {@deprecated Use inputType instead.} --> 4367 <attr name="password" format="boolean" /> 4368 <!-- Constrains the text to a single horizontally scrolling line 4369 instead of letting it wrap onto multiple lines, and advances 4370 focus instead of inserting a newline when you press the 4371 enter key. 4372 4373 The default value is false (multi-line wrapped text mode) for non-editable text, but if 4374 you specify any value for inputType, the default is true (single-line input field mode). 4375 4376 {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change 4377 the layout of a static text, and use the <code>textMultiLine</code> flag in the 4378 inputType attribute instead for editable text views (if both singleLine and inputType 4379 are supplied, the inputType flags will override the value of singleLine). } --> 4380 <attr name="singleLine" format="boolean" /> 4381 <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. 4382 For example, a non-enabled EditText prevents the user from editing the contained text, and 4383 a non-enabled Button prevents the user from tapping the button. 4384 The appearance of enabled and non-enabled widgets may differ, if the drawables referenced 4385 from evaluating state_enabled differ. --> 4386 <attr name="enabled" format="boolean" /> 4387 <!-- If the text is selectable, select it all when the view takes 4388 focus. --> 4389 <attr name="selectAllOnFocus" format="boolean" /> 4390 <!-- Leave enough room for ascenders and descenders instead of 4391 using the font ascent and descent strictly. (Normally true). --> 4392 <attr name="includeFontPadding" format="boolean" /> 4393 <!-- Set an input filter to constrain the text length to the 4394 specified number. --> 4395 <attr name="maxLength" format="integer" min="0" /> 4396 <!-- Place a blurred shadow of text underneath the text, drawn with the 4397 specified color. The text shadow produced does not interact with 4398 properties on View that are responsible for real time shadows, 4399 {@link android.R.styleable#View_elevation elevation} and 4400 {@link android.R.styleable#View_translationZ translationZ}. --> 4401 <attr name="shadowColor" /> 4402 <!-- Horizontal offset of the text shadow. --> 4403 <attr name="shadowDx" /> 4404 <!-- Vertical offset of the text shadow. --> 4405 <attr name="shadowDy" /> 4406 <!-- Blur radius of the text shadow. --> 4407 <attr name="shadowRadius" /> 4408 <attr name="autoLink" /> 4409 <!-- If set to false, keeps the movement method from being set 4410 to the link movement method even if autoLink causes links 4411 to be found. --> 4412 <attr name="linksClickable" format="boolean" /> 4413 <!-- If set, specifies that this TextView has a numeric input method. 4414 The default is false. 4415 {@deprecated Use inputType instead.} --> 4416 <attr name="numeric"> 4417 <!-- Input is numeric. --> 4418 <flag name="integer" value="0x01" /> 4419 <!-- Input is numeric, with sign allowed. --> 4420 <flag name="signed" value="0x03" /> 4421 <!-- Input is numeric, with decimals allowed. --> 4422 <flag name="decimal" value="0x05" /> 4423 </attr> 4424 <!-- If set, specifies that this TextView has a numeric input method 4425 and that these specific characters are the ones that it will 4426 accept. 4427 If this is set, numeric is implied to be true. 4428 The default is false. --> 4429 <attr name="digits" format="string" /> 4430 <!-- If set, specifies that this TextView has a phone number input 4431 method. The default is false. 4432 {@deprecated Use inputType instead.} --> 4433 <attr name="phoneNumber" format="boolean" /> 4434 <!-- If set, specifies that this TextView should use the specified 4435 input method (specified by fully-qualified class name). 4436 {@deprecated Use inputType instead.} --> 4437 <attr name="inputMethod" format="string" /> 4438 <!-- If set, specifies that this TextView has a textual input method 4439 and should automatically capitalize what the user types. 4440 The default is "none". 4441 {@deprecated Use inputType instead.} --> 4442 <attr name="capitalize"> 4443 <!-- Don't automatically capitalize anything. --> 4444 <enum name="none" value="0" /> 4445 <!-- Capitalize the first word of each sentence. --> 4446 <enum name="sentences" value="1" /> 4447 <!-- Capitalize the first letter of every word. --> 4448 <enum name="words" value="2" /> 4449 <!-- Capitalize every character. --> 4450 <enum name="characters" value="3" /> 4451 </attr> 4452 <!-- If set, specifies that this TextView has a textual input method 4453 and automatically corrects some common spelling errors. 4454 The default is "false". 4455 {@deprecated Use inputType instead.} --> 4456 <attr name="autoText" format="boolean" /> 4457 <!-- If set, specifies that this TextView has an input method. 4458 It will be a textual one unless it has otherwise been specified. 4459 For TextView, this is false by default. For EditText, it is 4460 true by default. 4461 {@deprecated Use inputType instead.} --> 4462 <attr name="editable" format="boolean" /> 4463 <!-- If set, the text view will include its current complete text 4464 inside of its frozen icicle in addition to meta-data such as 4465 the current cursor position. By default this is disabled; 4466 it can be useful when the contents of a text view is not stored 4467 in a persistent place such as a content provider. For 4468 {@link android.widget.EditText} it is always enabled, regardless 4469 of the value of the attribute. --> 4470 <attr name="freezesText" format="boolean" /> 4471 <!-- If set, causes words that are longer than the view is wide 4472 to be ellipsized instead of broken in the middle. 4473 You will often also want to set scrollHorizontally or singleLine 4474 as well so that the text as a whole is also constrained to 4475 a single line instead of still allowed to be broken onto 4476 multiple lines. --> 4477 <attr name="ellipsize" /> 4478 <!-- The drawable to be drawn above the text. --> 4479 <attr name="drawableTop" format="reference|color" /> 4480 <!-- The drawable to be drawn below the text. --> 4481 <attr name="drawableBottom" format="reference|color" /> 4482 <!-- The drawable to be drawn to the left of the text. --> 4483 <attr name="drawableLeft" format="reference|color" /> 4484 <!-- The drawable to be drawn to the right of the text. --> 4485 <attr name="drawableRight" format="reference|color" /> 4486 <!-- The drawable to be drawn to the start of the text. --> 4487 <attr name="drawableStart" format="reference|color" /> 4488 <!-- The drawable to be drawn to the end of the text. --> 4489 <attr name="drawableEnd" format="reference|color" /> 4490 <!-- The padding between the drawables and the text. --> 4491 <attr name="drawablePadding" format="dimension" /> 4492 <!-- Tint to apply to the compound (left, top, etc.) drawables. --> 4493 <attr name="drawableTint" format="color" /> 4494 <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. --> 4495 <attr name="drawableTintMode"> 4496 <!-- The tint is drawn on top of the drawable. 4497 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4498 <enum name="src_over" value="3" /> 4499 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4500 color channels are thrown out. [Sa * Da, Sc * Da] --> 4501 <enum name="src_in" value="5" /> 4502 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4503 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4504 <enum name="src_atop" value="9" /> 4505 <!-- Multiplies the color and alpha channels of the drawable with those of 4506 the tint. [Sa * Da, Sc * Dc] --> 4507 <enum name="multiply" value="14" /> 4508 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4509 <enum name="screen" value="15" /> 4510 <!-- Combines the tint and drawable color and alpha channels, clamping the 4511 result to valid color values. Saturate(S + D) --> 4512 <enum name="add" value="16" /> 4513 </attr> 4514 <!-- Extra spacing between lines of text. --> 4515 <attr name="lineSpacingExtra" format="dimension" /> 4516 <!-- Extra spacing between lines of text, as a multiplier. --> 4517 <attr name="lineSpacingMultiplier" format="float" /> 4518 <!-- The number of times to repeat the marquee animation. Only applied if the 4519 TextView has marquee enabled. --> 4520 <attr name="marqueeRepeatLimit" format="integer"> 4521 <!-- Indicates that marquee should repeat indefinitely. --> 4522 <enum name="marquee_forever" value="-1" /> 4523 </attr> 4524 <attr name="inputType" /> 4525 <!-- Whether undo should be allowed for editable text. Defaults to true. --> 4526 <attr name="allowUndo" format="boolean" /> 4527 <attr name="imeOptions" /> 4528 <!-- An addition content type description to supply to the input 4529 method attached to the text view, which is private to the 4530 implementation of the input method. This simply fills in 4531 the {@link android.view.inputmethod.EditorInfo#privateImeOptions 4532 EditorInfo.privateImeOptions} field when the input 4533 method is connected. --> 4534 <attr name="privateImeOptions" format="string" /> 4535 <!-- Supply a value for 4536 {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel} 4537 used when an input method is connected to the text view. --> 4538 <attr name="imeActionLabel" format="string" /> 4539 <!-- Supply a value for 4540 {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId} 4541 used when an input method is connected to the text view. --> 4542 <attr name="imeActionId" format="integer" /> 4543 <!-- Reference to an 4544 {@link android.R.styleable#InputExtras <input-extras>} 4545 XML resource containing additional data to 4546 supply to an input method, which is private to the implementation 4547 of the input method. This simply fills in 4548 the {@link android.view.inputmethod.EditorInfo#extras 4549 EditorInfo.extras} field when the input 4550 method is connected. --> 4551 <attr name="editorExtras" format="reference" /> 4552 4553 <!-- Reference to a drawable that will be used to display a text selection 4554 anchor on the left side of a selection region. --> 4555 <attr name="textSelectHandleLeft" /> 4556 <!-- Reference to a drawable that will be used to display a text selection 4557 anchor on the right side of a selection region. --> 4558 <attr name="textSelectHandleRight" /> 4559 <!-- Reference to a drawable that will be used to display a text selection 4560 anchor for positioning the cursor within text. --> 4561 <attr name="textSelectHandle" /> 4562 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 4563 TextEdit field. --> 4564 <attr name="textEditPasteWindowLayout" /> 4565 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 4566 <attr name="textEditNoPasteWindowLayout" /> 4567 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 4568 insertion cursor because it would be clipped if it were positioned on top. --> 4569 <attr name="textEditSidePasteWindowLayout" /> 4570 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 4571 <attr name="textEditSideNoPasteWindowLayout" /> 4572 4573 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 4574 <attr name="textEditSuggestionItemLayout" /> 4575 <!-- Layout of the container of the suggestion popup window. --> 4576 <attr name="textEditSuggestionContainerLayout" /> 4577 <!-- Style of the highlighted string in the suggestion popup window. --> 4578 <attr name="textEditSuggestionHighlightStyle" /> 4579 4580 4581 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 4582 <attr name="textCursorDrawable" /> 4583 4584 <!-- Indicates that the content of a non-editable text can be selected. --> 4585 <attr name="textIsSelectable" /> 4586 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4587 <attr name="textAllCaps" /> 4588 <!-- Elegant text height, especially for less compacted complex script text. --> 4589 <attr name="elegantTextHeight" /> 4590 <!-- Text letter-spacing. --> 4591 <attr name="letterSpacing" /> 4592 <!-- Font feature settings. --> 4593 <attr name="fontFeatureSettings" /> 4594 <!-- Break strategy (control over paragraph layout). --> 4595 <attr name="breakStrategy"> 4596 <!-- Line breaking uses simple strategy. --> 4597 <enum name="simple" value="0" /> 4598 <!-- Line breaking uses high-quality strategy, including hyphenation. --> 4599 <enum name="high_quality" value="1" /> 4600 <!-- Line breaking strategy balances line lengths. --> 4601 <enum name="balanced" value="2" /> 4602 </attr> 4603 <!-- Frequency of automatic hyphenation. --> 4604 <attr name="hyphenationFrequency"> 4605 <!-- No hyphenation. --> 4606 <enum name="none" value="0" /> 4607 <!-- Less frequent hyphenation, useful for informal use cases, such 4608 as chat messages. --> 4609 <enum name="normal" value="1" /> 4610 <!-- Standard amount of hyphenation, useful for running text and for 4611 screens with limited space for text. --> 4612 <enum name="full" value="2" /> 4613 </attr> 4614 </declare-styleable> 4615 <declare-styleable name="TextViewAppearance"> 4616 <!-- Base text color, typeface, size, and style. --> 4617 <attr name="textAppearance" /> 4618 </declare-styleable> 4619 <declare-styleable name="SelectionModeDrawables"> 4620 <attr name="actionModeSelectAllDrawable" /> 4621 <attr name="actionModeCutDrawable" /> 4622 <attr name="actionModeCopyDrawable" /> 4623 <attr name="actionModePasteDrawable" /> 4624 </declare-styleable> 4625 <declare-styleable name="SuggestionSpan"> 4626 <attr name="textUnderlineColor" /> 4627 <attr name="textUnderlineThickness" /> 4628 </declare-styleable> 4629 <!-- An <code>input-extras</code> is a container for extra data to supply to 4630 an input method. Contains 4631 one more more {@link #Extra <extra>} tags. --> 4632 <declare-styleable name="InputExtras"> 4633 </declare-styleable> 4634 <declare-styleable name="AutoCompleteTextView"> 4635 <!-- Defines the hint displayed in the drop down menu. --> 4636 <attr name="completionHint" format="string" /> 4637 <!-- Defines the hint view displayed in the drop down menu. --> 4638 <attr name="completionHintView" format="reference" /> 4639 <!-- Defines the number of characters that the user must type before 4640 completion suggestions are displayed in a drop down menu. --> 4641 <attr name="completionThreshold" format="integer" min="1" /> 4642 <!-- Selector in a drop down list. --> 4643 <attr name="dropDownSelector" format="reference|color" /> 4644 <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself 4645 is used. --> 4646 <attr name="dropDownAnchor" format="reference" /> 4647 <!-- Specifies the basic width of the dropdown. Its value may 4648 be a dimension (such as "12dip") for a constant width, 4649 fill_parent or match_parent to match the width of the 4650 screen, or wrap_content to match the width of 4651 the anchored view. --> 4652 <attr name="dropDownWidth" format="dimension"> 4653 <!-- The dropdown should fill the width of the screen. 4654 This constant is deprecated starting from API Level 8 and 4655 is replaced by {@code match_parent}. --> 4656 <enum name="fill_parent" value="-1" /> 4657 <!-- The dropdown should fit the width of the screen. 4658 Introduced in API Level 8. --> 4659 <enum name="match_parent" value="-1" /> 4660 <!-- The dropdown should fit the width of its anchor. --> 4661 <enum name="wrap_content" value="-2" /> 4662 </attr> 4663 <!-- Specifies the basic height of the dropdown. Its value may 4664 be a dimension (such as "12dip") for a constant height, 4665 fill_parent or match_parent to fill the height of the 4666 screen, or wrap_content to match the height of 4667 the content of the drop down. --> 4668 <attr name="dropDownHeight" format="dimension"> 4669 <!-- The dropdown should fit the height of the screen. 4670 This constant is deprecated starting from API Level 8 and 4671 is replaced by {@code match_parent}. --> 4672 <enum name="fill_parent" value="-1" /> 4673 <!-- The dropdown should fit the height of the screen. 4674 Introduced in API Level 8. --> 4675 <enum name="match_parent" value="-1" /> 4676 <!-- The dropdown should fit the height of the content. --> 4677 <enum name="wrap_content" value="-2" /> 4678 </attr> 4679 <attr name="inputType" /> 4680 <!-- Theme to use for the completion popup window. --> 4681 <attr name="popupTheme" /> 4682 </declare-styleable> 4683 <declare-styleable name="PopupWindow"> 4684 <!-- The background to use for the popup window. --> 4685 <attr name="popupBackground" format="reference|color" /> 4686 <!-- Window elevation to use for the popup window. --> 4687 <attr name="popupElevation" format="dimension" /> 4688 <!-- The animation style to use for the popup window. --> 4689 <attr name="popupAnimationStyle" format="reference" /> 4690 <!-- Whether the popup window should overlap its anchor view. --> 4691 <attr name="overlapAnchor" format="boolean" /> 4692 <!-- Transition used to move views into the popup window. --> 4693 <attr name="popupEnterTransition" format="reference" /> 4694 <!-- Transition used to move views out of the popup window. --> 4695 <attr name="popupExitTransition" format="reference" /> 4696 </declare-styleable> 4697 <declare-styleable name="ListPopupWindow"> 4698 <!-- Amount of pixels by which the drop down should be offset vertically. --> 4699 <attr name="dropDownVerticalOffset" format="dimension" /> 4700 <!-- Amount of pixels by which the drop down should be offset horizontally. --> 4701 <attr name="dropDownHorizontalOffset" format="dimension" /> 4702 </declare-styleable> 4703 <declare-styleable name="ViewAnimator"> 4704 <!-- Identifier for the animation to use when a view is shown. --> 4705 <attr name="inAnimation" format="reference" /> 4706 <!-- Identifier for the animation to use when a view is hidden. --> 4707 <attr name="outAnimation" format="reference" /> 4708 <!-- Defines whether to animate the current View when the ViewAnimation 4709 is first displayed. --> 4710 <attr name="animateFirstView" format="boolean" /> 4711 </declare-styleable> 4712 <declare-styleable name="ViewFlipper"> 4713 <attr name="flipInterval" format="integer" min="0" /> 4714 <!-- When true, automatically start animating --> 4715 <attr name="autoStart" format="boolean" /> 4716 </declare-styleable> 4717 <declare-styleable name="AdapterViewAnimator"> 4718 <!-- Identifier for the animation to use when a view is shown. --> 4719 <attr name="inAnimation" /> 4720 <!-- Identifier for the animation to use when a view is hidden. --> 4721 <attr name="outAnimation" /> 4722 <!--Defines whether the animator loops to the first view once it 4723 has reached the end of the list. --> 4724 <attr name="loopViews" format="boolean" /> 4725 <!-- Defines whether to animate the current View when the ViewAnimation 4726 is first displayed. --> 4727 <attr name="animateFirstView" /> 4728 </declare-styleable> 4729 <declare-styleable name="AdapterViewFlipper"> 4730 <attr name="flipInterval" /> 4731 <!-- When true, automatically start animating --> 4732 <attr name="autoStart" /> 4733 </declare-styleable> 4734 <declare-styleable name="ViewSwitcher"> 4735 </declare-styleable> 4736 <declare-styleable name="ScrollView"> 4737 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4738 <attr name="fillViewport" format="boolean" /> 4739 </declare-styleable> 4740 <declare-styleable name="HorizontalScrollView"> 4741 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4742 <attr name="fillViewport" /> 4743 </declare-styleable> 4744 <declare-styleable name="Spinner"> 4745 <!-- The prompt to display when the spinner's dialog is shown. --> 4746 <attr name="prompt" format="reference" /> 4747 <!-- Display mode for spinner options. --> 4748 <attr name="spinnerMode" format="enum"> 4749 <!-- Spinner options will be presented to the user as a dialog window. --> 4750 <enum name="dialog" value="0" /> 4751 <!-- Spinner options will be presented to the user as an inline dropdown 4752 anchored to the spinner widget itself. --> 4753 <enum name="dropdown" value="1" /> 4754 </attr> 4755 <!-- List selector to use for spinnerMode="dropdown" display. --> 4756 <attr name="dropDownSelector" /> 4757 <!-- Theme to use for the drop-down or dialog popup window. --> 4758 <attr name="popupTheme" /> 4759 <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". --> 4760 <attr name="popupBackground" /> 4761 <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". --> 4762 <attr name="popupElevation" /> 4763 <!-- Width of the dropdown in spinnerMode="dropdown". --> 4764 <attr name="dropDownWidth" /> 4765 <!-- Reference to a layout to use for displaying a prompt in the dropdown for 4766 spinnerMode="dropdown". This layout must contain a TextView with the id 4767 {@code @android:id/text1} to be populated with the prompt text. --> 4768 <attr name="popupPromptView" format="reference" /> 4769 <!-- Gravity setting for positioning the currently selected item. --> 4770 <attr name="gravity" /> 4771 <!-- Whether this spinner should mark child views as enabled/disabled when 4772 the spinner itself is enabled/disabled. --> 4773 <attr name="disableChildrenWhenDisabled" format="boolean" /> 4774 </declare-styleable> 4775 4776 <declare-styleable name="DatePicker"> 4777 <!-- The first day of week according to {@link java.util.Calendar}. --> 4778 <attr name="firstDayOfWeek" /> 4779 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4780 <attr name="minDate" format="string" /> 4781 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 4782 <attr name="maxDate" format="string" /> 4783 4784 <!-- Whether the spinners are shown. Only valid for "spinner" mode. --> 4785 <attr name="spinnersShown" format="boolean" /> 4786 <!-- Whether the calendar view is shown. Only valid for "spinner" mode. --> 4787 <attr name="calendarViewShown" format="boolean" /> 4788 4789 <!-- @hide The layout of the date picker. --> 4790 <attr name="internalLayout" format="reference" /> 4791 <!-- @hide The layout of the legacy DatePicker. --> 4792 <attr name="legacyLayout" /> 4793 4794 <!-- The text color for the selected date header text, ex. "2014" or 4795 "Tue, Mar 18". This should be a color state list where the 4796 activated state will be used when the year picker or day picker is 4797 active.--> 4798 <attr name="headerTextColor" format="color" /> 4799 <!-- The background for the selected date header. --> 4800 <attr name="headerBackground" /> 4801 4802 <!-- The list year's text appearance in the list. 4803 {@deprecated Use yearListTextColor. }--> 4804 <attr name="yearListItemTextAppearance" format="reference" /> 4805 <!-- @hide The list year's text appearance in the list when activated. --> 4806 <attr name="yearListItemActivatedTextAppearance" format="reference" /> 4807 <!-- The text color list of the calendar. --> 4808 <attr name="calendarTextColor" format="color" /> 4809 4810 <!-- Defines the look of the widget. Prior to the L release, the only choice was 4811 spinner. As of L, with the Material theme selected, the default layout is calendar, 4812 but this attribute can be used to force spinner to be used instead. --> 4813 <attr name="datePickerMode"> 4814 <!-- Date picker with spinner controls to select the date. --> 4815 <enum name="spinner" value="1" /> 4816 <!-- Date picker with calendar to select the date. --> 4817 <enum name="calendar" value="2" /> 4818 </attr> 4819 4820 <!-- The first year (inclusive), for example "1940". 4821 {@deprecated Use minDate instead.} --> 4822 <attr name="startYear" format="integer" /> 4823 <!-- The last year (inclusive), for example "2010". 4824 {@deprecated Use maxDate instead.} --> 4825 <attr name="endYear" format="integer" /> 4826 <!-- The text appearance for the month (ex. May) in the selected date header. 4827 {@deprecated Use headerTextColor instead.} --> 4828 <attr name="headerMonthTextAppearance" format="reference" /> 4829 <!-- The text appearance for the day of month (ex. 28) in the selected date header. 4830 {@deprecated Use headerTextColor instead.} --> 4831 <attr name="headerDayOfMonthTextAppearance" format="reference" /> 4832 <!-- The text appearance for the year (ex. 2014) in the selected date header. 4833 {@deprecated Use headerTextColor instead.} --> 4834 <attr name="headerYearTextAppearance" format="reference" /> 4835 <!-- The background color for the header's day of week. 4836 {@deprecated No longer displayed.} --> 4837 <attr name="dayOfWeekBackground" format="color" /> 4838 <!-- The text color for the header's day of week. 4839 {@deprecated No longer displayed.} --> 4840 <attr name="dayOfWeekTextAppearance" format="reference" /> 4841 <!-- The list year's selected circle color in the list. 4842 {@deprecated No longer displayed.} --> 4843 <attr name="yearListSelectorColor" format="color" /> 4844 4845 <!-- @hide Whether this time picker is being displayed within a dialog, 4846 in which case it may ignore the requested time picker mode due to 4847 space considerations. --> 4848 <attr name="dialogMode" format="boolean" /> 4849 </declare-styleable> 4850 4851 <declare-styleable name="TwoLineListItem"> 4852 <attr name="mode"> 4853 <!-- Always show only the first line. --> 4854 <enum name="oneLine" value="1" /> 4855 <!-- When selected show both lines, otherwise show only the first line. 4856 This is the default mode. --> 4857 <enum name="collapsing" value="2" /> 4858 <!-- Always show both lines. --> 4859 <enum name="twoLine" value="3" /> 4860 </attr> 4861 </declare-styleable> 4862 4863 <!-- SlidingDrawer specific attributes. These attributes are used to configure 4864 a SlidingDrawer from XML. --> 4865 <declare-styleable name="SlidingDrawer"> 4866 <!-- Identifier for the child that represents the drawer's handle. --> 4867 <attr name="handle" format="reference" /> 4868 <!-- Identifier for the child that represents the drawer's content. --> 4869 <attr name="content" format="reference" /> 4870 <!-- Orientation of the SlidingDrawer. --> 4871 <attr name="orientation" /> 4872 <!-- Extra offset for the handle at the bottom of the SlidingDrawer. --> 4873 <attr name="bottomOffset" format="dimension" /> 4874 <!-- Extra offset for the handle at the top of the SlidingDrawer. --> 4875 <attr name="topOffset" format="dimension" /> 4876 <!-- Indicates whether the drawer can be opened/closed by a single tap 4877 on the handle. (If false, the user must drag or fling, or click 4878 using the trackball, to open/close the drawer.) Default is true. --> 4879 <attr name="allowSingleTap" format="boolean" /> 4880 <!-- Indicates whether the drawer should be opened/closed with an animation 4881 when the user clicks the handle. Default is true. --> 4882 <attr name="animateOnClick" format="boolean" /> 4883 </declare-styleable> 4884 4885 <!-- GestureOverlayView specific attributes. These attributes are used to configure 4886 a GestureOverlayView from XML. --> 4887 <declare-styleable name="GestureOverlayView"> 4888 <!-- Width of the stroke used to draw the gesture. --> 4889 <attr name="gestureStrokeWidth" format="float" /> 4890 <!-- Color used to draw a gesture. --> 4891 <attr name="gestureColor" format="color" /> 4892 <!-- Color used to draw the user's strokes until we are sure it's a gesture. --> 4893 <attr name="uncertainGestureColor" format="color" /> 4894 <!-- Time, in milliseconds, to wait before the gesture fades out after the user 4895 is done drawing it. --> 4896 <attr name="fadeOffset" format="integer" /> 4897 <!-- Duration, in milliseconds, of the fade out effect after the user is done 4898 drawing a gesture. --> 4899 <attr name="fadeDuration" format="integer" /> 4900 <!-- Defines the type of strokes that define a gesture. --> 4901 <attr name="gestureStrokeType"> 4902 <!-- A gesture is made of only one stroke. --> 4903 <enum name="single" value="0" /> 4904 <!-- A gesture is made of multiple strokes. --> 4905 <enum name="multiple" value="1" /> 4906 </attr> 4907 <!-- Minimum length of a stroke before it is recognized as a gesture. --> 4908 <attr name="gestureStrokeLengthThreshold" format="float" /> 4909 <!-- Squareness threshold of a stroke before it is recognized as a gesture. --> 4910 <attr name="gestureStrokeSquarenessThreshold" format="float" /> 4911 <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. --> 4912 <attr name="gestureStrokeAngleThreshold" format="float" /> 4913 <!-- Defines whether the overlay should intercept the motion events when a gesture 4914 is recognized. --> 4915 <attr name="eventsInterceptionEnabled" format="boolean" /> 4916 <!-- Defines whether the gesture will automatically fade out after being recognized. --> 4917 <attr name="fadeEnabled" format="boolean" /> 4918 <!-- Indicates whether horizontal (when the orientation is vertical) or vertical 4919 (when orientation is horizontal) strokes automatically define a gesture. --> 4920 <attr name="orientation" /> 4921 </declare-styleable> 4922 4923 <declare-styleable name="QuickContactBadge"> 4924 <attr name="quickContactWindowSize"> 4925 <enum name="modeSmall" value="1" /> 4926 <enum name="modeMedium" value="2" /> 4927 <enum name="modeLarge" value="3" /> 4928 </attr> 4929 </declare-styleable> 4930 4931 <!-- ======================================= --> 4932 <!-- Widget package parent layout attributes --> 4933 <!-- ======================================= --> 4934 <eat-comment /> 4935 4936 <declare-styleable name="AbsoluteLayout_Layout"> 4937 <attr name="layout_x" format="dimension" /> 4938 <attr name="layout_y" format="dimension" /> 4939 </declare-styleable> 4940 <declare-styleable name="LinearLayout_Layout"> 4941 <attr name="layout_width" /> 4942 <attr name="layout_height" /> 4943 <!-- Indicates how much of the extra space in the LinearLayout is 4944 allocated to the view associated with these LayoutParams. Specify 4945 0 if the view should not be stretched. Otherwise the extra pixels 4946 will be pro-rated among all views whose weight is greater than 0. --> 4947 <attr name="layout_weight" format="float" /> 4948 <!-- Gravity specifies how a component should be placed in its group of cells. 4949 The default is {@link android.view.Gravity#TOP}. 4950 See {@link android.widget.LinearLayout#setGravity(int)}. --> 4951 <attr name="layout_gravity" /> 4952 </declare-styleable> 4953 <declare-styleable name="GridLayout_Layout"> 4954 <!-- The row boundary delimiting the top of the group of cells 4955 occupied by this view. --> 4956 <attr name="layout_row" format="integer" /> 4957 <!-- The row span: the difference between the top and bottom 4958 boundaries delimiting the group of cells occupied by this view. 4959 The default is one. 4960 See {@link android.widget.GridLayout.Spec}. --> 4961 <attr name="layout_rowSpan" format="integer" min="1" /> 4962 <!-- The relative proportion of vertical space that should be allocated to this view 4963 during excess space distribution. --> 4964 <attr name="layout_rowWeight" format="float" /> 4965 <!-- The column boundary delimiting the left of the group of cells 4966 occupied by this view. --> 4967 <attr name="layout_column" /> 4968 <!-- The column span: the difference between the right and left 4969 boundaries delimiting the group of cells occupied by this view. 4970 The default is one. 4971 See {@link android.widget.GridLayout.Spec}. --> 4972 <attr name="layout_columnSpan" format="integer" min="1" /> 4973 <!-- The relative proportion of horizontal space that should be allocated to this view 4974 during excess space distribution. --> 4975 <attr name="layout_columnWeight" format="float" /> 4976 <!-- Gravity specifies how a component should be placed in its group of cells. 4977 The default is LEFT | BASELINE. 4978 See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. --> 4979 <attr name="layout_gravity" /> 4980 </declare-styleable> 4981 <declare-styleable name="FrameLayout_Layout"> 4982 <attr name="layout_gravity" /> 4983 </declare-styleable> 4984 <declare-styleable name="RelativeLayout_Layout"> 4985 <!-- Positions the right edge of this view to the left of the given anchor view ID. 4986 Accommodates right margin of this view and left margin of anchor view. --> 4987 <attr name="layout_toLeftOf" format="reference" /> 4988 <!-- Positions the left edge of this view to the right of the given anchor view ID. 4989 Accommodates left margin of this view and right margin of anchor view. --> 4990 <attr name="layout_toRightOf" format="reference" /> 4991 <!-- Positions the bottom edge of this view above the given anchor view ID. 4992 Accommodates bottom margin of this view and top margin of anchor view. --> 4993 <attr name="layout_above" format="reference" /> 4994 <!-- Positions the top edge of this view below the given anchor view ID. 4995 Accommodates top margin of this view and bottom margin of anchor view. --> 4996 <attr name="layout_below" format="reference" /> 4997 <!-- Positions the baseline of this view on the baseline of the given anchor view ID. --> 4998 <attr name="layout_alignBaseline" format="reference" /> 4999 <!-- Makes the left edge of this view match the left edge of the given anchor view ID. 5000 Accommodates left margin. --> 5001 <attr name="layout_alignLeft" format="reference" /> 5002 <!-- Makes the top edge of this view match the top edge of the given anchor view ID. 5003 Accommodates top margin. --> 5004 <attr name="layout_alignTop" format="reference" /> 5005 <!-- Makes the right edge of this view match the right edge of the given anchor view ID. 5006 Accommodates right margin. --> 5007 <attr name="layout_alignRight" format="reference" /> 5008 <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID. 5009 Accommodates bottom margin. --> 5010 <attr name="layout_alignBottom" format="reference" /> 5011 <!-- If true, makes the left edge of this view match the left edge of the parent. 5012 Accommodates left margin. --> 5013 <attr name="layout_alignParentLeft" format="boolean" /> 5014 <!-- If true, makes the top edge of this view match the top edge of the parent. 5015 Accommodates top margin. --> 5016 <attr name="layout_alignParentTop" format="boolean" /> 5017 <!-- If true, makes the right edge of this view match the right edge of the parent. 5018 Accommodates right margin. --> 5019 <attr name="layout_alignParentRight" format="boolean" /> 5020 <!-- If true, makes the bottom edge of this view match the bottom edge of the parent. 5021 Accommodates bottom margin. --> 5022 <attr name="layout_alignParentBottom" format="boolean" /> 5023 <!-- If true, centers this child horizontally and vertically within its parent. --> 5024 <attr name="layout_centerInParent" format="boolean" /> 5025 <!-- If true, centers this child horizontally within its parent. --> 5026 <attr name="layout_centerHorizontal" format="boolean" /> 5027 <!-- If true, centers this child vertically within its parent. --> 5028 <attr name="layout_centerVertical" format="boolean" /> 5029 <!-- If set to true, the parent will be used as the anchor when the anchor cannot be 5030 be found for layout_toLeftOf, layout_toRightOf, etc. --> 5031 <attr name="layout_alignWithParentIfMissing" format="boolean" /> 5032 <!-- Positions the end edge of this view to the start of the given anchor view ID. 5033 Accommodates end margin of this view and start margin of anchor view. --> 5034 <attr name="layout_toStartOf" format="reference" /> 5035 <!-- Positions the start edge of this view to the end of the given anchor view ID. 5036 Accommodates start margin of this view and end margin of anchor view. --> 5037 <attr name="layout_toEndOf" format="reference" /> 5038 <!-- Makes the start edge of this view match the start edge of the given anchor view ID. 5039 Accommodates start margin. --> 5040 <attr name="layout_alignStart" format="reference" /> 5041 <!-- Makes the end edge of this view match the end edge of the given anchor view ID. 5042 Accommodates end margin. --> 5043 <attr name="layout_alignEnd" format="reference" /> 5044 <!-- If true, makes the start edge of this view match the start edge of the parent. 5045 Accommodates start margin. --> 5046 <attr name="layout_alignParentStart" format="boolean" /> 5047 <!-- If true, makes the end edge of this view match the end edge of the parent. 5048 Accommodates end margin. --> 5049 <attr name="layout_alignParentEnd" format="boolean" /> 5050 </declare-styleable> 5051 <declare-styleable name="VerticalSlider_Layout"> 5052 <attr name="layout_scale" format="float" /> 5053 </declare-styleable> 5054 5055 <!-- attributes for internal rotary widget used in lock screen and phone app 5056 @hide --> 5057 <declare-styleable name="RotarySelector"> 5058 <!-- Use "horizontal" or "vertical". The default is horizontal. --> 5059 <attr name="orientation" /> 5060 </declare-styleable> 5061 5062 <!-- @hide --> 5063 <declare-styleable name="WeightedLinearLayout"> 5064 <attr name="majorWeightMin" format="float" /> 5065 <attr name="minorWeightMin" format="float" /> 5066 <attr name="majorWeightMax" format="float" /> 5067 <attr name="minorWeightMax" format="float" /> 5068 </declare-styleable> 5069 5070 <declare-styleable name="CalendarView"> 5071 <!-- The first day of week according to {@link java.util.Calendar}. --> 5072 <attr name="firstDayOfWeek" format="integer" /> 5073 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 5074 <attr name="minDate" /> 5075 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 5076 <attr name="maxDate" /> 5077 <!-- The text appearance for the month and year in the calendar header. --> 5078 <attr name="monthTextAppearance" format="reference" /> 5079 <!-- The text appearance for the week day abbreviation in the calendar header. --> 5080 <attr name="weekDayTextAppearance" format="reference" /> 5081 <!-- The text appearance for the day numbers in the calendar grid. --> 5082 <attr name="dateTextAppearance" format="reference" /> 5083 <!-- @hide The background color used for the day selection indicator. --> 5084 <attr name="daySelectorColor" format="color" /> 5085 <!-- @hide The background color used for the day highlight indicator. --> 5086 <attr name="dayHighlightColor" format="color" /> 5087 <!-- @hide Which style of calendar delegate to use. --> 5088 <attr name="calendarViewMode"> 5089 <enum name="holo" value="0" /> 5090 <enum name="material" value="1" /> 5091 </attr> 5092 5093 <!-- @deprecated Whether do show week numbers. --> 5094 <attr name="showWeekNumber" format="boolean" /> 5095 <!-- @deprecated The number of weeks to be shown. --> 5096 <attr name="shownWeekCount" format="integer"/> 5097 <!-- @deprecated The background color for the selected week. --> 5098 <attr name="selectedWeekBackgroundColor" format="color|reference" /> 5099 <!-- @deprecated The color for the dates of the focused month. --> 5100 <attr name="focusedMonthDateColor" format="color|reference" /> 5101 <!-- @deprecated The color for the dates of an unfocused month. --> 5102 <attr name="unfocusedMonthDateColor" format="color|reference" /> 5103 <!-- @deprecated The color for the week numbers. --> 5104 <attr name="weekNumberColor" format="color|reference" /> 5105 <!-- @deprecated The color for the separator line between weeks. --> 5106 <attr name="weekSeparatorLineColor" format="color|reference" /> 5107 <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. --> 5108 <attr name="selectedDateVerticalBar" format="reference" /> 5109 </declare-styleable> 5110 5111 <declare-styleable name="NumberPicker"> 5112 <!-- @hide Color for the solid color background if such for optimized rendering. --> 5113 <attr name="solidColor" format="color|reference" /> 5114 <!-- @hide The divider for making the selection area. --> 5115 <attr name="selectionDivider" format="reference" /> 5116 <!-- @hide The height of the selection divider. --> 5117 <attr name="selectionDividerHeight" format="dimension" /> 5118 <!-- @hide The distance between the two selection dividers. --> 5119 <attr name="selectionDividersDistance" format="dimension" /> 5120 <!-- @hide The min height of the NumberPicker. --> 5121 <attr name="internalMinHeight" format="dimension" /> 5122 <!-- @hide The max height of the NumberPicker. --> 5123 <attr name="internalMaxHeight" format="dimension" /> 5124 <!-- @hide The min width of the NumberPicker. --> 5125 <attr name="internalMinWidth" format="dimension" /> 5126 <!-- @hide The max width of the NumberPicker. --> 5127 <attr name="internalMaxWidth" format="dimension" /> 5128 <!-- @hide The layout of the number picker. --> 5129 <attr name="internalLayout" /> 5130 <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. --> 5131 <attr name="virtualButtonPressedDrawable" format="reference"/> 5132 <!-- @hide If true then the selector wheel is hidden until the picker has focus. --> 5133 <attr name="hideWheelUntilFocused" format="boolean"/> 5134 </declare-styleable> 5135 5136 <declare-styleable name="TimePicker"> 5137 <!-- @hide The layout of the legacy time picker. --> 5138 <attr name="legacyLayout" format="reference" /> 5139 <!-- @hide The layout of the time picker. --> 5140 <attr name="internalLayout" /> 5141 5142 <!-- The text color for the selected time header text, ex. "12" or 5143 "PM". This should be a color state list where the activated state 5144 will be used when the minute picker or hour picker is active.--> 5145 <attr name="headerTextColor" /> 5146 <!-- The background for the header containing the currently selected time. --> 5147 <attr name="headerBackground" /> 5148 5149 <!-- The color for the hours/minutes numbers. This should be a color 5150 state list where the activated state will be used when the number 5151 is active.--> 5152 <attr name="numbersTextColor" format="color" /> 5153 <!-- The color for the inner hours numbers used in 24-hour mode. This 5154 should be a color state list where the activated state will be 5155 used when the number is active.--> 5156 <attr name="numbersInnerTextColor" format="color" /> 5157 <!-- The background color for the hours/minutes numbers. --> 5158 <attr name="numbersBackgroundColor" format="color" /> 5159 <!-- The color for the hours/minutes selector. --> 5160 <attr name="numbersSelectorColor" format="color" /> 5161 5162 <!-- Defines the look of the widget. Prior to the L release, the only choice was 5163 spinner. As of L, with the Material theme selected, the default layout is clock, 5164 but this attribute can be used to force spinner to be used instead. --> 5165 <attr name="timePickerMode"> 5166 <!-- Time picker with spinner controls to select the time. --> 5167 <enum name="spinner" value="1" /> 5168 <!-- Time picker with clock face to select the time. --> 5169 <enum name="clock" value="2" /> 5170 </attr> 5171 5172 <!-- The text appearance for the AM/PM header. 5173 @deprecated Use headerTextColor instead. --> 5174 <attr name="headerAmPmTextAppearance" format="reference" /> 5175 <!-- The text appearance for the time header. 5176 @deprecated Use headerTextColor instead. --> 5177 <attr name="headerTimeTextAppearance" format="reference" /> 5178 <!-- The color for the AM/PM selectors. 5179 {@deprecated Use headerTextColor instead.}--> 5180 <attr name="amPmTextColor" format="color" /> 5181 <!-- The background color state list for the AM/PM selectors. 5182 {@deprecated Use headerBackground instead.}--> 5183 <attr name="amPmBackgroundColor" format="color" /> 5184 5185 <!-- @hide Whether this time picker is being displayed within a dialog, 5186 in which case it may ignore the requested time picker mode due to 5187 space considerations. --> 5188 <attr name="dialogMode" /> 5189 </declare-styleable> 5190 5191 <!-- ========================= --> 5192 <!-- Drawable class attributes --> 5193 <!-- ========================= --> 5194 <eat-comment /> 5195 5196 <!-- Base attributes that are available to all Drawable objects. --> 5197 <declare-styleable name="Drawable"> 5198 <!-- Provides initial visibility state of the drawable; the default 5199 value is false. See 5200 {@link android.graphics.drawable.Drawable#setVisible}. --> 5201 <attr name="visible" format="boolean" /> 5202 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5203 RTL (right-to-left). See 5204 {@link android.graphics.drawable.Drawable#setAutoMirrored}. --> 5205 <attr name="autoMirrored" format="boolean" /> 5206 </declare-styleable> 5207 5208 <!-- Drawable class used to wrap other drawables. --> 5209 <declare-styleable name="DrawableWrapper"> 5210 <!-- The wrapped drawable. --> 5211 <attr name="drawable" /> 5212 </declare-styleable> 5213 5214 <!-- Drawable used to render several states. Each state is represented by 5215 a child drawable. --> 5216 <declare-styleable name="StateListDrawable"> 5217 <!-- Indicates whether the drawable should be initially visible. --> 5218 <attr name="visible" /> 5219 <!-- If true, allows the drawable's padding to change based on the 5220 current state that is selected. If false, the padding will 5221 stay the same (based on the maximum padding of all the states). 5222 Enabling this feature requires that the owner of the drawable 5223 deal with performing layout when the state changes, which is 5224 often not supported. --> 5225 <attr name="variablePadding" format="boolean" /> 5226 <!-- If true, the drawable's reported internal size will remain 5227 constant as the state changes; the size is the maximum of all 5228 of the states. If false, the size will vary based on the 5229 current state. --> 5230 <attr name="constantSize" format="boolean" /> 5231 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5232 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5233 an RGB 565 screen). --> 5234 <attr name="dither" format="boolean" /> 5235 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5236 <attr name="enterFadeDuration" format="integer" /> 5237 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5238 <attr name="exitFadeDuration" format="integer" /> 5239 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5240 RTL (right-to-left). --> 5241 <attr name="autoMirrored"/> 5242 </declare-styleable> 5243 5244 <!-- Drawable used to render several states with animated transitions. Each state 5245 is represented by a child drawable with an optional keyframe ID. --> 5246 <declare-styleable name="AnimatedStateListDrawable"> 5247 <!-- Indicates whether the drawable should be initially visible. --> 5248 <attr name="visible" /> 5249 <!-- If true, allows the drawable's padding to change based on the 5250 current state that is selected. If false, the padding will 5251 stay the same (based on the maximum padding of all the states). 5252 Enabling this feature requires that the owner of the drawable 5253 deal with performing layout when the state changes, which is 5254 often not supported. --> 5255 <attr name="variablePadding" /> 5256 <!-- If true, the drawable's reported internal size will remain 5257 constant as the state changes; the size is the maximum of all 5258 of the states. If false, the size will vary based on the 5259 current state. --> 5260 <attr name="constantSize" /> 5261 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5262 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5263 an RGB 565 screen). --> 5264 <attr name="dither" /> 5265 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5266 <attr name="enterFadeDuration" /> 5267 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5268 <attr name="exitFadeDuration" /> 5269 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5270 RTL (right-to-left). --> 5271 <attr name="autoMirrored"/> 5272 </declare-styleable> 5273 5274 <!-- Represents a single state inside a StateListDrawable. --> 5275 <declare-styleable name="StateListDrawableItem"> 5276 <!-- Reference to a drawable resource to use for the state. If not 5277 given, the drawable must be defined by the first child tag. --> 5278 <attr name="drawable" /> 5279 </declare-styleable> 5280 5281 <!-- Transition used to animate between states with keyframe IDs. --> 5282 <declare-styleable name="AnimatedStateListDrawableItem"> 5283 <!-- Reference to a drawable resource to use for the frame. If not 5284 given, the drawable must be defined by the first child tag. --> 5285 <attr name="drawable" /> 5286 <!-- Keyframe identifier for use in specifying transitions. --> 5287 <attr name="id" /> 5288 </declare-styleable> 5289 5290 <!-- Transition used to animate between states with keyframe IDs. --> 5291 <declare-styleable name="AnimatedStateListDrawableTransition"> 5292 <!-- Keyframe identifier for the starting state. --> 5293 <attr name="fromId" format="reference" /> 5294 <!-- Keyframe identifier for the ending state. --> 5295 <attr name="toId" format="reference" /> 5296 <!-- Reference to a animation drawable resource to use for the frame. If not 5297 given, the animation drawable must be defined by the first child tag. --> 5298 <attr name="drawable" /> 5299 <!-- Whether this transition is reversible. --> 5300 <attr name="reversible" format="boolean" /> 5301 </declare-styleable> 5302 5303 <!-- Drawable used to render several animated frames. --> 5304 <declare-styleable name="AnimationDrawable"> 5305 <attr name="visible" /> 5306 <attr name="variablePadding" /> 5307 <!-- If true, the animation will only run a single time and then 5308 stop. If false (the default), it will continually run, 5309 restarting at the first frame after the last has finished. --> 5310 <attr name="oneshot" format="boolean" /> 5311 </declare-styleable> 5312 5313 <!-- Represents a single frame inside an AnimationDrawable. --> 5314 <declare-styleable name="AnimationDrawableItem"> 5315 <!-- Amount of time (in milliseconds) to display this frame. --> 5316 <attr name="duration" format="integer" /> 5317 <!-- Reference to a drawable resource to use for the frame. If not 5318 given, the drawable must be defined by the first child tag. --> 5319 <attr name="drawable" format="reference" /> 5320 </declare-styleable> 5321 5322 <!-- Attributes that can be assigned to a StateListAnimator item. --> 5323 <declare-styleable name="StateListAnimatorItem"> 5324 <attr name="animation"/> 5325 </declare-styleable> 5326 5327 <!-- Attributes that can be assigned to a ColorStateList item. --> 5328 <declare-styleable name="ColorStateListItem"> 5329 <!-- Base color for this state. --> 5330 <attr name="color" /> 5331 <!-- Alpha multiplier applied to the base color. --> 5332 <attr name="alpha" /> 5333 </declare-styleable> 5334 5335 <!-- Drawable used to render according to the animation scale. Esp. when it is 0 due to battery 5336 saver mode. It should contain one animatable drawable and one static drawable. 5337 @hide --> 5338 <declare-styleable name="AnimationScaleListDrawable"> 5339 </declare-styleable> 5340 5341 <!-- Attributes that can be assigned to a AnimationScaleListDrawable item. 5342 @hide --> 5343 <declare-styleable name="AnimationScaleListDrawableItem"> 5344 <!-- Reference to a drawable resource to use for the state. If not 5345 given, the drawable must be defined by the first child tag. --> 5346 <attr name="drawable" /> 5347 </declare-styleable> 5348 5349 5350 <!-- Drawable used to render a geometric shape, with a gradient or a solid color. --> 5351 <declare-styleable name="GradientDrawable"> 5352 <!-- Indicates whether the drawable should intially be visible. --> 5353 <attr name="visible" /> 5354 <!-- Enables or disables dithering. --> 5355 <attr name="dither" /> 5356 <!-- Indicates what shape to fill with a gradient. --> 5357 <attr name="shape"> 5358 <!-- Rectangle shape, with optional rounder corners. --> 5359 <enum name="rectangle" value="0" /> 5360 <!-- Oval shape. --> 5361 <enum name="oval" value="1" /> 5362 <!-- Line shape. --> 5363 <enum name="line" value="2" /> 5364 <!-- Ring shape. --> 5365 <enum name="ring" value="3" /> 5366 </attr> 5367 <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance, 5368 if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. 5369 This value is ignored if innerRadius is defined. Default value is 9. --> 5370 <attr name="innerRadiusRatio" format="float" /> 5371 <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance, 5372 if thicknessRatio=3, then the thickness equals the ring's width divided by 3. 5373 This value is ignored if innerRadius is defined. Default value is 3. --> 5374 <attr name="thicknessRatio" format="float" /> 5375 <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. --> 5376 <attr name="innerRadius" format="dimension" /> 5377 <!-- Thickness of the ring. When defined, thicknessRatio is ignored. --> 5378 <attr name="thickness" format="dimension" /> 5379 <!-- Whether the drawable level value (see 5380 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the shape. 5381 Scaling behavior depends on the shape type. For "ring", the angle is scaled from 0 to 5382 360. For all other types, there is no effect. The default value is true. --> 5383 <attr name="useLevel" /> 5384 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5385 no tint is applied. May be a color state list. --> 5386 <attr name="tint" /> 5387 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5388 default value is src_in, which treats the drawable as an alpha mask. --> 5389 <attr name="tintMode" /> 5390 <!-- Left optical inset. 5391 @hide Until optical insets are fully supported. --> 5392 <attr name="opticalInsetLeft" /> 5393 <!-- Top optical inset. 5394 @hide Until optical insets are fully supported. --> 5395 <attr name="opticalInsetTop" /> 5396 <!-- Right optical inset. 5397 @hide Until optical insets are fully supported. --> 5398 <attr name="opticalInsetRight" /> 5399 <!-- Bottom optical inset. 5400 @hide Until optical insets are fully supported. --> 5401 <attr name="opticalInsetBottom" /> 5402 </declare-styleable> 5403 5404 <!-- Used to specify the size of the shape for GradientDrawable. --> 5405 <declare-styleable name="GradientDrawableSize"> 5406 <!-- Width of the gradient shape. --> 5407 <attr name="width" /> 5408 <!-- Height of the gradient shape. --> 5409 <attr name="height" /> 5410 </declare-styleable> 5411 5412 <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. --> 5413 <declare-styleable name="GradientDrawableGradient"> 5414 <!-- Start color of the gradient. --> 5415 <attr name="startColor" format="color" /> 5416 <!-- Optional center color. For linear gradients, use centerX or centerY to place the center 5417 color. --> 5418 <attr name="centerColor" format="color" /> 5419 <!-- End color of the gradient. --> 5420 <attr name="endColor" format="color" /> 5421 <!-- Whether the drawable level value (see 5422 {@link android.graphics.drawable.Drawable#getLevel()}) is used to scale the gradient. 5423 Scaling behavior varies based on gradient type. For "linear", adjusts the ending 5424 position along the gradient's axis of orientation. For "radial", adjusts the outer 5425 radius. For "sweep", adjusts the ending angle. The default value is false. --> 5426 <attr name="useLevel" format="boolean" /> 5427 <!-- Angle of the gradient, used only with linear gradient. Must be a multiple of 45 in the 5428 range [0, 315]. --> 5429 <attr name="angle" format="float" /> 5430 <!-- Type of gradient. The default type is linear. --> 5431 <attr name="type"> 5432 <!-- Linear gradient extending across the center point. --> 5433 <enum name="linear" value="0" /> 5434 <!-- Radial gradient extending from the center point outward. --> 5435 <enum name="radial" value="1" /> 5436 <!-- Sweep (or angular) gradient sweeping counter-clockwise around the center point. --> 5437 <enum name="sweep" value="2" /> 5438 </attr> 5439 <!-- X-position of the center point of the gradient within the shape as a fraction of the 5440 width. The default value is 0.5. --> 5441 <attr name="centerX" format="float|fraction" /> 5442 <!-- Y-position of the center point of the gradient within the shape as a fraction of the 5443 height. The default value is 0.5. --> 5444 <attr name="centerY" format="float|fraction" /> 5445 <!-- Radius of the gradient, used only with radial gradient. May be an explicit dimension 5446 or a fractional value relative to the shape's minimum dimension. --> 5447 <attr name="gradientRadius" format="float|fraction|dimension" /> 5448 </declare-styleable> 5449 5450 <!-- Used to fill the shape of GradientDrawable with a solid color. --> 5451 <declare-styleable name="GradientDrawableSolid"> 5452 <!-- Solid color for the gradient shape. --> 5453 <attr name="color" format="color" /> 5454 </declare-styleable> 5455 5456 <!-- Used to describe the optional stroke of a GradientDrawable. --> 5457 <declare-styleable name="GradientDrawableStroke"> 5458 <!-- Width of the gradient shape's stroke. --> 5459 <attr name="width" /> 5460 <!-- Color of the gradient shape's stroke. --> 5461 <attr name="color" /> 5462 <!-- Length of a dash in the stroke. --> 5463 <attr name="dashWidth" format="dimension" /> 5464 <!-- Gap between dashes in the stroke. --> 5465 <attr name="dashGap" format="dimension" /> 5466 </declare-styleable> 5467 5468 <!-- Describes the corners for the rectangle shape of a GradientDrawable. 5469 This can be used to render rounded corners. --> 5470 <declare-styleable name="DrawableCorners"> 5471 <!-- Defines the radius of the four corners. --> 5472 <attr name="radius" format="dimension" /> 5473 <!-- Radius of the top left corner. --> 5474 <attr name="topLeftRadius" format="dimension" /> 5475 <!-- Radius of the top right corner. --> 5476 <attr name="topRightRadius" format="dimension" /> 5477 <!-- Radius of the bottom left corner. --> 5478 <attr name="bottomLeftRadius" format="dimension" /> 5479 <!-- Radius of the bottom right corner. --> 5480 <attr name="bottomRightRadius" format="dimension" /> 5481 </declare-styleable> 5482 5483 <!-- Used to specify the optional padding of a GradientDrawable. --> 5484 <declare-styleable name="GradientDrawablePadding"> 5485 <!-- Amount of left padding inside the gradient shape. --> 5486 <attr name="left" format="dimension" /> 5487 <!-- Amount of top padding inside the gradient shape. --> 5488 <attr name="top" format="dimension" /> 5489 <!-- Amount of right padding inside the gradient shape. --> 5490 <attr name="right" format="dimension" /> 5491 <!-- Amount of bottom padding inside the gradient shape. --> 5492 <attr name="bottom" format="dimension" /> 5493 </declare-styleable> 5494 5495 <!-- Drawable used to render several drawables stacked on top of each other. 5496 Each child drawable can be controlled individually. --> 5497 <declare-styleable name="LayerDrawable"> 5498 <!-- Indicates the opacity of the layer. This can be useful to allow the 5499 system to enable drawing optimizations. The default value is 5500 translucent. --> 5501 <attr name="opacity"> 5502 <!-- Indicates that the layer is opaque and contains no transparent 5503 nor translucent pixels. --> 5504 <enum name="opaque" value="-1" /> 5505 <!-- The layer is completely transparent (no pixel will be drawn.) --> 5506 <enum name="transparent" value="-2" /> 5507 <!-- The layer has translucent pixels. --> 5508 <enum name="translucent" value="-3" /> 5509 </attr> 5510 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5511 RTL (right-to-left). --> 5512 <attr name="autoMirrored" /> 5513 <!-- Indicates how layer padding should affect the bounds of subsequent layers. 5514 The default padding mode value is nest. --> 5515 <attr name="paddingMode"> 5516 <!-- Nest each layer inside the padding of the previous layer. --> 5517 <enum name="nest" value="0" /> 5518 <!-- Stack each layer directly atop the previous layer. --> 5519 <enum name="stack" value="1" /> 5520 </attr> 5521 <!-- Explicit top padding. Overrides child padding. --> 5522 <attr name="paddingTop" /> 5523 <!-- Explicit bottom padding. Overrides child padding. --> 5524 <attr name="paddingBottom" /> 5525 <!-- Explicit left padding. Overrides child padding. --> 5526 <attr name="paddingLeft" /> 5527 <!-- Explicit right padding. Overrides child padding. --> 5528 <attr name="paddingRight" /> 5529 <!-- Explicit start padding. Overrides child padding. Takes precedence 5530 over absolute padding (e.g. left when layout direction is LTR). --> 5531 <attr name="paddingStart" /> 5532 <!-- Explicit end padding. Overrides child padding. Takes precedence 5533 over absolute padding (e.g. right when layout direction is LTR). --> 5534 <attr name="paddingEnd" /> 5535 </declare-styleable> 5536 5537 <!-- Describes an item (or child) of a LayerDrawable. --> 5538 <declare-styleable name="LayerDrawableItem"> 5539 <!-- Left inset to apply to the layer. --> 5540 <attr name="left" /> 5541 <!-- Top inset to apply to the layer. --> 5542 <attr name="top" /> 5543 <!-- Right inset to apply to the layer. --> 5544 <attr name="right" /> 5545 <!-- Bottom inset to apply to the layer. --> 5546 <attr name="bottom" /> 5547 <!-- Start inset to apply to the layer. Overrides {@code left} or 5548 {@code right} depending on layout direction. --> 5549 <attr name="start" format="dimension" /> 5550 <!-- End inset to apply to the layer. Overrides {@code left} or 5551 {@code right} depending on layout direction. --> 5552 <attr name="end" format="dimension" /> 5553 <!-- Width of the layer. Defaults to the layer's intrinsic width. --> 5554 <attr name="width" /> 5555 <!-- Height of the layer. Defaults to the layer's intrinsic height --> 5556 <attr name="height" /> 5557 <!-- Gravity used to align the layer within its container. If no value 5558 is specified, the default behavior depends on whether an explicit 5559 width or height has been set, If no dimension is set, gravity in 5560 that direction defaults to {@code fill_horizontal} or 5561 {@code fill_vertical}; otherwise, it defaults to {@code left} or 5562 {@code top}. --> 5563 <attr name="gravity" /> 5564 <!-- Drawable used to render the layer. --> 5565 <attr name="drawable" /> 5566 <!-- Identifier of the layer. This can be used to retrieve the layer 5567 from a drawable container. --> 5568 <attr name="id" /> 5569 </declare-styleable> 5570 5571 <declare-styleable name="LevelListDrawableItem"> 5572 <!-- The minimum level allowed for this item. --> 5573 <attr name="minLevel" format="integer" /> 5574 <!-- The maximum level allowed for this item. --> 5575 <attr name="maxLevel" format="integer" /> 5576 <attr name="drawable" /> 5577 </declare-styleable> 5578 5579 <!-- Drawable used to rotate another drawable. --> 5580 <declare-styleable name="RotateDrawable"> 5581 <attr name="visible" /> 5582 <attr name="fromDegrees" format="float" /> 5583 <attr name="toDegrees" format="float" /> 5584 <attr name="pivotX" format="float|fraction" /> 5585 <attr name="pivotY" format="float|fraction" /> 5586 <attr name="drawable" /> 5587 </declare-styleable> 5588 5589 <declare-styleable name="AnimatedRotateDrawable"> 5590 <attr name="visible" /> 5591 <attr name="frameDuration" format="integer" /> 5592 <attr name="framesCount" format="integer" /> 5593 <attr name="pivotX" /> 5594 <attr name="pivotY" /> 5595 <attr name="drawable" /> 5596 </declare-styleable> 5597 5598 <!-- Drawable used to render the Material progress indicator. --> 5599 <declare-styleable name="MaterialProgressDrawable"> 5600 <attr name="visible" /> 5601 <attr name="thickness" /> 5602 <attr name="innerRadius" /> 5603 <attr name="width" /> 5604 <attr name="height" /> 5605 <attr name="color" /> 5606 </declare-styleable> 5607 5608 <!-- Drawable used to wrap and inset another drawable. --> 5609 <declare-styleable name="InsetDrawable"> 5610 <attr name="visible" /> 5611 <attr name="drawable" /> 5612 <attr name="inset" format="dimension"/> 5613 <attr name="insetLeft" format="dimension" /> 5614 <attr name="insetRight" format="dimension" /> 5615 <attr name="insetTop" format="dimension" /> 5616 <attr name="insetBottom" format="dimension" /> 5617 </declare-styleable> 5618 5619 <!-- Drawable used to draw bitmaps. --> 5620 <declare-styleable name="BitmapDrawable"> 5621 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5622 <attr name="src" /> 5623 <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the 5624 edges of a bitmap when rotated. Default value is false. --> 5625 <attr name="antialias" format="boolean" /> 5626 <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is 5627 shrunk or stretched to smooth its apperance. Default value is true. --> 5628 <attr name="filter" format="boolean" /> 5629 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5630 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5631 an RGB 565 screen). Default value is true. --> 5632 <attr name="dither" /> 5633 <!-- Defines the gravity for the bitmap. The gravity indicates where to position 5634 the drawable in its container if the bitmap is smaller than the container. --> 5635 <attr name="gravity" /> 5636 <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. 5637 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5638 <attr name="tileMode"> 5639 <!-- Do not tile the bitmap. This is the default value. --> 5640 <enum name="disabled" value="-1" /> 5641 <!-- Replicates the edge color. --> 5642 <enum name="clamp" value="0" /> 5643 <!-- Repeats the bitmap in both direction. --> 5644 <enum name="repeat" value="1" /> 5645 <!-- Repeats the shader's image horizontally and vertically, alternating 5646 mirror images so that adjacent images always seam. --> 5647 <enum name="mirror" value="2" /> 5648 </attr> 5649 <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated. 5650 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5651 <attr name="tileModeX"> 5652 <!-- Do not tile the bitmap. This is the default value. --> 5653 <enum name="disabled" value="-1" /> 5654 <!-- Replicates the edge color. --> 5655 <enum name="clamp" value="0" /> 5656 <!-- Repeats the bitmap horizontally. --> 5657 <enum name="repeat" value="1" /> 5658 <!-- Repeats the shader's image horizontally, alternating 5659 mirror images so that adjacent images always seam. --> 5660 <enum name="mirror" value="2" /> 5661 </attr> 5662 <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated. 5663 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5664 <attr name="tileModeY"> 5665 <!-- Do not tile the bitmap. This is the default value. --> 5666 <enum name="disabled" value="-1" /> 5667 <!-- Replicates the edge color. --> 5668 <enum name="clamp" value="0" /> 5669 <!-- Repeats the bitmap vertically. --> 5670 <enum name="repeat" value="1" /> 5671 <!-- Repeats the shader's image vertically, alternating 5672 mirror images so that adjacent images always seam. --> 5673 <enum name="mirror" value="2" /> 5674 </attr> 5675 <!-- Enables or disables the mipmap hint. See 5676 {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information. 5677 Default value is false. --> 5678 <attr name="mipMap" format="boolean" /> 5679 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5680 RTL (right-to-left). --> 5681 <attr name="autoMirrored" /> 5682 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5683 no tint is applied. May be a color state list. --> 5684 <attr name="tint" /> 5685 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5686 default value is src_in, which treats the drawable as an alpha mask. --> 5687 <attr name="tintMode"> 5688 <!-- The tint is drawn on top of the drawable. 5689 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 5690 <enum name="src_over" value="3" /> 5691 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 5692 color channels are thrown out. [Sa * Da, Sc * Da] --> 5693 <enum name="src_in" value="5" /> 5694 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 5695 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 5696 <enum name="src_atop" value="9" /> 5697 <!-- Multiplies the color and alpha channels of the drawable with those of 5698 the tint. [Sa * Da, Sc * Dc] --> 5699 <enum name="multiply" value="14" /> 5700 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 5701 <enum name="screen" value="15" /> 5702 <!-- Combines the tint and drawable color and alpha channels, clamping the 5703 result to valid color values. Saturate(S + D) --> 5704 <enum name="add" value="16" /> 5705 </attr> 5706 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5707 <attr name="alpha" /> 5708 </declare-styleable> 5709 5710 <!-- Drawable used to draw 9-patches. --> 5711 <declare-styleable name="NinePatchDrawable"> 5712 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5713 <attr name="src" /> 5714 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5715 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5716 an RGB 565 screen). --> 5717 <attr name="dither" /> 5718 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5719 RTL (right-to-left). --> 5720 <attr name="autoMirrored" /> 5721 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5722 no tint is applied. May be a color state list. --> 5723 <attr name="tint" /> 5724 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5725 default value is src_in, which treats the drawable as an alpha mask. --> 5726 <attr name="tintMode" /> 5727 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5728 <attr name="alpha" /> 5729 </declare-styleable> 5730 5731 <!-- Drawable used to draw a single color. --> 5732 <declare-styleable name="ColorDrawable"> 5733 <!-- The color to use. --> 5734 <attr name="color" /> 5735 </declare-styleable> 5736 5737 <!-- Drawable used to show animated touch feedback. --> 5738 <declare-styleable name="RippleDrawable"> 5739 <!-- The color to use for ripple effects. This attribute is required. --> 5740 <attr name="color" /> 5741 <!-- The radius of the ripple when fully expanded. By default, the 5742 radius is computed based on the size of the ripple's container. --> 5743 <attr name="radius" /> 5744 </declare-styleable> 5745 5746 <declare-styleable name="ScaleDrawable"> 5747 <!-- Scale width, expressed as a percentage of the drawable's bound. The value's 5748 format is XX%. For instance: 100%, 12.5%, etc.--> 5749 <attr name="scaleWidth" format="string" /> 5750 <!-- Scale height, expressed as a percentage of the drawable's bound. The value's 5751 format is XX%. For instance: 100%, 12.5%, etc.--> 5752 <attr name="scaleHeight" format="string" /> 5753 <!-- Specifies where the drawable is positioned after scaling. The default value is 5754 left. --> 5755 <attr name="scaleGravity"> 5756 <!-- Push object to the top of its container, not changing its size. --> 5757 <flag name="top" value="0x30" /> 5758 <!-- Push object to the bottom of its container, not changing its size. --> 5759 <flag name="bottom" value="0x50" /> 5760 <!-- Push object to the left of its container, not changing its size. --> 5761 <flag name="left" value="0x03" /> 5762 <!-- Push object to the right of its container, not changing its size. --> 5763 <flag name="right" value="0x05" /> 5764 <!-- Place object in the vertical center of its container, not changing its size. --> 5765 <flag name="center_vertical" value="0x10" /> 5766 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 5767 <flag name="fill_vertical" value="0x70" /> 5768 <!-- Place object in the horizontal center of its container, not changing its size. --> 5769 <flag name="center_horizontal" value="0x01" /> 5770 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 5771 <flag name="fill_horizontal" value="0x07" /> 5772 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 5773 <flag name="center" value="0x11" /> 5774 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 5775 <flag name="fill" value="0x77" /> 5776 <!-- Additional option that can be set to have the top and/or bottom edges of 5777 the child clipped to its container's bounds. 5778 The clip will be based on the vertical gravity: a top gravity will clip the bottom 5779 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 5780 <flag name="clip_vertical" value="0x80" /> 5781 <!-- Additional option that can be set to have the left and/or right edges of 5782 the child clipped to its container's bounds. 5783 The clip will be based on the horizontal gravity: a left gravity will clip the right 5784 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 5785 <flag name="clip_horizontal" value="0x08" /> 5786 <!-- Push object to the beginning of its container, not changing its size. --> 5787 <flag name="start" value="0x00800003" /> 5788 <!-- Push object to the end of its container, not changing its size. --> 5789 <flag name="end" value="0x00800005" /> 5790 </attr> 5791 <!-- Specifies the initial drawable level in the range 0 to 10000. --> 5792 <attr name="level" format="integer" /> 5793 <!-- Reference to a drawable resource to draw with the specified scale. --> 5794 <attr name="drawable" /> 5795 <!-- Use the drawable's intrinsic width and height as minimum size values. 5796 Useful if the target drawable is a 9-patch or otherwise should not be scaled 5797 down beyond a minimum size. --> 5798 <attr name="useIntrinsicSizeAsMinimum" format="boolean" /> 5799 </declare-styleable> 5800 5801 <declare-styleable name="ClipDrawable"> 5802 <!-- The orientation for the clip. --> 5803 <attr name="clipOrientation"> 5804 <!-- Clip the drawable horizontally. --> 5805 <flag name="horizontal" value="1" /> 5806 <!-- Clip the drawable vertically. --> 5807 <flag name="vertical" value="2" /> 5808 </attr> 5809 <!-- Specifies where to clip within the drawable. The default value is 5810 left. --> 5811 <attr name="gravity" /> 5812 <!-- Reference to a drawable resource to draw with the specified scale. --> 5813 <attr name="drawable" /> 5814 </declare-styleable> 5815 5816 <!-- Defines the padding of a ShapeDrawable. --> 5817 <declare-styleable name="ShapeDrawablePadding"> 5818 <!-- Left padding. --> 5819 <attr name="left" /> 5820 <!-- Top padding. --> 5821 <attr name="top" /> 5822 <!-- Right padding. --> 5823 <attr name="right" /> 5824 <!-- Bottom padding. --> 5825 <attr name="bottom" /> 5826 </declare-styleable> 5827 5828 <!-- Drawable used to draw shapes. --> 5829 <declare-styleable name="ShapeDrawable"> 5830 <!-- Defines the color of the shape. --> 5831 <attr name="color" /> 5832 <!-- Defines the width of the shape. --> 5833 <attr name="width" /> 5834 <!-- Defines the height of the shape. --> 5835 <attr name="height" /> 5836 <!-- Enables or disables dithering. --> 5837 <attr name="dither" /> 5838 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5839 no tint is applied. May be a color state list. --> 5840 <attr name="tint" /> 5841 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5842 default value is src_in, which treats the drawable as an alpha mask. --> 5843 <attr name="tintMode" /> 5844 </declare-styleable> 5845 5846 <!-- ========================== --> 5847 <!-- VectorDrawable class --> 5848 <!-- ========================== --> 5849 <eat-comment /> 5850 5851 <!-- Drawable used to draw vector paths. --> 5852 <declare-styleable name="VectorDrawable"> 5853 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5854 no tint is applied. May be a color state list. --> 5855 <attr name="tint" /> 5856 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5857 default value is src_in, which treats the drawable as an alpha mask. --> 5858 <attr name="tintMode" /> 5859 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5860 RTL (right-to-left). --> 5861 <attr name="autoMirrored" /> 5862 <!-- The intrinsic width of the Vector Drawable. --> 5863 <attr name="width" /> 5864 <!-- The intrinsic height of the Vector Drawable. --> 5865 <attr name="height" /> 5866 <!-- The width of the canvas the drawing is on. --> 5867 <attr name="viewportWidth" format="float"/> 5868 <!-- The height of the canvas the drawing is on. --> 5869 <attr name="viewportHeight" format="float"/> 5870 <!-- The name of this vector drawable --> 5871 <attr name="name" /> 5872 <!-- The opacity of the whole vector drawable, as a value between 0 5873 (completely transparent) and 1 (completely opaque). --> 5874 <attr name="alpha" /> 5875 <!-- Left optical inset. 5876 @hide Until optical insets are fully supported. --> 5877 <attr name="opticalInsetLeft" format="dimension" /> 5878 <!-- Top optical inset. 5879 @hide Until optical insets are fully supported. --> 5880 <attr name="opticalInsetTop" format="dimension" /> 5881 <!-- Right optical inset. 5882 @hide Until optical insets are fully supported. --> 5883 <attr name="opticalInsetRight" format="dimension" /> 5884 <!-- Bottom optical inset. 5885 @hide Until optical insets are fully supported. --> 5886 <attr name="opticalInsetBottom" format="dimension" /> 5887 </declare-styleable> 5888 5889 <!-- Defines the group used in VectorDrawables. --> 5890 <declare-styleable name="VectorDrawableGroup"> 5891 <!-- The name of this group --> 5892 <attr name="name" /> 5893 <!-- The amount to rotate the group --> 5894 <attr name="rotation" /> 5895 <!-- The X coordinate of the center of rotation of a group --> 5896 <attr name="pivotX" /> 5897 <!-- The Y coordinate of the center of rotation of a group --> 5898 <attr name="pivotY" /> 5899 <!-- The amount to translate the group on X coordinate --> 5900 <attr name="translateX" format="float"/> 5901 <!-- The amount to translate the group on Y coordinate --> 5902 <attr name="translateY" format="float"/> 5903 <!-- The amount to scale the group on X coordinate --> 5904 <attr name="scaleX" /> 5905 <!-- The amount to scale the group on X coordinate --> 5906 <attr name="scaleY" /> 5907 </declare-styleable> 5908 5909 <!-- Defines the path used in VectorDrawables. --> 5910 <declare-styleable name="VectorDrawablePath"> 5911 <!-- The name of this path --> 5912 <attr name="name" /> 5913 <!-- The width a path stroke --> 5914 <attr name="strokeWidth" format="float" /> 5915 <!-- The color to stroke the path if not defined implies no stroke--> 5916 <attr name="strokeColor" format="color" /> 5917 <!-- The opacity of a path stroke, as a value between 0 (completely transparent) 5918 and 1 (completely opaque) --> 5919 <attr name="strokeAlpha" format="float" /> 5920 <!-- The color to fill the path if not defined implies no fill--> 5921 <attr name="fillColor" format="color" /> 5922 <!-- The alpha of the path fill, as a value between 0 (completely transparent) 5923 and 1 (completely opaque)--> 5924 <attr name="fillAlpha" format="float" /> 5925 <!-- The specification of the operations that define the path --> 5926 <attr name="pathData" format="string" /> 5927 <!-- The fraction of the path to trim from the start from 0 to 1 --> 5928 <attr name="trimPathStart" format="float" /> 5929 <!-- The fraction of the path to trim from the end from 0 to 1 --> 5930 <attr name="trimPathEnd" format="float" /> 5931 <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1 --> 5932 <attr name="trimPathOffset" format="float" /> 5933 <!-- sets the linecap for a stroked path --> 5934 <attr name="strokeLineCap" format="enum"> 5935 <enum name="butt" value="0"/> 5936 <enum name="round" value="1"/> 5937 <enum name="square" value="2"/> 5938 </attr> 5939 <!-- sets the lineJoin for a stroked path --> 5940 <attr name="strokeLineJoin" format="enum"> 5941 <enum name="miter" value="0"/> 5942 <enum name="round" value="1"/> 5943 <enum name="bevel" value="2"/> 5944 </attr> 5945 <!-- sets the Miter limit for a stroked path --> 5946 <attr name="strokeMiterLimit" format="float"/> 5947 <!-- sets the fillType for a path. It is the same as SVG's "fill-rule" properties. 5948 For more details, see https://www.w3.org/TR/SVG/painting.html#FillRuleProperty --> 5949 <attr name="fillType" format="enum"> 5950 <enum name="nonZero" value="0"/> 5951 <enum name="evenOdd" value="1"/> 5952 </attr> 5953 </declare-styleable> 5954 5955 <!-- Defines the clip path used in VectorDrawables. --> 5956 <declare-styleable name="VectorDrawableClipPath"> 5957 <!-- The Name of this path --> 5958 <attr name="name" /> 5959 <!-- The specification of the operations that define the path --> 5960 <attr name="pathData"/> 5961 </declare-styleable> 5962 5963 <!-- ========================== --> 5964 <!-- AnimatedVectorDrawable class --> 5965 <!-- ========================== --> 5966 <eat-comment /> 5967 5968 <!-- Define the AnimatedVectorDrawable. --> 5969 <declare-styleable name="AnimatedVectorDrawable"> 5970 <!-- The static vector drawable. --> 5971 <attr name="drawable" /> 5972 </declare-styleable> 5973 5974 <!-- Defines the target used in the AnimatedVectorDrawable. --> 5975 <declare-styleable name="AnimatedVectorDrawableTarget"> 5976 <!-- The name of the target path, group or vector drawable --> 5977 <attr name="name" /> 5978 <!-- The animation for the target path, group or vector drawable --> 5979 <attr name="animation" /> 5980 </declare-styleable> 5981 5982 <!-- ========================== --> 5983 <!-- Animation class attributes --> 5984 <!-- ========================== --> 5985 <eat-comment /> 5986 5987 <declare-styleable name="Animation"> 5988 <!-- Defines the interpolator used to smooth the animation movement in time. --> 5989 <attr name="interpolator" /> 5990 <!-- When set to true, the value of fillBefore is taken into account. --> 5991 <attr name="fillEnabled" format="boolean" /> 5992 <!-- When set to true or when fillEnabled is not set to true, the animation transformation 5993 is applied before the animation has started. The default value is true. --> 5994 <attr name="fillBefore" format="boolean" /> 5995 <!-- When set to true, the animation transformation is applied after the animation is 5996 over. The default value is false. If fillEnabled is not set to true and the 5997 animation is not set on a View, fillAfter is assumed to be true.--> 5998 <attr name="fillAfter" format="boolean" /> 5999 <!-- Amount of time (in milliseconds) for the animation to run. --> 6000 <attr name="duration" /> 6001 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6002 <attr name="startOffset" format="integer" /> 6003 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6004 <attr name="repeatCount" format="integer"> 6005 <enum name="infinite" value="-1" /> 6006 </attr> 6007 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6008 greater than 0 or infinite. The default value is restart. --> 6009 <attr name="repeatMode"> 6010 <!-- The animation starts again from the beginning. --> 6011 <enum name="restart" value="1" /> 6012 <!-- The animation plays backward. --> 6013 <enum name="reverse" value="2" /> 6014 </attr> 6015 <!-- Allows for an adjustment of the Z ordering of the content being 6016 animated for the duration of the animation. The default value is normal. --> 6017 <attr name="zAdjustment"> 6018 <!-- The content being animated be kept in its current Z order. --> 6019 <enum name="normal" value="0" /> 6020 <!-- The content being animated is forced on top of all other 6021 content for the duration of the animation. --> 6022 <enum name="top" value="1" /> 6023 <!-- The content being animated is forced under all other 6024 content for the duration of the animation. --> 6025 <enum name="bottom" value="-1" /> 6026 </attr> 6027 <!-- Special background behind animation. Only for use with window 6028 animations. Can only be a color, and only black. If 0, the 6029 default, there is no background. --> 6030 <attr name="background" /> 6031 <!-- Special option for window animations: if this window is on top 6032 of a wallpaper, don't animate the wallpaper with it. --> 6033 <attr name="detachWallpaper" format="boolean" /> 6034 </declare-styleable> 6035 6036 <declare-styleable name="AnimationSet"> 6037 <attr name="shareInterpolator" format="boolean" /> 6038 <attr name="fillBefore" /> 6039 <attr name="fillAfter" /> 6040 <attr name="duration" /> 6041 <attr name="startOffset" /> 6042 <attr name="repeatMode" /> 6043 </declare-styleable> 6044 6045 <declare-styleable name="RotateAnimation"> 6046 <attr name="fromDegrees" /> 6047 <attr name="toDegrees" /> 6048 <attr name="pivotX" /> 6049 <attr name="pivotY" /> 6050 </declare-styleable> 6051 6052 <declare-styleable name="ScaleAnimation"> 6053 <attr name="fromXScale" format="float|fraction|dimension" /> 6054 <attr name="toXScale" format="float|fraction|dimension" /> 6055 <attr name="fromYScale" format="float|fraction|dimension" /> 6056 <attr name="toYScale" format="float|fraction|dimension" /> 6057 <attr name="pivotX" /> 6058 <attr name="pivotY" /> 6059 </declare-styleable> 6060 6061 <declare-styleable name="TranslateAnimation"> 6062 <attr name="fromXDelta" format="float|fraction" /> 6063 <attr name="toXDelta" format="float|fraction" /> 6064 <attr name="fromYDelta" format="float|fraction" /> 6065 <attr name="toYDelta" format="float|fraction" /> 6066 </declare-styleable> 6067 6068 <declare-styleable name="AlphaAnimation"> 6069 <attr name="fromAlpha" format="float" /> 6070 <attr name="toAlpha" format="float" /> 6071 </declare-styleable> 6072 6073 <declare-styleable name="LayoutAnimation"> 6074 <!-- Fraction of the animation duration used to delay the beginning of 6075 the animation of each child. --> 6076 <attr name="delay" format="float|fraction" /> 6077 <!-- Animation to use on each child. --> 6078 <attr name="animation" format="reference" /> 6079 <!-- The order in which the animations will be started. --> 6080 <attr name="animationOrder"> 6081 <!-- Animations are started in the natural order. --> 6082 <enum name="normal" value="0" /> 6083 <!-- Animations are started in the reverse order. --> 6084 <enum name="reverse" value="1" /> 6085 <!-- Animations are started randomly. --> 6086 <enum name="random" value="2" /> 6087 </attr> 6088 <!-- Interpolator used to interpolate the delay between the start of 6089 each animation. --> 6090 <attr name="interpolator" /> 6091 </declare-styleable> 6092 6093 <declare-styleable name="GridLayoutAnimation"> 6094 <!-- Fraction of the animation duration used to delay the beginning of 6095 the animation of each column. --> 6096 <attr name="columnDelay" format="float|fraction" /> 6097 <!-- Fraction of the animation duration used to delay the beginning of 6098 the animation of each row. --> 6099 <attr name="rowDelay" format="float|fraction" /> 6100 <!-- Direction of the animation in the grid. --> 6101 <attr name="direction"> 6102 <!-- Animates columns from left to right. --> 6103 <flag name="left_to_right" value="0x0" /> 6104 <!-- Animates columns from right to left. --> 6105 <flag name="right_to_left" value="0x1" /> 6106 <!-- Animates rows from top to bottom. --> 6107 <flag name="top_to_bottom" value="0x0" /> 6108 <!-- Animates rows from bottom to top. --> 6109 <flag name="bottom_to_top" value="0x2" /> 6110 </attr> 6111 <!-- Priority of the rows and columns. When the priority is none, 6112 both rows and columns have the same priority. When the priority is 6113 column, the animations will be applied on the columns first. The same 6114 goes for rows. --> 6115 <attr name="directionPriority"> 6116 <!-- Rows and columns are animated at the same time. --> 6117 <enum name="none" value="0" /> 6118 <!-- Columns are animated first. --> 6119 <enum name="column" value="1" /> 6120 <!-- Rows are animated first. --> 6121 <enum name="row" value="2" /> 6122 </attr> 6123 </declare-styleable> 6124 6125 <declare-styleable name="AccelerateInterpolator"> 6126 <!-- This is the amount of deceleration to add when easing in. --> 6127 <attr name="factor" format="float" /> 6128 </declare-styleable> 6129 6130 <declare-styleable name="DecelerateInterpolator"> 6131 <!-- This is the amount of acceleration to add when easing out. --> 6132 <attr name="factor" /> 6133 </declare-styleable> 6134 6135 <declare-styleable name="CycleInterpolator"> 6136 <attr name="cycles" format="float" /> 6137 </declare-styleable> 6138 6139 <declare-styleable name="AnticipateInterpolator"> 6140 <!-- This is the amount of tension. --> 6141 <attr name="tension" format="float" /> 6142 </declare-styleable> 6143 6144 <declare-styleable name="OvershootInterpolator"> 6145 <!-- This is the amount of tension. --> 6146 <attr name="tension" /> 6147 </declare-styleable> 6148 6149 <declare-styleable name="AnticipateOvershootInterpolator"> 6150 <!-- This is the amount of tension. --> 6151 <attr name="tension" /> 6152 <!-- This is the amount by which to multiply the tension. --> 6153 <attr name="extraTension" format="float" /> 6154 </declare-styleable> 6155 6156 <declare-styleable name="PathInterpolator"> 6157 <!-- The x coordinate of the first control point of the cubic Bezier --> 6158 <attr name="controlX1" format="float" /> 6159 <!-- The y coordinate of the first control point of the cubic Bezier --> 6160 <attr name="controlY1" format="float" /> 6161 <!-- The x coordinate of the second control point of the cubic Bezier --> 6162 <attr name="controlX2" format="float" /> 6163 <!-- The y coordinate of the second control point of the cubic Bezier --> 6164 <attr name="controlY2" format="float" /> 6165 <!-- The control points defined as a path. 6166 When pathData is defined, then both of the control points of the 6167 cubic Bezier will be ignored. --> 6168 <attr name="pathData"/> 6169 </declare-styleable> 6170 6171 <!-- ========================== --> 6172 <!-- Transition attributes --> 6173 <!-- ========================== --> 6174 <eat-comment /> 6175 6176 <!-- Use specific transition subclass names as the root tag of the XML resource that 6177 describes a {@link android.transition.Transition Transition}, 6178 such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. --> 6179 <declare-styleable name="Transition"> 6180 <!-- Amount of time (in milliseconds) that the transition should run. --> 6181 <attr name="duration" /> 6182 <!-- Delay in milliseconds before the transition starts. --> 6183 <attr name="startDelay" format="integer" /> 6184 <!-- Interpolator to be used in the animations spawned by this transition. --> 6185 <attr name="interpolator" /> 6186 <!-- The match order to use for the transition. This is a comma-separated 6187 list of values, containing one or more of the following: 6188 id, itemId, name, instance. These correspond to 6189 {@link android.transition.Transition#MATCH_ID}, 6190 {@link android.transition.Transition#MATCH_ITEM_ID}, 6191 {@link android.transition.Transition#MATCH_NAME}, and 6192 {@link android.transition.Transition#MATCH_INSTANCE}, respectively. 6193 This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. --> 6194 <attr name="matchOrder" format="string" /> 6195 </declare-styleable> 6196 6197 <!-- @hide For internal use only. Use only as directed. --> 6198 <declare-styleable name="EpicenterTranslateClipReveal"> 6199 <attr name="interpolatorX" format="reference" /> 6200 <attr name="interpolatorY" format="reference" /> 6201 <attr name="interpolatorZ" format="reference" /> 6202 </declare-styleable> 6203 6204 <!-- Use <code>fade</code>as the root tag of the XML resource that 6205 describes a {@link android.transition.Fade Fade} transition. 6206 The attributes of the {@link android.R.styleable#Transition Transition} 6207 resource are available in addition to the specific attributes of Fade 6208 described here. --> 6209 <declare-styleable name="Fade"> 6210 <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only 6211 with the Fade transition. --> 6212 <attr name="fadingMode"> 6213 <!-- Fade will only fade appearing items in. --> 6214 <enum name="fade_in" value="1" /> 6215 <!-- Fade will only fade disappearing items out. --> 6216 <enum name="fade_out" value="2" /> 6217 <!-- Fade will fade appearing items in and disappearing items out. --> 6218 <enum name="fade_in_out" value="3" /> 6219 </attr> 6220 </declare-styleable> 6221 6222 <!-- Use <code>slide</code>as the root tag of the XML resource that 6223 describes a {@link android.transition.Slide Slide} transition. 6224 The attributes of the {@link android.R.styleable#Transition Transition} 6225 resource are available in addition to the specific attributes of Slide 6226 described here. --> 6227 <declare-styleable name="Slide"> 6228 <attr name="slideEdge"> 6229 <!-- Slide to and from the left edge of the Scene. --> 6230 <enum name="left" value="0x03" /> 6231 <!-- Slide to and from the top edge of the Scene. --> 6232 <enum name="top" value="0x30" /> 6233 <!-- Slide to and from the right edge of the Scene. --> 6234 <enum name="right" value="0x05" /> 6235 <!-- Slide to and from the bottom edge of the Scene. --> 6236 <enum name="bottom" value="0x50" /> 6237 <!-- Slide to and from the x-axis position at the start of the Scene root. --> 6238 <enum name="start" value="0x00800003"/> 6239 <!-- Slide to and from the x-axis position at the end of the Scene root. --> 6240 <enum name="end" value="0x00800005"/> 6241 </attr> 6242 </declare-styleable> 6243 6244 <!-- Use with {@link android.transition.Visibility} transitions, such as 6245 <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which 6246 views are supported. --> 6247 <declare-styleable name="VisibilityTransition"> 6248 <!-- Changes whether the transition supports appearing and/or disappearing Views. 6249 Corresponds to {@link android.transition.Visibility#setMode(int)}. --> 6250 <attr name="transitionVisibilityMode"> 6251 <!-- Only appearing Views will be supported. --> 6252 <flag name="mode_in" value="1" /> 6253 <!-- Only disappearing Views will be supported. --> 6254 <flag name="mode_out" value="2" /> 6255 </attr> 6256 </declare-styleable> 6257 <!-- Use <code>target</code> as the root tag of the XML resource that 6258 describes a {@link android.transition.Transition#addTarget(int) 6259 targetId} of a transition. There can be one or more targets inside 6260 a <code>targets</code> tag, which is itself inside an appropriate 6261 {@link android.R.styleable#Transition Transition} tag. 6262 --> 6263 <declare-styleable name="TransitionTarget"> 6264 <!-- The id of a target on which this transition will animate changes. --> 6265 <attr name="targetId" format="reference" /> 6266 <!-- The id of a target to exclude from this transition. --> 6267 <attr name="excludeId" format="reference" /> 6268 <!-- The fully-qualified name of the Class to include in this transition. --> 6269 <attr name="targetClass" /> 6270 <!-- The fully-qualified name of the Class to exclude from this transition. --> 6271 <attr name="excludeClass" format="string" /> 6272 <!-- The transitionName of the target on which this transition will animation changes. --> 6273 <attr name="targetName" format="string" /> 6274 <!-- The transitionName of the target to exclude from this transition. --> 6275 <attr name="excludeName" format="string" /> 6276 </declare-styleable> 6277 6278 <!-- Use <code>set</code> as the root tag of the XML resource that 6279 describes a {@link android.transition.TransitionSet 6280 TransitionSet} transition. --> 6281 <declare-styleable name="TransitionSet"> 6282 <attr name="transitionOrdering"> 6283 <!-- child transitions should be played together. --> 6284 <enum name="together" value="0" /> 6285 <!-- child transitions should be played sequentially, in the same order 6286 as the xml. --> 6287 <enum name="sequential" value="1" /> 6288 </attr> 6289 </declare-styleable> 6290 6291 <!-- Use <code>changeTransform</code> as the root tag of the XML resource that 6292 describes a {@link android.transition.ChangeTransform} transition. --> 6293 <declare-styleable name="ChangeTransform"> 6294 <!-- A parent change should use an overlay or affect the transform of the 6295 transitionining View. Default is true. Corresponds to 6296 {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. --> 6297 <attr name="reparentWithOverlay" format="boolean"/> 6298 6299 <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to 6300 {@link android.transition.ChangeTransform#setReparent(boolean)}. --> 6301 <attr name="reparent" format="boolean"/> 6302 </declare-styleable> 6303 6304 <!-- Use <code>changeBounds</code>as the root tag of the XML resource that 6305 describes a {@link android.transition.ChangeBounds} transition. 6306 The attributes of the {@link android.R.styleable#Transition Transition} 6307 resource are available in addition to the specific attributes of ChangeBounds 6308 described here. --> 6309 <declare-styleable name="ChangeBounds"> 6310 <!-- Resize the view by adjusting the clipBounds rather than changing the 6311 dimensions of the view itself. The default value is false. --> 6312 <attr name="resizeClip" format="boolean"/> 6313 </declare-styleable> 6314 6315 <!-- Use <code>transitionManager</code> as the root tag of the XML resource that 6316 describes a {@link android.transition.TransitionManager 6317 TransitionManager}. --> 6318 <declare-styleable name="TransitionManager"> 6319 <!-- The id of a transition to be used in a particular scene change. --> 6320 <attr name="transition" format="reference" /> 6321 <!-- The originating scene in this scene change. --> 6322 <attr name="fromScene" format="reference" /> 6323 <!-- The destination scene in this scene change. --> 6324 <attr name="toScene" format="reference" /> 6325 </declare-styleable> 6326 6327 <!-- Use <code>arcMotion</code> as the root tag of the XML resource that 6328 describes a {@link android.transition.ArcMotion}. This must be used 6329 within a transition with which the PathMotion should be associated. --> 6330 <declare-styleable name="ArcMotion"> 6331 <!-- The minimum arc angle in degrees between the start and end points when 6332 they are close to horizontal. --> 6333 <attr name="minimumHorizontalAngle" format="float" /> 6334 <!-- The minimum arc angle in degrees between the start and end points when 6335 they are close to vertical. --> 6336 <attr name="minimumVerticalAngle" format="float" /> 6337 <!-- The maximum arc angle in degrees between the start and end points. --> 6338 <attr name="maximumAngle" format="float" /> 6339 </declare-styleable> 6340 6341 <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that 6342 describes a {@link android.transition.PatternPathMotion}. This must be used 6343 within a transition with which the PathMotion should be associated. --> 6344 <declare-styleable name="PatternPathMotion"> 6345 <!-- The path string describing the pattern to use for the PathPathMotion. --> 6346 <attr name="patternPathData" format="string" /> 6347 </declare-styleable> 6348 6349 <!-- ========================== --> 6350 <!-- ValueAnimator class attributes --> 6351 <!-- ========================== --> 6352 <eat-comment /> 6353 6354 <declare-styleable name="Animator"> 6355 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6356 <attr name="interpolator" /> 6357 <!-- Amount of time (in milliseconds) for the animation to run. --> 6358 <attr name="duration" /> 6359 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6360 <attr name="startOffset"/> 6361 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6362 <attr name="repeatCount"/> 6363 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6364 greater than 0 or infinite. The default value is restart. --> 6365 <attr name="repeatMode"/> 6366 <!-- Value the animation starts from. --> 6367 <attr name="valueFrom" format="float|integer|color|dimension|string"/> 6368 <!-- Value the animation animates to. --> 6369 <attr name="valueTo" format="float|integer|color|dimension|string"/> 6370 <!-- The type of valueFrom and valueTo. --> 6371 <attr name="valueType"> 6372 <!-- The given values are floats. This is the default value if valueType is 6373 unspecified. Note that if any value attribute has a color value 6374 (beginning with "#"), then this attribute is ignored and the color values are 6375 interpreted as integers. --> 6376 <enum name="floatType" value="0" /> 6377 <!-- values are integers. --> 6378 <enum name="intType" value="1" /> 6379 <!-- values are paths defined as strings. 6380 This type is used for path morphing in AnimatedVectorDrawable. --> 6381 <enum name="pathType" value="2" /> 6382 <!-- values are colors, which are integers starting with "#". --> 6383 <enum name="colorType" value="3" /> 6384 </attr> 6385 <!-- Placeholder for a deleted attribute. This should be removed before M release. --> 6386 <attr name="removeBeforeMRelease" format="integer" /> 6387 </declare-styleable> 6388 6389 <declare-styleable name="PropertyValuesHolder"> 6390 <attr name="valueType" /> 6391 <attr name="propertyName" /> 6392 <attr name="valueFrom" /> 6393 <attr name="valueTo" /> 6394 </declare-styleable> 6395 6396 <declare-styleable name="Keyframe"> 6397 <attr name="valueType" /> 6398 <attr name="value" /> 6399 <attr name="fraction" format="float" /> 6400 <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used 6401 to interpolate between this keyframe and the previous keyframe.--> 6402 <attr name="interpolator" /> 6403 </declare-styleable> 6404 6405 <!-- ========================== --> 6406 <!-- ObjectAnimator class attributes --> 6407 <!-- ========================== --> 6408 <eat-comment /> 6409 6410 <declare-styleable name="PropertyAnimator"> 6411 <!-- Name of the property being animated. --> 6412 <attr name="propertyName" format="string"/> 6413 <!-- Name of the property being animated as the X coordinate of the pathData. --> 6414 <attr name="propertyXName" format="string"/> 6415 <!-- Name of the property being animated as the Y coordinate of the pathData. --> 6416 <attr name="propertyYName" format="string"/> 6417 <!-- The path used to animate the properties in the ObjectAnimator --> 6418 <attr name="pathData"/> 6419 </declare-styleable> 6420 6421 6422 <!-- ========================== --> 6423 <!-- AnimatorSet class attributes --> 6424 <!-- ========================== --> 6425 <eat-comment /> 6426 6427 <declare-styleable name="AnimatorSet"> 6428 <!-- Name of the property being animated. --> 6429 <attr name="ordering"> 6430 <!-- child animations should be played together. --> 6431 <enum name="together" value="0" /> 6432 <!-- child animations should be played sequentially, in the same order as the xml. --> 6433 <enum name="sequentially" value="1" /> 6434 </attr> 6435 </declare-styleable> 6436 6437 <!-- ========================== --> 6438 <!-- State attributes --> 6439 <!-- ========================== --> 6440 <eat-comment /> 6441 6442 <!-- Set of framework-provided states that may be specified on a Drawable. Actual usage of 6443 states may vary between view implementations, as documented on the individual state 6444 attributes. --> 6445 <declare-styleable name="DrawableStates"> 6446 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6447 set when a view has input focus. --> 6448 <attr name="state_focused" format="boolean" /> 6449 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6450 set when a view's window has input focus. --> 6451 <attr name="state_window_focused" format="boolean" /> 6452 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6453 set when a view is enabled. --> 6454 <attr name="state_enabled" format="boolean" /> 6455 <!-- State identifier indicating that the object <var>may</var> display a check mark. See 6456 {@link android.R.attr#state_checked} for the identifier that indicates whether it is 6457 actually checked. --> 6458 <attr name="state_checkable" format="boolean"/> 6459 <!-- State identifier indicating that the object is currently checked. See 6460 {@link android.R.attr#state_checkable} for an additional identifier that can indicate 6461 if any object may ever display a check, regardless of whether state_checked is 6462 currently set. --> 6463 <attr name="state_checked" format="boolean"/> 6464 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6465 set when a view (or one of its parents) is currently selected. --> 6466 <attr name="state_selected" format="boolean" /> 6467 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6468 set when the user is pressing down in a view. --> 6469 <attr name="state_pressed" format="boolean" /> 6470 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6471 set when a view or its parent has been "activated" meaning the user has currently 6472 marked it as being of interest. This is an alternative representation of 6473 state_checked for when the state should be propagated down the view hierarchy. --> 6474 <attr name="state_activated" format="boolean" /> 6475 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6476 set when a view or drawable is considered "active" by its host. Actual usage may vary 6477 between views. Consult the host view documentation for details. --> 6478 <attr name="state_active" format="boolean" /> 6479 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6480 set when a view or drawable is considered "single" by its host. Actual usage may vary 6481 between views. Consult the host view documentation for details. --> 6482 <attr name="state_single" format="boolean" /> 6483 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6484 set when a view or drawable is in the first position in an ordered set. Actual usage 6485 may vary between views. Consult the host view documentation for details. --> 6486 <attr name="state_first" format="boolean" /> 6487 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6488 set when a view or drawable is in the middle position in an ordered set. Actual usage 6489 may vary between views. Consult the host view documentation for details. --> 6490 <attr name="state_middle" format="boolean" /> 6491 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6492 set when a view or drawable is in the last position in an ordered set. Actual usage 6493 may vary between views. Consult the host view documentation for details. --> 6494 <attr name="state_last" format="boolean" /> 6495 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6496 indicating that the Drawable is in a view that is hardware accelerated. 6497 This means that the device can at least render a full-screen scaled 6498 bitmap with one layer of text and bitmaps composited on top of it 6499 at 60fps. When this is set, the colorBackgroundCacheHint will be 6500 ignored even if it specifies a solid color, since that optimization 6501 is not needed. --> 6502 <attr name="state_accelerated" format="boolean" /> 6503 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6504 set when a pointer is hovering over the view. --> 6505 <attr name="state_hovered" format="boolean" /> 6506 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6507 indicating that the Drawable is in a view that is capable of accepting a drop of 6508 the content currently being manipulated in a drag-and-drop operation. --> 6509 <attr name="state_drag_can_accept" format="boolean" /> 6510 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6511 indicating that a drag operation (for which the Drawable's view is a valid recipient) 6512 is currently positioned over the Drawable. --> 6513 <attr name="state_drag_hovered" format="boolean" /> 6514 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6515 indicating that a View has accessibility focus. --> 6516 <attr name="state_accessibility_focused" format="boolean" /> 6517 </declare-styleable> 6518 <declare-styleable name="ViewDrawableStates"> 6519 <attr name="state_pressed" /> 6520 <attr name="state_focused" /> 6521 <attr name="state_selected" /> 6522 <attr name="state_window_focused" /> 6523 <attr name="state_enabled" /> 6524 <attr name="state_activated" /> 6525 <attr name="state_accelerated" /> 6526 <attr name="state_hovered" /> 6527 <attr name="state_drag_can_accept" /> 6528 <attr name="state_drag_hovered" /> 6529 </declare-styleable> 6530 <!-- State array representing a menu item that is currently checked. --> 6531 <declare-styleable name="MenuItemCheckedState"> 6532 <attr name="state_checkable" /> 6533 <attr name="state_checked" /> 6534 </declare-styleable> 6535 <!-- State array representing a menu item that is checkable but is not currently checked. --> 6536 <declare-styleable name="MenuItemUncheckedState"> 6537 <attr name="state_checkable" /> 6538 </declare-styleable> 6539 <!-- State array representing a menu item that is currently focused and checked. --> 6540 <declare-styleable name="MenuItemCheckedFocusedState"> 6541 <attr name="state_checkable" /> 6542 <attr name="state_checked" /> 6543 <attr name="state_focused" /> 6544 </declare-styleable> 6545 <!-- State array representing a menu item that is focused and checkable but is not currently checked. --> 6546 <declare-styleable name="MenuItemUncheckedFocusedState"> 6547 <attr name="state_checkable" /> 6548 <attr name="state_focused" /> 6549 </declare-styleable> 6550 <!-- State array representing an expandable list child's indicator. --> 6551 <declare-styleable name="ExpandableListChildIndicatorState"> 6552 <!-- State identifier indicating the child is the last child within its group. --> 6553 <attr name="state_last" /> 6554 </declare-styleable> 6555 <!-- State array representing an expandable list group's indicator. --> 6556 <declare-styleable name="ExpandableListGroupIndicatorState"> 6557 <!-- State identifier indicating the group is expanded. --> 6558 <attr name="state_expanded" format="boolean" /> 6559 <!-- State identifier indicating the group is empty (has no children). --> 6560 <attr name="state_empty" format="boolean" /> 6561 </declare-styleable> 6562 <declare-styleable name="PopupWindowBackgroundState"> 6563 <!-- State identifier indicating the popup will be above the anchor. --> 6564 <attr name="state_above_anchor" format="boolean" /> 6565 </declare-styleable> 6566 <declare-styleable name="TextViewMultiLineBackgroundState"> 6567 <!-- State identifier indicating a TextView has a multi-line layout. --> 6568 <attr name="state_multiline" format="boolean" /> 6569 </declare-styleable> 6570 6571 <!-- ***************************************************************** --> 6572 <!-- Support for Searchable activities. --> 6573 <!-- ***************************************************************** --> 6574 <eat-comment /> 6575 6576 <!-- Searchable activities and applications must provide search configuration information 6577 in an XML file, typically called searchable.xml. This file is referenced in your manifest. 6578 For a more in-depth discussion of search configuration, please refer to 6579 {@link android.app.SearchManager}. --> 6580 <declare-styleable name="Searchable"> 6581 <!--<strong>This is deprecated.</strong><br/>The default 6582 application icon is now always used, so this attribute is 6583 obsolete.--> 6584 <attr name="icon" /> 6585 <!-- This is the user-displayed name of the searchable activity. <i>Required 6586 attribute.</i> --> 6587 <attr name="label" /> 6588 <!-- If supplied, this string will be displayed as a hint to the user. <i>Optional 6589 attribute.</i> --> 6590 <attr name="hint" /> 6591 <!-- If supplied, this string will be displayed as the text of the "Search" button. 6592 <i>Optional attribute.</i> 6593 {@deprecated This will create a non-standard UI appearance, because the search bar UI is 6594 changing to use only icons for its buttons.}--> 6595 <attr name="searchButtonText" format="string" /> 6596 <attr name="inputType" /> 6597 <attr name="imeOptions" /> 6598 6599 <!-- Additional features are controlled by mode bits in this field. Omitting 6600 this field, or setting to zero, provides default behavior. <i>Optional attribute.</i> 6601 --> 6602 <attr name="searchMode"> 6603 <!-- If set, this flag enables the display of the search target (label) within the 6604 search bar. If neither bad mode is selected, no badge will be shown. --> 6605 <flag name="showSearchLabelAsBadge" value="0x04" /> 6606 <!--<strong>This is deprecated.</strong><br/>The default 6607 application icon is now always used, so this option is 6608 obsolete.--> 6609 <flag name="showSearchIconAsBadge" value="0x08" /> 6610 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to 6611 be considered as the text for suggestion query rewriting. This should only 6612 be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user 6613 inspection and editing - typically, HTTP/HTTPS Uri's. --> 6614 <flag name="queryRewriteFromData" value="0x10" /> 6615 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to 6616 be considered as the text for suggestion query rewriting. This should be used 6617 for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA 6618 values are not suitable for user inspection and editing. --> 6619 <flag name="queryRewriteFromText" value="0x20" /> 6620 </attr> 6621 6622 <!-- Voice search features are controlled by mode bits in this field. Omitting 6623 this field, or setting to zero, provides default behavior. 6624 If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must 6625 also be set. <i>Optional attribute.</i> 6626 --> 6627 <attr name="voiceSearchMode"> 6628 <!-- If set, display a voice search button. This only takes effect if voice search is 6629 available on the device. --> 6630 <flag name="showVoiceSearchButton" value="0x01" /> 6631 <!-- If set, the voice search button will take the user directly to a built-in 6632 voice web search activity. Most applications will not use this flag, as it 6633 will take the user away from the activity in which search was invoked. --> 6634 <flag name="launchWebSearch" value="0x02" /> 6635 <!-- If set, the voice search button will take the user directly to a built-in 6636 voice recording activity. This activity will prompt the user to speak, 6637 transcribe the spoken text, and forward the resulting query 6638 text to the searchable activity, just as if the user had typed it into 6639 the search UI and clicked the search button. --> 6640 <flag name="launchRecognizer" value="0x04" /> 6641 </attr> 6642 6643 <!-- If provided, this specifies the language model that should be used by the 6644 voice recognition system. See 6645 {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information. 6646 If not provided, the default value 6647 {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. --> 6648 <attr name="voiceLanguageModel" format="string" /> 6649 <!-- If provided, this specifies a prompt that will be displayed during voice input. --> 6650 <attr name="voicePromptText" format="string" /> 6651 <!-- If provided, this specifies the spoken language to be expected, and that it will be 6652 different than the one set in the {@link java.util.Locale#getDefault()}. --> 6653 <attr name="voiceLanguage" format="string" /> 6654 <!-- If provided, enforces the maximum number of results to return, including the "best" 6655 result which will always be provided as the SEARCH intent's primary query. Must be one 6656 or greater. If not provided, the recognizer will choose how many results to return. 6657 --> 6658 <attr name="voiceMaxResults" format="integer" /> 6659 6660 <!-- If provided, this is the trigger indicating that the searchable activity 6661 provides suggestions as well. The value must be a fully-qualified content provider 6662 authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the 6663 "android:authorities" tag in your content provider's manifest entry. <i>Optional 6664 attribute.</i> --> 6665 <attr name="searchSuggestAuthority" format="string" /> 6666 <!-- If provided, this will be inserted in the suggestions query Uri, after the authority 6667 you have provide but before the standard suggestions path. <i>Optional attribute.</i> 6668 --> 6669 <attr name="searchSuggestPath" format="string" /> 6670 <!-- If provided, suggestion queries will be passed into your query function 6671 as the <i>selection</i> parameter. Typically this will be a WHERE clause for your 6672 database, and will contain a single question mark, which represents the actual query 6673 string that has been typed by the user. If not provided, then the user query text 6674 will be appended to the query Uri (after an additional "/".) <i>Optional 6675 attribute.</i> --> 6676 <attr name="searchSuggestSelection" format="string" /> 6677 6678 <!-- If provided, and not overridden by an action in the selected suggestion, this 6679 string will be placed in the action field of the {@link android.content.Intent Intent} 6680 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6681 <attr name="searchSuggestIntentAction" format="string" /> 6682 <!-- If provided, and not overridden by an action in the selected suggestion, this 6683 string will be placed in the data field of the {@link android.content.Intent Intent} 6684 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6685 <attr name="searchSuggestIntentData" format="string" /> 6686 6687 <!-- If provided, this is the minimum number of characters needed to trigger 6688 search suggestions. The default value is 0. <i>Optional attribute.</i> --> 6689 <attr name="searchSuggestThreshold" format="integer" /> 6690 6691 <!-- If provided and <code>true</code>, this searchable activity will be 6692 included in any global lists of search targets. 6693 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6694 <attr name="includeInGlobalSearch" format="boolean" /> 6695 6696 <!-- If provided and <code>true</code>, this searchable activity will be invoked for all 6697 queries in a particular session. If set to <code>false</code> and the activity 6698 returned zero results for a query, it will not be invoked again in that session for 6699 supersets of that zero-results query. For example, if the activity returned zero 6700 results for "bo", it would not be queried again for "bob". 6701 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6702 <attr name="queryAfterZeroResults" format="boolean" /> 6703 <!-- If provided, this string will be used to describe the searchable item in the 6704 searchable items settings within system search settings. <i>Optional 6705 attribute.</i> --> 6706 <attr name="searchSettingsDescription" format="string" /> 6707 6708 <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching 6709 within this activity would be detected and treated as URLs (show a 'go' button in the 6710 keyboard and invoke the browser directly when user launches the URL instead of passing 6711 the URL to the activity). If set to <code>false</code> any URLs entered are treated as 6712 normal query text. 6713 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6714 <attr name="autoUrlDetect" format="boolean" /> 6715 6716 </declare-styleable> 6717 6718 <!-- In order to process special action keys during search, you must define them using 6719 one or more "ActionKey" elements in your Searchable metadata. For a more in-depth 6720 discussion of action code handling, please refer to {@link android.app.SearchManager}. 6721 --> 6722 <declare-styleable name="SearchableActionKey"> 6723 <!-- This attribute denotes the action key you wish to respond to. Note that not 6724 all action keys are actually supported using this mechanism, as many of them are 6725 used for typing, navigation, or system functions. This will be added to the 6726 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6727 searchable activity. To examine the key code, use 6728 {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}. 6729 <p>Note, in addition to the keycode, you must also provide one or more of the action 6730 specifier attributes. <i>Required attribute.</i> --> 6731 <attr name="keycode" /> 6732 6733 <!-- If you wish to handle an action key during normal search query entry, you 6734 must define an action string here. This will be added to the 6735 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6736 searchable activity. To examine the string, use 6737 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6738 <i>Optional attribute.</i> --> 6739 <attr name="queryActionMsg" format="string" /> 6740 6741 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6742 selected</i>, there are two ways to handle this. If <i>all</i> of your suggestions 6743 can handle the action key, you can simply define the action message using this 6744 attribute. This will be added to the 6745 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6746 searchable activity. To examine the string, use 6747 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6748 <i>Optional attribute.</i> --> 6749 <attr name="suggestActionMsg" format="string" /> 6750 6751 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6752 selected</i>, but you do not wish to enable this action key for every suggestion, 6753 then you can use this attribute to control it on a suggestion-by-suggestion basis. 6754 First, you must define a column (and name it here) where your suggestions will include 6755 the action string. Then, in your content provider, you must provide this column, and 6756 when desired, provide data in this column. 6757 The search manager will look at your suggestion cursor, using the string 6758 provided here in order to select a column, and will use that to select a string from 6759 the cursor. That string will be added to the 6760 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to 6761 your searchable activity. To examine the string, use 6762 {@link android.content.Intent#getStringExtra 6763 getStringExtra(SearchManager.ACTION_MSG)}. <i>If the data does not exist for the 6764 selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> --> 6765 <attr name="suggestActionMsgColumn" format="string" /> 6766 6767 </declare-styleable> 6768 6769 <!-- ***************************************************************** --> 6770 <!-- Support for MapView. --> 6771 <!-- ***************************************************************** --> 6772 <eat-comment /> 6773 6774 <!-- The set of attributes for a MapView. --> 6775 <declare-styleable name="MapView"> 6776 <!-- Value is a string that specifies the Maps API Key to use. --> 6777 <attr name="apiKey" format="string" /> 6778 </declare-styleable> 6779 6780 <!-- **************************************************************** --> 6781 <!-- Menu XML inflation. --> 6782 <!-- **************************************************************** --> 6783 <eat-comment /> 6784 6785 <!-- Base attributes that are available to all Menu objects. --> 6786 <declare-styleable name="Menu"> 6787 </declare-styleable> 6788 6789 <!-- Base attributes that are available to all groups. --> 6790 <declare-styleable name="MenuGroup"> 6791 6792 <!-- The ID of the group. --> 6793 <attr name="id" /> 6794 6795 <!-- The category applied to all items within this group. 6796 (This will be or'ed with the orderInCategory attribute.) --> 6797 <attr name="menuCategory"> 6798 <!-- Items are part of a container. --> 6799 <enum name="container" value="0x00010000" /> 6800 <!-- Items are provided by the system. --> 6801 <enum name="system" value="0x00020000" /> 6802 <!-- Items are user-supplied secondary (infrequently used). --> 6803 <enum name="secondary" value="0x00030000" /> 6804 <!-- Items are alternative actions. --> 6805 <enum name="alternative" value="0x00040000" /> 6806 </attr> 6807 6808 <!-- The order within the category applied to all items within this group. 6809 (This will be or'ed with the category attribute.) --> 6810 <attr name="orderInCategory" format="integer" /> 6811 6812 <!-- Whether the items are capable of displaying a check mark. --> 6813 <attr name="checkableBehavior"> 6814 <!-- The items are not checkable. --> 6815 <enum name="none" value="0" /> 6816 <!-- The items are all checkable. --> 6817 <enum name="all" value="1" /> 6818 <!-- The items are checkable and there will only be a single checked item in 6819 this group. --> 6820 <enum name="single" value="2" /> 6821 </attr> 6822 6823 <!-- Whether the items are shown/visible. --> 6824 <attr name="visible" /> 6825 6826 <!-- Whether the items are enabled. --> 6827 <attr name="enabled" /> 6828 6829 </declare-styleable> 6830 6831 <!-- Base attributes that are available to all Item objects. --> 6832 <declare-styleable name="MenuItem"> 6833 6834 <!-- The ID of the item. --> 6835 <attr name="id" /> 6836 6837 <!-- The category applied to the item. 6838 (This will be or'ed with the orderInCategory attribute.) --> 6839 <attr name="menuCategory" /> 6840 6841 <!-- The order within the category applied to the item. 6842 (This will be or'ed with the category attribute.) --> 6843 <attr name="orderInCategory" /> 6844 6845 <!-- The title associated with the item. --> 6846 <attr name="title" format="string" /> 6847 6848 <!-- The condensed title associated with the item. This is used in situations where the 6849 normal title may be too long to be displayed. --> 6850 <attr name="titleCondensed" format="string" /> 6851 6852 <!-- The icon associated with this item. This icon will not always be shown, so 6853 the title should be sufficient in describing this item. --> 6854 <attr name="icon" /> 6855 6856 <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard 6857 with alphabetic keys. --> 6858 <attr name="alphabeticShortcut" format="string" /> 6859 6860 <!-- The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) 6861 keyboard. --> 6862 <attr name="numericShortcut" format="string" /> 6863 6864 <!-- Whether the item is capable of displaying a check mark. --> 6865 <attr name="checkable" format="boolean" /> 6866 6867 <!-- Whether the item is checked. Note that you must first have enabled checking with 6868 the checkable attribute or else the check mark will not appear. --> 6869 <attr name="checked" /> 6870 6871 <!-- Whether the item is shown/visible. --> 6872 <attr name="visible" /> 6873 6874 <!-- Whether the item is enabled. --> 6875 <attr name="enabled" /> 6876 6877 <!-- Name of a method on the Context used to inflate the menu that will be 6878 called when the item is clicked. --> 6879 <attr name="onClick" /> 6880 6881 <!-- How this item should display in the Action Bar, if present. --> 6882 <attr name="showAsAction"> 6883 <!-- Never show this item in an action bar, show it in the overflow menu instead. 6884 Mutually exclusive with "ifRoom" and "always". --> 6885 <flag name="never" value="0" /> 6886 <!-- Show this item in an action bar if there is room for it as determined 6887 by the system. Favor this option over "always" where possible. 6888 Mutually exclusive with "never" and "always". --> 6889 <flag name="ifRoom" value="1" /> 6890 <!-- Always show this item in an actionbar, even if it would override 6891 the system's limits of how much stuff to put there. This may make 6892 your action bar look bad on some screens. In most cases you should 6893 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". --> 6894 <flag name="always" value="2" /> 6895 <!-- When this item is shown as an action in the action bar, show a text 6896 label with it even if it has an icon representation. --> 6897 <flag name="withText" value="4" /> 6898 <!-- This item's action view collapses to a normal menu 6899 item. When expanded, the action view takes over a 6900 larger segment of its container. --> 6901 <flag name="collapseActionView" value="8" /> 6902 </attr> 6903 6904 <!-- An optional layout to be used as an action view. 6905 See {@link android.view.MenuItem#setActionView(android.view.View)} 6906 for more info. --> 6907 <attr name="actionLayout" format="reference" /> 6908 6909 <!-- The name of an optional View class to instantiate and use as an 6910 action view. See {@link android.view.MenuItem#setActionView(android.view.View)} 6911 for more info. --> 6912 <attr name="actionViewClass" format="string" /> 6913 6914 <!-- The name of an optional ActionProvider class to instantiate an action view 6915 and perform operations such as default action for that menu item. 6916 See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)} 6917 for more info. --> 6918 <attr name="actionProviderClass" format="string" /> 6919 6920 </declare-styleable> 6921 6922 <!-- Attrbitutes for a ActvityChooserView. --> 6923 <declare-styleable name="ActivityChooserView"> 6924 <!-- The maximal number of items initially shown in the activity list. --> 6925 <attr name="initialActivityCount" format="string" /> 6926 <!-- The drawable to show in the button for expanding the activities overflow popup. 6927 <strong>Note:</strong> Clients would like to set this drawable 6928 as a clue about the action the chosen activity will perform. For 6929 example, if share activity is to be chosen the drawable should 6930 give a clue that sharing is to be performed. 6931 --> 6932 <attr name="expandActivityOverflowButtonDrawable" format="reference" /> 6933 </declare-styleable> 6934 6935 <!-- **************************************************************** --> 6936 <!-- Preferences framework. --> 6937 <!-- **************************************************************** --> 6938 <eat-comment /> 6939 6940 <!-- Base attributes available to PreferenceGroup. --> 6941 <declare-styleable name="PreferenceGroup"> 6942 <!-- Whether to order the Preference under this group as they appear in the XML file. 6943 If this is false, the ordering will follow the Preference order attribute and 6944 default to alphabetic for those without the order attribute. --> 6945 <attr name="orderingFromXml" format="boolean" /> 6946 </declare-styleable> 6947 6948 <!-- Attribute for a header describing the item shown in the top-level list 6949 from which the selects the set of preference to dig in to. --> 6950 <declare-styleable name="PreferenceHeader"> 6951 <!-- Identifier value for the header. --> 6952 <attr name="id" /> 6953 <!-- The title of the item that is shown to the user. --> 6954 <attr name="title" /> 6955 <!-- The summary for the item. --> 6956 <attr name="summary" format="string" /> 6957 <!-- The title for the bread crumb of this item. --> 6958 <attr name="breadCrumbTitle" format="string" /> 6959 <!-- The short title for the bread crumb of this item. --> 6960 <attr name="breadCrumbShortTitle" format="string" /> 6961 <!-- An icon for the item. --> 6962 <attr name="icon" /> 6963 <!-- The fragment that is displayed when the user selects this item. --> 6964 <attr name="fragment" format="string" /> 6965 </declare-styleable> 6966 6967 <!-- WARNING: If adding attributes to Preference, make sure it does not conflict 6968 with a View's attributes. Some subclasses (e.g., EditTextPreference) 6969 proxy all attributes to its EditText widget. --> 6970 <eat-comment /> 6971 6972 <!-- Base attributes available to Preference. --> 6973 <declare-styleable name="Preference"> 6974 <!-- The optional icon for the preference --> 6975 <attr name="icon" /> 6976 <!-- The key to store the Preference value. --> 6977 <attr name="key" format="string" /> 6978 <!-- The title for the Preference. In API 25 and earlier, this value is read as a 6979 plain string with styling information stripped. --> 6980 <attr name="title" /> 6981 <!-- The summary for the Preference. In API 25 and earlier, this value is read as a 6982 plain string with styling information stripped. --> 6983 <attr name="summary" /> 6984 <!-- The order for the Preference (lower values are to be ordered first). If this is not 6985 specified, the default ordering will be alphabetic. --> 6986 <attr name="order" format="integer" /> 6987 <!-- When used inside of a modern PreferenceActivity, this declares 6988 a new PreferenceFragment to be shown when the user selects this item. --> 6989 <attr name="fragment" /> 6990 <!-- The layout for the Preference in a PreferenceActivity screen. This should 6991 rarely need to be changed, look at widgetLayout instead. --> 6992 <attr name="layout" /> 6993 <!-- The layout for the controllable widget portion of a Preference. This is inflated 6994 into the layout for a Preference and should be used more frequently than 6995 the layout attribute. For example, a checkbox preference would specify 6996 a custom layout (consisting of just the CheckBox) here. --> 6997 <attr name="widgetLayout" format="reference" /> 6998 <!-- Whether the Preference is enabled. --> 6999 <attr name="enabled" /> 7000 <!-- Whether the Preference is selectable. --> 7001 <attr name="selectable" format="boolean" /> 7002 <!-- The key of another Preference that this Preference will depend on. If the other 7003 Preference is not set or is off, this Preference will be disabled. --> 7004 <attr name="dependency" format="string" /> 7005 <!-- Whether the Preference stores its value to the shared preferences. --> 7006 <attr name="persistent" /> 7007 <!-- The default value for the preference, which will be set either if persistence 7008 is off or persistence is on and the preference is not found in the persistent 7009 storage. --> 7010 <attr name="defaultValue" format="string|boolean|integer|reference|float" /> 7011 <!-- Whether the view of this Preference should be disabled when 7012 this Preference is disabled. --> 7013 <attr name="shouldDisableView" format="boolean" /> 7014 </declare-styleable> 7015 7016 <!-- Base attributes available to CheckBoxPreference. --> 7017 <declare-styleable name="CheckBoxPreference"> 7018 <!-- The summary for the Preference in a PreferenceActivity screen when the 7019 CheckBoxPreference is checked. If separate on/off summaries are not 7020 needed, the summary attribute can be used instead. --> 7021 <attr name="summaryOn" format="string" /> 7022 <!-- The summary for the Preference in a PreferenceActivity screen when the 7023 CheckBoxPreference is unchecked. If separate on/off summaries are not 7024 needed, the summary attribute can be used instead. --> 7025 <attr name="summaryOff" format="string" /> 7026 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 7027 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 7028 <attr name="disableDependentsState" format="boolean" /> 7029 </declare-styleable> 7030 7031 <!-- Base attributes available to DialogPreference. --> 7032 <declare-styleable name="DialogPreference"> 7033 <!-- The title in the dialog. --> 7034 <attr name="dialogTitle" format="string" /> 7035 <!-- The message in the dialog. If a dialogLayout is provided and contains 7036 a TextView with ID android:id/message, this message will be placed in there. --> 7037 <attr name="dialogMessage" format="string" /> 7038 <!-- The icon for the dialog. --> 7039 <attr name="dialogIcon" format="reference" /> 7040 <!-- The positive button text for the dialog. Set to @null to hide the positive button. --> 7041 <attr name="positiveButtonText" format="string" /> 7042 <!-- The negative button text for the dialog. Set to @null to hide the negative button. --> 7043 <attr name="negativeButtonText" format="string" /> 7044 <!-- A layout to be used as the content View for the dialog. By default, this shouldn't 7045 be needed. If a custom DialogPreference is required, this should be set. For example, 7046 the EditTextPreference uses a layout with an EditText as this attribute. --> 7047 <attr name="dialogLayout" format="reference" /> 7048 </declare-styleable> 7049 7050 <!-- Base attributes available to ListPreference. --> 7051 <declare-styleable name="ListPreference"> 7052 <!-- The human-readable array to present as a list. Each entry must have a corresponding 7053 index in entryValues. --> 7054 <attr name="entries" /> 7055 <!-- The array to find the value to save for a preference when an entry from 7056 entries is selected. If a user clicks on the second item in entries, the 7057 second item in this array will be saved to the preference. --> 7058 <attr name="entryValues" format="reference" /> 7059 </declare-styleable> 7060 7061 <declare-styleable name="MultiSelectListPreference"> 7062 <!-- The human-readable array to present as a list. Each entry must have a corresponding 7063 index in entryValues. --> 7064 <attr name="entries" /> 7065 <!-- The array to find the value to save for a preference when an entry from 7066 entries is selected. If a user clicks the second item in entries, the 7067 second item in this array will be saved to the preference. --> 7068 <attr name="entryValues" /> 7069 </declare-styleable> 7070 7071 <!-- Base attributes available to RingtonePreference. --> 7072 <declare-styleable name="RingtonePreference"> 7073 <!-- Which ringtone type(s) to show in the picker. --> 7074 <attr name="ringtoneType"> 7075 <!-- Ringtones. --> 7076 <flag name="ringtone" value="1" /> 7077 <!-- Notification sounds. --> 7078 <flag name="notification" value="2" /> 7079 <!-- Alarm sounds. --> 7080 <flag name="alarm" value="4" /> 7081 <!-- All available ringtone sounds. --> 7082 <flag name="all" value="7" /> 7083 </attr> 7084 <!-- Whether to show an item for a default sound. --> 7085 <attr name="showDefault" format="boolean" /> 7086 <!-- Whether to show an item for 'Silent'. --> 7087 <attr name="showSilent" format="boolean" /> 7088 </declare-styleable> 7089 7090 <!-- Base attributes available to VolumePreference. --> 7091 <declare-styleable name="VolumePreference"> 7092 <!-- Different audio stream types. --> 7093 <attr name="streamType"> 7094 <enum name="voice" value="0" /> 7095 <enum name="system" value="1" /> 7096 <enum name="ring" value="2" /> 7097 <enum name="music" value="3" /> 7098 <enum name="alarm" value="4" /> 7099 </attr> 7100 </declare-styleable> 7101 7102 <declare-styleable name="InputMethodService"> 7103 <!-- Background to use for entire input method when it is being 7104 shown in fullscreen mode with the extract view, to ensure 7105 that it completely covers the application. This allows, 7106 for example, the candidate view to be hidden 7107 while in fullscreen mode without having the application show through 7108 behind it.--> 7109 <attr name="imeFullscreenBackground" format="reference|color" /> 7110 <!-- Animation to use when showing the fullscreen extract UI after 7111 it had previously been hidden. --> 7112 <attr name="imeExtractEnterAnimation" format="reference" /> 7113 <!-- Animation to use when hiding the fullscreen extract UI after 7114 it had previously been shown. --> 7115 <attr name="imeExtractExitAnimation" format="reference" /> 7116 </declare-styleable> 7117 7118 <declare-styleable name="VoiceInteractionSession"> 7119 </declare-styleable> 7120 7121 <declare-styleable name="KeyboardView"> 7122 <!-- Default KeyboardView style. --> 7123 <attr name="keyboardViewStyle" format="reference" /> 7124 7125 <!-- Image for the key. This image needs to be a StateListDrawable, with the following 7126 possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, 7127 checkable+checked+pressed. --> 7128 <attr name="keyBackground" format="reference" /> 7129 7130 <!-- Size of the text for character keys. --> 7131 <attr name="keyTextSize" format="dimension" /> 7132 7133 <!-- Size of the text for custom keys with some text and no icon. --> 7134 <attr name="labelTextSize" format="dimension" /> 7135 7136 <!-- Color to use for the label in a key. --> 7137 <attr name="keyTextColor" format="color" /> 7138 7139 <!-- Layout resource for key press feedback.--> 7140 <attr name="keyPreviewLayout" format="reference" /> 7141 7142 <!-- Vertical offset of the key press feedback from the key. --> 7143 <attr name="keyPreviewOffset" format="dimension" /> 7144 7145 <!-- Height of the key press feedback popup. --> 7146 <attr name="keyPreviewHeight" format="dimension" /> 7147 7148 <!-- Amount to offset the touch Y coordinate by, for bias correction. --> 7149 <attr name="verticalCorrection" format="dimension" /> 7150 7151 <!-- Layout resource for popup keyboards. --> 7152 <attr name="popupLayout" format="reference" /> 7153 7154 <attr name="shadowColor" /> 7155 <attr name="shadowRadius" /> 7156 </declare-styleable> 7157 7158 <declare-styleable name="KeyboardViewPreviewState"> 7159 <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView} 7160 key preview background. --> 7161 <attr name="state_long_pressable" format="boolean" /> 7162 </declare-styleable> 7163 7164 <declare-styleable name="Keyboard"> 7165 <!-- Default width of a key, in pixels or percentage of display width. --> 7166 <attr name="keyWidth" format="dimension|fraction" /> 7167 <!-- Default height of a key, in pixels or percentage of display width. --> 7168 <attr name="keyHeight" format="dimension|fraction" /> 7169 <!-- Default horizontal gap between keys. --> 7170 <attr name="horizontalGap" format="dimension|fraction" /> 7171 <!-- Default vertical gap between rows of keys. --> 7172 <attr name="verticalGap" format="dimension|fraction" /> 7173 </declare-styleable> 7174 7175 <declare-styleable name="Keyboard_Row"> 7176 <!-- Row edge flags. --> 7177 <attr name="rowEdgeFlags"> 7178 <!-- Row is anchored to the top of the keyboard. --> 7179 <flag name="top" value="4" /> 7180 <!-- Row is anchored to the bottom of the keyboard. --> 7181 <flag name="bottom" value="8" /> 7182 </attr> 7183 <!-- Mode of the keyboard. If the mode doesn't match the 7184 requested keyboard mode, the row will be skipped. --> 7185 <attr name="keyboardMode" format="reference" /> 7186 </declare-styleable> 7187 7188 <declare-styleable name="Keyboard_Key"> 7189 <!-- The unicode value or comma-separated values that this key outputs. --> 7190 <attr name="codes" format="integer|string" /> 7191 <!-- The XML keyboard layout of any popup keyboard. --> 7192 <attr name="popupKeyboard" format="reference" /> 7193 <!-- The characters to display in the popup keyboard. --> 7194 <attr name="popupCharacters" format="string" /> 7195 <!-- Key edge flags. --> 7196 <attr name="keyEdgeFlags"> 7197 <!-- Key is anchored to the left of the keyboard. --> 7198 <flag name="left" value="1" /> 7199 <!-- Key is anchored to the right of the keyboard. --> 7200 <flag name="right" value="2" /> 7201 </attr> 7202 <!-- Whether this is a modifier key such as Alt or Shift. --> 7203 <attr name="isModifier" format="boolean" /> 7204 <!-- Whether this is a toggle key. --> 7205 <attr name="isSticky" format="boolean" /> 7206 <!-- Whether long-pressing on this key will make it repeat. --> 7207 <attr name="isRepeatable" format="boolean" /> 7208 <!-- The icon to show in the popup preview. --> 7209 <attr name="iconPreview" format="reference" /> 7210 <!-- The string of characters to output when this key is pressed. --> 7211 <attr name="keyOutputText" format="string" /> 7212 <!-- The label to display on the key. --> 7213 <attr name="keyLabel" format="string" /> 7214 <!-- The icon to display on the key instead of the label. --> 7215 <attr name="keyIcon" format="reference" /> 7216 <!-- Mode of the keyboard. If the mode doesn't match the 7217 requested keyboard mode, the key will be skipped. --> 7218 <attr name="keyboardMode" /> 7219 </declare-styleable> 7220 7221 <!-- =============================== --> 7222 <!-- AppWidget package class attributes --> 7223 <!-- =============================== --> 7224 <eat-comment /> 7225 7226 <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that 7227 describes an AppWidget provider. See {@link android.appwidget android.appwidget} 7228 package for more info. 7229 --> 7230 <declare-styleable name="AppWidgetProviderInfo"> 7231 <!-- Minimum width of the AppWidget. --> 7232 <attr name="minWidth"/> 7233 <!-- Minimum height of the AppWidget. --> 7234 <attr name="minHeight"/> 7235 <!-- Minimum width that the AppWidget can be resized to. --> 7236 <attr name="minResizeWidth" format="dimension"/> 7237 <!-- Minimum height that the AppWidget can be resized to. --> 7238 <attr name="minResizeHeight" format="dimension"/> 7239 <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. --> 7240 <attr name="updatePeriodMillis" format="integer" /> 7241 <!-- A resource id of a layout. --> 7242 <attr name="initialLayout" format="reference" /> 7243 <!-- A resource id of a layout. --> 7244 <attr name="initialKeyguardLayout" format="reference" /> 7245 <!-- A class name in the AppWidget's package to be launched to configure. 7246 If not supplied, then no activity will be launched. --> 7247 <attr name="configure" format="string" /> 7248 <!-- A preview of what the AppWidget will look like after it's configured. 7249 If not supplied, the AppWidget's icon will be used. --> 7250 <attr name="previewImage" format="reference" /> 7251 <!-- The view id of the AppWidget subview which should be auto-advanced. 7252 by the widget's host. --> 7253 <attr name="autoAdvanceViewId" format="reference" /> 7254 <!-- Optional parameter which indicates if and how this widget can be 7255 resized. Supports combined values using | operator. --> 7256 <attr name="resizeMode" format="integer"> 7257 <flag name="none" value="0x0" /> 7258 <flag name="horizontal" value="0x1" /> 7259 <flag name="vertical" value="0x2" /> 7260 </attr> 7261 <!-- Optional parameter which indicates where this widget can be shown, 7262 ie. home screen, keyguard, search bar or any combination thereof. 7263 Supports combined values using | operator. --> 7264 <attr name="widgetCategory" format="integer"> 7265 <flag name="home_screen" value="0x1" /> 7266 <flag name="keyguard" value="0x2" /> 7267 <flag name="searchbox" value="0x4" /> 7268 </attr> 7269 </declare-styleable> 7270 7271 <!-- =============================== --> 7272 <!-- Wallpaper preview attributes --> 7273 <!-- =============================== --> 7274 <eat-comment /> 7275 7276 <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that 7277 describes a wallpaper preview. --> 7278 <declare-styleable name="WallpaperPreviewInfo"> 7279 <!-- A resource id of a static drawable. --> 7280 <attr name="staticWallpaperPreview" format="reference" /> 7281 </declare-styleable> 7282 7283 <!-- =============================== --> 7284 <!-- App package class attributes --> 7285 <!-- =============================== --> 7286 <eat-comment /> 7287 7288 <!-- ============================= --> 7289 <!-- View package class attributes --> 7290 <!-- ============================= --> 7291 <eat-comment /> 7292 7293 <!-- Attributes that can be used with <code><fragment></code> 7294 tags inside of the layout of an Activity. This instantiates 7295 the given {@link android.app.Fragment} and inserts its content 7296 view into the current location in the layout. --> 7297 <declare-styleable name="Fragment"> 7298 <!-- Supply the name of the fragment class to instantiate. --> 7299 <attr name="name" /> 7300 7301 <!-- Supply an identifier name for the top-level view, to later retrieve it 7302 with {@link android.view.View#findViewById View.findViewById()} or 7303 {@link android.app.Activity#findViewById Activity.findViewById()}. 7304 This must be a 7305 resource reference; typically you set this using the 7306 <code>@+</code> syntax to create a new ID resources. 7307 For example: <code>android:id="@+id/my_id"</code> which 7308 allows you to later retrieve the view 7309 with <code>findViewById(R.id.my_id)</code>. --> 7310 <attr name="id" /> 7311 7312 <!-- Supply a tag for the top-level view containing a String, to be retrieved 7313 later with {@link android.view.View#getTag View.getTag()} or 7314 searched for with {@link android.view.View#findViewWithTag 7315 View.findViewWithTag()}. It is generally preferable to use 7316 IDs (through the android:id attribute) instead of tags because 7317 they are faster and allow for compile-time type checking. --> 7318 <attr name="tag" /> 7319 7320 <!-- The Transition that will be used to move Views out of the scene when the 7321 fragment is removed, hidden, or detached when not popping the back stack. 7322 Corresponds to {@link android.app.Fragment#setExitTransition( 7323 android.transition.Transition)} --> 7324 <attr name="fragmentExitTransition" format="reference"/> 7325 7326 <!-- The Transition that will be used to move Views into the initial scene. 7327 Corresponds to {@link android.app.Fragment#setEnterTransition( 7328 android.transition.Transition)} --> 7329 <attr name="fragmentEnterTransition" format="reference"/> 7330 7331 <!-- The Transition that will be used for shared elements transferred into the content 7332 Scene. 7333 Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition( 7334 android.transition.Transition)} --> 7335 <attr name="fragmentSharedElementEnterTransition" format="reference"/> 7336 7337 <!-- The Transition that will be used to move Views out of the scene when the Fragment is 7338 preparing to be removed, hidden, or detached because of popping the back stack. 7339 Corresponds to {@link android.app.Fragment#setReturnTransition( 7340 android.transition.Transition)} --> 7341 <attr name="fragmentReturnTransition" format="reference"/> 7342 7343 <!-- The Transition that will be used for shared elements transferred back during a 7344 pop of the back stack. This Transition acts in the leaving Fragment. 7345 Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition( 7346 android.transition.Transition)} --> 7347 <attr name="fragmentSharedElementReturnTransition" format="reference"/> 7348 7349 <!-- The Transition that will be used to move Views in to the scene when returning due 7350 to popping a back stack. 7351 Corresponds to {@link android.app.Fragment#setReenterTransition( 7352 android.transition.Transition)} --> 7353 <attr name="fragmentReenterTransition" format="reference"/> 7354 7355 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7356 forward. 7357 Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap( 7358 boolean)} --> 7359 <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/> 7360 7361 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7362 because of popping the back stack. 7363 Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap( 7364 boolean)} --> 7365 <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/> 7366 </declare-styleable> 7367 7368 <!-- Use <code>device-admin</code> as the root tag of the XML resource that 7369 describes a 7370 {@link android.app.admin.DeviceAdminReceiver}, which is 7371 referenced from its 7372 {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA} 7373 meta-data entry. Described here are the attributes that can be 7374 included in that tag. --> 7375 <declare-styleable name="DeviceAdmin"> 7376 <!-- Control whether the admin is visible to the user, even when it 7377 is not enabled. This is true by default. You may want to make 7378 it false if your admin does not make sense to be turned on 7379 unless some explicit action happens in your app. --> 7380 <attr name="visible" /> 7381 </declare-styleable> 7382 7383 <!-- Use <code>wallpaper</code> as the root tag of the XML resource that 7384 describes an 7385 {@link android.service.wallpaper.WallpaperService}, which is 7386 referenced from its 7387 {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA} 7388 meta-data entry. Described here are the attributes that can be 7389 included in that tag. --> 7390 <declare-styleable name="Wallpaper"> 7391 <attr name="settingsActivity" /> 7392 7393 <!-- Reference to the wallpaper's thumbnail bitmap. --> 7394 <attr name="thumbnail" format="reference" /> 7395 7396 <!-- Name of the author and/or source/collection of this component, e.g. Art Collection, Picasso. --> 7397 <attr name="author" format="reference" /> 7398 7399 <!-- Short description of the component's purpose or behavior. --> 7400 <attr name="description" /> 7401 7402 <!-- Uri that specifies a link for further context of this wallpaper, e.g. http://www.picasso.org. --> 7403 <attr name="contextUri" format="reference" /> 7404 7405 <!-- Title of the uri that specifies a link for further context of this wallpaper, e.g. Explore collection. --> 7406 <attr name="contextDescription" format="reference" /> 7407 7408 <!-- Whether to show any metadata when previewing the wallpaper. If this value is 7409 set to true, any component that shows a preview of this live wallpaper should also show 7410 accompanying information like the title, the description, the author and the context 7411 description of this wallpaper so the user gets to know further information about this 7412 wallpaper. --> 7413 <attr name="showMetadataInPreview" format="boolean" /> 7414 7415 </declare-styleable> 7416 7417 <!-- Use <code>dream</code> as the root tag of the XML resource that 7418 describes an 7419 {@link android.service.dreams.DreamService}, which is 7420 referenced from its 7421 {@link android.service.dreams.DreamService#DREAM_META_DATA} 7422 meta-data entry. Described here are the attributes that can be 7423 included in that tag. --> 7424 <declare-styleable name="Dream"> 7425 <!-- Component name of an activity that allows the user to modify 7426 the settings for this dream. --> 7427 <attr name="settingsActivity" /> 7428 </declare-styleable> 7429 7430 <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that 7431 describes an {@link android.service.trust.TrustAgentService}, which is 7432 referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA} 7433 meta-data entry. Described here are the attributes that can be included in that tag. 7434 @hide --> 7435 <declare-styleable name="TrustAgent"> 7436 <!-- @SystemApi Component name of an activity that allows the user to modify 7437 the settings for this trust agent. @hide --> 7438 <attr name="settingsActivity" /> 7439 <!-- @SystemApi Title for a preference that allows that user to launch the 7440 activity to modify trust agent settings. @hide --> 7441 <attr name="title" /> 7442 <!-- @SystemApi Summary for the same preference as the title. @hide --> 7443 <attr name="summary" /> 7444 </declare-styleable> 7445 7446 <!-- =============================== --> 7447 <!-- Accounts package class attributes --> 7448 <!-- =============================== --> 7449 <eat-comment /> 7450 7451 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7452 describes an account authenticator. 7453 --> 7454 <declare-styleable name="AccountAuthenticator"> 7455 <!-- The account type this authenticator handles. --> 7456 <attr name="accountType" format="string"/> 7457 <!-- The user-visible name of the authenticator. --> 7458 <attr name="label"/> 7459 <!-- The icon of the authenticator. --> 7460 <attr name="icon"/> 7461 <!-- Smaller icon of the authenticator. --> 7462 <attr name="smallIcon" format="reference"/> 7463 <!-- A preferences.xml file for authenticator-specific settings. --> 7464 <attr name="accountPreferences" format="reference"/> 7465 <!-- Account handles its own token storage and permissions. 7466 Default to false 7467 --> 7468 <attr name="customTokens" format="boolean"/> 7469 </declare-styleable> 7470 7471 <!-- =============================== --> 7472 <!-- Accounts package class attributes --> 7473 <!-- =============================== --> 7474 <eat-comment /> 7475 7476 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7477 describes an account authenticator. 7478 --> 7479 <declare-styleable name="SyncAdapter"> 7480 <!-- the authority of a content provider. --> 7481 <attr name="contentAuthority" format="string"/> 7482 <attr name="accountType"/> 7483 <attr name="userVisible" format="boolean"/> 7484 <attr name="supportsUploading" format="boolean"/> 7485 <!-- Set to true to tell the SyncManager that this SyncAdapter supports 7486 multiple simultaneous syncs for the same account type and authority. 7487 Otherwise the SyncManager will be sure not to issue a start sync request 7488 to this SyncAdapter if the SyncAdapter is already syncing another account. 7489 Defaults to false. 7490 --> 7491 <attr name="allowParallelSyncs" format="boolean"/> 7492 <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) 7493 for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. 7494 Defaults to false. 7495 --> 7496 <attr name="isAlwaysSyncable" format="boolean"/> 7497 <!-- If provided, specifies the action of the settings 7498 activity for this SyncAdapter. 7499 --> 7500 <attr name="settingsActivity"/> 7501 </declare-styleable> 7502 7503 <!-- =============================== --> 7504 <!-- Contacts meta-data attributes --> 7505 <!-- =============================== --> 7506 <eat-comment /> 7507 7508 <!-- TODO: remove this deprecated styleable. --> 7509 <eat-comment /> 7510 <declare-styleable name="Icon"> 7511 <attr name="icon" /> 7512 <attr name="mimeType" /> 7513 </declare-styleable> 7514 7515 <!-- TODO: remove this deprecated styleable --> 7516 <eat-comment /> 7517 <declare-styleable name="IconDefault"> 7518 <attr name="icon" /> 7519 </declare-styleable> 7520 7521 <!-- Maps a specific contact data MIME-type to styling information. --> 7522 <declare-styleable name="ContactsDataKind"> 7523 <!-- Mime-type handled by this mapping. --> 7524 <attr name="mimeType" /> 7525 <!-- Icon used to represent data of this kind. --> 7526 <attr name="icon" /> 7527 <!-- Column in data table that summarizes this data. --> 7528 <attr name="summaryColumn" format="string" /> 7529 <!-- Column in data table that contains details for this data. --> 7530 <attr name="detailColumn" format="string" /> 7531 <!-- Flag indicating that detail should be built from SocialProvider. --> 7532 <attr name="detailSocialSummary" format="boolean" /> 7533 <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or 7534 "All connections"). Optional (Default is "All Contacts"). --> 7535 <attr name="allContactsName" format="string" /> 7536 </declare-styleable> 7537 7538 <!-- =============================== --> 7539 <!-- TabSelector class attributes --> 7540 <!-- =============================== --> 7541 <eat-comment /> 7542 7543 <declare-styleable name="SlidingTab"> 7544 <!-- Use "horizontal" for a row, "vertical" for a column. The default is horizontal. --> 7545 <attr name="orientation" /> 7546 </declare-styleable> 7547 7548 <!-- =============================== --> 7549 <!-- GlowPadView class attributes --> 7550 <!-- =============================== --> 7551 <eat-comment /> 7552 <declare-styleable name="GlowPadView"> 7553 <!-- Reference to an array resource that be used as description for the targets around the circle. 7554 {@deprecated Removed.} --> 7555 <attr name="targetDescriptions" format="reference" /> 7556 7557 <!-- Reference to an array resource that be used to announce the directions with targets around the circle. 7558 {@deprecated Removed.}--> 7559 <attr name="directionDescriptions" format="reference" /> 7560 </declare-styleable> 7561 7562 <!-- =============================== --> 7563 <!-- Location package class attributes --> 7564 <!-- =============================== --> 7565 <eat-comment /> 7566 7567 <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that 7568 describes an injected "Location services" setting. Note that the status value (subtitle) 7569 for the setting is specified dynamically by a subclass of SettingInjectorService. 7570 --> 7571 <declare-styleable name="SettingInjectorService"> 7572 <!-- The title for the preference. --> 7573 <attr name="title"/> 7574 <!-- The icon for the preference, should refer to all apps covered by the setting. Typically 7575 a generic icon for the developer. --> 7576 <attr name="icon"/> 7577 <!-- The activity to launch when the setting is clicked on. --> 7578 <attr name="settingsActivity"/> 7579 </declare-styleable> 7580 7581 <!-- =============================== --> 7582 <!-- LockPatternView class attributes --> 7583 <!-- =============================== --> 7584 <eat-comment /> 7585 7586 <declare-styleable name="LockPatternView"> 7587 <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width" 7588 or "lock_height" --> 7589 <attr name="aspect" format="string" /> 7590 <!-- Color to use when drawing LockPatternView paths. --> 7591 <attr name="pathColor" format="color|reference" /> 7592 <!-- The regular pattern color --> 7593 <attr name="regularColor" format="color|reference" /> 7594 <!-- The error color --> 7595 <attr name="errorColor" format="color|reference" /> 7596 <!-- The success color --> 7597 <attr name="successColor" format="color|reference"/> 7598 </declare-styleable> 7599 7600 <!-- Use <code>recognition-service</code> as the root tag of the XML resource that 7601 describes a {@link android.speech.RecognitionService}, which is referenced from 7602 its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry. 7603 Described here are the attributes that can be included in that tag. --> 7604 <declare-styleable name="RecognitionService"> 7605 <attr name="settingsActivity" /> 7606 </declare-styleable> 7607 7608 <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that 7609 describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from 7610 its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry. 7611 Described here are the attributes that can be included in that tag. --> 7612 <declare-styleable name="VoiceInteractionService"> 7613 <!-- The service that hosts active voice interaction sessions. This is required. --> 7614 <attr name="sessionService" format="string" /> 7615 <!-- The service that provides voice recognition. This is required. When the user 7616 selects this voice interaction service, they will also be implicitly selecting 7617 the component here for their recognition service. --> 7618 <attr name="recognitionService" format="string" /> 7619 <attr name="settingsActivity" /> 7620 <!-- Flag indicating whether this voice interaction service is capable of handling the 7621 assist action. --> 7622 <attr name="supportsAssist" format="boolean" /> 7623 <!-- Flag indicating whether this voice interaction service is capable of being launched 7624 from the keyguard. --> 7625 <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" /> 7626 <!-- Flag indicating whether this voice interaction service can handle local voice 7627 interaction requests from an Activity. This flag is new in 7628 {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. --> 7629 <attr name="supportsLocalInteraction" format="boolean" /> 7630 </declare-styleable> 7631 7632 <!-- Use <code>voice-enrollment-application</code> 7633 as the root tag of the XML resource that escribes the supported keyphrases (hotwords) 7634 by the enrollment application. 7635 Described here are the attributes that can be included in that tag. 7636 @hide 7637 @SystemApi --> 7638 <declare-styleable name="VoiceEnrollmentApplication"> 7639 <!-- A globally unique ID for the keyphrase. @hide @SystemApi --> 7640 <attr name="searchKeyphraseId" format="integer" /> 7641 <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi --> 7642 <attr name="searchKeyphrase" format="string" /> 7643 <!-- A comma separated list of BCP-47 language tag for locales that are supported 7644 for this keyphrase, or empty if not locale dependent. @hide @SystemApi --> 7645 <attr name="searchKeyphraseSupportedLocales" format="string" /> 7646 <!-- Flags for supported recognition modes. @hide @SystemApi --> 7647 <attr name="searchKeyphraseRecognitionFlags"> 7648 <flag name="none" value="0" /> 7649 <flag name="voiceTrigger" value="0x1" /> 7650 <flag name="userIdentification" value="0x2" /> 7651 </attr> 7652 </declare-styleable> 7653 7654 <!-- Attributes used to style the Action Bar. --> 7655 <declare-styleable name="ActionBar"> 7656 <!-- The type of navigation to use. --> 7657 <attr name="navigationMode"> 7658 <!-- Normal static title text --> 7659 <enum name="normal" value="0" /> 7660 <!-- The action bar will use a selection list for navigation. --> 7661 <enum name="listMode" value="1" /> 7662 <!-- The action bar will use a series of horizontal tabs for navigation. --> 7663 <enum name="tabMode" value="2" /> 7664 </attr> 7665 <!-- Options affecting how the action bar is displayed. --> 7666 <attr name="displayOptions"> 7667 <flag name="none" value="0" /> 7668 <flag name="useLogo" value="0x1" /> 7669 <flag name="showHome" value="0x2" /> 7670 <flag name="homeAsUp" value="0x4" /> 7671 <flag name="showTitle" value="0x8" /> 7672 <flag name="showCustom" value="0x10" /> 7673 <flag name="disableHome" value="0x20" /> 7674 </attr> 7675 <!-- Specifies title text used for navigationMode="normal" --> 7676 <attr name="title" /> 7677 <!-- Specifies subtitle text used for navigationMode="normal" --> 7678 <attr name="subtitle" format="string" /> 7679 <!-- Specifies a style to use for title text. --> 7680 <attr name="titleTextStyle" format="reference" /> 7681 <!-- Specifies a style to use for subtitle text. --> 7682 <attr name="subtitleTextStyle" format="reference" /> 7683 <!-- Specifies the drawable used for the application icon. --> 7684 <attr name="icon" /> 7685 <!-- Specifies the drawable used for the application logo. --> 7686 <attr name="logo" /> 7687 <!-- Specifies the drawable used for item dividers. --> 7688 <attr name="divider" /> 7689 <!-- Specifies a background drawable for the action bar. --> 7690 <attr name="background" /> 7691 <!-- Specifies a background drawable for a second stacked row of the action bar. --> 7692 <attr name="backgroundStacked" format="reference|color" /> 7693 <!-- Specifies a background drawable for the bottom component of a split action bar. --> 7694 <attr name="backgroundSplit" format="reference|color" /> 7695 <!-- Specifies a layout for custom navigation. Overrides navigationMode. --> 7696 <attr name="customNavigationLayout" format="reference" /> 7697 <!-- Specifies a fixed height. --> 7698 <attr name="height" /> 7699 <!-- Specifies a layout to use for the "home" section of the action bar. --> 7700 <attr name="homeLayout" format="reference" /> 7701 <!-- Specifies a style resource to use for an embedded progress bar. --> 7702 <attr name="progressBarStyle" /> 7703 <!-- Specifies a style resource to use for an indeterminate progress spinner. --> 7704 <attr name="indeterminateProgressStyle" format="reference" /> 7705 <!-- Specifies the horizontal padding on either end for an embedded progress bar. --> 7706 <attr name="progressBarPadding" format="dimension" /> 7707 <!-- Up navigation glyph --> 7708 <attr name="homeAsUpIndicator" /> 7709 <!-- Specifies padding that should be applied to the left and right sides of 7710 system-provided items in the bar. --> 7711 <attr name="itemPadding" format="dimension" /> 7712 <!-- Set true to hide the action bar on a vertical nested scroll of content. --> 7713 <attr name="hideOnContentScroll" format="boolean" /> 7714 <!-- Minimum inset for content views within a bar. Navigation buttons and 7715 menu views are excepted. Only valid for some themes and configurations. --> 7716 <attr name="contentInsetStart" format="dimension" /> 7717 <!-- Minimum inset for content views within a bar. Navigation buttons and 7718 menu views are excepted. Only valid for some themes and configurations. --> 7719 <attr name="contentInsetEnd" format="dimension" /> 7720 <!-- Minimum inset for content views within a bar. Navigation buttons and 7721 menu views are excepted. Only valid for some themes and configurations. --> 7722 <attr name="contentInsetLeft" format="dimension" /> 7723 <!-- Minimum inset for content views within a bar. Navigation buttons and 7724 menu views are excepted. Only valid for some themes and configurations. --> 7725 <attr name="contentInsetRight" format="dimension" /> 7726 <!-- Minimum inset for content views within a bar when a navigation button 7727 is present, such as the Up button. Only valid for some themes and configurations. --> 7728 <attr name="contentInsetStartWithNavigation" format="dimension" /> 7729 <!-- Minimum inset for content views within a bar when actions from a menu 7730 are present. Only valid for some themes and configurations. --> 7731 <attr name="contentInsetEndWithActions" format="dimension" /> 7732 <!-- Elevation for the action bar itself --> 7733 <attr name="elevation" /> 7734 <!-- Reference to a theme that should be used to inflate popups 7735 shown by widgets in the action bar. --> 7736 <attr name="popupTheme" /> 7737 </declare-styleable> 7738 7739 <declare-styleable name="ActionMode"> 7740 <!-- Specifies a style to use for title text. --> 7741 <attr name="titleTextStyle" /> 7742 <!-- Specifies a style to use for subtitle text. --> 7743 <attr name="subtitleTextStyle" /> 7744 <!-- Specifies a background for the action mode bar. --> 7745 <attr name="background" /> 7746 <!-- Specifies a background for the split action mode bar. --> 7747 <attr name="backgroundSplit" /> 7748 <!-- Specifies a fixed height for the action mode bar. --> 7749 <attr name="height" /> 7750 <!-- Specifies a layout to use for the "close" item at the starting edge. --> 7751 <attr name="closeItemLayout" format="reference" /> 7752 </declare-styleable> 7753 7754 <declare-styleable name="SearchView"> 7755 <!-- The layout to use for the search view. --> 7756 <attr name="layout" /> 7757 <!-- The default state of the SearchView. If true, it will be iconified when not in 7758 use and expanded when clicked. --> 7759 <attr name="iconifiedByDefault" format="boolean" /> 7760 <!-- An optional maximum width of the SearchView. --> 7761 <attr name="maxWidth" /> 7762 <!-- An optional query hint string to be displayed in the empty query field. --> 7763 <attr name="queryHint" format="string" /> 7764 <!-- Default query hint used when {@code queryHint} is undefined and 7765 the search view's {@code SearchableInfo} does not provide a hint. 7766 @hide --> 7767 <attr name="defaultQueryHint" format="string" /> 7768 <!-- The IME options to set on the query text field. --> 7769 <attr name="imeOptions" /> 7770 <!-- The input type to set on the query text field. --> 7771 <attr name="inputType" /> 7772 <!-- Close button icon --> 7773 <attr name="closeIcon" format="reference" /> 7774 <!-- Go button icon --> 7775 <attr name="goIcon" format="reference" /> 7776 <!-- Search icon --> 7777 <attr name="searchIcon" format="reference" /> 7778 <!-- Search icon displayed as a text field hint --> 7779 <attr name="searchHintIcon" format="reference" /> 7780 <!-- Voice button icon --> 7781 <attr name="voiceIcon" format="reference" /> 7782 <!-- Commit icon shown in the query suggestion row --> 7783 <attr name="commitIcon" format="reference" /> 7784 <!-- Layout for query suggestion rows --> 7785 <attr name="suggestionRowLayout" format="reference" /> 7786 <!-- Background for the section containing the search query --> 7787 <attr name="queryBackground" format="reference" /> 7788 <!-- Background for the section containing the action (e.g. voice search) --> 7789 <attr name="submitBackground" format="reference" /> 7790 <attr name="focusable" /> 7791 </declare-styleable> 7792 7793 <declare-styleable name="Switch"> 7794 <!-- Drawable to use as the "thumb" that switches back and forth. --> 7795 <attr name="thumb" /> 7796 <!-- Tint to apply to the thumb. --> 7797 <attr name="thumbTint" /> 7798 <!-- Blending mode used to apply the thumb tint. --> 7799 <attr name="thumbTintMode" /> 7800 <!-- Drawable to use as the "track" that the switch thumb slides within. --> 7801 <attr name="track" format="reference" /> 7802 <!-- Tint to apply to the track. --> 7803 <attr name="trackTint" format="color" /> 7804 <!-- Blending mode used to apply the track tint. --> 7805 <attr name="trackTintMode"> 7806 <!-- The tint is drawn on top of the drawable. 7807 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 7808 <enum name="src_over" value="3" /> 7809 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 7810 color channels are thrown out. [Sa * Da, Sc * Da] --> 7811 <enum name="src_in" value="5" /> 7812 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 7813 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 7814 <enum name="src_atop" value="9" /> 7815 <!-- Multiplies the color and alpha channels of the drawable with those of 7816 the tint. [Sa * Da, Sc * Dc] --> 7817 <enum name="multiply" value="14" /> 7818 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 7819 <enum name="screen" value="15" /> 7820 <!-- Combines the tint and drawable color and alpha channels, clamping the 7821 result to valid color values. Saturate(S + D) --> 7822 <enum name="add" value="16" /> 7823 </attr> 7824 <!-- Text to use when the switch is in the checked/"on" state. --> 7825 <attr name="textOn" /> 7826 <!-- Text to use when the switch is in the unchecked/"off" state. --> 7827 <attr name="textOff" /> 7828 <!-- Amount of padding on either side of text within the switch thumb. --> 7829 <attr name="thumbTextPadding" format="dimension" /> 7830 <!-- TextAppearance style for text displayed on the switch thumb. --> 7831 <attr name="switchTextAppearance" format="reference" /> 7832 <!-- Minimum width for the switch component --> 7833 <attr name="switchMinWidth" format="dimension" /> 7834 <!-- Minimum space between the switch and caption text --> 7835 <attr name="switchPadding" format="dimension" /> 7836 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 7837 <attr name="splitTrack" /> 7838 <!-- Whether to draw on/off text. --> 7839 <attr name="showText" format="boolean" /> 7840 </declare-styleable> 7841 7842 <declare-styleable name="Pointer"> 7843 <!-- Reference to a pointer icon drawable with STYLE_ARROW --> 7844 <attr name="pointerIconArrow" format="reference" /> 7845 <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER --> 7846 <attr name="pointerIconSpotHover" format="reference" /> 7847 <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH --> 7848 <attr name="pointerIconSpotTouch" format="reference" /> 7849 <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR --> 7850 <attr name="pointerIconSpotAnchor" format="reference" /> 7851 <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU --> 7852 <attr name="pointerIconContextMenu" format="reference"/> 7853 <!-- Reference to a pointer drawable with STYLE_HAND --> 7854 <attr name="pointerIconHand" format="reference"/> 7855 <!-- Reference to a pointer drawable with STYLE_HELP --> 7856 <attr name="pointerIconHelp" format="reference"/> 7857 <!-- Reference to a pointer drawable with STYLE_WAIT --> 7858 <attr name="pointerIconWait" format="reference"/> 7859 <!-- Reference to a pointer drawable with STYLE_CELL --> 7860 <attr name="pointerIconCell" format="reference"/> 7861 <!-- Reference to a pointer drawable with STYLE_CROSSHAIR --> 7862 <attr name="pointerIconCrosshair" format="reference"/> 7863 <!-- Reference to a pointer drawable with STYLE_TEXT --> 7864 <attr name="pointerIconText" format="reference"/> 7865 <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT --> 7866 <attr name="pointerIconVerticalText" format="reference"/> 7867 <!-- Reference to a pointer drawable with STYLE_ALIAS --> 7868 <attr name="pointerIconAlias" format="reference"/> 7869 <!-- Reference to a pointer drawable with STYLE_COPY --> 7870 <attr name="pointerIconCopy" format="reference"/> 7871 <!-- Reference to a pointer drawable with STYLE_NODROP --> 7872 <attr name="pointerIconNodrop" format="reference"/> 7873 <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL --> 7874 <attr name="pointerIconAllScroll" format="reference"/> 7875 <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW --> 7876 <attr name="pointerIconHorizontalDoubleArrow" format="reference"/> 7877 <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW --> 7878 <attr name="pointerIconVerticalDoubleArrow" format="reference"/> 7879 <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW --> 7880 <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/> 7881 <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW --> 7882 <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/> 7883 <!-- Reference to a pointer drawable with STYLE_ZOOM_IN --> 7884 <attr name="pointerIconZoomIn" format="reference"/> 7885 <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT --> 7886 <attr name="pointerIconZoomOut" format="reference"/> 7887 <!-- Reference to a pointer drawable with STYLE_GRAB --> 7888 <attr name="pointerIconGrab" format="reference"/> 7889 <!-- Reference to a pointer drawable with STYLE_GRABBING --> 7890 <attr name="pointerIconGrabbing" format="reference"/> 7891 </declare-styleable> 7892 7893 <declare-styleable name="PointerIcon"> 7894 <!-- Drawable to use as the icon bitmap. --> 7895 <attr name="bitmap" format="reference" /> 7896 <!-- X coordinate of the icon hot spot. --> 7897 <attr name="hotSpotX" format="dimension" /> 7898 <!-- Y coordinate of the icon hot spot. --> 7899 <attr name="hotSpotY" format="dimension" /> 7900 </declare-styleable> 7901 7902 <declare-styleable name="Storage"> 7903 <!-- path to mount point for the storage --> 7904 <attr name="mountPoint" format="string" /> 7905 <!-- user visible description of the storage --> 7906 <attr name="storageDescription" format="string" /> 7907 <!-- true if the storage is the primary external storage --> 7908 <attr name="primary" format="boolean" /> 7909 <!-- true if the storage is removable --> 7910 <attr name="removable" format="boolean" /> 7911 <!-- true if the storage is emulated via the FUSE sdcard daemon --> 7912 <attr name="emulated" format="boolean" /> 7913 <!-- number of megabytes of storage MTP should reserve for free storage 7914 (used for emulated storage that is shared with system's data partition) --> 7915 <attr name="mtpReserve" format="integer" /> 7916 <!-- true if the storage can be shared via USB mass storage --> 7917 <attr name="allowMassStorage" format="boolean" /> 7918 <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded --> 7919 <attr name="maxFileSize" format="integer" /> 7920 </declare-styleable> 7921 7922 <declare-styleable name="SwitchPreference"> 7923 <!-- The summary for the Preference in a PreferenceActivity screen when the 7924 SwitchPreference is checked. If separate on/off summaries are not 7925 needed, the summary attribute can be used instead. --> 7926 <attr name="summaryOn" /> 7927 <!-- The summary for the Preference in a PreferenceActivity screen when the 7928 SwitchPreference is unchecked. If separate on/off summaries are not 7929 needed, the summary attribute can be used instead. --> 7930 <attr name="summaryOff" /> 7931 <!-- The text used on the switch itself when in the "on" state. 7932 This should be a very SHORT string, as it appears in a small space. --> 7933 <attr name="switchTextOn" format="string" /> 7934 <!-- The text used on the switch itself when in the "off" state. 7935 This should be a very SHORT string, as it appears in a small space. --> 7936 <attr name="switchTextOff" format="string" /> 7937 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 7938 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 7939 <attr name="disableDependentsState" /> 7940 </declare-styleable> 7941 7942 <declare-styleable name="SeekBarPreference"> 7943 <attr name="layout" /> 7944 </declare-styleable> 7945 7946 <!-- Base attributes available to PreferenceFragment. --> 7947 <declare-styleable name="PreferenceFragment"> 7948 <!-- The layout for the PreferenceFragment. This should rarely need to be changed. --> 7949 <attr name="layout" /> 7950 <attr name="divider" /> 7951 </declare-styleable> 7952 7953 <!-- Base attributes available to PreferenceScreen. --> 7954 <declare-styleable name="PreferenceScreen"> 7955 <!-- The layout for the PreferenceScreen. This should rarely need to be changed. --> 7956 <attr name="screenLayout" format="reference" /> 7957 <attr name="divider" /> 7958 </declare-styleable> 7959 7960 <!-- Base attributes available to PreferenceActivity. --> 7961 <declare-styleable name="PreferenceActivity"> 7962 <!-- The layout for the Preference Activity. This should rarely need to be changed. --> 7963 <attr name="layout" /> 7964 <!-- The layout for the Preference Header. This should rarely need to be changed. --> 7965 <attr name="headerLayout" format="reference" /> 7966 <!-- true if the Icon view will be removed when there is none and thus not showing 7967 the fixed margins. --> 7968 <attr name="headerRemoveIconIfEmpty" format="boolean" /> 7969 </declare-styleable> 7970 7971 <!-- Use <code>tts-engine</code> as the root tag of the XML resource that 7972 describes a text to speech engine implemented as a subclass of 7973 {@link android.speech.tts.TextToSpeechService}. 7974 7975 The XML resource must be referenced from its 7976 {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data 7977 entry. --> 7978 <declare-styleable name="TextToSpeechEngine"> 7979 <attr name="settingsActivity" /> 7980 </declare-styleable> 7981 7982 <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that 7983 describes a collection of keyboard layouts provided by an application. 7984 Each keyboard layout is declared by a <code>keyboard-layout</code> tag 7985 with these attributes. 7986 7987 The XML resource that contains the keyboard layouts must be referenced from its 7988 {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS} 7989 meta-data entry used with broadcast receivers for 7990 {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. --> 7991 <declare-styleable name="KeyboardLayout"> 7992 <!-- The name of the keyboard layout, must be unique in the receiver. --> 7993 <attr name="name" /> 7994 <!-- The display label of the keyboard layout. --> 7995 <attr name="label" /> 7996 <!-- The key character map file resource. --> 7997 <attr name="keyboardLayout" format="reference" /> 7998 <!-- The locales the given keyboard layout corresponds to. --> 7999 <attr name="locale" format="string" /> 8000 <!-- The vendor ID of the hardware the given layout corresponds to. @hide --> 8001 <attr name="vendorId" format="integer" /> 8002 <!-- The product ID of the hardware the given layout corresponds to. @hide --> 8003 <attr name="productId" format="integer" /> 8004 </declare-styleable> 8005 8006 <declare-styleable name="MediaRouteButton"> 8007 <!-- This drawable is a state list where the "activated" state 8008 indicates active media routing. Non-activated indicates 8009 that media is playing to the local device only. 8010 @hide --> 8011 <attr name="externalRouteEnabledDrawable" format="reference" /> 8012 8013 <!-- The types of media routes the button and its resulting 8014 chooser will filter by. --> 8015 <attr name="mediaRouteTypes" format="integer"> 8016 <!-- Allow selection of live audio routes. --> 8017 <enum name="liveAudio" value="0x1" /> 8018 <!-- Allow selection of user (app-specified) routes. --> 8019 <enum name="user" value="0x800000" /> 8020 </attr> 8021 8022 <attr name="minWidth" /> 8023 <attr name="minHeight" /> 8024 </declare-styleable> 8025 8026 <!-- PagedView specific attributes. These attributes are used to customize 8027 a PagedView view in XML files. --> 8028 <declare-styleable name="PagedView"> 8029 <!-- The space between adjacent pages of the PagedView. --> 8030 <attr name="pageSpacing" format="dimension" /> 8031 <!-- The padding for the scroll indicator area --> 8032 <attr name="scrollIndicatorPaddingLeft" format="dimension" /> 8033 <attr name="scrollIndicatorPaddingRight" format="dimension" /> 8034 </declare-styleable> 8035 8036 <declare-styleable name="KeyguardGlowStripView"> 8037 <attr name="dotSize" format="dimension" /> 8038 <attr name="numDots" format="integer" /> 8039 <attr name="glowDot" format="reference" /> 8040 <attr name="leftToRight" format="boolean" /> 8041 </declare-styleable> 8042 8043 <!-- Some child types have special behavior. --> 8044 <attr name="layout_childType"> 8045 <!-- No special behavior. Layout will proceed as normal. --> 8046 <enum name="none" value="0" /> 8047 <!-- Widget container. 8048 This will be resized in response to certain events. --> 8049 <enum name="widget" value="1" /> 8050 <!-- Security challenge container. 8051 This will be dismissed/shown in response to certain events, 8052 possibly obscuring widget elements. --> 8053 <enum name="challenge" value="2" /> 8054 <!-- User switcher. 8055 This will consume space from the total layout area. --> 8056 <enum name="userSwitcher" value="3" /> 8057 <!-- Scrim. This will block access to child views that 8058 come before it in the child list in bouncer mode. --> 8059 <enum name="scrim" value="4" /> 8060 <!-- The home for widgets. All widgets will be descendents of this. --> 8061 <enum name="widgets" value="5" /> 8062 <!-- This is a handle that is used for expanding the 8063 security challenge container when it is collapsed. --> 8064 <enum name="expandChallengeHandle" value="6" /> 8065 <!-- Delete drop target. This will be the drop target to delete pages. --> 8066 <enum name="pageDeleteDropTarget" value="7" /> 8067 </attr> 8068 8069 <!-- Attributes that can be used with <code><FragmentBreadCrumbs></code> 8070 tags. --> 8071 <declare-styleable name="FragmentBreadCrumbs"> 8072 <attr name="gravity" /> 8073 <attr name="itemLayout" format="reference" /> 8074 <attr name="itemColor" format="color|reference" /> 8075 </declare-styleable> 8076 8077 <declare-styleable name="Toolbar"> 8078 <attr name="titleTextAppearance" format="reference" /> 8079 <attr name="subtitleTextAppearance" format="reference" /> 8080 <attr name="title" /> 8081 <attr name="subtitle" /> 8082 <attr name="gravity" /> 8083 <!-- Specifies extra space on the left, start, right and end sides 8084 of the toolbar's title. Margin values should be positive. --> 8085 <attr name="titleMargin" format="dimension" /> 8086 <!-- Specifies extra space on the start side of the toolbar's title. 8087 If both this attribute and titleMargin are specified, then this 8088 attribute takes precedence. Margin values should be positive. --> 8089 <attr name="titleMarginStart" format="dimension" /> 8090 <!-- Specifies extra space on the end side of the toolbar's title. 8091 If both this attribute and titleMargin are specified, then this 8092 attribute takes precedence. Margin values should be positive. --> 8093 <attr name="titleMarginEnd" format="dimension" /> 8094 <!-- Specifies extra space on the top side of the toolbar's title. 8095 If both this attribute and titleMargin are specified, then this 8096 attribute takes precedence. Margin values should be positive. --> 8097 <attr name="titleMarginTop" format="dimension" /> 8098 <!-- Specifies extra space on the bottom side of the toolbar's title. 8099 If both this attribute and titleMargin are specified, then this 8100 attribute takes precedence. Margin values should be positive. --> 8101 <attr name="titleMarginBottom" format="dimension" /> 8102 <attr name="contentInsetStart" /> 8103 <attr name="contentInsetEnd" /> 8104 <attr name="contentInsetLeft" /> 8105 <attr name="contentInsetRight" /> 8106 <attr name="contentInsetStartWithNavigation" /> 8107 <attr name="contentInsetEndWithActions" /> 8108 <attr name="maxButtonHeight" format="dimension" /> 8109 <attr name="navigationButtonStyle" format="reference" /> 8110 <attr name="buttonGravity"> 8111 <!-- Push object to the top of its container, not changing its size. --> 8112 <flag name="top" value="0x30" /> 8113 <!-- Push object to the bottom of its container, not changing its size. --> 8114 <flag name="bottom" value="0x50" /> 8115 </attr> 8116 <!-- Icon drawable to use for the collapse button. --> 8117 <attr name="collapseIcon" format="reference" /> 8118 <!-- Text to set as the content description for the collapse button. --> 8119 <attr name="collapseContentDescription" format="string" /> 8120 <!-- Reference to a theme that should be used to inflate popups 8121 shown by widgets in the toolbar. --> 8122 <attr name="popupTheme" format="reference" /> 8123 <!-- Icon drawable to use for the navigation button located at 8124 the start of the toolbar. --> 8125 <attr name="navigationIcon" format="reference" /> 8126 <!-- Text to set as the content description for the navigation button 8127 located at the start of the toolbar. --> 8128 <attr name="navigationContentDescription" format="string" /> 8129 <!-- Drawable to set as the logo that appears at the starting side of 8130 the Toolbar, just after the navigation button. --> 8131 <attr name="logo" /> 8132 <!-- A content description string to describe the appearance of the 8133 associated logo image. --> 8134 <attr name="logoDescription" format="string" /> 8135 <!-- A color to apply to the title string. --> 8136 <attr name="titleTextColor" format="color" /> 8137 <!-- A color to apply to the subtitle string. --> 8138 <attr name="subtitleTextColor" format="color" /> 8139 </declare-styleable> 8140 8141 <declare-styleable name="Toolbar_LayoutParams"> 8142 <attr name="layout_gravity" /> 8143 </declare-styleable> 8144 8145 <declare-styleable name="ActionBar_LayoutParams"> 8146 <attr name="layout_gravity" /> 8147 </declare-styleable> 8148 8149 <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. --> 8150 <declare-styleable name="EdgeEffect"> 8151 <attr name="colorEdgeEffect" /> 8152 </declare-styleable> 8153 8154 <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a 8155 {@link android.media.tv.TvInputService}, which is referenced from its 8156 {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry. 8157 Described here are the attributes that can be included in that tag. --> 8158 <declare-styleable name="TvInputService"> 8159 <!-- Component name of an activity that allows the user to set up this service. --> 8160 <attr name="setupActivity" format="string" /> 8161 <!-- Component name of an activity that allows the user to modify the settings for this 8162 service. --> 8163 <attr name="settingsActivity" /> 8164 <!-- Attribute whether the TV input service can record programs. This value can be changed 8165 at runtime by calling 8166 {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. --> 8167 <attr name="canRecord" format="boolean" /> 8168 <!-- The number of tuners that the TV input service is associated with. This value can be 8169 changed at runtime by calling 8170 {@link android.media.tv.TvInputManager#updateTvInputInfo(android.media.tv.TvInputInfo)}. --> 8171 <attr name="tunerCount" format="integer" /> 8172 </declare-styleable> 8173 8174 <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the 8175 XML resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8176 which is referenced from its 8177 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8178 <declare-styleable name="RatingSystemDefinition"> 8179 <!-- The unique name of the content rating system. --> 8180 <attr name="name" /> 8181 <!-- The title of the content rating system which is shown to the user. --> 8182 <attr name="title" /> 8183 <!-- The short description of the content rating system. --> 8184 <attr name="description" /> 8185 <!-- The country code associated with the content rating system, which consists of two 8186 uppercase letters that conform to the ISO 3166 standard. --> 8187 <attr name="country" format="string" /> 8188 </declare-styleable> 8189 8190 <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML 8191 resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8192 which is referenced from its 8193 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8194 <declare-styleable name="RatingDefinition"> 8195 <!-- The unique name of the content rating. --> 8196 <attr name="name" /> 8197 <!-- The title of the content rating which is shown to the user. --> 8198 <attr name="title" /> 8199 <!-- The short description of the content rating. --> 8200 <attr name="description" /> 8201 <!-- The age associated with the content rating. The content of this rating is suitable for 8202 people of this age or above. --> 8203 <attr name="contentAgeHint" format="integer" /> 8204 </declare-styleable> 8205 8206 <declare-styleable name="ResolverDrawerLayout"> 8207 <attr name="maxWidth" /> 8208 <attr name="maxCollapsedHeight" format="dimension" /> 8209 <attr name="maxCollapsedHeightSmall" format="dimension" /> 8210 </declare-styleable> 8211 8212 <declare-styleable name="MessagingLinearLayout"> 8213 <attr name="maxHeight" /> 8214 <attr name="spacing" /> 8215 </declare-styleable> 8216 8217 <declare-styleable name="DateTimeView"> 8218 <attr name="showRelative" format="boolean" /> 8219 </declare-styleable> 8220 8221 <declare-styleable name="ResolverDrawerLayout_LayoutParams"> 8222 <attr name="layout_alwaysShow" format="boolean" /> 8223 <attr name="layout_ignoreOffset" format="boolean" /> 8224 <attr name="layout_gravity" /> 8225 <attr name="layout_hasNestedScrollIndicator" format="boolean" /> 8226 </declare-styleable> 8227 8228 <!-- @hide --> 8229 <declare-styleable name="Lighting"> 8230 <attr name="lightY" /> 8231 <attr name="lightZ" /> 8232 <attr name="lightRadius" /> 8233 <attr name="ambientShadowAlpha" /> 8234 <attr name="spotShadowAlpha" /> 8235 </declare-styleable> 8236 8237 <declare-styleable name="RestrictionEntry"> 8238 <attr name="key" /> 8239 <attr name="restrictionType"> 8240 <enum name="hidden" value="0" /> 8241 <enum name="bool" value="1" /> 8242 <enum name="choice" value="2" /> 8243 <enum name="multi-select" value="4" /> 8244 <enum name="integer" value="5" /> 8245 <enum name="string" value="6" /> 8246 <enum name="bundle" value="7" /> 8247 <enum name="bundle_array" value="8" /> 8248 </attr> 8249 <attr name="title" /> 8250 <attr name="description" /> 8251 <attr name="defaultValue" /> 8252 <attr name="entries" /> 8253 <attr name="entryValues" /> 8254 </declare-styleable> 8255 8256 <!-- Used to describe the gradient for fill or stroke in a path of VectorDrawable. --> 8257 <declare-styleable name="GradientColor"> 8258 <!-- Start color of the gradient. --> 8259 <attr name="startColor" /> 8260 <!-- Optional center color. --> 8261 <attr name="centerColor" /> 8262 <!-- End color of the gradient. --> 8263 <attr name="endColor" /> 8264 <!-- Type of gradient. The default type is linear. --> 8265 <attr name="type" /> 8266 8267 <!-- Only applied to RadialGradient--> 8268 <!-- Radius of the gradient, used only with radial gradient. --> 8269 <attr name="gradientRadius" /> 8270 8271 <!-- Only applied to SweepGradient / RadialGradient--> 8272 <!-- X coordinate of the center of the gradient within the path. --> 8273 <attr name="centerX" /> 8274 <!-- Y coordinate of the center of the gradient within the path. --> 8275 <attr name="centerY" /> 8276 8277 <!-- LinearGradient specific --> 8278 <!-- X coordinate of the start point origin of the gradient. 8279 Defined in same coordinates as the path itself --> 8280 <attr name="startX" format="float" /> 8281 <!-- Y coordinate of the start point of the gradient within the shape. 8282 Defined in same coordinates as the path itself --> 8283 <attr name="startY" format="float" /> 8284 <!-- X coordinate of the end point origin of the gradient. 8285 Defined in same coordinates as the path itself --> 8286 <attr name="endX" format="float" /> 8287 <!-- Y coordinate of the end point of the gradient within the shape. 8288 Defined in same coordinates as the path itself --> 8289 <attr name="endY" format="float" /> 8290 8291 <!-- Defines the tile mode of the gradient. SweepGradient don't support tiling. --> 8292 <attr name="tileMode"/> 8293 </declare-styleable> 8294 8295 <!-- Describes an item of a GradientColor. Minimally need 2 items to define the gradient 8296 Colors defined in <item> override the simple color attributes such as 8297 "startColor / centerColor / endColor" are ignored --> 8298 <declare-styleable name="GradientColorItem"> 8299 <!-- The offset (or ratio) of this current color item inside the gradient. 8300 The value is only meaningful when it is between 0 and 1. --> 8301 <attr name="offset" format="float" /> 8302 <!-- The current color for the offset inside the gradient. --> 8303 <attr name="color" /> 8304 </declare-styleable> 8305 8306 <!-- @hide Attributes which will be read by the Activity to intialize the 8307 base activity TaskDescription. --> 8308 <declare-styleable name="ActivityTaskDescription"> 8309 <!-- @hide From Theme.colorPrimary, used for the TaskDescription primary 8310 color. --> 8311 <attr name="colorPrimary" /> 8312 <!-- @hide From Theme.colorBackground, used for the TaskDescription background 8313 color. --> 8314 <attr name="colorBackground" /> 8315 </declare-styleable> 8316 8317 <declare-styleable name="Shortcut"> 8318 <attr name="shortcutId" format="string" /> 8319 <attr name="enabled" /> 8320 <attr name="icon" /> 8321 <attr name="shortcutShortLabel" format="reference" /> 8322 <attr name="shortcutLongLabel" format="reference" /> 8323 <attr name="shortcutDisabledMessage" format="reference" /> 8324 </declare-styleable> 8325 8326 <declare-styleable name="ShortcutCategories"> 8327 <attr name="name" /> 8328 </declare-styleable> 8329</resources> 8330