attrs.xml revision f82ab8bea4c914c567a3487297fd4914561978a1
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 <attr name="windowAllowEnterTransitionOverlap" format="boolean"/> 540 541 <!-- Flag indicating whether this Window's transition should overlap with 542 the exiting transition of the called Activity when the called Activity 543 finishes. Corresponds to 544 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. --> 545 <attr name="windowAllowReturnTransitionOverlap" format="boolean"/> 546 547 <!-- Indicates whether or not shared elements should use an overlay 548 during transitions. The default value is true. --> 549 <attr name="windowSharedElementsUseOverlay" format="boolean"/> 550 551 <!-- Internal layout used internally for window decor --> 552 <attr name="windowActionBarFullscreenDecorLayout" format="reference" /> 553 554 <!-- The duration, in milliseconds, of the window background fade duration 555 when transitioning into or away from an Activity when called with an 556 Activity Transition. Corresponds to 557 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 558 <attr name="windowTransitionBackgroundFadeDuration" format="integer"/> 559 560 <!-- ============ --> 561 <!-- Floating toolbar styles --> 562 <!-- ============ --> 563 <eat-comment /> 564 <attr name="floatingToolbarCloseDrawable" format="reference" /> 565 <attr name="floatingToolbarForegroundColor" format="reference|color" /> 566 <attr name="floatingToolbarItemBackgroundBorderlessDrawable" format="reference" /> 567 <attr name="floatingToolbarItemBackgroundDrawable" format="reference" /> 568 <attr name="floatingToolbarOpenDrawable" format="reference" /> 569 <attr name="floatingToolbarPopupBackgroundDrawable" format="reference" /> 570 571 <!-- ============ --> 572 <!-- Alert Dialog styles --> 573 <!-- ============ --> 574 <eat-comment /> 575 <attr name="alertDialogStyle" format="reference" /> 576 <attr name="alertDialogButtonGroupStyle" format="reference" /> 577 <attr name="alertDialogCenterButtons" format="boolean" /> 578 579 <!-- ============== --> 580 <!-- Image elements --> 581 <!-- ============== --> 582 <eat-comment /> 583i 584 <!-- Background that can be used behind parts of a UI that provide 585 details on data the user is selecting. For example, this is 586 the background element of PreferenceActivity's embedded 587 preference fragment. --> 588 <attr name="detailsElementBackground" format="reference" /> 589 590 <!-- Icon that should be used to indicate that an app is waiting for a fingerprint scan. 591 This should be used whenever an app is requesting the user to place a finger on the 592 fingerprint sensor. It can be combined with other drawables such as colored circles, so 593 the appearance matches the branding of the app requesting the fingerprint scan.--> 594 <attr name="fingerprintAuthDrawable" format="reference" /> 595 596 <!-- ============ --> 597 <!-- Panel styles --> 598 <!-- ============ --> 599 <eat-comment /> 600 601 <!-- The background of a panel when it is inset from the left and right edges of the screen. --> 602 <attr name="panelBackground" format="reference|color" /> 603 <!-- The background of a panel when it extends to the left and right edges of the screen. --> 604 <attr name="panelFullBackground" format="reference|color" /> 605 <!-- Default color of foreground panel imagery. --> 606 <attr name="panelColorForeground" format="reference|color" /> 607 <!-- Color that matches (as closely as possible) the panel background. --> 608 <attr name="panelColorBackground" format="reference|color" /> 609 <!-- Default appearance of panel text. --> 610 <attr name="panelTextAppearance" format="reference" /> 611 612 <attr name="panelMenuIsCompact" format="boolean" /> 613 <attr name="panelMenuListWidth" format="dimension" /> 614 <attr name="panelMenuListTheme" format="reference" /> 615 616 <!-- =================== --> 617 <!-- Other widget styles --> 618 <!-- =================== --> 619 <eat-comment /> 620 621 <!-- Default AbsListView style. --> 622 <attr name="absListViewStyle" format="reference" /> 623 <!-- Default AutoCompleteTextView style. --> 624 <attr name="autoCompleteTextViewStyle" format="reference" /> 625 <!-- Default Checkbox style. --> 626 <attr name="checkboxStyle" format="reference" /> 627 <!-- Default CheckedTextView style. --> 628 <attr name="checkedTextViewStyle" format="reference" /> 629 <!-- Default ListView style for drop downs. --> 630 <attr name="dropDownListViewStyle" format="reference" /> 631 <!-- Default EditText style. --> 632 <attr name="editTextStyle" format="reference" /> 633 <!-- Default ExpandableListView style. --> 634 <attr name="expandableListViewStyle" format="reference" /> 635 <!-- ExpandableListView with white background. --> 636 <attr name="expandableListViewWhiteStyle" format="reference" /> 637 <!-- Default Gallery style. --> 638 <attr name="galleryStyle" format="reference" /> 639 <!-- Default GestureOverlayView style. --> 640 <attr name="gestureOverlayViewStyle" format="reference" /> 641 <!-- Default GridView style. --> 642 <attr name="gridViewStyle" format="reference" /> 643 <!-- The style resource to use for an ImageButton. --> 644 <attr name="imageButtonStyle" format="reference" /> 645 <!-- The style resource to use for an ImageButton that is an image well. --> 646 <attr name="imageWellStyle" format="reference" /> 647 <!-- Default menu-style ListView style. --> 648 <attr name="listMenuViewStyle" format="reference" /> 649 <!-- Default ListView style. --> 650 <attr name="listViewStyle" format="reference" /> 651 <!-- ListView with white background. --> 652 <attr name="listViewWhiteStyle" format="reference" /> 653 <!-- Default PopupWindow style. --> 654 <attr name="popupWindowStyle" format="reference" /> 655 <!-- Default ProgressBar style. This is a medium circular progress bar. --> 656 <attr name="progressBarStyle" format="reference" /> 657 <!-- Horizontal ProgressBar style. This is a horizontal progress bar. --> 658 <attr name="progressBarStyleHorizontal" format="reference" /> 659 <!-- Small ProgressBar style. This is a small circular progress bar. --> 660 <attr name="progressBarStyleSmall" format="reference" /> 661 <!-- Small ProgressBar in title style. This is a small circular progress bar that will be placed in title bars. --> 662 <attr name="progressBarStyleSmallTitle" format="reference" /> 663 <!-- Large ProgressBar style. This is a large circular progress bar. --> 664 <attr name="progressBarStyleLarge" format="reference" /> 665 <!-- Inverse ProgressBar style. This is a medium circular progress bar. --> 666 <attr name="progressBarStyleInverse" format="reference" /> 667 <!-- Small inverse ProgressBar style. This is a small circular progress bar. --> 668 <attr name="progressBarStyleSmallInverse" format="reference" /> 669 <!-- Large inverse ProgressBar style. This is a large circular progress bar. --> 670 <attr name="progressBarStyleLargeInverse" format="reference" /> 671 <!-- Default SeekBar style. --> 672 <attr name="seekBarStyle" format="reference" /> 673 <!-- Default RatingBar style. --> 674 <attr name="ratingBarStyle" format="reference" /> 675 <!-- Indicator RatingBar style. --> 676 <attr name="ratingBarStyleIndicator" format="reference" /> 677 <!-- Small indicator RatingBar style. --> 678 <attr name="ratingBarStyleSmall" format="reference" /> 679 <!-- Default RadioButton style. --> 680 <attr name="radioButtonStyle" format="reference" /> 681 <!-- Default ScrollView style. --> 682 <attr name="scrollViewStyle" format="reference" /> 683 <!-- Default HorizontalScrollView style. --> 684 <attr name="horizontalScrollViewStyle" format="reference" /> 685 <!-- Default Spinner style. --> 686 <attr name="spinnerStyle" format="reference" /> 687 <!-- Default dropdown Spinner style. --> 688 <attr name="dropDownSpinnerStyle" format="reference" /> 689 <!-- Default ActionBar dropdown style. --> 690 <attr name="actionDropDownStyle" format="reference" /> 691 <!-- Default action button style. --> 692 <attr name="actionButtonStyle" format="reference" /> 693 <!-- Default Star style. --> 694 <attr name="starStyle" format="reference" /> 695 <!-- Default TabWidget style. --> 696 <attr name="tabWidgetStyle" format="reference" /> 697 <!-- Default TextView style. --> 698 <attr name="textViewStyle" format="reference" /> 699 <!-- Default WebTextView style. --> 700 <attr name="webTextViewStyle" format="reference" /> 701 <!-- Default WebView style. --> 702 <attr name="webViewStyle" format="reference" /> 703 <!-- Default style for drop down items. --> 704 <attr name="dropDownItemStyle" format="reference" /> 705 <!-- Default style for spinner drop down items. --> 706 <attr name="spinnerDropDownItemStyle" format="reference" /> 707 <!-- Default style for drop down hints. --> 708 <attr name="dropDownHintAppearance" format="reference" /> 709 <!-- Default spinner item style. --> 710 <attr name="spinnerItemStyle" format="reference" /> 711 <!-- Default MapView style. --> 712 <attr name="mapViewStyle" format="reference" /> 713 <!-- Drawable used as an overlay on top of quickcontact photos. --> 714 <attr name="quickContactBadgeOverlay" format="reference" /> 715 <!-- Default quickcontact badge style with small quickcontact window. --> 716 <attr name="quickContactBadgeStyleWindowSmall" format="reference" /> 717 <!-- Default quickcontact badge style with medium quickcontact window. --> 718 <attr name="quickContactBadgeStyleWindowMedium" format="reference" /> 719 <!-- Default quickcontact badge style with large quickcontact window. --> 720 <attr name="quickContactBadgeStyleWindowLarge" format="reference" /> 721 <!-- Default quickcontact badge style with small quickcontact window. --> 722 <attr name="quickContactBadgeStyleSmallWindowSmall" format="reference" /> 723 <!-- Default quickcontact badge style with medium quickcontact window. --> 724 <attr name="quickContactBadgeStyleSmallWindowMedium" format="reference" /> 725 <!-- Default quickcontact badge style with large quickcontact window. --> 726 <attr name="quickContactBadgeStyleSmallWindowLarge" format="reference" /> 727 <!-- Reference to a style that will be used for the window containing a text 728 selection anchor. --> 729 <attr name="textSelectHandleWindowStyle" format="reference" /> 730 <!-- Reference to a style that will be used for the window containing a list of possible 731 text suggestions in an EditText. --> 732 <attr name="textSuggestionsWindowStyle" format="reference" /> 733 <!-- Default ListPopupWindow style. --> 734 <attr name="listPopupWindowStyle" format="reference" /> 735 <!-- Default PopupMenu style. --> 736 <attr name="popupMenuStyle" format="reference" /> 737 <!-- Default context menu PopupMenu style. --> 738 <attr name="contextPopupMenuStyle" format="reference" /> 739 <!-- Default StackView style. --> 740 <attr name="stackViewStyle" format="reference" /> 741 742 <!-- Default style for the FragmentBreadCrumbs widget. This widget is deprecated 743 starting in API level 21 ({@link android.os.Build.VERSION_CODES#.L}). --> 744 <attr name="fragmentBreadCrumbsStyle" format="reference" /> 745 746 <!-- NumberPicker style. --> 747 <attr name="numberPickerStyle" format="reference" /> 748 749 <!-- The CalendarView style. --> 750 <attr name="calendarViewStyle" format="reference" /> 751 752 <!-- The TimePicker style. --> 753 <attr name="timePickerStyle" format="reference" /> 754 755 <!-- The TimePicker dialog theme. --> 756 <attr name="timePickerDialogTheme" format="reference" /> 757 758 <!-- The DatePicker style. --> 759 <attr name="datePickerStyle" format="reference" /> 760 761 <!-- The DatePicker dialog theme. --> 762 <attr name="datePickerDialogTheme" format="reference" /> 763 764 <!-- Default ActivityChooserView style. --> 765 <attr name="activityChooserViewStyle" format="reference" /> 766 767 <!-- Default Toolbar style. --> 768 <attr name="toolbarStyle" format="reference" /> 769 770 <!-- Fast scroller styles --> 771 <eat-comment /> 772 773 <!-- Drawable to use as the fast scroll thumb. --> 774 <attr name="fastScrollThumbDrawable" format="reference" /> 775 <!-- Drawable to use as the fast scroll index preview window background 776 when shown on the right. --> 777 <attr name="fastScrollPreviewBackgroundRight" format="reference" /> 778 <!-- Drawable to use as the fast scroll index preview window background 779 when shown on the left. --> 780 <attr name="fastScrollPreviewBackgroundLeft" format="reference" /> 781 <!-- Drawable to use as the track for the fast scroll thumb. 782 This may be null. --> 783 <attr name="fastScrollTrackDrawable" format="reference" /> 784 <!-- Position of the fast scroll index overlay window. --> 785 <attr name="fastScrollOverlayPosition"> 786 <enum name="floating" value="0" /> 787 <enum name="atThumb" value="1" /> 788 <enum name="aboveThumb" value="2" /> 789 </attr> 790 <!-- Text color for the fast scroll index overlay. Make sure it 791 plays nicely with fastScrollPreviewBackground[Left|Right]. --> 792 <attr name="fastScrollTextColor" format="color" /> 793 794 <!-- =================== --> 795 <!-- Action bar styles --> 796 <!-- =================== --> 797 <eat-comment /> 798 <!-- Default style for tabs within an action bar --> 799 <attr name="actionBarTabStyle" format="reference" /> 800 <attr name="actionBarTabBarStyle" format="reference" /> 801 <attr name="actionBarTabTextStyle" format="reference" /> 802 <attr name="actionOverflowButtonStyle" format="reference" /> 803 <attr name="actionOverflowMenuStyle" format="reference" /> 804 <!-- Reference to a theme that should be used to inflate popups 805 shown by widgets in the action bar. --> 806 <attr name="actionBarPopupTheme" format="reference" /> 807 <!-- Reference to a style for the Action Bar --> 808 <attr name="actionBarStyle" format="reference" /> 809 <!-- Reference to a style for the split Action Bar. This style 810 controls the split component that holds the menu/action 811 buttons. actionBarStyle is still used for the primary 812 bar. --> 813 <attr name="actionBarSplitStyle" format="reference" /> 814 <!-- Reference to a theme that should be used to inflate the 815 action bar. This will be inherited by any widget inflated 816 into the action bar. --> 817 <attr name="actionBarTheme" format="reference" /> 818 <!-- Reference to a theme that should be used to inflate widgets 819 and layouts destined for the action bar. Most of the time 820 this will be a reference to the current theme, but when 821 the action bar has a significantly different contrast 822 profile than the rest of the activity the difference 823 can become important. If this is set to @null the current 824 theme will be used.--> 825 <attr name="actionBarWidgetTheme" format="reference" /> 826 <!-- Size of the Action Bar, including the contextual 827 bar used to present Action Modes. --> 828 <attr name="actionBarSize" format="dimension" > 829 <enum name="wrap_content" value="0" /> 830 </attr> 831 <!-- Custom divider drawable to use for elements in the action bar. --> 832 <attr name="actionBarDivider" format="reference" /> 833 <!-- Custom item state list drawable background for action bar items. --> 834 <attr name="actionBarItemBackground" format="reference" /> 835 <!-- TextAppearance style that will be applied to text that 836 appears within action menu items. --> 837 <attr name="actionMenuTextAppearance" format="reference" /> 838 <!-- Color for text that appears within action menu items. --> 839 <attr name="actionMenuTextColor" format="color|reference" /> 840 841 <!-- =================== --> 842 <!-- Action mode styles --> 843 <!-- =================== --> 844 <eat-comment /> 845 <attr name="actionModeStyle" format="reference" /> 846 <attr name="actionModeCloseButtonStyle" format="reference" /> 847 <!-- Background drawable to use for action mode UI --> 848 <attr name="actionModeBackground" format="reference" /> 849 <!-- Background drawable to use for action mode UI in the lower split bar --> 850 <attr name="actionModeSplitBackground" format="reference" /> 851 <!-- Drawable to use for the close action mode button --> 852 <attr name="actionModeCloseDrawable" format="reference" /> 853 854 <!-- Drawable to use for the Cut action button in Contextual Action Bar --> 855 <attr name="actionModeCutDrawable" format="reference" /> 856 <!-- Drawable to use for the Copy action button in Contextual Action Bar --> 857 <attr name="actionModeCopyDrawable" format="reference" /> 858 <!-- Drawable to use for the Paste action button in Contextual Action Bar --> 859 <attr name="actionModePasteDrawable" format="reference" /> 860 <!-- Drawable to use for the Select all action button in Contextual Action Bar --> 861 <attr name="actionModeSelectAllDrawable" format="reference" /> 862 <!-- Drawable to use for the Share action button in WebView selection action modes --> 863 <attr name="actionModeShareDrawable" format="reference" /> 864 <!-- Drawable to use for the Find action button in WebView selection action modes --> 865 <attr name="actionModeFindDrawable" format="reference" /> 866 <!-- Drawable to use for the Web Search action button in WebView selection action modes --> 867 <attr name="actionModeWebSearchDrawable" format="reference" /> 868 869 <!-- PopupWindow style to use for action modes when showing as a window overlay. --> 870 <attr name="actionModePopupWindowStyle" format="reference" /> 871 872 <!-- =================== --> 873 <!-- Preference styles --> 874 <!-- =================== --> 875 <eat-comment /> 876 877 <!-- Default style for PreferenceScreen. --> 878 <attr name="preferenceScreenStyle" format="reference" /> 879 <!-- Default style for the PreferenceActivity. --> 880 <attr name="preferenceActivityStyle" format="reference" /> 881 <!-- Default style for Headers pane in PreferenceActivity. --> 882 <attr name="preferenceFragmentStyle" format="reference" /> 883 <!-- Default style for PreferenceCategory. --> 884 <attr name="preferenceCategoryStyle" format="reference" /> 885 <!-- Default style for Preference. --> 886 <attr name="preferenceStyle" format="reference" /> 887 <!-- Default style for informational Preference. --> 888 <attr name="preferenceInformationStyle" format="reference" /> 889 <!-- Default style for CheckBoxPreference. --> 890 <attr name="checkBoxPreferenceStyle" format="reference" /> 891 <!-- Default style for YesNoPreference. --> 892 <attr name="yesNoPreferenceStyle" format="reference" /> 893 <!-- Default style for DialogPreference. --> 894 <attr name="dialogPreferenceStyle" format="reference" /> 895 <!-- Default style for EditTextPreference. --> 896 <attr name="editTextPreferenceStyle" format="reference" /> 897 <!-- @hide Default style for SeekBarDialogPreference. --> 898 <attr name="seekBarDialogPreferenceStyle" format="reference" /> 899 <!-- Default style for RingtonePreference. --> 900 <attr name="ringtonePreferenceStyle" format="reference" /> 901 <!-- The preference layout that has the child/tabbed effect. --> 902 <attr name="preferenceLayoutChild" format="reference" /> 903 <!-- Preference panel style --> 904 <attr name="preferencePanelStyle" format="reference" /> 905 <!-- Preference headers panel style --> 906 <attr name="preferenceHeaderPanelStyle" format="reference" /> 907 <!-- Preference list style --> 908 <attr name="preferenceListStyle" format="reference" /> 909 <!-- Preference fragment list style --> 910 <attr name="preferenceFragmentListStyle" format="reference" /> 911 <!-- Preference fragment padding side --> 912 <attr name="preferenceFragmentPaddingSide" format="dimension" /> 913 <!-- Default style for switch preferences. --> 914 <attr name="switchPreferenceStyle" format="reference" /> 915 <!-- Default style for seekbar preferences. --> 916 <attr name="seekBarPreferenceStyle" format="reference" /> 917 918 <!-- ============================ --> 919 <!-- Text selection handle styles --> 920 <!-- ============================ --> 921 <eat-comment /> 922 923 <!-- Reference to a drawable that will be used to display a text selection 924 anchor on the left side of a selection region. --> 925 <attr name="textSelectHandleLeft" format="reference" /> 926 <!-- Reference to a drawable that will be used to display a text selection 927 anchor on the right side of a selection region. --> 928 <attr name="textSelectHandleRight" format="reference" /> 929 <!-- Reference to a drawable that will be used to display a text selection 930 anchor for positioning the cursor within text. --> 931 <attr name="textSelectHandle" format="reference" /> 932 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 933 TextEdit field. --> 934 <attr name="textEditPasteWindowLayout" format="reference" /> 935 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 936 <attr name="textEditNoPasteWindowLayout" format="reference" /> 937 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 938 insertion cursor because it would be clipped if it were positioned on top. --> 939 <attr name="textEditSidePasteWindowLayout" format="reference" /> 940 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 941 <attr name="textEditSideNoPasteWindowLayout" format="reference" /> 942 943 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 944 <attr name="textEditSuggestionItemLayout" format="reference" /> 945 <!-- Layout of the container of the suggestion popup window. --> 946 <attr name="textEditSuggestionContainerLayout" format="reference" /> 947 <!-- Text appearance of the focused words to be replaced by suggested word. --> 948 <attr name="textEditSuggestionHighlightStyle" format="reference" /> 949 950 <!-- Theme to use for dialogs spawned from this theme. --> 951 <attr name="dialogTheme" format="reference" /> 952 <!-- Window decor layout to use in dialog mode with icons. --> 953 <attr name="dialogTitleIconsDecorLayout" format="reference" /> 954 <!-- Window decor layout to use in dialog mode with custom titles. --> 955 <attr name="dialogCustomTitleDecorLayout" format="reference" /> 956 <!-- Window decor layout to use in dialog mode with title only. --> 957 <attr name="dialogTitleDecorLayout" format="reference" /> 958 <!-- Preferred padding for dialog content. --> 959 <attr name="dialogPreferredPadding" format="dimension" /> 960 961 <!-- Theme to use for alert dialogs spawned from this theme. --> 962 <attr name="alertDialogTheme" format="reference" /> 963 <!-- Icon drawable to use for alerts --> 964 <attr name="alertDialogIcon" format="reference" /> 965 966 <!-- Theme to use for presentations spawned from this theme. --> 967 <attr name="presentationTheme" format="reference" /> 968 969 <!-- Drawable to use for generic vertical dividers. --> 970 <attr name="dividerVertical" format="reference" /> 971 972 <!-- Drawable to use for generic horizontal dividers. --> 973 <attr name="dividerHorizontal" format="reference" /> 974 975 <!-- Style for button bars --> 976 <attr name="buttonBarStyle" format="reference" /> 977 978 <!-- Style for buttons within button bars --> 979 <attr name="buttonBarButtonStyle" format="reference" /> 980 981 <!-- Style for the "positive" buttons within button bars --> 982 <attr name="buttonBarPositiveButtonStyle" format="reference" /> 983 984 <!-- Style for the "negative" buttons within button bars --> 985 <attr name="buttonBarNegativeButtonStyle" format="reference" /> 986 987 <!-- Style for the "neutral" buttons within button bars --> 988 <attr name="buttonBarNeutralButtonStyle" format="reference" /> 989 990 <!-- Style for the search query widget. --> 991 <attr name="searchViewStyle" format="reference" /> 992 993 <!-- Style for segmented buttons - a container that houses several buttons 994 with the appearance of a singel button broken into segments. --> 995 <attr name="segmentedButtonStyle" format="reference" /> 996 997 <!-- Background drawable for bordered standalone items that need focus/pressed states. --> 998 <attr name="selectableItemBackground" format="reference" /> 999 1000 <!-- Background drawable for borderless standalone items that need focus/pressed states. --> 1001 <attr name="selectableItemBackgroundBorderless" format="reference" /> 1002 1003 <!-- Style for buttons without an explicit border, often used in groups. --> 1004 <attr name="borderlessButtonStyle" format="reference" /> 1005 1006 <!-- Background to use for toasts --> 1007 <attr name="toastFrameBackground" format="reference" /> 1008 1009 <!-- Theme to use for Search Dialogs --> 1010 <attr name="searchDialogTheme" format="reference" /> 1011 1012 <!-- Specifies a drawable to use for the 'home as up' indicator. --> 1013 <attr name="homeAsUpIndicator" format="reference" /> 1014 1015 <!-- Preference frame layout styles. --> 1016 <attr name="preferenceFrameLayoutStyle" format="reference" /> 1017 1018 <!-- Default style for the Switch widget. --> 1019 <attr name="switchStyle" format="reference" /> 1020 1021 <!-- Default style for the MediaRouteButton widget. --> 1022 <attr name="mediaRouteButtonStyle" format="reference" /> 1023 1024 <!-- ============== --> 1025 <!-- Pointer styles --> 1026 <!-- ============== --> 1027 <eat-comment /> 1028 1029 <!-- The drawable for accessibility focused views. --> 1030 <attr name="accessibilityFocusedDrawable" format="reference" /> 1031 1032 <!-- Drawable for WebView find-on-page dialogue's "next" button. @hide --> 1033 <attr name="findOnPageNextDrawable" format="reference" /> 1034 1035 <!-- Drawable for WebView find-on-page dialogue's "previous" button. @hide --> 1036 <attr name="findOnPagePreviousDrawable" format="reference" /> 1037 1038 <!-- ============= --> 1039 <!-- Color palette --> 1040 <!-- ============= --> 1041 <eat-comment /> 1042 1043 <!-- The primary branding color for the app. By default, this is the color applied to the 1044 action bar background. --> 1045 <attr name="colorPrimary" format="color" /> 1046 1047 <!-- Dark variant of the primary branding color. By default, this is the color applied to 1048 the status bar (via statusBarColor) and navigation bar (via navigationBarColor). --> 1049 <attr name="colorPrimaryDark" format="color" /> 1050 1051 <!-- Bright complement to the primary branding color. By default, this is the color applied 1052 to framework controls (via colorControlActivated). --> 1053 <attr name="colorAccent" format="color" /> 1054 1055 <!-- The color applied to framework controls in their normal state. --> 1056 <attr name="colorControlNormal" format="color" /> 1057 1058 <!-- The color applied to framework controls in their activated (ex. checked) state. --> 1059 <attr name="colorControlActivated" format="color" /> 1060 1061 <!-- The color applied to framework control highlights (ex. ripples, list selectors). --> 1062 <attr name="colorControlHighlight" format="color" /> 1063 1064 <!-- The color applied to framework buttons in their normal state. --> 1065 <attr name="colorButtonNormal" format="color" /> 1066 1067 <!-- The color applied to framework switch thumbs in their normal state. --> 1068 <attr name="colorSwitchThumbNormal" format="color" /> 1069 1070 <!-- The color applied to the edge effect on scrolling containers. --> 1071 <attr name="colorEdgeEffect" format="color" /> 1072 1073 <!-- =================== --> 1074 <!-- Lighting properties --> 1075 <!-- =================== --> 1076 <eat-comment /> 1077 1078 <!-- @hide The default Y position of the light used to project view shadows. --> 1079 <attr name="lightY" format="dimension" /> 1080 1081 <!-- @hide The default Z position of the light used to project view shadows. --> 1082 <attr name="lightZ" format="dimension" /> 1083 1084 <!-- @hide The default radius of the light used to project view shadows. --> 1085 <attr name="lightRadius" format="dimension" /> 1086 1087 <!-- Alpha value of the ambient shadow projected by elevated views, between 0 and 1. --> 1088 <attr name="ambientShadowAlpha" format="float" /> 1089 1090 <!-- Alpha value of the spot shadow projected by elevated views, between 0 and 1. --> 1091 <attr name="spotShadowAlpha" format="float" /> 1092 </declare-styleable> 1093 1094 <!-- **************************************************************** --> 1095 <!-- Other non-theme attributes. --> 1096 <!-- **************************************************************** --> 1097 <eat-comment /> 1098 1099 <!-- Size of text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). 1100 Supported values include the following:<p/> 1101 <ul> 1102 <li><b>px</b> Pixels</li> 1103 <li><b>sp</b> Scaled pixels (scaled to relative pixel size on screen). See {@link android.util.DisplayMetrics} for more information.</li> 1104 <li><b>pt</b> Points</li> 1105 <li><b>dip</b> Device independent pixels. See {@link android.util.DisplayMetrics} for more information.</li> 1106 </ul> 1107 --> 1108 <attr name="textSize" format="dimension" /> 1109 1110 <!-- Default font family. --> 1111 <attr name="fontFamily" format="string" /> 1112 1113 <!-- Default text typeface. --> 1114 <attr name="typeface"> 1115 <enum name="normal" value="0" /> 1116 <enum name="sans" value="1" /> 1117 <enum name="serif" value="2" /> 1118 <enum name="monospace" value="3" /> 1119 </attr> 1120 1121 <!-- Default text typeface style. --> 1122 <attr name="textStyle"> 1123 <flag name="normal" value="0" /> 1124 <flag name="bold" value="1" /> 1125 <flag name="italic" value="2" /> 1126 </attr> 1127 1128 <!-- Color of text (usually same as colorForeground). --> 1129 <attr name="textColor" format="reference|color" /> 1130 1131 <!-- Color of highlighted text. --> 1132 <attr name="textColorHighlight" format="reference|color" /> 1133 1134 <!-- Color of hint text (displayed when the field is empty). --> 1135 <attr name="textColorHint" format="reference|color" /> 1136 1137 <!-- Color of link text (URLs). --> 1138 <attr name="textColorLink" format="reference|color" /> 1139 1140 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 1141 <attr name="textCursorDrawable" format="reference" /> 1142 1143 <!-- Indicates that the content of a non-editable TextView can be selected. 1144 Default value is false. EditText content is always selectable. --> 1145 <attr name="textIsSelectable" format="boolean" /> 1146 1147 <!-- Where to ellipsize text. --> 1148 <attr name="ellipsize"> 1149 <enum name="none" value="0" /> 1150 <enum name="start" value="1" /> 1151 <enum name="middle" value="2" /> 1152 <enum name="end" value="3" /> 1153 <enum name="marquee" value="4" /> 1154 </attr> 1155 1156 <!-- The type of data being placed in a text field, used to help an 1157 input method decide how to let the user enter text. The constants 1158 here correspond to those defined by 1159 {@link android.text.InputType}. Generally you can select 1160 a single value, though some can be combined together as 1161 indicated. Setting this attribute to anything besides 1162 <var>none</var> also implies that the text is editable. --> 1163 <attr name="inputType"> 1164 <!-- There is no content type. The text is not editable. --> 1165 <flag name="none" value="0x00000000" /> 1166 <!-- Just plain old text. Corresponds to 1167 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1168 {@link android.text.InputType#TYPE_TEXT_VARIATION_NORMAL}. --> 1169 <flag name="text" value="0x00000001" /> 1170 <!-- Can be combined with <var>text</var> and its variations to 1171 request capitalization of all characters. Corresponds to 1172 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_CHARACTERS}. --> 1173 <flag name="textCapCharacters" value="0x00001001" /> 1174 <!-- Can be combined with <var>text</var> and its variations to 1175 request capitalization of the first character of every word. Corresponds to 1176 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_WORDS}. --> 1177 <flag name="textCapWords" value="0x00002001" /> 1178 <!-- Can be combined with <var>text</var> and its variations to 1179 request capitalization of the first character of every sentence. Corresponds to 1180 {@link android.text.InputType#TYPE_TEXT_FLAG_CAP_SENTENCES}. --> 1181 <flag name="textCapSentences" value="0x00004001" /> 1182 <!-- Can be combined with <var>text</var> and its variations to 1183 request auto-correction of text being input. Corresponds to 1184 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_CORRECT}. --> 1185 <flag name="textAutoCorrect" value="0x00008001" /> 1186 <!-- Can be combined with <var>text</var> and its variations to 1187 specify that this field will be doing its own auto-completion and 1188 talking with the input method appropriately. Corresponds to 1189 {@link android.text.InputType#TYPE_TEXT_FLAG_AUTO_COMPLETE}. --> 1190 <flag name="textAutoComplete" value="0x00010001" /> 1191 <!-- Can be combined with <var>text</var> and its variations to 1192 allow multiple lines of text in the field. If this flag is not set, 1193 the text field will be constrained to a single line. Corresponds to 1194 {@link android.text.InputType#TYPE_TEXT_FLAG_MULTI_LINE}. --> 1195 <flag name="textMultiLine" value="0x00020001" /> 1196 <!-- Can be combined with <var>text</var> and its variations to 1197 indicate that though the regular text view should not be multiple 1198 lines, the IME should provide multiple lines if it can. Corresponds to 1199 {@link android.text.InputType#TYPE_TEXT_FLAG_IME_MULTI_LINE}. --> 1200 <flag name="textImeMultiLine" value="0x00040001" /> 1201 <!-- Can be combined with <var>text</var> and its variations to 1202 indicate that the IME should not show any 1203 dictionary-based word suggestions. Corresponds to 1204 {@link android.text.InputType#TYPE_TEXT_FLAG_NO_SUGGESTIONS}. --> 1205 <flag name="textNoSuggestions" value="0x00080001" /> 1206 <!-- Text that will be used as a URI. Corresponds to 1207 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1208 {@link android.text.InputType#TYPE_TEXT_VARIATION_URI}. --> 1209 <flag name="textUri" value="0x00000011" /> 1210 <!-- Text that will be used as an e-mail address. Corresponds to 1211 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1212 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_ADDRESS}. --> 1213 <flag name="textEmailAddress" value="0x00000021" /> 1214 <!-- Text that is being supplied as the subject of an e-mail. Corresponds to 1215 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1216 {@link android.text.InputType#TYPE_TEXT_VARIATION_EMAIL_SUBJECT}. --> 1217 <flag name="textEmailSubject" value="0x00000031" /> 1218 <!-- Text that is the content of a short message. Corresponds to 1219 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1220 {@link android.text.InputType#TYPE_TEXT_VARIATION_SHORT_MESSAGE}. --> 1221 <flag name="textShortMessage" value="0x00000041" /> 1222 <!-- Text that is the content of a long message. Corresponds to 1223 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1224 {@link android.text.InputType#TYPE_TEXT_VARIATION_LONG_MESSAGE}. --> 1225 <flag name="textLongMessage" value="0x00000051" /> 1226 <!-- Text that is the name of a person. Corresponds to 1227 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1228 {@link android.text.InputType#TYPE_TEXT_VARIATION_PERSON_NAME}. --> 1229 <flag name="textPersonName" value="0x00000061" /> 1230 <!-- Text that is being supplied as a postal mailing address. Corresponds to 1231 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1232 {@link android.text.InputType#TYPE_TEXT_VARIATION_POSTAL_ADDRESS}. --> 1233 <flag name="textPostalAddress" value="0x00000071" /> 1234 <!-- Text that is a password. Corresponds to 1235 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1236 {@link android.text.InputType#TYPE_TEXT_VARIATION_PASSWORD}. --> 1237 <flag name="textPassword" value="0x00000081" /> 1238 <!-- Text that is a password that should be visible. Corresponds to 1239 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1240 {@link android.text.InputType#TYPE_TEXT_VARIATION_VISIBLE_PASSWORD}. --> 1241 <flag name="textVisiblePassword" value="0x00000091" /> 1242 <!-- Text that is being supplied as text in a web form. Corresponds to 1243 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1244 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EDIT_TEXT}. --> 1245 <flag name="textWebEditText" value="0x000000a1" /> 1246 <!-- Text that is filtering some other data. Corresponds to 1247 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1248 {@link android.text.InputType#TYPE_TEXT_VARIATION_FILTER}. --> 1249 <flag name="textFilter" value="0x000000b1" /> 1250 <!-- Text that is for phonetic pronunciation, such as a phonetic name 1251 field in a contact entry. Corresponds to 1252 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1253 {@link android.text.InputType#TYPE_TEXT_VARIATION_PHONETIC}. --> 1254 <flag name="textPhonetic" value="0x000000c1" /> 1255 <!-- Text that will be used as an e-mail address on a web form. Corresponds to 1256 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1257 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_EMAIL_ADDRESS}. --> 1258 <flag name="textWebEmailAddress" value="0x000000d1" /> 1259 <!-- Text that will be used as a password on a web form. Corresponds to 1260 {@link android.text.InputType#TYPE_CLASS_TEXT} | 1261 {@link android.text.InputType#TYPE_TEXT_VARIATION_WEB_PASSWORD}. --> 1262 <flag name="textWebPassword" value="0x000000e1" /> 1263 <!-- A numeric only field. Corresponds to 1264 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1265 {@link android.text.InputType#TYPE_NUMBER_VARIATION_NORMAL}. --> 1266 <flag name="number" value="0x00000002" /> 1267 <!-- Can be combined with <var>number</var> and its other options to 1268 allow a signed number. Corresponds to 1269 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1270 {@link android.text.InputType#TYPE_NUMBER_FLAG_SIGNED}. --> 1271 <flag name="numberSigned" value="0x00001002" /> 1272 <!-- Can be combined with <var>number</var> and its other options to 1273 allow a decimal (fractional) number. Corresponds to 1274 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1275 {@link android.text.InputType#TYPE_NUMBER_FLAG_DECIMAL}. --> 1276 <flag name="numberDecimal" value="0x00002002" /> 1277 <!-- A numeric password field. Corresponds to 1278 {@link android.text.InputType#TYPE_CLASS_NUMBER} | 1279 {@link android.text.InputType#TYPE_NUMBER_VARIATION_PASSWORD}. --> 1280 <flag name="numberPassword" value="0x00000012" /> 1281 <!-- For entering a phone number. Corresponds to 1282 {@link android.text.InputType#TYPE_CLASS_PHONE}. --> 1283 <flag name="phone" value="0x00000003" /> 1284 <!-- For entering a date and time. Corresponds to 1285 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1286 {@link android.text.InputType#TYPE_DATETIME_VARIATION_NORMAL}. --> 1287 <flag name="datetime" value="0x00000004" /> 1288 <!-- For entering a date. Corresponds to 1289 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1290 {@link android.text.InputType#TYPE_DATETIME_VARIATION_DATE}. --> 1291 <flag name="date" value="0x00000014" /> 1292 <!-- For entering a time. Corresponds to 1293 {@link android.text.InputType#TYPE_CLASS_DATETIME} | 1294 {@link android.text.InputType#TYPE_DATETIME_VARIATION_TIME}. --> 1295 <flag name="time" value="0x00000024" /> 1296 </attr> 1297 1298 <!-- Additional features you can enable in an IME associated with an editor 1299 to improve the integration with your application. The constants 1300 here correspond to those defined by 1301 {@link android.view.inputmethod.EditorInfo#imeOptions}. --> 1302 <attr name="imeOptions"> 1303 <!-- There are no special semantics associated with this editor. --> 1304 <flag name="normal" value="0x00000000" /> 1305 <!-- There is no specific action associated with this editor, let the 1306 editor come up with its own if it can. 1307 Corresponds to 1308 {@link android.view.inputmethod.EditorInfo#IME_NULL}. --> 1309 <flag name="actionUnspecified" value="0x00000000" /> 1310 <!-- This editor has no action associated with it. 1311 Corresponds to 1312 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NONE}. --> 1313 <flag name="actionNone" value="0x00000001" /> 1314 <!-- The action key performs a "go" 1315 operation to take the user to the target of the text they typed. 1316 Typically used, for example, when entering a URL. 1317 Corresponds to 1318 {@link android.view.inputmethod.EditorInfo#IME_ACTION_GO}. --> 1319 <flag name="actionGo" value="0x00000002" /> 1320 <!-- The action key performs a "search" 1321 operation, taking the user to the results of searching for the text 1322 the have typed (in whatever context is appropriate). 1323 Corresponds to 1324 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEARCH}. --> 1325 <flag name="actionSearch" value="0x00000003" /> 1326 <!-- The action key performs a "send" 1327 operation, delivering the text to its target. This is typically used 1328 when composing a message. 1329 Corresponds to 1330 {@link android.view.inputmethod.EditorInfo#IME_ACTION_SEND}. --> 1331 <flag name="actionSend" value="0x00000004" /> 1332 <!-- The action key performs a "next" 1333 operation, taking the user to the next field that will accept text. 1334 Corresponds to 1335 {@link android.view.inputmethod.EditorInfo#IME_ACTION_NEXT}. --> 1336 <flag name="actionNext" value="0x00000005" /> 1337 <!-- The action key performs a "done" 1338 operation, closing the soft input method. 1339 Corresponds to 1340 {@link android.view.inputmethod.EditorInfo#IME_ACTION_DONE}. --> 1341 <flag name="actionDone" value="0x00000006" /> 1342 <!-- The action key performs a "previous" 1343 operation, taking the user to the previous field that will accept text. 1344 Corresponds to 1345 {@link android.view.inputmethod.EditorInfo#IME_ACTION_PREVIOUS}. --> 1346 <flag name="actionPrevious" value="0x00000007" /> 1347 <!-- Used to request that the IME never go 1348 into fullscreen mode. Applications need to be aware that the flag is not 1349 a guarantee, and not all IMEs will respect it. 1350 <p>Corresponds to 1351 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1352 <flag name="flagNoFullscreen" value="0x2000000" /> 1353 <!-- Like flagNavigateNext, but 1354 specifies there is something interesting that a backward navigation 1355 can focus on. If the user selects the IME's facility to backward 1356 navigate, this will show up in the application as an actionPrevious 1357 at {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1358 InputConnection.performEditorAction(int)}. 1359 <p>Corresponds to 1360 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_FULLSCREEN}. --> 1361 <flag name="flagNavigatePrevious" value="0x4000000" /> 1362 <!-- Used to specify that there is something 1363 interesting that a forward navigation can focus on. This is like using 1364 actionNext, except allows the IME to be multiline (with 1365 an enter key) as well as provide forward navigation. Note that some 1366 IMEs may not be able to do this, especially when running on a small 1367 screen where there is little space. In that case it does not need to 1368 present a UI for this option. Like actionNext, if the 1369 user selects the IME's facility to forward navigate, this will show up 1370 in the application at 1371 {@link android.view.inputmethod.InputConnection#performEditorAction(int) 1372 InputConnection.performEditorAction(int)}. 1373 <p>Corresponds to 1374 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NAVIGATE_NEXT}. --> 1375 <flag name="flagNavigateNext" value="0x8000000" /> 1376 <!-- Used to specify that the IME does not need 1377 to show its extracted text UI. For input methods that may be fullscreen, 1378 often when in landscape mode, this allows them to be smaller and let part 1379 of the application be shown behind. Though there will likely be limited 1380 access to the application available from the user, it can make the 1381 experience of a (mostly) fullscreen IME less jarring. Note that when 1382 this flag is specified the IME may <em>not</em> be set up to be able 1383 to display text, so it should only be used in situations where this is 1384 not needed. 1385 <p>Corresponds to 1386 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_EXTRACT_UI}. --> 1387 <flag name="flagNoExtractUi" value="0x10000000" /> 1388 <!-- Used in conjunction with a custom action, this indicates that the 1389 action should not be available as an accessory button when the 1390 input method is full-screen. 1391 Note that by setting this flag, there can be cases where the action 1392 is simply never available to the user. Setting this generally means 1393 that you think showing text being edited is more important than the 1394 action you have supplied. 1395 <p>Corresponds to 1396 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ACCESSORY_ACTION}. --> 1397 <flag name="flagNoAccessoryAction" value="0x20000000" /> 1398 <!-- Used in conjunction with a custom action, 1399 this indicates that the action should not be available in-line as 1400 a replacement for the "enter" key. Typically this is 1401 because the action has such a significant impact or is not recoverable 1402 enough that accidentally hitting it should be avoided, such as sending 1403 a message. Note that {@link android.widget.TextView} will 1404 automatically set this flag for you on multi-line text views. 1405 <p>Corresponds to 1406 {@link android.view.inputmethod.EditorInfo#IME_FLAG_NO_ENTER_ACTION}. --> 1407 <flag name="flagNoEnterAction" value="0x40000000" /> 1408 <!-- Used to request that the IME should be capable of inputting ASCII 1409 characters. The intention of this flag is to ensure that the user 1410 can type Roman alphabet characters in a {@link android.widget.TextView} 1411 used for, typically, account ID or password input. It is expected that IMEs 1412 normally are able to input ASCII even without being told so (such IMEs 1413 already respect this flag in a sense), but there could be some cases they 1414 aren't when, for instance, only non-ASCII input languagaes like Arabic, 1415 Greek, Hebrew, Russian are enabled in the IME. Applications need to be 1416 aware that the flag is not a guarantee, and not all IMEs will respect it. 1417 However, it is strongly recommended for IME authors to respect this flag 1418 especially when their IME could end up with a state that has only non-ASCII 1419 input languages enabled. 1420 <p>Corresponds to 1421 {@link android.view.inputmethod.EditorInfo#IME_FLAG_FORCE_ASCII}. --> 1422 <flag name="flagForceAscii" value="0x80000000" /> 1423 </attr> 1424 1425 <!-- A coordinate in the X dimension. --> 1426 <attr name="x" format="dimension" /> 1427 <!-- A coordinate in the Y dimension. --> 1428 <attr name="y" format="dimension" /> 1429 1430 <!-- Specifies how an object should position its content, on both the X and Y axes, 1431 within its own bounds. --> 1432 <attr name="gravity"> 1433 <!-- Push object to the top of its container, not changing its size. --> 1434 <flag name="top" value="0x30" /> 1435 <!-- Push object to the bottom of its container, not changing its size. --> 1436 <flag name="bottom" value="0x50" /> 1437 <!-- Push object to the left of its container, not changing its size. --> 1438 <flag name="left" value="0x03" /> 1439 <!-- Push object to the right of its container, not changing its size. --> 1440 <flag name="right" value="0x05" /> 1441 <!-- Place object in the vertical center of its container, not changing its size. --> 1442 <flag name="center_vertical" value="0x10" /> 1443 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1444 <flag name="fill_vertical" value="0x70" /> 1445 <!-- Place object in the horizontal center of its container, not changing its size. --> 1446 <flag name="center_horizontal" value="0x01" /> 1447 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1448 <flag name="fill_horizontal" value="0x07" /> 1449 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1450 <flag name="center" value="0x11" /> 1451 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1452 <flag name="fill" value="0x77" /> 1453 <!-- Additional option that can be set to have the top and/or bottom edges of 1454 the child clipped to its container's bounds. 1455 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1456 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1457 <flag name="clip_vertical" value="0x80" /> 1458 <!-- Additional option that can be set to have the left and/or right edges of 1459 the child clipped to its container's bounds. 1460 The clip will be based on the horizontal gravity: a left gravity will clip the right 1461 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1462 <flag name="clip_horizontal" value="0x08" /> 1463 <!-- Push object to the beginning of its container, not changing its size. --> 1464 <flag name="start" value="0x00800003" /> 1465 <!-- Push object to the end of its container, not changing its size. --> 1466 <flag name="end" value="0x00800005" /> 1467 </attr> 1468 1469 <!-- Controls whether links such as urls and email addresses are 1470 automatically found and converted to clickable links. The default 1471 value is "none", disabling this feature. --> 1472 <attr name="autoLink"> 1473 <!-- Match no patterns (default). --> 1474 <flag name="none" value="0x00" /> 1475 <!-- Match Web URLs. --> 1476 <flag name="web" value="0x01" /> 1477 <!-- Match email addresses. --> 1478 <flag name="email" value="0x02" /> 1479 <!-- Match phone numbers. --> 1480 <flag name="phone" value="0x04" /> 1481 <!-- Match map addresses. --> 1482 <flag name="map" value="0x08" /> 1483 <!-- Match all patterns (equivalent to web|email|phone|map). --> 1484 <flag name="all" value="0x0f" /> 1485 </attr> 1486 1487 <!-- Reference to an array resource that will populate a list/adapter. --> 1488 <attr name="entries" format="reference" /> 1489 1490 <!-- Standard gravity constant that a child supplies to its parent. 1491 Defines how the child view should be positioned, on both the X and Y axes, within its enclosing layout. --> 1492 <attr name="layout_gravity"> 1493 <!-- Push object to the top of its container, not changing its size. --> 1494 <flag name="top" value="0x30" /> 1495 <!-- Push object to the bottom of its container, not changing its size. --> 1496 <flag name="bottom" value="0x50" /> 1497 <!-- Push object to the left of its container, not changing its size. --> 1498 <flag name="left" value="0x03" /> 1499 <!-- Push object to the right of its container, not changing its size. --> 1500 <flag name="right" value="0x05" /> 1501 <!-- Place object in the vertical center of its container, not changing its size. --> 1502 <flag name="center_vertical" value="0x10" /> 1503 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 1504 <flag name="fill_vertical" value="0x70" /> 1505 <!-- Place object in the horizontal center of its container, not changing its size. --> 1506 <flag name="center_horizontal" value="0x01" /> 1507 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 1508 <flag name="fill_horizontal" value="0x07" /> 1509 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 1510 <flag name="center" value="0x11" /> 1511 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 1512 <flag name="fill" value="0x77" /> 1513 <!-- Additional option that can be set to have the top and/or bottom edges of 1514 the child clipped to its container's bounds. 1515 The clip will be based on the vertical gravity: a top gravity will clip the bottom 1516 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 1517 <flag name="clip_vertical" value="0x80" /> 1518 <!-- Additional option that can be set to have the left and/or right edges of 1519 the child clipped to its container's bounds. 1520 The clip will be based on the horizontal gravity: a left gravity will clip the right 1521 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 1522 <flag name="clip_horizontal" value="0x08" /> 1523 <!-- Push object to the beginning of its container, not changing its size. --> 1524 <flag name="start" value="0x00800003" /> 1525 <!-- Push object to the end of its container, not changing its size. --> 1526 <flag name="end" value="0x00800005" /> 1527 </attr> 1528 1529 <!-- Standard orientation constant. --> 1530 <attr name="orientation"> 1531 <!-- Defines an horizontal widget. --> 1532 <enum name="horizontal" value="0" /> 1533 <!-- Defines a vertical widget. --> 1534 <enum name="vertical" value="1" /> 1535 </attr> 1536 1537 <!-- Alignment constants. --> 1538 <attr name="alignmentMode"> 1539 <!-- Align the bounds of the children. 1540 See {@link android.widget.GridLayout#ALIGN_BOUNDS}. --> 1541 <enum name="alignBounds" value="0" /> 1542 <!-- Align the margins of the children. 1543 See {@link android.widget.GridLayout#ALIGN_MARGINS}. --> 1544 <enum name="alignMargins" value="1" /> 1545 </attr> 1546 1547 <!-- ========================== --> 1548 <!-- Key Codes --> 1549 <!-- ========================== --> 1550 <eat-comment /> 1551 1552 <!-- This enum provides the same keycode values as can be found in 1553 {@link android.view.KeyEvent}. --> 1554 <attr name="keycode"> 1555 <enum name="KEYCODE_UNKNOWN" value="0" /> 1556 <enum name="KEYCODE_SOFT_LEFT" value="1" /> 1557 <enum name="KEYCODE_SOFT_RIGHT" value="2" /> 1558 <enum name="KEYCODE_HOME" value="3" /> 1559 <enum name="KEYCODE_BACK" value="4" /> 1560 <enum name="KEYCODE_CALL" value="5" /> 1561 <enum name="KEYCODE_ENDCALL" value="6" /> 1562 <enum name="KEYCODE_0" value="7" /> 1563 <enum name="KEYCODE_1" value="8" /> 1564 <enum name="KEYCODE_2" value="9" /> 1565 <enum name="KEYCODE_3" value="10" /> 1566 <enum name="KEYCODE_4" value="11" /> 1567 <enum name="KEYCODE_5" value="12" /> 1568 <enum name="KEYCODE_6" value="13" /> 1569 <enum name="KEYCODE_7" value="14" /> 1570 <enum name="KEYCODE_8" value="15" /> 1571 <enum name="KEYCODE_9" value="16" /> 1572 <enum name="KEYCODE_STAR" value="17" /> 1573 <enum name="KEYCODE_POUND" value="18" /> 1574 <enum name="KEYCODE_DPAD_UP" value="19" /> 1575 <enum name="KEYCODE_DPAD_DOWN" value="20" /> 1576 <enum name="KEYCODE_DPAD_LEFT" value="21" /> 1577 <enum name="KEYCODE_DPAD_RIGHT" value="22" /> 1578 <enum name="KEYCODE_DPAD_CENTER" value="23" /> 1579 <enum name="KEYCODE_VOLUME_UP" value="24" /> 1580 <enum name="KEYCODE_VOLUME_DOWN" value="25" /> 1581 <enum name="KEYCODE_POWER" value="26" /> 1582 <enum name="KEYCODE_CAMERA" value="27" /> 1583 <enum name="KEYCODE_CLEAR" value="28" /> 1584 <enum name="KEYCODE_A" value="29" /> 1585 <enum name="KEYCODE_B" value="30" /> 1586 <enum name="KEYCODE_C" value="31" /> 1587 <enum name="KEYCODE_D" value="32" /> 1588 <enum name="KEYCODE_E" value="33" /> 1589 <enum name="KEYCODE_F" value="34" /> 1590 <enum name="KEYCODE_G" value="35" /> 1591 <enum name="KEYCODE_H" value="36" /> 1592 <enum name="KEYCODE_I" value="37" /> 1593 <enum name="KEYCODE_J" value="38" /> 1594 <enum name="KEYCODE_K" value="39" /> 1595 <enum name="KEYCODE_L" value="40" /> 1596 <enum name="KEYCODE_M" value="41" /> 1597 <enum name="KEYCODE_N" value="42" /> 1598 <enum name="KEYCODE_O" value="43" /> 1599 <enum name="KEYCODE_P" value="44" /> 1600 <enum name="KEYCODE_Q" value="45" /> 1601 <enum name="KEYCODE_R" value="46" /> 1602 <enum name="KEYCODE_S" value="47" /> 1603 <enum name="KEYCODE_T" value="48" /> 1604 <enum name="KEYCODE_U" value="49" /> 1605 <enum name="KEYCODE_V" value="50" /> 1606 <enum name="KEYCODE_W" value="51" /> 1607 <enum name="KEYCODE_X" value="52" /> 1608 <enum name="KEYCODE_Y" value="53" /> 1609 <enum name="KEYCODE_Z" value="54" /> 1610 <enum name="KEYCODE_COMMA" value="55" /> 1611 <enum name="KEYCODE_PERIOD" value="56" /> 1612 <enum name="KEYCODE_ALT_LEFT" value="57" /> 1613 <enum name="KEYCODE_ALT_RIGHT" value="58" /> 1614 <enum name="KEYCODE_SHIFT_LEFT" value="59" /> 1615 <enum name="KEYCODE_SHIFT_RIGHT" value="60" /> 1616 <enum name="KEYCODE_TAB" value="61" /> 1617 <enum name="KEYCODE_SPACE" value="62" /> 1618 <enum name="KEYCODE_SYM" value="63" /> 1619 <enum name="KEYCODE_EXPLORER" value="64" /> 1620 <enum name="KEYCODE_ENVELOPE" value="65" /> 1621 <enum name="KEYCODE_ENTER" value="66" /> 1622 <enum name="KEYCODE_DEL" value="67" /> 1623 <enum name="KEYCODE_GRAVE" value="68" /> 1624 <enum name="KEYCODE_MINUS" value="69" /> 1625 <enum name="KEYCODE_EQUALS" value="70" /> 1626 <enum name="KEYCODE_LEFT_BRACKET" value="71" /> 1627 <enum name="KEYCODE_RIGHT_BRACKET" value="72" /> 1628 <enum name="KEYCODE_BACKSLASH" value="73" /> 1629 <enum name="KEYCODE_SEMICOLON" value="74" /> 1630 <enum name="KEYCODE_APOSTROPHE" value="75" /> 1631 <enum name="KEYCODE_SLASH" value="76" /> 1632 <enum name="KEYCODE_AT" value="77" /> 1633 <enum name="KEYCODE_NUM" value="78" /> 1634 <enum name="KEYCODE_HEADSETHOOK" value="79" /> 1635 <enum name="KEYCODE_FOCUS" value="80" /> 1636 <enum name="KEYCODE_PLUS" value="81" /> 1637 <enum name="KEYCODE_MENU" value="82" /> 1638 <enum name="KEYCODE_NOTIFICATION" value="83" /> 1639 <enum name="KEYCODE_SEARCH" value="84" /> 1640 <enum name="KEYCODE_MEDIA_PLAY_PAUSE" value="85" /> 1641 <enum name="KEYCODE_MEDIA_STOP" value="86" /> 1642 <enum name="KEYCODE_MEDIA_NEXT" value="87" /> 1643 <enum name="KEYCODE_MEDIA_PREVIOUS" value="88" /> 1644 <enum name="KEYCODE_MEDIA_REWIND" value="89" /> 1645 <enum name="KEYCODE_MEDIA_FAST_FORWARD" value="90" /> 1646 <enum name="KEYCODE_MUTE" value="91" /> 1647 <enum name="KEYCODE_PAGE_UP" value="92" /> 1648 <enum name="KEYCODE_PAGE_DOWN" value="93" /> 1649 <enum name="KEYCODE_PICTSYMBOLS" value="94" /> 1650 <enum name="KEYCODE_SWITCH_CHARSET" value="95" /> 1651 <enum name="KEYCODE_BUTTON_A" value="96" /> 1652 <enum name="KEYCODE_BUTTON_B" value="97" /> 1653 <enum name="KEYCODE_BUTTON_C" value="98" /> 1654 <enum name="KEYCODE_BUTTON_X" value="99" /> 1655 <enum name="KEYCODE_BUTTON_Y" value="100" /> 1656 <enum name="KEYCODE_BUTTON_Z" value="101" /> 1657 <enum name="KEYCODE_BUTTON_L1" value="102" /> 1658 <enum name="KEYCODE_BUTTON_R1" value="103" /> 1659 <enum name="KEYCODE_BUTTON_L2" value="104" /> 1660 <enum name="KEYCODE_BUTTON_R2" value="105" /> 1661 <enum name="KEYCODE_BUTTON_THUMBL" value="106" /> 1662 <enum name="KEYCODE_BUTTON_THUMBR" value="107" /> 1663 <enum name="KEYCODE_BUTTON_START" value="108" /> 1664 <enum name="KEYCODE_BUTTON_SELECT" value="109" /> 1665 <enum name="KEYCODE_BUTTON_MODE" value="110" /> 1666 <enum name="KEYCODE_ESCAPE" value="111" /> 1667 <enum name="KEYCODE_FORWARD_DEL" value="112" /> 1668 <enum name="KEYCODE_CTRL_LEFT" value="113" /> 1669 <enum name="KEYCODE_CTRL_RIGHT" value="114" /> 1670 <enum name="KEYCODE_CAPS_LOCK" value="115" /> 1671 <enum name="KEYCODE_SCROLL_LOCK" value="116" /> 1672 <enum name="KEYCODE_META_LEFT" value="117" /> 1673 <enum name="KEYCODE_META_RIGHT" value="118" /> 1674 <enum name="KEYCODE_FUNCTION" value="119" /> 1675 <enum name="KEYCODE_SYSRQ" value="120" /> 1676 <enum name="KEYCODE_BREAK" value="121" /> 1677 <enum name="KEYCODE_MOVE_HOME" value="122" /> 1678 <enum name="KEYCODE_MOVE_END" value="123" /> 1679 <enum name="KEYCODE_INSERT" value="124" /> 1680 <enum name="KEYCODE_FORWARD" value="125" /> 1681 <enum name="KEYCODE_MEDIA_PLAY" value="126" /> 1682 <enum name="KEYCODE_MEDIA_PAUSE" value="127" /> 1683 <enum name="KEYCODE_MEDIA_CLOSE" value="128" /> 1684 <enum name="KEYCODE_MEDIA_EJECT" value="129" /> 1685 <enum name="KEYCODE_MEDIA_RECORD" value="130" /> 1686 <enum name="KEYCODE_F1" value="131" /> 1687 <enum name="KEYCODE_F2" value="132" /> 1688 <enum name="KEYCODE_F3" value="133" /> 1689 <enum name="KEYCODE_F4" value="134" /> 1690 <enum name="KEYCODE_F5" value="135" /> 1691 <enum name="KEYCODE_F6" value="136" /> 1692 <enum name="KEYCODE_F7" value="137" /> 1693 <enum name="KEYCODE_F8" value="138" /> 1694 <enum name="KEYCODE_F9" value="139" /> 1695 <enum name="KEYCODE_F10" value="140" /> 1696 <enum name="KEYCODE_F11" value="141" /> 1697 <enum name="KEYCODE_F12" value="142" /> 1698 <enum name="KEYCODE_NUM_LOCK" value="143" /> 1699 <enum name="KEYCODE_NUMPAD_0" value="144" /> 1700 <enum name="KEYCODE_NUMPAD_1" value="145" /> 1701 <enum name="KEYCODE_NUMPAD_2" value="146" /> 1702 <enum name="KEYCODE_NUMPAD_3" value="147" /> 1703 <enum name="KEYCODE_NUMPAD_4" value="148" /> 1704 <enum name="KEYCODE_NUMPAD_5" value="149" /> 1705 <enum name="KEYCODE_NUMPAD_6" value="150" /> 1706 <enum name="KEYCODE_NUMPAD_7" value="151" /> 1707 <enum name="KEYCODE_NUMPAD_8" value="152" /> 1708 <enum name="KEYCODE_NUMPAD_9" value="153" /> 1709 <enum name="KEYCODE_NUMPAD_DIVIDE" value="154" /> 1710 <enum name="KEYCODE_NUMPAD_MULTIPLY" value="155" /> 1711 <enum name="KEYCODE_NUMPAD_SUBTRACT" value="156" /> 1712 <enum name="KEYCODE_NUMPAD_ADD" value="157" /> 1713 <enum name="KEYCODE_NUMPAD_DOT" value="158" /> 1714 <enum name="KEYCODE_NUMPAD_COMMA" value="159" /> 1715 <enum name="KEYCODE_NUMPAD_ENTER" value="160" /> 1716 <enum name="KEYCODE_NUMPAD_EQUALS" value="161" /> 1717 <enum name="KEYCODE_NUMPAD_LEFT_PAREN" value="162" /> 1718 <enum name="KEYCODE_NUMPAD_RIGHT_PAREN" value="163" /> 1719 <enum name="KEYCODE_VOLUME_MUTE" value="164" /> 1720 <enum name="KEYCODE_INFO" value="165" /> 1721 <enum name="KEYCODE_CHANNEL_UP" value="166" /> 1722 <enum name="KEYCODE_CHANNEL_DOWN" value="167" /> 1723 <enum name="KEYCODE_ZOOM_IN" value="168" /> 1724 <enum name="KEYCODE_ZOOM_OUT" value="169" /> 1725 <enum name="KEYCODE_TV" value="170" /> 1726 <enum name="KEYCODE_WINDOW" value="171" /> 1727 <enum name="KEYCODE_GUIDE" value="172" /> 1728 <enum name="KEYCODE_DVR" value="173" /> 1729 <enum name="KEYCODE_BOOKMARK" value="174" /> 1730 <enum name="KEYCODE_CAPTIONS" value="175" /> 1731 <enum name="KEYCODE_SETTINGS" value="176" /> 1732 <enum name="KEYCODE_TV_POWER" value="177" /> 1733 <enum name="KEYCODE_TV_INPUT" value="178" /> 1734 <enum name="KEYCODE_STB_POWER" value="179" /> 1735 <enum name="KEYCODE_STB_INPUT" value="180" /> 1736 <enum name="KEYCODE_AVR_POWER" value="181" /> 1737 <enum name="KEYCODE_AVR_INPUT" value="182" /> 1738 <enum name="KEYCODE_PROG_GRED" value="183" /> 1739 <enum name="KEYCODE_PROG_GREEN" value="184" /> 1740 <enum name="KEYCODE_PROG_YELLOW" value="185" /> 1741 <enum name="KEYCODE_PROG_BLUE" value="186" /> 1742 <enum name="KEYCODE_APP_SWITCH" value="187" /> 1743 <enum name="KEYCODE_BUTTON_1" value="188" /> 1744 <enum name="KEYCODE_BUTTON_2" value="189" /> 1745 <enum name="KEYCODE_BUTTON_3" value="190" /> 1746 <enum name="KEYCODE_BUTTON_4" value="191" /> 1747 <enum name="KEYCODE_BUTTON_5" value="192" /> 1748 <enum name="KEYCODE_BUTTON_6" value="193" /> 1749 <enum name="KEYCODE_BUTTON_7" value="194" /> 1750 <enum name="KEYCODE_BUTTON_8" value="195" /> 1751 <enum name="KEYCODE_BUTTON_9" value="196" /> 1752 <enum name="KEYCODE_BUTTON_10" value="197" /> 1753 <enum name="KEYCODE_BUTTON_11" value="198" /> 1754 <enum name="KEYCODE_BUTTON_12" value="199" /> 1755 <enum name="KEYCODE_BUTTON_13" value="200" /> 1756 <enum name="KEYCODE_BUTTON_14" value="201" /> 1757 <enum name="KEYCODE_BUTTON_15" value="202" /> 1758 <enum name="KEYCODE_BUTTON_16" value="203" /> 1759 <enum name="KEYCODE_LANGUAGE_SWITCH" value="204" /> 1760 <enum name="KEYCODE_MANNER_MODE" value="205" /> 1761 <enum name="KEYCODE_3D_MODE" value="206" /> 1762 <enum name="KEYCODE_CONTACTS" value="207" /> 1763 <enum name="KEYCODE_CALENDAR" value="208" /> 1764 <enum name="KEYCODE_MUSIC" value="209" /> 1765 <enum name="KEYCODE_CALCULATOR" value="210" /> 1766 <enum name="KEYCODE_ZENKAKU_HANKAKU" value="211" /> 1767 <enum name="KEYCODE_EISU" value="212" /> 1768 <enum name="KEYCODE_MUHENKAN" value="213" /> 1769 <enum name="KEYCODE_HENKAN" value="214" /> 1770 <enum name="KEYCODE_KATAKANA_HIRAGANA" value="215" /> 1771 <enum name="KEYCODE_YEN" value="216" /> 1772 <enum name="KEYCODE_RO" value="217" /> 1773 <enum name="KEYCODE_KANA" value="218" /> 1774 <enum name="KEYCODE_ASSIST" value="219" /> 1775 <enum name="KEYCODE_BRIGHTNESS_DOWN" value="220" /> 1776 <enum name="KEYCODE_BRIGHTNESS_UP" value="221" /> 1777 <enum name="KEYCODE_MEDIA_AUDIO_TRACK" value="222" /> 1778 <enum name="KEYCODE_MEDIA_SLEEP" value="223" /> 1779 <enum name="KEYCODE_MEDIA_WAKEUP" value="224" /> 1780 <enum name="KEYCODE_PAIRING" value="225" /> 1781 <enum name="KEYCODE_MEDIA_TOP_MENU" value="226" /> 1782 <enum name="KEYCODE_11" value="227" /> 1783 <enum name="KEYCODE_12" value="228" /> 1784 <enum name="KEYCODE_LAST_CHANNEL" value="229" /> 1785 <enum name="KEYCODE_TV_DATA_SERVICE" value="230" /> 1786 <enum name="KEYCODE_VOICE_ASSIST" value="231" /> 1787 <enum name="KEYCODE_TV_RADIO_SERVICE" value="232" /> 1788 <enum name="KEYCODE_TV_TELETEXT" value="233" /> 1789 <enum name="KEYCODE_TV_NUMBER_ENTRY" value="234" /> 1790 <enum name="KEYCODE_TV_TERRESTRIAL_ANALOG" value="235" /> 1791 <enum name="KEYCODE_TV_TERRESTRIAL_DIGITAL" value="236" /> 1792 <enum name="KEYCODE_TV_SATELLITE" value="237" /> 1793 <enum name="KEYCODE_TV_SATELLITE_BS" value="238" /> 1794 <enum name="KEYCODE_TV_SATELLITE_CS" value="239" /> 1795 <enum name="KEYCODE_TV_SATELLITE_SERVICE" value="240" /> 1796 <enum name="KEYCODE_TV_NETWORK" value="241" /> 1797 <enum name="KEYCODE_TV_ANTENNA_CABLE" value="242" /> 1798 <enum name="KEYCODE_TV_INPUT_HDMI_1" value="243" /> 1799 <enum name="KEYCODE_TV_INPUT_HDMI_2" value="244" /> 1800 <enum name="KEYCODE_TV_INPUT_HDMI_3" value="245" /> 1801 <enum name="KEYCODE_TV_INPUT_HDMI_4" value="246" /> 1802 <enum name="KEYCODE_TV_INPUT_COMPOSITE_1" value="247" /> 1803 <enum name="KEYCODE_TV_INPUT_COMPOSITE_2" value="248" /> 1804 <enum name="KEYCODE_TV_INPUT_COMPONENT_1" value="249" /> 1805 <enum name="KEYCODE_TV_INPUT_COMPONENT_2" value="250" /> 1806 <enum name="KEYCODE_TV_INPUT_VGA_1" value="251" /> 1807 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION" value="252" /> 1808 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_UP" value="253" /> 1809 <enum name="KEYCODE_TV_AUDIO_DESCRIPTION_MIX_DOWN" value="254" /> 1810 <enum name="KEYCODE_TV_ZOOM_MODE" value="255" /> 1811 <enum name="KEYCODE_TV_CONTENTS_MENU" value="256" /> 1812 <enum name="KEYCODE_TV_MEDIA_CONTEXT_MENU" value="257" /> 1813 <enum name="KEYCODE_TV_TIMER_PROGRAMMING" value="258" /> 1814 <enum name="KEYCODE_HELP" value="259" /> 1815 <enum name="KEYCODE_NAVIGATE_PREVIOUS" value="260" /> 1816 <enum name="KEYCODE_NAVIGATE_NEXT" value="261" /> 1817 <enum name="KEYCODE_NAVIGATE_IN" value="262" /> 1818 <enum name="KEYCODE_NAVIGATE_OUT" value="263" /> 1819 <enum name="KEYCODE_STEM_PRIMARY" value="264" /> 1820 <enum name="KEYCODE_STEM_1" value="265" /> 1821 <enum name="KEYCODE_STEM_2" value="266" /> 1822 <enum name="KEYCODE_STEM_3" value="267" /> 1823 <enum name="KEYCODE_DPAD_UP_LEFT" value="268" /> 1824 <enum name="KEYCODE_DPAD_DOWN_LEFT" value="269" /> 1825 <enum name="KEYCODE_DPAD_UP_RIGHT" value="270" /> 1826 <enum name="KEYCODE_DPAD_DOWN_RIGHT" value="271" /> 1827 <enum name="KEYCODE_MEDIA_SKIP_FORWARD" value="272" /> 1828 <enum name="KEYCODE_MEDIA_SKIP_BACKWARD" value="273" /> 1829 <enum name="KEYCODE_MEDIA_STEP_FORWARD" value="274" /> 1830 <enum name="KEYCODE_MEDIA_STEP_BACKWARD" value="275" /> 1831 <enum name="KEYCODE_SOFT_SLEEP" value="276" /> 1832 <enum name="KEYCODE_CUT" value="277" /> 1833 <enum name="KEYCODE_COPY" value="278" /> 1834 <enum name="KEYCODE_PASTE" value="279" /> 1835 </attr> 1836 1837 <!-- ***************************************************************** --> 1838 <!-- These define collections of attributes that can are with classes. --> 1839 <!-- ***************************************************************** --> 1840 1841 <!-- ========================== --> 1842 <!-- Special attribute classes. --> 1843 <!-- ========================== --> 1844 <eat-comment /> 1845 1846 <!-- The set of attributes that describe a Windows's theme. --> 1847 <declare-styleable name="Window"> 1848 <attr name="windowBackground" /> 1849 <attr name="windowBackgroundFallback" /> 1850 <attr name="windowContentOverlay" /> 1851 <attr name="windowFrame" /> 1852 <attr name="windowNoTitle" /> 1853 <attr name="windowFullscreen" /> 1854 <attr name="windowOverscan" /> 1855 <attr name="windowIsFloating" /> 1856 <attr name="windowIsTranslucent" /> 1857 <attr name="windowShowWallpaper" /> 1858 <attr name="windowAnimationStyle" /> 1859 <attr name="windowSoftInputMode" /> 1860 <attr name="windowDisablePreview" /> 1861 <attr name="windowNoDisplay" /> 1862 <attr name="textColor" /> 1863 <attr name="backgroundDimEnabled" /> 1864 <attr name="backgroundDimAmount" /> 1865 <attr name="windowActionBar" /> 1866 <attr name="windowActionModeOverlay" /> 1867 <attr name="windowActionBarOverlay" /> 1868 <attr name="windowEnableSplitTouch" /> 1869 <attr name="windowCloseOnTouchOutside" /> 1870 <attr name="windowTranslucentStatus" /> 1871 <attr name="windowTranslucentNavigation" /> 1872 <attr name="windowSwipeToDismiss" /> 1873 <attr name="windowContentTransitions" /> 1874 <attr name="windowActivityTransitions" /> 1875 <attr name="windowContentTransitionManager" /> 1876 <attr name="windowActionBarFullscreenDecorLayout" /> 1877 1878 <!-- The minimum width the window is allowed to be, along the major 1879 axis of the screen. That is, when in landscape. Can be either 1880 an absolute dimension or a fraction of the screen size in that 1881 dimension. --> 1882 <attr name="windowMinWidthMajor" format="dimension|fraction" /> 1883 <!-- The minimum width the window is allowed to be, along the minor 1884 axis of the screen. That is, when in portrait. Can be either 1885 an absolute dimension or a fraction of the screen size in that 1886 dimension. --> 1887 <attr name="windowMinWidthMinor" format="dimension|fraction" /> 1888 1889 <!-- A fixed width for the window along the major axis of the screen, 1890 that is, when in landscape. Can be either an absolute dimension 1891 or a fraction of the screen size in that dimension. --> 1892 <attr name="windowFixedWidthMajor" format="dimension|fraction" /> 1893 <!-- A fixed height for the window along the minor axis of the screen, 1894 that is, when in landscape. Can be either an absolute dimension 1895 or a fraction of the screen size in that dimension. --> 1896 <attr name="windowFixedHeightMinor" format="dimension|fraction" /> 1897 1898 <!-- A fixed width for the window along the minor axis of the screen, 1899 that is, when in portrait. Can be either an absolute dimension 1900 or a fraction of the screen size in that dimension. --> 1901 <attr name="windowFixedWidthMinor" format="dimension|fraction" /> 1902 <!-- A fixed height for the window along the major axis of the screen, 1903 that is, when in portrait. Can be either an absolute dimension 1904 or a fraction of the screen size in that dimension. --> 1905 <attr name="windowFixedHeightMajor" format="dimension|fraction" /> 1906 <attr name="windowOutsetBottom" format="dimension" /> 1907 <!-- Reference to a Transition XML resource defining the desired Transition 1908 used to move Views into the initial Window's content Scene. Corresponds to 1909 {@link android.view.Window#setEnterTransition(android.transition.Transition)}. --> 1910 <attr name="windowEnterTransition"/> 1911 1912 <!-- Reference to a Transition XML resource defining the desired Transition 1913 used to move Views out of the scene when the Window is 1914 preparing to close. Corresponds to 1915 {@link android.view.Window#setReturnTransition(android.transition.Transition)}. --> 1916 <attr name="windowReturnTransition"/> 1917 1918 <!-- Reference to a Transition XML resource defining the desired Transition 1919 used to move Views out of the Window's content Scene when launching a new Activity. 1920 Corresponds to 1921 {@link android.view.Window#setExitTransition(android.transition.Transition)}. --> 1922 <attr name="windowExitTransition"/> 1923 1924 <!-- Reference to a Transition XML resource defining the desired Transition 1925 used to move Views in to the scene when returning from a previously-started Activity. 1926 Corresponds to 1927 {@link android.view.Window#setReenterTransition(android.transition.Transition)}. --> 1928 <attr name="windowReenterTransition"/> 1929 1930 <!-- Reference to a Transition XML resource defining the desired Transition 1931 used to move shared elements transferred into the Window's initial content Scene. 1932 Corresponds to {@link android.view.Window#setSharedElementEnterTransition( 1933 android.transition.Transition)}. --> 1934 <attr name="windowSharedElementEnterTransition"/> 1935 1936 <!-- Reference to a Transition XML resource defining the desired Transition 1937 used to move shared elements transferred back to a calling Activity. 1938 Corresponds to {@link android.view.Window#setSharedElementReturnTransition( 1939 android.transition.Transition)}. --> 1940 <attr name="windowSharedElementReturnTransition"/> 1941 1942 <!-- Reference to a Transition XML resource defining the desired Transition 1943 used when starting a new Activity to move shared elements prior to transferring 1944 to the called Activity. 1945 Corresponds to {@link android.view.Window#setSharedElementExitTransition( 1946 android.transition.Transition)}. --> 1947 <attr name="windowSharedElementExitTransition"/> 1948 1949 <!-- Reference to a Transition XML resource defining the desired Transition 1950 used for shared elements transferred back to a calling Activity. 1951 Corresponds to {@link android.view.Window#setSharedElementReenterTransition( 1952 android.transition.Transition)}. --> 1953 <attr name="windowSharedElementReenterTransition"/> 1954 1955 1956 <!-- Flag indicating whether this Window's transition should overlap with 1957 the exiting transition of the calling Activity. Corresponds to 1958 {@link android.view.Window#setAllowEnterTransitionOverlap(boolean)}. --> 1959 <attr name="windowAllowEnterTransitionOverlap"/> 1960 1961 <!-- Flag indicating whether this Window's transition should overlap with 1962 the exiting transition of the called Activity when the called Activity 1963 finishes. Corresponds to 1964 {@link android.view.Window#setAllowReturnTransitionOverlap(boolean)}. --> 1965 <attr name="windowAllowReturnTransitionOverlap"/> 1966 1967 <!-- Indicates whether or not shared elements should use an overlay 1968 during transitions. The default value is true. --> 1969 <attr name="windowSharedElementsUseOverlay"/> 1970 1971 <!-- Flag indicating whether this Window is responsible for drawing the background for the 1972 system bars. If true and the window is not floating, the system bars are drawn with a 1973 transparent background and the corresponding areas in this window are filled with the 1974 colors specified in {@link android.R.attr#statusBarColor} and 1975 {@link android.R.attr#navigationBarColor}. Corresponds to 1976 {@link android.view.WindowManager.LayoutParams#FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS}. --> 1977 <attr name="windowDrawsSystemBarBackgrounds" format="boolean" /> 1978 1979 <!-- The color for the status bar. If the color is not opaque, consider setting 1980 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 1981 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN}. 1982 For this to take effect, the window must be drawing the system bar backgrounds with 1983 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 1984 have been requested to be translucent with 1985 {@link android.R.attr#windowTranslucentStatus}. 1986 Corresponds to {@link android.view.Window#setStatusBarColor(int)}. --> 1987 <attr name="statusBarColor" format="color" /> 1988 1989 <!-- The color for the navigation bar. If the color is not opaque, consider setting 1990 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_STABLE} and 1991 {@link android.view.View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION}. 1992 For this to take effect, the window must be drawing the system bar backgrounds with 1993 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the navigation bar must not 1994 have been requested to be translucent with 1995 {@link android.R.attr#windowTranslucentNavigation}. 1996 Corresponds to {@link android.view.Window#setNavigationBarColor(int)}. --> 1997 <attr name="navigationBarColor" format="color" /> 1998 1999 <!-- The duration, in milliseconds, of the window background fade duration 2000 when transitioning into or away from an Activity when called with an 2001 Activity Transition. Corresponds to 2002 {@link android.view.Window#setTransitionBackgroundFadeDuration(long)}. --> 2003 <attr name="windowTransitionBackgroundFadeDuration" /> 2004 2005 <!-- Elevation to use for the window. --> 2006 <attr name="windowElevation" format="dimension" /> 2007 2008 <!-- Whether to clip window content to the outline of the window background. --> 2009 <attr name="windowClipToOutline" format="boolean" /> 2010 2011 <!-- If set, the status bar will be drawn such that it is compatible with a light 2012 status bar background. 2013 <p>For this to take effect, the window must be drawing the system bar backgrounds with 2014 {@link android.R.attr#windowDrawsSystemBarBackgrounds} and the status bar must not 2015 have been requested to be translucent with 2016 {@link android.R.attr#windowTranslucentStatus}. 2017 Corresponds to setting {@link android.view.View#SYSTEM_UI_FLAG_LIGHT_STATUS_BAR} on 2018 the decor view. --> 2019 <attr name="windowLightStatusBar" format="boolean" /> 2020 </declare-styleable> 2021 2022 <!-- The set of attributes that describe a AlertDialog's theme. --> 2023 <declare-styleable name="AlertDialog"> 2024 <attr name="fullDark" format="reference|color" /> 2025 <attr name="topDark" format="reference|color" /> 2026 <attr name="centerDark" format="reference|color" /> 2027 <attr name="bottomDark" format="reference|color" /> 2028 <attr name="fullBright" format="reference|color" /> 2029 <attr name="topBright" format="reference|color" /> 2030 <attr name="centerBright" format="reference|color" /> 2031 <attr name="bottomBright" format="reference|color" /> 2032 <attr name="bottomMedium" format="reference|color" /> 2033 <attr name="centerMedium" format="reference|color" /> 2034 <attr name="layout" /> 2035 <attr name="buttonPanelSideLayout" format="reference" /> 2036 <attr name="listLayout" format="reference" /> 2037 <attr name="multiChoiceItemLayout" format="reference" /> 2038 <attr name="singleChoiceItemLayout" format="reference" /> 2039 <attr name="listItemLayout" format="reference" /> 2040 <attr name="progressLayout" format="reference" /> 2041 <attr name="horizontalProgressLayout" format="reference" /> 2042 <!-- @hide Whether fullDark, etc. should use default values if null. --> 2043 <attr name="needsDefaultBackgrounds" format="boolean" /> 2044 </declare-styleable> 2045 2046 <!-- @hide --> 2047 <declare-styleable name="ButtonBarLayout"> 2048 <!-- Whether to automatically stack the buttons when there is not 2049 enough space to lay them out side-by-side. --> 2050 <attr name="allowStacking" format="boolean" /> 2051 </declare-styleable> 2052 2053 <!-- Fragment animation class attributes. --> 2054 <declare-styleable name="FragmentAnimation"> 2055 <attr name="fragmentOpenEnterAnimation" format="reference" /> 2056 <attr name="fragmentOpenExitAnimation" format="reference" /> 2057 <attr name="fragmentCloseEnterAnimation" format="reference" /> 2058 <attr name="fragmentCloseExitAnimation" format="reference" /> 2059 <attr name="fragmentFadeEnterAnimation" format="reference" /> 2060 <attr name="fragmentFadeExitAnimation" format="reference" /> 2061 </declare-styleable> 2062 2063 <!-- Window animation class attributes. --> 2064 <declare-styleable name="WindowAnimation"> 2065 <!-- The animation used when a window is being added. --> 2066 <attr name="windowEnterAnimation" format="reference" /> 2067 <!-- The animation used when a window is being removed. --> 2068 <attr name="windowExitAnimation" format="reference" /> 2069 <!-- The animation used when a window is going from INVISIBLE to VISIBLE. --> 2070 <attr name="windowShowAnimation" format="reference" /> 2071 <!-- The animation used when a window is going from VISIBLE to INVISIBLE. --> 2072 <attr name="windowHideAnimation" format="reference" /> 2073 2074 <!-- When opening a new activity, this is the animation that is 2075 run on the next activity (which is entering the screen). --> 2076 <attr name="activityOpenEnterAnimation" format="reference" /> 2077 <!-- When opening a new activity, this is the animation that is 2078 run on the previous activity (which is exiting the screen). --> 2079 <attr name="activityOpenExitAnimation" format="reference" /> 2080 <!-- When closing the current activity, this is the animation that is 2081 run on the next activity (which is entering the screen). --> 2082 <attr name="activityCloseEnterAnimation" format="reference" /> 2083 <!-- When closing the current activity, this is the animation that is 2084 run on the current activity (which is exiting the screen). --> 2085 <attr name="activityCloseExitAnimation" format="reference" /> 2086 <!-- When opening an activity in a new task, this is the animation that is 2087 run on the activity of the new task (which is entering the screen). --> 2088 <attr name="taskOpenEnterAnimation" format="reference" /> 2089 <!-- When opening an activity in a new task, this is the animation that is 2090 run on the activity of the old task (which is exiting the screen). --> 2091 <attr name="taskOpenExitAnimation" format="reference" /> 2092 <!-- When opening an activity in a new task using Intent/FLAG_ACTIVITY_LAUNCH_BEHIND, 2093 this is the animation that is run on the activity of the new task (which is 2094 entering the screen and then leaving). --> 2095 <attr name="launchTaskBehindTargetAnimation" format="reference" /> 2096 <!-- When opening an activity in a new task using Intent.FLAG_ACTIVITY_LAUNCH_BEHIND, 2097 this is the animation that is run on the activity of the old task (which is 2098 already on the screen and then stays on). --> 2099 <attr name="launchTaskBehindSourceAnimation" format="reference" /> 2100 <!-- When closing the last activity of a task, this is the animation that is 2101 run on the activity of the next task (which is entering the screen). --> 2102 <attr name="taskCloseEnterAnimation" format="reference" /> 2103 <!-- When opening an activity in a new task, this is the animation that is 2104 run on the activity of the old task (which is exiting the screen). --> 2105 <attr name="taskCloseExitAnimation" format="reference" /> 2106 <!-- When bringing an existing task to the foreground, this is the 2107 animation that is run on the top activity of the task being brought 2108 to the foreground (which is entering the screen). --> 2109 <attr name="taskToFrontEnterAnimation" format="reference" /> 2110 <!-- When bringing an existing task to the foreground, this is the 2111 animation that is run on the current foreground activity 2112 (which is exiting the screen). --> 2113 <attr name="taskToFrontExitAnimation" format="reference" /> 2114 <!-- When sending the current task to the background, this is the 2115 animation that is run on the top activity of the task behind 2116 it (which is entering the screen). --> 2117 <attr name="taskToBackEnterAnimation" format="reference" /> 2118 <!-- When sending the current task to the background, this is the 2119 animation that is run on the top activity of the current task 2120 (which is exiting the screen). --> 2121 <attr name="taskToBackExitAnimation" format="reference" /> 2122 2123 <!-- When opening a new activity that shows the wallpaper, while 2124 currently not showing the wallpaper, this is the animation that 2125 is run on the new wallpaper activity (which is entering the screen). --> 2126 <attr name="wallpaperOpenEnterAnimation" format="reference" /> 2127 <!-- When opening a new activity that shows the wallpaper, while 2128 currently not showing the wallpaper, this is the animation that 2129 is run on the current activity (which is exiting the screen). --> 2130 <attr name="wallpaperOpenExitAnimation" format="reference" /> 2131 <!-- When opening a new activity that hides the wallpaper, while 2132 currently showing the wallpaper, this is the animation that 2133 is run on the new activity (which is entering the screen). --> 2134 <attr name="wallpaperCloseEnterAnimation" format="reference" /> 2135 <!-- When opening a new activity that hides the wallpaper, while 2136 currently showing the wallpaper, this is the animation that 2137 is run on the old wallpaper activity (which is exiting the screen). --> 2138 <attr name="wallpaperCloseExitAnimation" format="reference" /> 2139 2140 <!-- When opening a new activity that is on top of the wallpaper 2141 when the current activity is also on top of the wallpaper, 2142 this is the animation that is run on the new activity 2143 (which is entering the screen). The wallpaper remains 2144 static behind the animation. --> 2145 <attr name="wallpaperIntraOpenEnterAnimation" format="reference" /> 2146 <!-- When opening a new activity that is on top of the wallpaper 2147 when the current activity is also on top of the wallpaper, 2148 this is the animation that is run on the current activity 2149 (which is exiting the screen). The wallpaper remains 2150 static behind the animation. --> 2151 <attr name="wallpaperIntraOpenExitAnimation" format="reference" /> 2152 <!-- When closing a foreround activity that is on top of the wallpaper 2153 when the previous activity is also on top of the wallpaper, 2154 this is the animation that is run on the previous activity 2155 (which is entering the screen). The wallpaper remains 2156 static behind the animation. --> 2157 <attr name="wallpaperIntraCloseEnterAnimation" format="reference" /> 2158 <!-- When closing a foreround activity that is on top of the wallpaper 2159 when the previous activity is also on top of the wallpaper, 2160 this is the animation that is run on the current activity 2161 (which is exiting the screen). The wallpaper remains 2162 static behind the animation. --> 2163 <attr name="wallpaperIntraCloseExitAnimation" format="reference" /> 2164 2165 <!-- When opening a new activity from a RemoteViews, this is the 2166 animation that is run on the next activity (which is entering the 2167 screen). Requires config_overrideRemoteViewsActivityTransition to 2168 be true. --> 2169 <attr name="activityOpenRemoteViewsEnterAnimation" format="reference" /> 2170 2171 </declare-styleable> 2172 2173 <!-- ============================= --> 2174 <!-- View package class attributes --> 2175 <!-- ============================= --> 2176 <eat-comment /> 2177 2178 <!-- Attributes that can be used with {@link android.view.View} or 2179 any of its subclasses. Also see {@link #ViewGroup_Layout} for 2180 attributes that are processed by the view's parent. --> 2181 <declare-styleable name="View"> 2182 <!-- Supply an identifier name for this view, to later retrieve it 2183 with {@link android.view.View#findViewById View.findViewById()} or 2184 {@link android.app.Activity#findViewById Activity.findViewById()}. 2185 This must be a 2186 resource reference; typically you set this using the 2187 <code>@+</code> syntax to create a new ID resources. 2188 For example: <code>android:id="@+id/my_id"</code> which 2189 allows you to later retrieve the view 2190 with <code>findViewById(R.id.my_id)</code>. --> 2191 <attr name="id" format="reference" /> 2192 2193 <!-- Supply a tag for this view containing a String, to be retrieved 2194 later with {@link android.view.View#getTag View.getTag()} or 2195 searched for with {@link android.view.View#findViewWithTag 2196 View.findViewWithTag()}. It is generally preferable to use 2197 IDs (through the android:id attribute) instead of tags because 2198 they are faster and allow for compile-time type checking. --> 2199 <attr name="tag" format="string" /> 2200 2201 <!-- The initial horizontal scroll offset, in pixels.--> 2202 <attr name="scrollX" format="dimension" /> 2203 2204 <!-- The initial vertical scroll offset, in pixels. --> 2205 <attr name="scrollY" format="dimension" /> 2206 2207 <!-- A drawable to use as the background. This can be either a reference 2208 to a full drawable resource (such as a PNG image, 9-patch, 2209 XML state list description, etc), or a solid color such as "#ff000000" 2210 (black). --> 2211 <attr name="background" format="reference|color" /> 2212 2213 <!-- Sets the padding, in pixels, of all four edges. Padding is defined as 2214 space between the edges of the view and the view's content. A views size 2215 will include it's padding. If a {@link android.R.attr#background} 2216 is provided, the padding will initially be set to that (0 if the 2217 drawable does not have padding). Explicitly setting a padding value 2218 will override the corresponding padding found in the background. --> 2219 <attr name="padding" format="dimension" /> 2220 <!-- Sets the padding, in pixels, of the left edge; see {@link android.R.attr#padding}. --> 2221 <attr name="paddingLeft" format="dimension" /> 2222 <!-- Sets the padding, in pixels, of the top edge; see {@link android.R.attr#padding}. --> 2223 <attr name="paddingTop" format="dimension" /> 2224 <!-- Sets the padding, in pixels, of the right edge; see {@link android.R.attr#padding}. --> 2225 <attr name="paddingRight" format="dimension" /> 2226 <!-- Sets the padding, in pixels, of the bottom edge; see {@link android.R.attr#padding}. --> 2227 <attr name="paddingBottom" format="dimension" /> 2228 <!-- Sets the padding, in pixels, of the start edge; see {@link android.R.attr#padding}. --> 2229 <attr name="paddingStart" format="dimension" /> 2230 <!-- Sets the padding, in pixels, of the end edge; see {@link android.R.attr#padding}. --> 2231 <attr name="paddingEnd" format="dimension" /> 2232 2233 <!-- Boolean that controls whether a view can take focus. By default the user can not 2234 move focus to a view; by setting this attribute to true the view is 2235 allowed to take focus. This value does not impact the behavior of 2236 directly calling {@link android.view.View#requestFocus}, which will 2237 always request focus regardless of this view. It only impacts where 2238 focus navigation will try to move focus. --> 2239 <attr name="focusable" format="boolean" /> 2240 2241 <!-- Boolean that controls whether a view can take focus while in touch mode. 2242 If this is true for a view, that view can gain focus when clicked on, and can keep 2243 focus if another view is clicked on that doesn't have this attribute set to true. --> 2244 <attr name="focusableInTouchMode" format="boolean" /> 2245 2246 <!-- Controls the initial visibility of the view. --> 2247 <attr name="visibility"> 2248 <!-- Visible on screen; the default value. --> 2249 <enum name="visible" value="0" /> 2250 <!-- Not displayed, but taken into account during layout (space is left for it). --> 2251 <enum name="invisible" value="1" /> 2252 <!-- Completely hidden, as if the view had not been added. --> 2253 <enum name="gone" value="2" /> 2254 </attr> 2255 2256 <!-- Boolean internal attribute to adjust view layout based on 2257 system windows such as the status bar. 2258 If true, adjusts the padding of this view to leave space for the system windows. 2259 Will only take effect if this view is in a non-embedded activity. --> 2260 <attr name="fitsSystemWindows" format="boolean" /> 2261 2262 <!-- Defines which scrollbars should be displayed on scrolling or not. --> 2263 <attr name="scrollbars"> 2264 <!-- No scrollbar is displayed. --> 2265 <flag name="none" value="0x00000000" /> 2266 <!-- Displays horizontal scrollbar only. --> 2267 <flag name="horizontal" value="0x00000100" /> 2268 <!-- Displays vertical scrollbar only. --> 2269 <flag name="vertical" value="0x00000200" /> 2270 </attr> 2271 2272 <!-- Controls the scrollbar style and position. The scrollbars can be overlaid or 2273 inset. When inset, they add to the padding of the view. And the 2274 scrollbars can be drawn inside the padding area or on the edge of 2275 the view. For example, if a view has a background drawable and you 2276 want to draw the scrollbars inside the padding specified by the 2277 drawable, you can use insideOverlay or insideInset. If you want them 2278 to appear at the edge of the view, ignoring the padding, then you can 2279 use outsideOverlay or outsideInset.--> 2280 <attr name="scrollbarStyle"> 2281 <!-- Inside the padding and overlaid --> 2282 <enum name="insideOverlay" value="0x0" /> 2283 <!-- Inside the padding and inset --> 2284 <enum name="insideInset" value="0x01000000" /> 2285 <!-- Edge of the view and overlaid --> 2286 <enum name="outsideOverlay" value="0x02000000" /> 2287 <!-- Edge of the view and inset --> 2288 <enum name="outsideInset" value="0x03000000" /> 2289 </attr> 2290 2291 <!-- Set this if the view will serve as a scrolling container, meaning 2292 that it can be resized to shrink its overall window so that there 2293 will be space for an input method. If not set, the default 2294 value will be true if "scrollbars" has the vertical scrollbar 2295 set, else it will be false. --> 2296 <attr name="isScrollContainer" format="boolean" /> 2297 2298 <!-- Defines whether to fade out scrollbars when they are not in use. --> 2299 <attr name="fadeScrollbars" format="boolean" /> 2300 <!-- Defines the delay in milliseconds that a scrollbar takes to fade out. --> 2301 <attr name="scrollbarFadeDuration" format="integer" /> 2302 <!-- Defines the delay in milliseconds that a scrollbar waits before fade out. --> 2303 <attr name="scrollbarDefaultDelayBeforeFade" format="integer" /> 2304 <!-- Sets the width of vertical scrollbars and height of horizontal scrollbars. --> 2305 <attr name="scrollbarSize" format="dimension" /> 2306 <!-- Defines the horizontal scrollbar thumb drawable. --> 2307 <attr name="scrollbarThumbHorizontal" format="reference" /> 2308 <!-- Defines the vertical scrollbar thumb drawable. --> 2309 <attr name="scrollbarThumbVertical" format="reference" /> 2310 <!-- Defines the horizontal scrollbar track drawable. --> 2311 <attr name="scrollbarTrackHorizontal" format="reference" /> 2312 <!-- Defines the vertical scrollbar track drawable. --> 2313 <attr name="scrollbarTrackVertical" format="reference" /> 2314 <!-- Defines whether the horizontal scrollbar track should always be drawn. --> 2315 <attr name="scrollbarAlwaysDrawHorizontalTrack" format="boolean" /> 2316 <!-- Defines whether the vertical scrollbar track should always be drawn. --> 2317 <attr name="scrollbarAlwaysDrawVerticalTrack" format="boolean" /> 2318 2319 <!-- This attribute is deprecated and will be ignored as of 2320 API level 14 ({@link android.os.Build.VERSION_CODES#ICE_CREAM_SANDWICH}). 2321 Using fading edges may introduce noticeable performance 2322 degradations and should be used only when required by the application's 2323 visual design. To request fading edges with API level 14 and above, 2324 use the <code>android:requiresFadingEdge</code> attribute instead. --> 2325 <attr name="fadingEdge"> 2326 <!-- No edge is faded. --> 2327 <flag name="none" value="0x00000000" /> 2328 <!-- Fades horizontal edges only. --> 2329 <flag name="horizontal" value="0x00001000" /> 2330 <!-- Fades vertical edges only. --> 2331 <flag name="vertical" value="0x00002000" /> 2332 </attr> 2333 <!-- Defines which edges should be faded on scrolling. --> 2334 <attr name="requiresFadingEdge"> 2335 <!-- No edge is faded. --> 2336 <flag name="none" value="0x00000000" /> 2337 <!-- Fades horizontal edges only. --> 2338 <flag name="horizontal" value="0x00001000" /> 2339 <!-- Fades vertical edges only. --> 2340 <flag name="vertical" value="0x00002000" /> 2341 </attr> 2342 <!-- Defines the length of the fading edges. --> 2343 <attr name="fadingEdgeLength" format="dimension" /> 2344 2345 <!-- Defines the next view to give focus to when the next focus is 2346 {@link android.view.View#FOCUS_LEFT}. 2347 2348 If the reference refers to a view that does not exist or is part 2349 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2350 will result when the reference is accessed.--> 2351 <attr name="nextFocusLeft" format="reference"/> 2352 2353 <!-- Defines the next view to give focus to when the next focus is 2354 {@link android.view.View#FOCUS_RIGHT} 2355 2356 If the reference refers to a view that does not exist or is part 2357 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2358 will result when the reference is accessed.--> 2359 <attr name="nextFocusRight" format="reference"/> 2360 2361 <!-- Defines the next view to give focus to when the next focus is 2362 {@link android.view.View#FOCUS_UP} 2363 2364 If the reference refers to a view that does not exist or is part 2365 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2366 will result when the reference is accessed.--> 2367 <attr name="nextFocusUp" format="reference"/> 2368 2369 <!-- Defines the next view to give focus to when the next focus is 2370 {@link android.view.View#FOCUS_DOWN} 2371 2372 If the reference refers to a view that does not exist or is part 2373 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2374 will result when the reference is accessed.--> 2375 <attr name="nextFocusDown" format="reference"/> 2376 2377 <!-- Defines the next view to give focus to when the next focus is 2378 {@link android.view.View#FOCUS_FORWARD} 2379 2380 If the reference refers to a view that does not exist or is part 2381 of a hierarchy that is invisible, a {@link java.lang.RuntimeException} 2382 will result when the reference is accessed.--> 2383 <attr name="nextFocusForward" format="reference"/> 2384 2385 <!-- Defines whether this view reacts to click events. --> 2386 <attr name="clickable" format="boolean" /> 2387 2388 <!-- Defines whether this view reacts to long click events. --> 2389 <attr name="longClickable" format="boolean" /> 2390 2391 <!-- Defines whether this view reacts to context click events. --> 2392 <attr name="contextClickable" format="boolean" /> 2393 2394 <!-- If false, no state will be saved for this view when it is being 2395 frozen. The default is true, allowing the view to be saved 2396 (however it also must have an ID assigned to it for its 2397 state to be saved). Setting this to false only disables the 2398 state for this view, not for its children which may still 2399 be saved. --> 2400 <attr name="saveEnabled" format="boolean" /> 2401 2402 <!-- Specifies whether to filter touches when the view's window is obscured by 2403 another visible window. When set to true, the view will not receive touches 2404 whenever a toast, dialog or other window appears above the view's window. 2405 Refer to the {@link android.view.View} security documentation for more details. --> 2406 <attr name="filterTouchesWhenObscured" format="boolean" /> 2407 2408 <!-- Defines the quality of translucent drawing caches. This property is used 2409 only when the drawing cache is enabled and translucent. The default value is auto. --> 2410 <attr name="drawingCacheQuality"> 2411 <!-- Lets the framework decide what quality level should be used 2412 for the drawing cache. --> 2413 <enum name="auto" value="0" /> 2414 <!-- Low quality. When set to low quality, the drawing cache uses a lower color 2415 depth, thus losing precision in rendering gradients, but uses less memory. --> 2416 <enum name="low" value="1" /> 2417 <!-- High quality. When set to high quality, the drawing cache uses a higher 2418 color depth but uses more memory. --> 2419 <enum name="high" value="2" /> 2420 </attr> 2421 2422 <!-- Controls whether the view's window should keep the screen on 2423 while visible. --> 2424 <attr name="keepScreenOn" format="boolean" /> 2425 2426 <!-- When this attribute is set to true, the view gets its drawable state 2427 (focused, pressed, etc.) from its direct parent rather than from itself. --> 2428 <attr name="duplicateParentState" format="boolean" /> 2429 2430 <!-- Defines the minimum height of the view. It is not guaranteed 2431 the view will be able to achieve this minimum height (for example, 2432 if its parent layout constrains it with less available height). --> 2433 <attr name="minHeight" /> 2434 2435 <!-- Defines the minimum width of the view. It is not guaranteed 2436 the view will be able to achieve this minimum width (for example, 2437 if its parent layout constrains it with less available width). --> 2438 <attr name="minWidth" /> 2439 2440 <!-- Boolean that controls whether a view should have sound effects 2441 enabled for events such as clicking and touching. --> 2442 <attr name="soundEffectsEnabled" format="boolean" /> 2443 2444 <!-- Boolean that controls whether a view should have haptic feedback 2445 enabled for events such as long presses. --> 2446 <attr name="hapticFeedbackEnabled" format="boolean" /> 2447 2448 <!-- Defines text that briefly describes content of the view. This property is used 2449 primarily for accessibility. Since some views do not have textual 2450 representation this attribute can be used for providing such. --> 2451 <attr name="contentDescription" format="string" localization="suggested" /> 2452 2453 <!-- Sets the id of a view before which this one is visited in accessibility traversal. 2454 A screen-reader must visit the content of this view before the content of the one 2455 it precedes. 2456 @see android.view.View#setAccessibilityTraversalBefore(int)} --> 2457 <attr name="accessibilityTraversalBefore" format="integer" /> 2458 2459 <!-- Sets the id of a view after which this one is visited in accessibility traversal. 2460 A screen-reader must visit the content of the other view before the content of 2461 this one. 2462 @see android.view.View#setAccessibilityTraversalAfter(int)} --> 2463 <attr name="accessibilityTraversalAfter" format="integer" /> 2464 2465 <!-- Name of the method in this View's context to invoke when the view is 2466 clicked. This name must correspond to a public method that takes 2467 exactly one parameter of type View. For instance, if you specify 2468 <code>android:onClick="sayHello"</code>, you must declare a 2469 <code>public void sayHello(View v)</code> method of your context 2470 (typically, your Activity). --> 2471 <attr name="onClick" format="string" /> 2472 2473 <!-- Defines over-scrolling behavior. This property is used only if the 2474 View is scrollable. Over-scrolling is the ability for the user to 2475 receive feedback when attempting to scroll beyond meaningful content. --> 2476 <attr name="overScrollMode"> 2477 <!-- Always show over-scroll effects, even if the content fits entirely 2478 within the available space. --> 2479 <enum name="always" value="0" /> 2480 <!-- Only show over-scroll effects if the content is large 2481 enough to meaningfully scroll. --> 2482 <enum name="ifContentScrolls" value="1" /> 2483 <!-- Never show over-scroll effects. --> 2484 <enum name="never" value="2" /> 2485 </attr> 2486 2487 <!-- alpha property of the view, as a value between 0 (completely transparent) and 1 2488 (completely opaque). --> 2489 <attr name="alpha" format="float" /> 2490 2491 <!-- base z depth of the view --> 2492 <attr name="elevation" format="dimension" /> 2493 2494 <!-- translation in x of the view. This value is added post-layout to the left 2495 property of the view, which is set by its layout. --> 2496 <attr name="translationX" format="dimension" /> 2497 2498 <!-- translation in y of the view. This value is added post-layout to the top 2499 property of the view, which is set by its layout. --> 2500 <attr name="translationY" format="dimension" /> 2501 2502 <!-- translation in z of the view. This value is added to its elevation. --> 2503 <attr name="translationZ" format="dimension" /> 2504 2505 <!-- x location of the pivot point around which the view will rotate and scale. 2506 This xml attribute sets the pivotX property of the View. --> 2507 <attr name="transformPivotX" format="dimension" /> 2508 2509 <!-- y location of the pivot point around which the view will rotate and scale. 2510 This xml attribute sets the pivotY property of the View. --> 2511 <attr name="transformPivotY" format="dimension" /> 2512 2513 <!-- rotation of the view, in degrees. --> 2514 <attr name="rotation" format="float" /> 2515 2516 <!-- rotation of the view around the x axis, in degrees. --> 2517 <attr name="rotationX" format="float" /> 2518 2519 <!-- rotation of the view around the y axis, in degrees. --> 2520 <attr name="rotationY" format="float" /> 2521 2522 <!-- scale of the view in the x direction. --> 2523 <attr name="scaleX" format="float" /> 2524 2525 <!-- scale of the view in the y direction. --> 2526 <attr name="scaleY" format="float" /> 2527 2528 <!-- Determines which side the vertical scroll bar should be placed on. --> 2529 <attr name="verticalScrollbarPosition"> 2530 <!-- Place the scroll bar wherever the system default determines. --> 2531 <enum name="defaultPosition" value="0" /> 2532 <!-- Place the scroll bar on the left. --> 2533 <enum name="left" value="1" /> 2534 <!-- Place the scroll bar on the right. --> 2535 <enum name="right" value="2" /> 2536 </attr> 2537 2538 <!-- Specifies the type of layer backing this view. The default value is none. 2539 Refer to {@link android.view.View#setLayerType(int, android.graphics.Paint)} 2540 for more information.--> 2541 <attr name="layerType"> 2542 <!-- Don't use a layer. --> 2543 <enum name="none" value="0" /> 2544 <!-- Use a software layer. Refer to 2545 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2546 more information. --> 2547 <enum name="software" value="1" /> 2548 <!-- Use a hardware layer. Refer to 2549 {@link android.view.View#setLayerType(int, android.graphics.Paint)} for 2550 more information. --> 2551 <enum name="hardware" value="2" /> 2552 </attr> 2553 2554 <!-- Defines the direction of layout drawing. This typically is associated with writing 2555 direction of the language script used. The possible values are "ltr" for Left-to-Right, 2556 "rtl" for Right-to-Left, "locale" and "inherit" from parent view. If there is nothing 2557 to inherit, "locale" is used. "locale" falls back to "en-US". "ltr" is the direction 2558 used in "en-US". The default for this attribute is "inherit". --> 2559 <attr name="layoutDirection"> 2560 <!-- Left-to-Right --> 2561 <enum name="ltr" value="0" /> 2562 <!-- Right-to-Left --> 2563 <enum name="rtl" value="1" /> 2564 <!-- Inherit from parent --> 2565 <enum name="inherit" value="2" /> 2566 <!-- Locale --> 2567 <enum name="locale" value="3" /> 2568 </attr> 2569 2570 <!-- Defines the direction of the text. A heuristic is used to determine the resolved text 2571 direction of paragraphs. --> 2572 <attr name="textDirection" format="integer"> 2573 <!-- Default --> 2574 <enum name="inherit" value="0" /> 2575 <!-- Default for the root view. The first strong directional character determines the 2576 paragraph direction. If there is no strong directional character, the paragraph 2577 direction is the view’s resolved layout direction. --> 2578 <enum name="firstStrong" value="1" /> 2579 <!-- The paragraph direction is RTL if it contains any strong RTL character, otherwise 2580 it is LTR if it contains any strong LTR characters. If there are neither, the 2581 paragraph direction is the view’s resolved layout direction. --> 2582 <enum name="anyRtl" value="2" /> 2583 <!-- The paragraph direction is left to right. --> 2584 <enum name="ltr" value="3" /> 2585 <!-- The paragraph direction is right to left. --> 2586 <enum name="rtl" value="4" /> 2587 <!-- The paragraph direction is coming from the system Locale. --> 2588 <enum name="locale" value="5" /> 2589 <!-- The first strong directional character determines the paragraph direction. If 2590 there is no strong directional character, the paragraph direction is LTR. --> 2591 <enum name="firstStrongLtr" value="6" /> 2592 <!-- The first strong directional character determines the paragraph direction. If 2593 there is no strong directional character, the paragraph direction is RTL. --> 2594 <enum name="firstStrongRtl" value="7" /> 2595 </attr> 2596 2597 <!-- Defines the alignment of the text. A heuristic is used to determine the resolved 2598 text alignment. --> 2599 <attr name="textAlignment" format="integer"> 2600 <!-- Default --> 2601 <enum name="inherit" value="0" /> 2602 <!-- Default for the root view. The gravity determines the alignment, ALIGN_NORMAL, 2603 ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph’s 2604 text direction --> 2605 <enum name="gravity" value="1" /> 2606 <!-- Align to the start of the paragraph, e.g. ALIGN_NORMAL. --> 2607 <enum name="textStart" value="2" /> 2608 <!-- Align to the end of the paragraph, e.g. ALIGN_OPPOSITE. --> 2609 <enum name="textEnd" value="3" /> 2610 <!-- Center the paragraph, e.g. ALIGN_CENTER. --> 2611 <enum name="center" value="4" /> 2612 <!-- Align to the start of the view, which is ALIGN_LEFT if the view’s resolved 2613 layoutDirection is LTR, and ALIGN_RIGHT otherwise. --> 2614 <enum name="viewStart" value="5" /> 2615 <!-- Align to the end of the view, which is ALIGN_RIGHT if the view’s resolved 2616 layoutDirection is LTR, and ALIGN_LEFT otherwise --> 2617 <enum name="viewEnd" value="6" /> 2618 </attr> 2619 2620 <!-- Controls how this View is important for accessibility which is if it fires 2621 accessibility events and if it is reported to accessibility services that 2622 query the screen. Note: While not recommended, an accessibility service may 2623 decide to ignore this attribute and operate on all views in the view tree. --> 2624 <attr name="importantForAccessibility" format="integer"> 2625 <!-- The system determines whether the view is important for accessibility - default 2626 (recommended). --> 2627 <enum name="auto" value="0" /> 2628 <!-- The view is important for accessibility. --> 2629 <enum name="yes" value="1" /> 2630 <!-- The view is not important for accessibility. --> 2631 <enum name="no" value="2" /> 2632 <!-- The view is not important for accessibility, nor are any of its descendant 2633 views. --> 2634 <enum name="noHideDescendants" value="4" /> 2635 </attr> 2636 2637 <!-- Indicates to accessibility services whether the user should be notified when 2638 this view changes. --> 2639 <attr name="accessibilityLiveRegion" format="integer"> 2640 <!-- Accessibility services should not announce changes to this view. --> 2641 <enum name="none" value="0" /> 2642 <!-- Accessibility services should announce changes to this view. --> 2643 <enum name="polite" value="1" /> 2644 <!-- Accessibility services should interrupt ongoing speech to immediately 2645 announce changes to this view. --> 2646 <enum name="assertive" value="2" /> 2647 </attr> 2648 2649 <!-- Specifies the id of a view for which this view serves as a label for 2650 accessibility purposes. For example, a TextView before an EditText in 2651 the UI usually specifies what infomation is contained in the EditText. 2652 Hence, the TextView is a label for the EditText. --> 2653 <attr name="labelFor" format="reference" /> 2654 2655 <!-- Specifies a theme override for a view. When a theme override is set, the 2656 view will be inflated using a {@link android.content.Context} themed with 2657 the specified resource. During XML inflation, any child views under the 2658 view with a theme override will inherit the themed context. --> 2659 <attr name="theme" /> 2660 2661 <!-- Names a View such that it can be identified for Transitions. Names should be 2662 unique in the View hierarchy. --> 2663 <attr name="transitionName" format="string" /> 2664 2665 <!-- Specifies that this view should permit nested scrolling within a compatible 2666 ancestor view. --> 2667 <attr name="nestedScrollingEnabled" format="boolean" /> 2668 2669 <!-- Sets the state-based animator for the View. --> 2670 <attr name="stateListAnimator" format="reference"/> 2671 2672 <!-- Tint to apply to the background. --> 2673 <attr name="backgroundTint" format="color" /> 2674 2675 <!-- Blending mode used to apply the background tint. --> 2676 <attr name="backgroundTintMode"> 2677 <!-- The tint is drawn on top of the drawable. 2678 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2679 <enum name="src_over" value="3" /> 2680 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2681 color channels are thrown out. [Sa * Da, Sc * Da] --> 2682 <enum name="src_in" value="5" /> 2683 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2684 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2685 <enum name="src_atop" value="9" /> 2686 <!-- Multiplies the color and alpha channels of the drawable with those of 2687 the tint. [Sa * Da, Sc * Dc] --> 2688 <enum name="multiply" value="14" /> 2689 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2690 <enum name="screen" value="15" /> 2691 <!-- Combines the tint and drawable color and alpha channels, clamping the 2692 result to valid color values. Saturate(S + D) --> 2693 <enum name="add" value="16" /> 2694 </attr> 2695 2696 <!-- ViewOutlineProvider used to determine the View's Outline. --> 2697 <attr name="outlineProvider"> 2698 <!-- Default, background drawable-driven outline. --> 2699 <enum name="background" value="0" /> 2700 <!-- No outline provider. --> 2701 <enum name="none" value="1" /> 2702 <!-- Generates an opaque outline for the bounds of the view. --> 2703 <enum name="bounds" value="2" /> 2704 <!-- Generates an opaque outline for the padded bounds of the view. --> 2705 <enum name="paddedBounds" value="3" /> 2706 </attr> 2707 2708 <!-- Defines the drawable to draw over the content. This can be used as an overlay. 2709 The foreground drawable participates in the padding of the content if the gravity 2710 is set to fill. --> 2711 <attr name="foreground" format="reference|color" /> 2712 <!-- Defines the gravity to apply to the foreground drawable. The gravity defaults 2713 to fill. --> 2714 <attr name="foregroundGravity"> 2715 <!-- Push object to the top of its container, not changing its size. --> 2716 <flag name="top" value="0x30" /> 2717 <!-- Push object to the bottom of its container, not changing its size. --> 2718 <flag name="bottom" value="0x50" /> 2719 <!-- Push object to the left of its container, not changing its size. --> 2720 <flag name="left" value="0x03" /> 2721 <!-- Push object to the right of its container, not changing its size. --> 2722 <flag name="right" value="0x05" /> 2723 <!-- Place object in the vertical center of its container, not changing its size. --> 2724 <flag name="center_vertical" value="0x10" /> 2725 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 2726 <flag name="fill_vertical" value="0x70" /> 2727 <!-- Place object in the horizontal center of its container, not changing its size. --> 2728 <flag name="center_horizontal" value="0x01" /> 2729 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 2730 <flag name="fill_horizontal" value="0x07" /> 2731 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 2732 <flag name="center" value="0x11" /> 2733 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 2734 <flag name="fill" value="0x77" /> 2735 <!-- Additional option that can be set to have the top and/or bottom edges of 2736 the child clipped to its container's bounds. 2737 The clip will be based on the vertical gravity: a top gravity will clip the bottom 2738 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 2739 <flag name="clip_vertical" value="0x80" /> 2740 <!-- Additional option that can be set to have the left and/or right edges of 2741 the child clipped to its container's bounds. 2742 The clip will be based on the horizontal gravity: a left gravity will clip the right 2743 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 2744 <flag name="clip_horizontal" value="0x08" /> 2745 </attr> 2746 <!-- Defines whether the foreground drawable should be drawn inside the padding. 2747 This property is turned on by default. --> 2748 <attr name="foregroundInsidePadding" format="boolean" /> 2749 <!-- Tint to apply to the foreground. --> 2750 <attr name="foregroundTint" format="color" /> 2751 <!-- Blending mode used to apply the foreground tint. --> 2752 <attr name="foregroundTintMode"> 2753 <!-- The tint is drawn on top of the drawable. 2754 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 2755 <enum name="src_over" value="3" /> 2756 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 2757 color channels are thrown out. [Sa * Da, Sc * Da] --> 2758 <enum name="src_in" value="5" /> 2759 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 2760 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 2761 <enum name="src_atop" value="9" /> 2762 <!-- Multiplies the color and alpha channels of the drawable with those of 2763 the tint. [Sa * Da, Sc * Dc] --> 2764 <enum name="multiply" value="14" /> 2765 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 2766 <enum name="screen" value="15" /> 2767 <!-- Combines the tint and drawable color and alpha channels, clamping the 2768 result to valid color values. Saturate(S + D) --> 2769 <enum name="add" value="16" /> 2770 </attr> 2771 2772 <!-- Defines which scroll indicators should be displayed when the view 2773 can be scrolled. Multiple values may be combined using logical OR, 2774 for example "top|bottom". --> 2775 <attr name="scrollIndicators"> 2776 <!-- No scroll indicators are displayed. --> 2777 <flag name="none" value="0x00" /> 2778 <!-- Displays top scroll indicator when view can be scrolled up. --> 2779 <flag name="top" value="0x01" /> 2780 <!-- Displays bottom scroll indicator when vew can be scrolled down. --> 2781 <flag name="bottom" value="0x02" /> 2782 <!-- Displays left scroll indicator when vew can be scrolled left. --> 2783 <flag name="left" value="0x04" /> 2784 <!-- Displays right scroll indicator when vew can be scrolled right. --> 2785 <flag name="right" value="0x08" /> 2786 <!-- Displays right scroll indicator when vew can be scrolled in the 2787 start direction. --> 2788 <flag name="start" value="0x10" /> 2789 <!-- Displays right scroll indicator when vew can be scrolled in the 2790 end direction. --> 2791 <flag name="end" value="0x20" /> 2792 </attr> 2793 2794 <attr name="pointerShape"> 2795 <!-- Null icon, pointer becomes invisible. --> 2796 <enum name="none" value="0" /> 2797 <!-- The default icon of arrow pointer. --> 2798 <enum name="arrow" value="1000" /> 2799 <!-- Pointer icon indicating context-menu will appear. --> 2800 <enum name="context_menu" value="1001" /> 2801 <!-- Pointer icon of a hand with the index finger. --> 2802 <enum name="hand" value="1002" /> 2803 <!-- Pointer icon indicating help. --> 2804 <enum name="help" value="1003" /> 2805 <!-- Pointer icon indicating something is going on and waiting. --> 2806 <enum name="wait" value="1004" /> 2807 <!-- Pointer icon for cell and grid. --> 2808 <enum name="cell" value="1006" /> 2809 <!-- Pointer icon of crosshair, indicating to spot a location. --> 2810 <enum name="crosshair" value="1007" /> 2811 <!-- Pointer icon of I-beam, usually for text. --> 2812 <enum name="text" value="1008" /> 2813 <!-- Pointer icon of I-beam with 90-degree rotated, for vertical text. --> 2814 <enum name="vertical_text" value="1009" /> 2815 <!-- Pointer icon of 'alias', indicating an alias of/shortcut to something is to be 2816 created. --> 2817 <enum name="alias" value="1010" /> 2818 <!-- Pointer icon of 'copy', used for drag/drop. --> 2819 <enum name="copy" value="1011" /> 2820 <!-- Pointer icon of 'no-drop', indicating the drop will not be accepted at the 2821 current location. --> 2822 <enum name="no_drop" value="1012" /> 2823 <!-- Pointer icon of four-way arrows, indicating scrolling all direction. --> 2824 <enum name="all_scroll" value="1013" /> 2825 <!-- Pointer icon of horizontal double arrow, indicating horizontal resize. --> 2826 <enum name="horizontal_double_arrow" value="1014" /> 2827 <!-- Pointer icon of vertical double arrow, indicating vertical resize. --> 2828 <enum name="vertical_double_arrow" value="1015" /> 2829 <!-- Pointer icon of diagonal double arrow, starting from top-right to bottom-left. 2830 Indicating freeform resize. --> 2831 <enum name="top_right_diagonal_double_arrow" value="1016" /> 2832 <!-- Pointer icon of diagonal double arrow, starting from top-left to bottom-right. 2833 Indicating freeform resize. --> 2834 <enum name="top_left_diagonal_double_arrow" value="1017" /> 2835 <!-- Pointer icon indicating zoom-in. --> 2836 <enum name="zoom_in" value="1018" /> 2837 <!-- Pointer icon indicating zoom-out. --> 2838 <enum name="zoom_out" value="1019" /> 2839 <!-- Pointer icon of a hand sign to grab something. --> 2840 <enum name="grab" value="1020" /> 2841 <!-- Pointer icon of a hand sign while grabbing something. --> 2842 <enum name="grabbing" value="1021" /> 2843 </attr> 2844 </declare-styleable> 2845 2846 <!-- Attributes that can be assigned to a tag for a particular View. --> 2847 <declare-styleable name="ViewTag"> 2848 <!-- Specifies the key identifying a tag. This must be a resource reference. --> 2849 <attr name="id" /> 2850 <!-- Specifies the value with which to tag the view. --> 2851 <attr name="value" /> 2852 </declare-styleable> 2853 2854 <!-- Attributes that can be assigned to an <include> tag. 2855 @hide --> 2856 <declare-styleable name="Include"> 2857 <attr name="id" /> 2858 <attr name="visibility" /> 2859 </declare-styleable> 2860 2861 <!-- Attributes that can be used with a {@link android.view.ViewGroup} or any 2862 of its subclasses. Also see {@link #ViewGroup_Layout} for 2863 attributes that this class processes in its children. --> 2864 <declare-styleable name="ViewGroup"> 2865 <!-- Defines whether changes in layout (caused by adding and removing items) should 2866 cause a LayoutTransition to run. When this flag is set to true, a default 2867 LayoutTransition object will be set on the ViewGroup container and default 2868 animations will run when these layout changes occur.--> 2869 <attr name="animateLayoutChanges" format="boolean" /> 2870 <!-- Defines whether a child is limited to draw inside of its bounds or not. 2871 This is useful with animations that scale the size of the children to more 2872 than 100% for instance. In such a case, this property should be set to false 2873 to allow the children to draw outside of their bounds. The default value of 2874 this property is true. --> 2875 <attr name="clipChildren" format="boolean" /> 2876 <!-- Defines whether the ViewGroup will clip its children and resize (but not clip) any 2877 EdgeEffect to its padding, if padding is not zero. This property is set to true by 2878 default. --> 2879 <attr name="clipToPadding" format="boolean" /> 2880 <!-- Defines the layout animation to use the first time the ViewGroup is laid out. 2881 Layout animations can also be started manually after the first layout. --> 2882 <attr name="layoutAnimation" format="reference" /> 2883 <!-- Defines whether layout animations should create a drawing cache for their 2884 children. Enabling the animation cache consumes more memory and requires 2885 a longer initialization but provides better performance. The animation 2886 cache is enabled by default. --> 2887 <attr name="animationCache" format="boolean" /> 2888 <!-- Defines the persistence of the drawing cache. The drawing cache might be 2889 enabled by a ViewGroup for all its children in specific situations (for 2890 instance during a scrolling.) This property lets you persist the cache 2891 in memory after its initial usage. Persisting the cache consumes more 2892 memory but may prevent frequent garbage collection is the cache is created 2893 over and over again. By default the persistence is set to scrolling. --> 2894 <attr name="persistentDrawingCache"> 2895 <!-- The drawing cache is not persisted after use. --> 2896 <flag name="none" value="0x0" /> 2897 <!-- The drawing cache is persisted after a layout animation. --> 2898 <flag name="animation" value="0x1" /> 2899 <!-- The drawing cache is persisted after a scroll. --> 2900 <flag name="scrolling" value="0x2" /> 2901 <!-- The drawing cache is always persisted. --> 2902 <flag name="all" value="0x3" /> 2903 </attr> 2904 <!-- Defines whether the ViewGroup should always draw its children using their 2905 drawing cache or not. The default value is true. --> 2906 <attr name="alwaysDrawnWithCache" format="boolean" /> 2907 <!-- Sets whether this ViewGroup's drawable states also include 2908 its children's drawable states. This is used, for example, to 2909 make a group appear to be focused when its child EditText or button 2910 is focused. --> 2911 <attr name="addStatesFromChildren" format="boolean" /> 2912 2913 <!-- Defines the relationship between the ViewGroup and its descendants 2914 when looking for a View to take focus. --> 2915 <attr name="descendantFocusability"> 2916 <!-- The ViewGroup will get focus before any of its descendants. --> 2917 <enum name="beforeDescendants" value="0" /> 2918 <!-- The ViewGroup will get focus only if none of its descendants want it. --> 2919 <enum name="afterDescendants" value="1" /> 2920 <!-- The ViewGroup will block its descendants from receiving focus. --> 2921 <enum name="blocksDescendants" value="2" /> 2922 </attr> 2923 2924 <!-- Set to true if this ViewGroup blocks focus in the presence of a touchscreen. --> 2925 <attr name="touchscreenBlocksFocus" format="boolean" /> 2926 2927 <!-- Sets whether this ViewGroup should split MotionEvents 2928 to separate child views during touch event dispatch. 2929 If false (default), touch events will be dispatched to 2930 the child view where the first pointer went down until 2931 the last pointer goes up. 2932 If true, touch events may be dispatched to multiple children. 2933 MotionEvents for each pointer will be dispatched to the child 2934 view where the initial ACTION_DOWN event happened. 2935 See {@link android.view.ViewGroup#setMotionEventSplittingEnabled(boolean)} 2936 for more information. --> 2937 <attr name="splitMotionEvents" format="boolean" /> 2938 2939 <!-- Defines the layout mode of this ViewGroup. --> 2940 <attr name="layoutMode"> 2941 <!-- Use the children's clip bounds when laying out this container. --> 2942 <enum name="clipBounds" value="0" /> 2943 <!-- Use the children's optical bounds when laying out this container. --> 2944 <enum name="opticalBounds" value="1" /> 2945 </attr> 2946 2947 <!-- Sets whether or not this ViewGroup should be treated as a single entity 2948 when doing an Activity transition. Typically, the elements inside a 2949 ViewGroup are each transitioned from the scene individually. The default 2950 for a ViewGroup is false unless it has a background. See 2951 {@link android.app.ActivityOptions#makeSceneTransitionAnimation(android.app.Activity, 2952 android.view.View, String)} for more information. Corresponds to 2953 {@link android.view.ViewGroup#setTransitionGroup(boolean)}.--> 2954 <attr name="transitionGroup" format="boolean" /> 2955 </declare-styleable> 2956 2957 <!-- A {@link android.view.ViewStub} lets you lazily include other XML layouts 2958 inside your application at runtime. --> 2959 <declare-styleable name="ViewStub"> 2960 <!-- Supply an identifier name for this view. --> 2961 <attr name="id" /> 2962 <!-- Supply an identifier for the layout resource to inflate when the ViewStub 2963 becomes visible or when forced to do so. The layout resource must be a 2964 valid reference to a layout. --> 2965 <attr name="layout" format="reference" /> 2966 <!-- Overrides the id of the inflated View with this value. --> 2967 <attr name="inflatedId" format="reference" /> 2968 </declare-styleable> 2969 2970 <!-- ===================================== --> 2971 <!-- View package parent layout attributes --> 2972 <!-- ===================================== --> 2973 <eat-comment /> 2974 2975 <!-- This is the basic set of layout attributes that are common to all 2976 layout managers. These attributes are specified with the rest of 2977 a view's normal attributes (such as {@link android.R.attr#background}, 2978 but will be parsed by the view's parent and ignored by the child. 2979 <p>The values defined here correspond to the base layout attribute 2980 class {@link android.view.ViewGroup.LayoutParams}. --> 2981 <declare-styleable name="ViewGroup_Layout"> 2982 <!-- Specifies the basic width of the view. This is a required attribute 2983 for any view inside of a containing layout manager. Its value may 2984 be a dimension (such as "12dip") for a constant width or one of 2985 the special constants. --> 2986 <attr name="layout_width" format="dimension"> 2987 <!-- The view should be as big as its parent (minus padding). 2988 This constant is deprecated starting from API Level 8 and 2989 is replaced by {@code match_parent}. --> 2990 <enum name="fill_parent" value="-1" /> 2991 <!-- The view should be as big as its parent (minus padding). 2992 Introduced in API Level 8. --> 2993 <enum name="match_parent" value="-1" /> 2994 <!-- The view should be only big enough to enclose its content (plus padding). --> 2995 <enum name="wrap_content" value="-2" /> 2996 </attr> 2997 2998 <!-- Specifies the basic height of the view. This is a required attribute 2999 for any view inside of a containing layout manager. Its value may 3000 be a dimension (such as "12dip") for a constant height or one of 3001 the special constants. --> 3002 <attr name="layout_height" format="dimension"> 3003 <!-- The view should be as big as its parent (minus padding). 3004 This constant is deprecated starting from API Level 8 and 3005 is replaced by {@code match_parent}. --> 3006 <enum name="fill_parent" value="-1" /> 3007 <!-- The view should be as big as its parent (minus padding). 3008 Introduced in API Level 8. --> 3009 <enum name="match_parent" value="-1" /> 3010 <!-- The view should be only big enough to enclose its content (plus padding). --> 3011 <enum name="wrap_content" value="-2" /> 3012 </attr> 3013 </declare-styleable> 3014 3015 <!-- This is the basic set of layout attributes for layout managers that 3016 wish to place margins around their child views. 3017 These attributes are specified with the rest of 3018 a view's normal attributes (such as {@link android.R.attr#background}, 3019 but will be parsed by the view's parent and ignored by the child. 3020 <p>The values defined here correspond to the base layout attribute 3021 class {@link android.view.ViewGroup.MarginLayoutParams}. --> 3022 <declare-styleable name="ViewGroup_MarginLayout"> 3023 <attr name="layout_width" /> 3024 <attr name="layout_height" /> 3025 <!-- Specifies extra space on the left, top, right and bottom 3026 sides of this view. This space is outside this view's bounds. 3027 Margin values should be positive. --> 3028 <attr name="layout_margin" format="dimension" /> 3029 <!-- Specifies extra space on the left side of this view. 3030 This space is outside this view's bounds. 3031 Margin values should be positive. --> 3032 <attr name="layout_marginLeft" format="dimension" /> 3033 <!-- Specifies extra space on the top side of this view. 3034 This space is outside this view's bounds. 3035 Margin values should be positive.--> 3036 <attr name="layout_marginTop" format="dimension" /> 3037 <!-- Specifies extra space on the right side of this view. 3038 This space is outside this view's bounds. 3039 Margin values should be positive.--> 3040 <attr name="layout_marginRight" format="dimension" /> 3041 <!-- Specifies extra space on the bottom side of this view. 3042 This space is outside this view's bounds. 3043 Margin values should be positive.--> 3044 <attr name="layout_marginBottom" format="dimension" /> 3045 <!-- Specifies extra space on the start side of this view. 3046 This space is outside this view's bounds. 3047 Margin values should be positive.--> 3048 <attr name="layout_marginStart" format="dimension" /> 3049 <!-- Specifies extra space on the end side of this view. 3050 This space is outside this view's bounds. 3051 Margin values should be positive.--> 3052 <attr name="layout_marginEnd" format="dimension" /> 3053 </declare-styleable> 3054 3055 <!-- Use <code>input-method</code> as the root tag of the XML resource that 3056 describes an 3057 {@link android.view.inputmethod.InputMethod} service, which is 3058 referenced from its 3059 {@link android.view.inputmethod.InputMethod#SERVICE_META_DATA} 3060 meta-data entry. Described here are the attributes that can be 3061 included in that tag. --> 3062 <declare-styleable name="InputMethod"> 3063 <!-- Component name of an activity that allows the user to modify 3064 the settings for this service. --> 3065 <attr name="settingsActivity" format="string" /> 3066 <!-- Set to true in all of the configurations for which this input 3067 method should be considered an option as the default. --> 3068 <attr name="isDefault" format="boolean" /> 3069 <!-- Set to true if this input method supports ways to switch to 3070 a next input method (e.g. a globe key.). When this is true and 3071 InputMethodManager#shouldOfferSwitchingToNextInputMethod() returns true, 3072 the IME has to offer ways to invoke InputMethodManager#switchToNextInputMethod() 3073 accordingly. 3074 <p> Note that the system determines the most appropriate next input method 3075 and subtype in order to provide the consistent user experience in switching 3076 between IMEs and subtypes. --> 3077 <attr name="supportsSwitchingToNextInputMethod" format="boolean" /> 3078 </declare-styleable> 3079 3080 <!-- This is the subtype of InputMethod. Subtype can describe locales (e.g. en_US, fr_FR...) 3081 and modes (e.g. voice, keyboard...), and is used for IME switch. This subtype allows 3082 the system to call the specified subtype of the IME directly. --> 3083 <declare-styleable name="InputMethod_Subtype"> 3084 <!-- The name of the subtype. --> 3085 <attr name="label" /> 3086 <!-- The icon of the subtype. --> 3087 <attr name="icon" /> 3088 <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) 3089 and will be passed to the IME when the framework calls the IME 3090 with the subtype. This is also used by the framework to know the supported locales 3091 of the IME. --> 3092 <attr name="imeSubtypeLocale" format="string" /> 3093 <!-- The mode of the subtype. This string can be a mode (e.g. voice, keyboard...) and this 3094 string will be passed to the IME when the framework calls the IME with the 3095 subtype. {@link android.view.inputmethod.InputMethodSubtype#getLocale()} returns the 3096 value specified in this attribute. --> 3097 <attr name="imeSubtypeMode" format="string" /> 3098 <!-- Set true if the subtype is auxiliary. An auxiliary subtype won't be shown in the 3099 input method selection list in the settings app. 3100 InputMethodManager#switchToLastInputMethod will ignore auxiliary subtypes when it 3101 chooses a target subtype. --> 3102 <attr name="isAuxiliary" format="boolean" /> 3103 <!-- Set true when this subtype should be selected by default if no other subtypes are 3104 selected explicitly. Note that a subtype with this parameter being true will 3105 not be shown in the subtypes list. --> 3106 <attr name="overridesImplicitlyEnabledSubtype" format="boolean" /> 3107 <!-- The extra value of the subtype. This string can be any string and will be passed to 3108 the IME when the framework calls the IME with the subtype. --> 3109 <attr name="imeSubtypeExtraValue" format="string" /> 3110 <!-- The unique id for the subtype. The input method framework keeps track of enabled 3111 subtypes by ID. When the IME package gets upgraded, enabled IDs will stay enabled even 3112 if other attributes are different. If the ID is unspecified (by calling the other 3113 constructor or 0. Arrays.hashCode(new Object[] {locale, mode, extraValue, 3114 isAuxiliary, overridesImplicitlyEnabledSubtype}) will be used instead. --> 3115 <attr name="subtypeId" format="integer"/> 3116 <!-- Set to true if this subtype is ASCII capable. If the subtype is ASCII 3117 capable, it should guarantee that the user can input ASCII characters with 3118 this subtype. This is important because many password fields only allow 3119 ASCII-characters. --> 3120 <attr name="isAsciiCapable" format="boolean" /> 3121 <!-- The BCP-47 Language Tag of the subtype. This replaces 3122 {@link android.R.styleable#InputMethod_Subtype_imeSubtypeLocale}. --> 3123 <attr name="languageTag" format="string" /> 3124 </declare-styleable> 3125 3126 <!-- Use <code>spell-checker</code> as the root tag of the XML resource that 3127 describes an 3128 {@link android.service.textservice.SpellCheckerService} service, which is 3129 referenced from its 3130 {@link android.view.textservice.SpellCheckerSession#SERVICE_META_DATA} 3131 meta-data entry. Described here are the attributes that can be 3132 included in that tag. --> 3133 <declare-styleable name="SpellChecker"> 3134 <!-- The name of the spell checker. --> 3135 <attr name="label" /> 3136 <!-- Component name of an activity that allows the user to modify 3137 the settings for this service. --> 3138 <attr name="settingsActivity"/> 3139 </declare-styleable> 3140 3141 <!-- This is the subtype of the spell checker. Subtype can describe locales (e.g. en_US, fr_FR...) --> 3142 <declare-styleable name="SpellChecker_Subtype"> 3143 <!-- The name of the subtype. --> 3144 <attr name="label" /> 3145 <!-- The locale of the subtype. This string should be a locale (e.g. en_US, fr_FR...) 3146 This is also used by the framework to know the supported locales 3147 of the spell checker. {@link android.view.textservice.SpellCheckerSubtype#getLocale()} 3148 returns the value specified in this attribute. --> 3149 <attr name="subtypeLocale" format="string" /> 3150 <!-- The extra value of the subtype. This string can be any string and will be passed to 3151 the SpellChecker. --> 3152 <attr name="subtypeExtraValue" format="string" /> 3153 <!-- The unique id for the subtype. The text service (spell checker) framework keeps track 3154 of enabled subtypes by ID. When the spell checker package gets upgraded, enabled IDs 3155 will stay enabled even if other attributes are different. If the ID is unspecified or 3156 or explicitly specified to 0 in XML resources, 3157 {@code Arrays.hashCode(new Object[] {subtypeLocale, extraValue}) will be used instead. 3158 --> 3159 <attr name="subtypeId" /> 3160 <!-- The BCP-47 Language Tag of the subtype. This replaces 3161 {@link android.R.styleable#SpellChecker_Subtype_subtypeLocale}. --> 3162 <attr name="languageTag" /> 3163 </declare-styleable> 3164 3165 <!-- Use <code>accessibility-service</code> as the root tag of the XML resource that 3166 describes an {@link android.accessibilityservice.AccessibilityService} service, 3167 which is referenced from its 3168 {@link android.accessibilityservice.AccessibilityService#SERVICE_META_DATA} 3169 meta-data entry. --> 3170 <declare-styleable name="AccessibilityService"> 3171 <!-- The event types this serivce would like to receive as specified in 3172 {@link android.view.accessibility.AccessibilityEvent}. This setting 3173 can be changed at runtime by calling 3174 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3175 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3176 <attr name="accessibilityEventTypes"> 3177 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CLICKED} events.--> 3178 <flag name="typeViewClicked" value="0x00000001" /> 3179 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_LONG_CLICKED} events. --> 3180 <flag name="typeViewLongClicked" value="0x00000002" /> 3181 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SELECTED} events. --> 3182 <flag name="typeViewSelected" value="0x00000004" /> 3183 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_FOCUSED} events. --> 3184 <flag name="typeViewFocused" value="0x00000008" /> 3185 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_CHANGED} events. --> 3186 <flag name="typeViewTextChanged" value="0x00000010" /> 3187 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_STATE_CHANGED} events. --> 3188 <flag name="typeWindowStateChanged" value="0x00000020" /> 3189 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_NOTIFICATION_STATE_CHANGED} events. --> 3190 <flag name="typeNotificationStateChanged" value="0x00000040" /> 3191 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_ENTER} events. --> 3192 <flag name="typeViewHoverEnter" value="0x00000080" /> 3193 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_HOVER_EXIT} events. --> 3194 <flag name="typeViewHoverExit" value="0x00000100" /> 3195 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_START} events. --> 3196 <flag name="typeTouchExplorationGestureStart" value="0x00000200" /> 3197 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_EXPLORATION_GESTURE_END} events. --> 3198 <flag name="typeTouchExplorationGestureEnd" value="0x00000400" /> 3199 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOW_CONTENT_CHANGED} events. --> 3200 <flag name="typeWindowContentChanged" value="0x00000800" /> 3201 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_SCROLLED} events. --> 3202 <flag name="typeViewScrolled" value="0x000001000" /> 3203 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_SELECTION_CHANGED} events. --> 3204 <flag name="typeViewTextSelectionChanged" value="0x000002000" /> 3205 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ANNOUNCEMENT} events. --> 3206 <flag name="typeAnnouncement" value="0x00004000" /> 3207 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUSED} events. --> 3208 <flag name="typeViewAccessibilityFocused" value="0x00008000" /> 3209 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_ACCESSIBILITY_FOCUS_CLEARED} events. --> 3210 <flag name="typeViewAccessibilityFocusCleared" value="0x00010000" /> 3211 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_TEXT_TRAVERSED_AT_MOVEMENT_GRANULARITY} events. --> 3212 <flag name="typeViewTextTraversedAtMovementGranularity" value="0x00020000" /> 3213 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_START} events. --> 3214 <flag name="typeGestureDetectionStart" value="0x00040000" /> 3215 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_GESTURE_DETECTION_END} events. --> 3216 <flag name="typeGestureDetectionEnd" value="0x00080000" /> 3217 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_START} events. --> 3218 <flag name="typeTouchInteractionStart" value="0x00100000" /> 3219 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_TOUCH_INTERACTION_END} events. --> 3220 <flag name="typeTouchInteractionEnd" value="0x00200000" /> 3221 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_WINDOWS_CHANGED} events. --> 3222 <flag name="typeWindowsChanged" value="0x00400000" /> 3223 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_VIEW_CONTEXT_CLICKED} events. --> 3224 <flag name="typeContextClicked" value="0x00800000" /> 3225 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPE_ASSIST_READING_CONTEXT} events. --> 3226 <flag name="typeAssistReadingContext" value="0x01000000" /> 3227 <!-- Receives {@link android.view.accessibility.AccessibilityEvent#TYPES_ALL_MASK} i.e. all events. --> 3228 <flag name="typeAllMask" value="0xffffffff" /> 3229 </attr> 3230 <!-- Comma separated package names from which this serivce would like to receive events (leave out for all packages). 3231 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3232 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3233 <attr name="packageNames" format="string" /> 3234 <!-- The feedback types this serivce provides as specified in 3235 {@link android.accessibilityservice.AccessibilityServiceInfo}. This setting 3236 can be changed at runtime by calling 3237 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3238 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3239 <attr name="accessibilityFeedbackType"> 3240 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_SPOKEN} feedback. --> 3241 <flag name="feedbackSpoken" value="0x00000001" /> 3242 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_HAPTIC} feedback. --> 3243 <flag name="feedbackHaptic" value="0x00000002" /> 3244 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_AUDIBLE} feedback. --> 3245 <flag name="feedbackAudible" value="0x00000004" /> 3246 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_VISUAL} feedback. --> 3247 <flag name="feedbackVisual" value="0x00000008" /> 3248 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_GENERIC} feedback. --> 3249 <flag name="feedbackGeneric" value="0x00000010" /> 3250 <!-- Provides {@link android.accessibilityservice.AccessibilityServiceInfo#FEEDBACK_ALL_MASK} feedback. --> 3251 <flag name="feedbackAllMask" value="0xffffffff" /> 3252 </attr> 3253 <!-- The minimal period in milliseconds between two accessibility events of the same type 3254 are sent to this serivce. This setting can be changed at runtime by calling 3255 {@link android.accessibilityservice.AccessibilityService#setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo) 3256 android.accessibilityservice.AccessibilityService.setServiceInfo(android.accessibilityservice.AccessibilityServiceInfo)}. --> 3257 <attr name="notificationTimeout" format="integer" /> 3258 <!-- Additional flags as specified in 3259 {@link android.accessibilityservice.AccessibilityServiceInfo}. 3260 This setting 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="accessibilityFlags"> 3264 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#DEFAULT} --> 3265 <flag name="flagDefault" value="0x00000001" /> 3266 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_INCLUDE_NOT_IMPORTANT_VIEWS} --> 3267 <flag name="flagIncludeNotImportantViews" value="0x00000002" /> 3268 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} --> 3269 <flag name="flagRequestTouchExplorationMode" value="0x00000004" /> 3270 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} --> 3271 <flag name="flagRequestEnhancedWebAccessibility" value="0x00000008" /> 3272 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REPORT_VIEW_IDS} --> 3273 <flag name="flagReportViewIds" value="0x00000010" /> 3274 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} --> 3275 <flag name="flagRequestFilterKeyEvents" value="0x00000020" /> 3276 <!-- Has flag {@link android.accessibilityservice.AccessibilityServiceInfo#FLAG_RETRIEVE_INTERACTIVE_WINDOWS} --> 3277 <flag name="flagRetrieveInteractiveWindows" value="0x00000040" /> 3278 </attr> 3279 <!-- Component name of an activity that allows the user to modify 3280 the settings for this service. This setting cannot be changed at runtime. --> 3281 <attr name="settingsActivity" /> 3282 <!-- Attribute whether the accessibility service wants to be able to retrieve the 3283 active window content. This setting cannot be changed at runtime. --> 3284 <attr name="canRetrieveWindowContent" format="boolean" /> 3285 <!-- Attribute whether the accessibility service wants to be able to request touch 3286 exploration mode in which touched items are spoken aloud and the UI can be 3287 explored via gestures. 3288 <p> 3289 Required to allow setting the {@link android.accessibilityservice 3290 #AccessibilityServiceInfo#FLAG_REQUEST_TOUCH_EXPLORATION_MODE} flag. 3291 </p> 3292 --> 3293 <attr name="canRequestTouchExplorationMode" format="boolean" /> 3294 <!-- Attribute whether the accessibility service wants to be able to request enhanced 3295 web accessibility enhancements. For example, installing scripts to make app 3296 content more accessible. 3297 <p> 3298 Required to allow setting the {@link android.accessibilityservice 3299 #AccessibilityServiceInfo#FLAG_REQUEST_ENHANCED_WEB_ACCESSIBILITY} flag. 3300 </p> 3301 --> 3302 <attr name="canRequestEnhancedWebAccessibility" format="boolean" /> 3303 <!-- Attribute whether the accessibility service wants to be able to request to 3304 filter key events. 3305 <p> 3306 Required to allow setting the {@link android.accessibilityservice 3307 #AccessibilityServiceInfo#FLAG_REQUEST_FILTER_KEY_EVENTS} flag. 3308 </p> 3309 --> 3310 <attr name="canRequestFilterKeyEvents" format="boolean" /> 3311 <!-- Attribute whether the accessibility service wants to be able to control 3312 display magnification. 3313 <p> 3314 Required to allow setting the {@link android.accessibilityservice 3315 #AccessibilityServiceInfo#FLAG_CAN_CONTROL_MAGNIFICATION} flag. 3316 </p> 3317 --> 3318 <attr name="canControlMagnification" format="boolean" /> 3319 <!-- Attribute whether the accessibility service wants to be able to perform gestures. 3320 <p> 3321 Required to allow setting the {@link android.accessibilityservice 3322 #AccessibilityServiceInfo#FLAG_CAN_PERFORM_GESTURES} flag. 3323 </p> 3324 --> 3325 <attr name="canPerformGestures" format="boolean" /> 3326 <!-- Short description of the accessibility service purpose or behavior.--> 3327 <attr name="description" /> 3328 </declare-styleable> 3329 3330 <!-- Use <code>print-service</code> as the root tag of the XML resource that 3331 describes an {@link android.printservice.PrintService} service, which is 3332 referenced from its {@link android.printservice.PrintService#SERVICE_META_DATA} 3333 meta-data entry. --> 3334 <declare-styleable name="PrintService"> 3335 <!-- Fully qualified class name of an activity that allows the user to modify 3336 the settings for this service. --> 3337 <attr name="settingsActivity" /> 3338 <!-- Fully qualified class name of an activity that allows the user to manually 3339 add printers to this print service. --> 3340 <attr name="addPrintersActivity" format="string"/> 3341 <!-- Fully qualified class name of an activity with advanced print options 3342 specific to this print service. --> 3343 <attr name="advancedPrintOptionsActivity" format="string"/> 3344 <!-- The vendor name if this print service is vendor specific. --> 3345 <attr name="vendor" format="string"/> 3346 </declare-styleable> 3347 3348 <!-- Use <code>host-apdu-service</code> as the root tag of the XML resource that 3349 describes an {@link android.nfc.cardemulation.HostApduService} service, which 3350 is referenced from its {@link android.nfc.cardemulation.HostApduService#SERVICE_META_DATA} 3351 entry. --> 3352 <declare-styleable name="HostApduService"> 3353 <!-- Short description of the functionality the service implements. This attribute 3354 is mandatory.--> 3355 <attr name="description" /> 3356 <!-- Whether the device must be unlocked before routing data to this service. 3357 The default is false.--> 3358 <attr name="requireDeviceUnlock" format="boolean"/> 3359 <!-- A drawable that can be rendered in Android's system UI for representing 3360 the service. --> 3361 <attr name="apduServiceBanner" format="reference"/> 3362 <!-- Component name of an activity that allows the user to modify 3363 the settings for this service. --> 3364 <attr name="settingsActivity"/> 3365 </declare-styleable> 3366 3367 <!-- Use <code>offhost-apdu-service</code> as the root tag of the XML resource that 3368 describes an {@link android.nfc.cardemulation.OffHostApduService} 3369 service, which is referenced from its 3370 {@link android.nfc.cardemulation.OffHostApduService#SERVICE_META_DATA} entry. --> 3371 <declare-styleable name="OffHostApduService"> 3372 <!-- Short description of the functionality the service implements. This attribute 3373 is mandatory.--> 3374 <attr name="description" /> 3375 <!-- A drawable that can be rendered in Android's system UI for representing 3376 the service. --> 3377 <attr name="apduServiceBanner"/> 3378 <!-- Component name of an activity that allows the user to modify 3379 the settings for this service. --> 3380 <attr name="settingsActivity"/> 3381 </declare-styleable> 3382 3383 <!-- Specify one or more <code>aid-group</code> elements inside a 3384 <code>host-apdu-service</code> or <code>offhost-apdu-service</code> 3385 element to define a group of ISO7816 Application ID (AIDs) that 3386 your service can handle.--> 3387 <declare-styleable name="AidGroup"> 3388 <!-- Short description of what the AID group implements. This attribute is mandatory.--> 3389 <attr name="description" /> 3390 <!-- The category attribute will be used by the Android platform to present 3391 multiple applications that register ISO 7816 Application IDs (AIDs) in the 3392 same category uniformly. 3393 Additionally, when a category is specified, Android will ensure that either 3394 all AIDs in this group are routed to this application, or none at all. 3395 This attribute is optional.--> 3396 <attr name="category" format="string" /> 3397 </declare-styleable> 3398 3399 <!-- Specify one or more <code>aid-filter</code> elements inside a 3400 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3401 your service can handle. --> 3402 <declare-styleable name="AidFilter"> 3403 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3404 <attr name="name" /> 3405 </declare-styleable> 3406 3407 <!-- Specify one or more <code>aid-prefix-filter</code> elements inside a 3408 <code>aid-group</code> element to specify an ISO7816 Application ID (AID) 3409 prefix your service can handle. --> 3410 <declare-styleable name="AidPrefixFilter"> 3411 <!-- The ISO7816 Application ID. This attribute is mandatory. --> 3412 <attr name="name" /> 3413 </declare-styleable> 3414 3415 <!-- Use <code>host-nfcf-service</code> as the root tag of the XML resource that 3416 describes an {@link android.nfc.cardemulation.HostNfcFService} service, which 3417 is referenced from its {@link android.nfc.cardemulation.HostNfcFService#SERVICE_META_DATA} 3418 entry. --> 3419 <declare-styleable name="HostNfcFService"> 3420 <!-- Short description of the functionality the service implements. This attribute 3421 is mandatory.--> 3422 <attr name="description" /> 3423 </declare-styleable> 3424 3425 <!-- Specify one or more <code>system-code-filter</code> elements inside a 3426 <code>host-nfcf-service</code> element to specify a System Code 3427 your service can handle. --> 3428 <declare-styleable name="SystemCodeFilter"> 3429 <!-- The System Code. This attribute is mandatory. --> 3430 <attr name="name" /> 3431 </declare-styleable> 3432 3433 <!-- Specify one or more <code>nfcid2-filter</code> elements inside a 3434 <code>host-nfcf-service</code> element to specify a NFCID2 3435 your service can handle. --> 3436 <declare-styleable name="Nfcid2Filter"> 3437 <!-- The NFCID2. This attribute is mandatory. --> 3438 <attr name="name" /> 3439 </declare-styleable> 3440 3441 <declare-styleable name="ActionMenuItemView"> 3442 <attr name="minWidth" /> 3443 </declare-styleable> 3444 3445 <!-- =============================== --> 3446 <!-- Widget package class attributes --> 3447 <!-- =============================== --> 3448 <eat-comment /> 3449 3450 <declare-styleable name="AbsListView"> 3451 <!-- Drawable used to indicate the currently selected item in the list. --> 3452 <attr name="listSelector" format="color|reference" /> 3453 <!-- When set to true, the selector will be drawn over the selected item. 3454 Otherwise the selector is drawn behind the selected item. The default 3455 value is false. --> 3456 <attr name="drawSelectorOnTop" format="boolean" /> 3457 <!-- Used by ListView and GridView to stack their content from the bottom. --> 3458 <attr name="stackFromBottom" format="boolean" /> 3459 <!-- When set to true, the list uses a drawing cache during scrolling. 3460 This makes the rendering faster but uses more memory. The default 3461 value is true. --> 3462 <attr name="scrollingCache" format="boolean" /> 3463 <!-- When set to true, the list will filter results as the user types. The 3464 List's adapter must support the Filterable interface for this to work. --> 3465 <attr name="textFilterEnabled" format="boolean" /> 3466 <!-- Sets the transcript mode for the list. In transcript mode, the list 3467 scrolls to the bottom to make new items visible when they are added. --> 3468 <attr name="transcriptMode"> 3469 <!-- Disables transcript mode. This is the default value. --> 3470 <enum name="disabled" value="0"/> 3471 <!-- The list will automatically scroll to the bottom when 3472 a data set change notification is received and only if the last item is 3473 already visible on screen. --> 3474 <enum name="normal" value="1" /> 3475 <!-- The list will automatically scroll to the bottom, no matter what items 3476 are currently visible. --> 3477 <enum name="alwaysScroll" value="2" /> 3478 </attr> 3479 <!-- Indicates that this list will always be drawn on top of solid, single-color 3480 opaque background. This allows the list to optimize drawing. --> 3481 <attr name="cacheColorHint" format="color" /> 3482 <!-- Enables the fast scroll thumb that can be dragged to quickly scroll through 3483 the list. --> 3484 <attr name="fastScrollEnabled" format="boolean" /> 3485 <!-- Specifies the style of the fast scroll decorations. --> 3486 <attr name="fastScrollStyle" format="reference" /> 3487 <!-- When set to true, the list will use a more refined calculation 3488 method based on the pixels height of the items visible on screen. This 3489 property is set to true by default but should be set to false if your adapter 3490 will display items of varying heights. When this property is set to true and 3491 your adapter displays items of varying heights, the scrollbar thumb will 3492 change size as the user scrolls through the list. When set to fale, the list 3493 will use only the number of items in the adapter and the number of items visible 3494 on screen to determine the scrollbar's properties. --> 3495 <attr name="smoothScrollbar" format="boolean" /> 3496 <!-- Defines the choice behavior for the view. By default, lists do not have 3497 any choice behavior. By setting the choiceMode to singleChoice, the list 3498 allows up to one item to be in a chosen state. By setting the choiceMode to 3499 multipleChoice, the list allows any number of items to be chosen. 3500 Finally, by setting the choiceMode to multipleChoiceModal the list allows 3501 any number of items to be chosen in a special selection mode. 3502 The application will supply a 3503 {@link android.widget.AbsListView.MultiChoiceModeListener} using 3504 {@link android.widget.AbsListView#setMultiChoiceModeListener} to control the 3505 selection mode. This uses the {@link android.view.ActionMode} API. --> 3506 <attr name="choiceMode"> 3507 <!-- Normal list that does not indicate choices. --> 3508 <enum name="none" value="0" /> 3509 <!-- The list allows up to one choice. --> 3510 <enum name="singleChoice" value="1" /> 3511 <!-- The list allows multiple choices. --> 3512 <enum name="multipleChoice" value="2" /> 3513 <!-- The list allows multiple choices in a custom selection mode. --> 3514 <enum name="multipleChoiceModal" value="3" /> 3515 </attr> 3516 3517 <!-- When set to true, the list will always show the fast scroll interface. 3518 This setting implies fastScrollEnabled. --> 3519 <attr name="fastScrollAlwaysVisible" format="boolean" /> 3520 </declare-styleable> 3521 <declare-styleable name="AbsSpinner"> 3522 <!-- Reference to an array resource that will populate the Spinner. For static content, 3523 this is simpler than populating the Spinner programmatically. --> 3524 <attr name="entries" /> 3525 </declare-styleable> 3526 <declare-styleable name="AnalogClock"> 3527 <attr name="dial" format="reference"/> 3528 <attr name="hand_hour" format="reference"/> 3529 <attr name="hand_minute" format="reference"/> 3530 </declare-styleable> 3531 <declare-styleable name="Button"> 3532 </declare-styleable> 3533 <declare-styleable name="Chronometer"> 3534 <!-- Format string: if specified, the Chronometer will display this 3535 string, with the first "%s" replaced by the current timer value 3536 in "MM:SS" or "H:MM:SS" form. 3537 If no format string is specified, the Chronometer will simply display 3538 "MM:SS" or "H:MM:SS". --> 3539 <attr name="format" format="string" localization="suggested" /> 3540 </declare-styleable> 3541 <declare-styleable name="CompoundButton"> 3542 <!-- Indicates the initial checked state of this button. --> 3543 <attr name="checked" format="boolean" /> 3544 <!-- Drawable used for the button graphic (e.g. checkbox, radio button, etc). --> 3545 <attr name="button" format="reference" /> 3546 <!-- Tint to apply to the button graphic. --> 3547 <attr name="buttonTint" format="color" /> 3548 <!-- Blending mode used to apply the button graphic tint. --> 3549 <attr name="buttonTintMode"> 3550 <!-- The tint is drawn on top of the drawable. 3551 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3552 <enum name="src_over" value="3" /> 3553 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3554 color channels are thrown out. [Sa * Da, Sc * Da] --> 3555 <enum name="src_in" value="5" /> 3556 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3557 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3558 <enum name="src_atop" value="9" /> 3559 <!-- Multiplies the color and alpha channels of the drawable with those of 3560 the tint. [Sa * Da, Sc * Dc] --> 3561 <enum name="multiply" value="14" /> 3562 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3563 <enum name="screen" value="15" /> 3564 <!-- Combines the tint and drawable color and alpha channels, clamping the 3565 result to valid color values. Saturate(S + D) --> 3566 <enum name="add" value="16" /> 3567 </attr> 3568 </declare-styleable> 3569 <declare-styleable name="CheckedTextView"> 3570 <!-- Indicates the initial checked state of this text. --> 3571 <attr name="checked" /> 3572 <!-- Drawable used for the check mark graphic. --> 3573 <attr name="checkMark" format="reference"/> 3574 <!-- Tint to apply to the check mark. --> 3575 <attr name="checkMarkTint" format="color" /> 3576 <!-- Blending mode used to apply the check mark tint. --> 3577 <attr name="checkMarkTintMode"> 3578 <!-- The tint is drawn on top of the drawable. 3579 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3580 <enum name="src_over" value="3" /> 3581 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3582 color channels are thrown out. [Sa * Da, Sc * Da] --> 3583 <enum name="src_in" value="5" /> 3584 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3585 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3586 <enum name="src_atop" value="9" /> 3587 <!-- Multiplies the color and alpha channels of the drawable with those of 3588 the tint. [Sa * Da, Sc * Dc] --> 3589 <enum name="multiply" value="14" /> 3590 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3591 <enum name="screen" value="15" /> 3592 <!-- Combines the tint and drawable color and alpha channels, clamping the 3593 result to valid color values. Saturate(S + D) --> 3594 <enum name="add" value="16" /> 3595 </attr> 3596 <!-- Gravity for aligning a CheckedTextView's checkmark to one side or the other. --> 3597 <attr name="checkMarkGravity"> 3598 <!-- Push object to the left of its container, not changing its size. --> 3599 <flag name="left" value="0x03" /> 3600 <!-- Push object to the right of its container, not changing its size. --> 3601 <flag name="right" value="0x05" /> 3602 <!-- Push object to the beginning of its container, not changing its size. --> 3603 <flag name="start" value="0x00800003" /> 3604 <!-- Push object to the end of its container, not changing its size. --> 3605 <flag name="end" value="0x00800005" /> 3606 </attr> 3607 </declare-styleable> 3608 <declare-styleable name="EditText"> 3609 </declare-styleable> 3610 <declare-styleable name="FastScroll"> 3611 <!-- Drawable used for the scroll bar thumb. --> 3612 <attr name="thumbDrawable" format="reference" /> 3613 <!-- Minimum width of the thumb. --> 3614 <attr name="thumbMinWidth" format="dimension" /> 3615 <!-- Minimum height of the thumb. --> 3616 <attr name="thumbMinHeight" format="dimension" /> 3617 <!-- Drawable used for the scroll bar track. --> 3618 <attr name="trackDrawable" format="reference" /> 3619 <!-- Drawable used for the section header preview when right-aligned. --> 3620 <attr name="backgroundRight" format="reference" /> 3621 <!-- Drawable used for the section header preview when left-aligned. --> 3622 <attr name="backgroundLeft" format="reference" /> 3623 <!-- Position of section header preview. --> 3624 <attr name="position"> 3625 <!-- Floating at the top of the content. --> 3626 <enum name="floating" value="0" /> 3627 <!-- Pinned to the thumb, vertically centered with the middle of the thumb. --> 3628 <enum name="atThumb" value="1" /> 3629 <!-- Pinned to the thumb, vertically centered with the top edge of the thumb. --> 3630 <enum name="aboveThumb" value="2" /> 3631 </attr> 3632 <attr name="textAppearance" /> 3633 <attr name="textColor" /> 3634 <attr name="textSize" /> 3635 <!-- Minimum width of the section header preview. --> 3636 <attr name="minWidth" /> 3637 <!-- Minimum height of the section header preview. --> 3638 <attr name="minHeight" /> 3639 <!-- Padding for the section header preview. --> 3640 <attr name="padding" /> 3641 <!-- Position of thumb in relation to the track. --> 3642 <attr name="thumbPosition"> 3643 <!-- The thumb's midpoint is anchored to the track. At its 3644 extremes, the thumb will extend half-way outside the 3645 track. --> 3646 <enum name="midpoint" value="0" /> 3647 <!-- The thumb is entirely inside the track. At its extremes, 3648 the thumb will be contained entirely within the track. --> 3649 <enum name="inside" value="1" /> 3650 </attr> 3651 </declare-styleable> 3652 <declare-styleable name="FrameLayout"> 3653 <!-- Determines whether to measure all children or just those in 3654 the VISIBLE or INVISIBLE state when measuring. Defaults to false. --> 3655 <attr name="measureAllChildren" format="boolean" /> 3656 </declare-styleable> 3657 <declare-styleable name="ExpandableListView"> 3658 <!-- Indicator shown beside the group View. This can be a stateful Drawable. --> 3659 <attr name="groupIndicator" format="reference" /> 3660 <!-- Indicator shown beside the child View. This can be a stateful Drawable. --> 3661 <attr name="childIndicator" format="reference" /> 3662 <!-- The left bound for an item's indicator. To specify a left bound specific to children, 3663 use childIndicatorLeft. --> 3664 <attr name="indicatorLeft" format="dimension" /> 3665 <!-- The right bound for an item's indicator. To specify a right bound specific to children, 3666 use childIndicatorRight. --> 3667 <attr name="indicatorRight" format="dimension" /> 3668 <!-- The left bound for a child's indicator. --> 3669 <attr name="childIndicatorLeft" format="dimension" /> 3670 <!-- The right bound for a child's indicator. --> 3671 <attr name="childIndicatorRight" format="dimension" /> 3672 <!-- Drawable or color that is used as a divider for children. (It will drawn 3673 below and above child items.) The height of this will be the same as 3674 the height of the normal list item divider. --> 3675 <attr name="childDivider" format="reference|color" /> 3676 <!-- The start bound for an item's indicator. To specify a start bound specific to children, 3677 use childIndicatorStart. --> 3678 <attr name="indicatorStart" format="dimension" /> 3679 <!-- The end bound for an item's indicator. To specify a right bound specific to children, 3680 use childIndicatorEnd. --> 3681 <attr name="indicatorEnd" format="dimension" /> 3682 <!-- The start bound for a child's indicator. --> 3683 <attr name="childIndicatorStart" format="dimension" /> 3684 <!-- The end bound for a child's indicator. --> 3685 <attr name="childIndicatorEnd" format="dimension" /> 3686 </declare-styleable> 3687 <declare-styleable name="Gallery"> 3688 <attr name="gravity" /> 3689 <!-- Sets how long a transition animation should run (in milliseconds) 3690 when layout has changed. Only relevant if animation is turned on. --> 3691 <attr name="animationDuration" format="integer" min="0" /> 3692 <attr name="spacing" format="dimension" /> 3693 <!-- Sets the alpha on the items that are not selected. --> 3694 <attr name="unselectedAlpha" format="float" /> 3695 </declare-styleable> 3696 <declare-styleable name="GridView"> 3697 <!-- Defines the default horizontal spacing between columns. --> 3698 <attr name="horizontalSpacing" format="dimension" /> 3699 <!-- Defines the default vertical spacing between rows. --> 3700 <attr name="verticalSpacing" format="dimension" /> 3701 <!-- Defines how columns should stretch to fill the available empty space, if any. --> 3702 <attr name="stretchMode"> 3703 <!-- Stretching is disabled. --> 3704 <enum name="none" value="0"/> 3705 <!-- The spacing between each column is stretched. --> 3706 <enum name="spacingWidth" value="1" /> 3707 <!-- Each column is stretched equally. --> 3708 <enum name="columnWidth" value="2" /> 3709 <!-- The spacing between each column is uniformly stretched.. --> 3710 <enum name="spacingWidthUniform" value="3" /> 3711 </attr> 3712 <!-- Specifies the fixed width for each column. --> 3713 <attr name="columnWidth" format="dimension" /> 3714 <!-- Defines how many columns to show. --> 3715 <attr name="numColumns" format="integer" min="0"> 3716 <!-- Display as many columns as possible to fill the available space. --> 3717 <enum name="auto_fit" value="-1" /> 3718 </attr> 3719 <!-- Specifies the gravity within each cell. --> 3720 <attr name="gravity" /> 3721 </declare-styleable> 3722 <declare-styleable name="ImageSwitcher"> 3723 </declare-styleable> 3724 <declare-styleable name="ImageView"> 3725 <!-- Sets a drawable as the content of this ImageView. --> 3726 <attr name="src" format="reference|color" /> 3727 <!-- Controls how the image should be resized or moved to match the size 3728 of this ImageView. See {@link android.widget.ImageView.ScaleType} --> 3729 <attr name="scaleType"> 3730 <!-- Scale using the image matrix when drawing. See 3731 {@link android.widget.ImageView#setImageMatrix(Matrix)}. --> 3732 <enum name="matrix" value="0" /> 3733 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#FILL}. --> 3734 <enum name="fitXY" value="1" /> 3735 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#START}. --> 3736 <enum name="fitStart" value="2" /> 3737 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#CENTER}. --> 3738 <enum name="fitCenter" value="3" /> 3739 <!-- Scale the image using {@link android.graphics.Matrix.ScaleToFit#END}. --> 3740 <enum name="fitEnd" value="4" /> 3741 <!-- Center the image in the view, but perform no scaling. --> 3742 <enum name="center" value="5" /> 3743 <!-- Scale the image uniformly (maintain the image's aspect ratio) so both dimensions 3744 (width and height) of the image will be equal to or larger than the corresponding 3745 dimension of the view (minus padding). The image is then centered in the view. --> 3746 <enum name="centerCrop" value="6" /> 3747 <!-- Scale the image uniformly (maintain the image's aspect ratio) so that both 3748 dimensions (width and height) of the image will be equal to or less than the 3749 corresponding dimension of the view (minus padding). The image is then centered in 3750 the view. --> 3751 <enum name="centerInside" value="7" /> 3752 </attr> 3753 <!-- Set this to true if you want the ImageView to adjust its bounds 3754 to preserve the aspect ratio of its drawable. --> 3755 <attr name="adjustViewBounds" format="boolean" /> 3756 <!-- An optional argument to supply a maximum width for this view. 3757 See {see android.widget.ImageView#setMaxWidth} for details. --> 3758 <attr name="maxWidth" format="dimension" /> 3759 <!-- An optional argument to supply a maximum height for this view. 3760 See {see android.widget.ImageView#setMaxHeight} for details. --> 3761 <attr name="maxHeight" format="dimension" /> 3762 <!-- Set a tinting color for the image. By default, the tint will blend using SRC_ATOP mode. --> 3763 <attr name="tint" format="color" /> 3764 <!-- If true, the image view will be baseline aligned with based on its 3765 bottom edge. --> 3766 <attr name="baselineAlignBottom" format="boolean" /> 3767 <!-- If true, the image will be cropped to fit within its padding. --> 3768 <attr name="cropToPadding" format="boolean" /> 3769 <!-- The offset of the baseline within this view. See {see android.view.View#getBaseline} 3770 for details --> 3771 <attr name="baseline" format="dimension" /> 3772 <!-- @hide The alpha value (0-255) set on the ImageView's drawable. Equivalent 3773 to calling ImageView.setAlpha(int), not the same as View.setAlpha(float). --> 3774 <attr name="drawableAlpha" format="integer" /> 3775 <!-- Blending mode used to apply the image tint. --> 3776 <attr name="tintMode" /> 3777 </declare-styleable> 3778 <declare-styleable name="ToggleButton"> 3779 <!-- The text for the button when it is checked. --> 3780 <attr name="textOn" format="string" /> 3781 <!-- The text for the button when it is not checked. --> 3782 <attr name="textOff" format="string" /> 3783 <!-- The alpha to apply to the indicator when disabled. --> 3784 <attr name="disabledAlpha" /> 3785 </declare-styleable> 3786 <declare-styleable name="RelativeLayout"> 3787 <attr name="gravity" /> 3788 <!-- Indicates what view should not be affected by gravity. --> 3789 <attr name="ignoreGravity" format="reference" /> 3790 </declare-styleable> 3791 <declare-styleable name="LinearLayout"> 3792 <!-- Should the layout be a column or a row? Use "horizontal" 3793 for a row, "vertical" for a column. The default is 3794 horizontal. --> 3795 <attr name="orientation" /> 3796 <attr name="gravity" /> 3797 <!-- When set to false, prevents the layout from aligning its children's 3798 baselines. This attribute is particularly useful when the children 3799 use different values for gravity. The default value is true. --> 3800 <attr name="baselineAligned" format="boolean" /> 3801 <!-- When a linear layout is part of another layout that is baseline 3802 aligned, it can specify which of its children to baseline align to 3803 (that is, which child TextView).--> 3804 <attr name="baselineAlignedChildIndex" format="integer" min="0"/> 3805 <!-- Defines the maximum weight sum. If unspecified, the sum is computed 3806 by adding the layout_weight of all of the children. This can be 3807 used for instance to give a single child 50% of the total available 3808 space by giving it a layout_weight of 0.5 and setting the weightSum 3809 to 1.0. --> 3810 <attr name="weightSum" format="float" /> 3811 <!-- When set to true, all children with a weight will be considered having 3812 the minimum size of the largest child. If false, all children are 3813 measured normally. --> 3814 <attr name="measureWithLargestChild" format="boolean" /> 3815 <!-- Drawable to use as a vertical divider between buttons. --> 3816 <attr name="divider" /> 3817 <!-- Setting for which dividers to show. --> 3818 <attr name="showDividers"> 3819 <flag name="none" value="0" /> 3820 <flag name="beginning" value="1" /> 3821 <flag name="middle" value="2" /> 3822 <flag name="end" value="4" /> 3823 </attr> 3824 <!-- Size of padding on either end of a divider. --> 3825 <attr name="dividerPadding" format="dimension" /> 3826 </declare-styleable> 3827 <declare-styleable name="GridLayout"> 3828 <!-- The orientation property is not used during layout. It is only used to 3829 allocate row and column parameters when they are not specified by its children's 3830 layout paramters. GridLayout works like LinearLayout in this case; 3831 putting all the components either in a single row or in a single column - 3832 depending on the value of this flag. In the horizontal case, a columnCount 3833 property may be additionally supplied to force new rows to be created when a 3834 row is full. The rowCount attribute may be used similarly in the vertical case. 3835 The default is horizontal. --> 3836 <attr name="orientation" /> 3837 <!-- The maxmimum number of rows to create when automatically positioning children. --> 3838 <attr name="rowCount" format="integer" /> 3839 <!-- The maxmimum number of columns to create when automatically positioning children. --> 3840 <attr name="columnCount" format="integer" /> 3841 <!-- When set to true, tells GridLayout to use default margins when none are specified 3842 in a view's layout parameters. 3843 The default value is false. 3844 See {@link android.widget.GridLayout#setUseDefaultMargins(boolean)}.--> 3845 <attr name="useDefaultMargins" format="boolean" /> 3846 <!-- When set to alignMargins, causes alignment to take place between the outer 3847 boundary of a view, as defined by its margins. When set to alignBounds, 3848 causes alignment to take place between the edges of the view. 3849 The default is alignMargins. 3850 See {@link android.widget.GridLayout#setAlignmentMode(int)}.--> 3851 <attr name="alignmentMode" /> 3852 <!-- When set to true, forces row boundaries to appear in the same order 3853 as row indices. 3854 The default is true. 3855 See {@link android.widget.GridLayout#setRowOrderPreserved(boolean)}.--> 3856 <attr name="rowOrderPreserved" format="boolean" /> 3857 <!-- When set to true, forces column boundaries to appear in the same order 3858 as column indices. 3859 The default is true. 3860 See {@link android.widget.GridLayout#setColumnOrderPreserved(boolean)}.--> 3861 <attr name="columnOrderPreserved" format="boolean" /> 3862 </declare-styleable> 3863 <declare-styleable name="ListView"> 3864 <!-- Reference to an array resource that will populate the ListView. For static content, 3865 this is simpler than populating the ListView programmatically. --> 3866 <attr name="entries" /> 3867 <!-- Drawable or color to draw between list items. --> 3868 <attr name="divider" format="reference|color" /> 3869 <!-- Height of the divider. Will use the intrinsic height of the divider if this 3870 is not specified. --> 3871 <attr name="dividerHeight" format="dimension" /> 3872 <!-- When set to false, the ListView will not draw the divider after each header view. 3873 The default value is true. --> 3874 <attr name="headerDividersEnabled" format="boolean" /> 3875 <!-- When set to false, the ListView will not draw the divider before each footer view. 3876 The default value is true. --> 3877 <attr name="footerDividersEnabled" format="boolean" /> 3878 <!-- Drawable to draw above list content. --> 3879 <attr name="overScrollHeader" format="reference|color" /> 3880 <!-- Drawable to draw below list content. --> 3881 <attr name="overScrollFooter" format="reference|color" /> 3882 </declare-styleable> 3883 <declare-styleable name="PreferenceFrameLayout"> 3884 <!-- Padding to use at the top of the prefs content. --> 3885 <attr name="borderTop" format="dimension" /> 3886 <!-- Padding to use at the bottom of the prefs content. --> 3887 <attr name="borderBottom" format="dimension" /> 3888 <!-- Padding to use at the left of the prefs content. --> 3889 <attr name="borderLeft" format="dimension" /> 3890 <!-- Padding to use at the right of the prefs content. --> 3891 <attr name="borderRight" format="dimension" /> 3892 </declare-styleable> 3893 <declare-styleable name="PreferenceFrameLayout_Layout"> 3894 <!-- Padding to use at the top of the prefs content. --> 3895 <attr name="layout_removeBorders" format="boolean" /> 3896 </declare-styleable> 3897 <declare-styleable name="MenuView"> 3898 <!-- Default appearance of menu item text. --> 3899 <attr name="itemTextAppearance" format="reference" /> 3900 <!-- Default horizontal divider between rows of menu items. --> 3901 <attr name="horizontalDivider" format="reference" /> 3902 <!-- Default vertical divider between menu items. --> 3903 <attr name="verticalDivider" format="reference" /> 3904 <!-- Default background for the menu header. --> 3905 <attr name="headerBackground" format="color|reference" /> 3906 <!-- Default background for each menu item. --> 3907 <attr name="itemBackground" format="color|reference" /> 3908 <!-- Default animations for the menu. --> 3909 <attr name="windowAnimationStyle" /> 3910 <!-- Default disabled icon alpha for each menu item that shows an icon. --> 3911 <attr name="itemIconDisabledAlpha" format="float" /> 3912 <!-- Whether space should be reserved in layout when an icon is missing. --> 3913 <attr name="preserveIconSpacing" format="boolean" /> 3914 <!-- Drawable for the arrow icon indicating a particular item is a submenu. --> 3915 <attr name="subMenuArrow" format="reference" /> 3916 </declare-styleable> 3917 <declare-styleable name="IconMenuView"> 3918 <!-- Defines the height of each row. --> 3919 <attr name="rowHeight" format="dimension" /> 3920 <!-- Defines the maximum number of rows displayed. --> 3921 <attr name="maxRows" format="integer" /> 3922 <!-- Defines the maximum number of items per row. --> 3923 <attr name="maxItemsPerRow" format="integer" /> 3924 <!-- Defines the maximum number of items to show. --> 3925 <attr name="maxItems" format="integer" /> 3926 <!-- 'More' icon. --> 3927 <attr name="moreIcon" format="reference" /> 3928 </declare-styleable> 3929 3930 <declare-styleable name="ProgressBar"> 3931 <!-- Defines the maximum value the progress can take. --> 3932 <attr name="max" format="integer" /> 3933 <!-- Defines the default progress value, between 0 and max. --> 3934 <attr name="progress" format="integer" /> 3935 <!-- Defines the secondary progress value, between 0 and max. This progress is drawn between 3936 the primary progress and the background. It can be ideal for media scenarios such as 3937 showing the buffering progress while the default progress shows the play progress. --> 3938 <attr name="secondaryProgress" format="integer" /> 3939 <!-- Allows to enable the indeterminate mode. In this mode the progress 3940 bar plays an infinite looping animation. --> 3941 <attr name="indeterminate" format="boolean" /> 3942 <!-- Restricts to ONLY indeterminate mode (state-keeping progress mode will not work). --> 3943 <attr name="indeterminateOnly" format="boolean" /> 3944 <!-- Drawable used for the indeterminate mode. --> 3945 <attr name="indeterminateDrawable" format="reference" /> 3946 <!-- Drawable used for the progress mode. --> 3947 <attr name="progressDrawable" format="reference" /> 3948 <!-- Duration of the indeterminate animation. --> 3949 <attr name="indeterminateDuration" format="integer" min="1" /> 3950 <!-- Defines how the indeterminate mode should behave when the progress 3951 reaches max. --> 3952 <attr name="indeterminateBehavior"> 3953 <!-- Progress starts over from 0. --> 3954 <enum name="repeat" value="1" /> 3955 <!-- Progress keeps the current value and goes back to 0. --> 3956 <enum name="cycle" value="2" /> 3957 </attr> 3958 <attr name="minWidth" format="dimension" /> 3959 <attr name="maxWidth" /> 3960 <attr name="minHeight" format="dimension" /> 3961 <attr name="maxHeight" /> 3962 <attr name="interpolator" format="reference" /> 3963 <!-- Timeout between frames of animation in milliseconds 3964 {@deprecated Not used by the framework.} --> 3965 <attr name="animationResolution" format="integer" /> 3966 <!-- Defines if the associated drawables need to be mirrored when in RTL mode. 3967 Default is false --> 3968 <attr name="mirrorForRtl" format="boolean" /> 3969 <!-- Tint to apply to the progress indicator. --> 3970 <attr name="progressTint" format="color" /> 3971 <!-- Blending mode used to apply the progress indicator tint. --> 3972 <attr name="progressTintMode"> 3973 <!-- The tint is drawn on top of the drawable. 3974 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3975 <enum name="src_over" value="3" /> 3976 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3977 color channels are thrown out. [Sa * Da, Sc * Da] --> 3978 <enum name="src_in" value="5" /> 3979 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 3980 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 3981 <enum name="src_atop" value="9" /> 3982 <!-- Multiplies the color and alpha channels of the drawable with those of 3983 the tint. [Sa * Da, Sc * Dc] --> 3984 <enum name="multiply" value="14" /> 3985 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 3986 <enum name="screen" value="15" /> 3987 <!-- Combines the tint and drawable color and alpha channels, clamping the 3988 result to valid color values. Saturate(S + D) --> 3989 <enum name="add" value="16" /> 3990 </attr> 3991 <!-- Tint to apply to the progress indicator background. --> 3992 <attr name="progressBackgroundTint" format="color" /> 3993 <!-- Blending mode used to apply the progress indicator background tint. --> 3994 <attr name="progressBackgroundTintMode"> 3995 <!-- The tint is drawn on top of the drawable. 3996 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 3997 <enum name="src_over" value="3" /> 3998 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 3999 color channels are thrown out. [Sa * Da, Sc * Da] --> 4000 <enum name="src_in" value="5" /> 4001 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4002 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4003 <enum name="src_atop" value="9" /> 4004 <!-- Multiplies the color and alpha channels of the drawable with those of 4005 the tint. [Sa * Da, Sc * Dc] --> 4006 <enum name="multiply" value="14" /> 4007 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4008 <enum name="screen" value="15" /> 4009 <!-- Combines the tint and drawable color and alpha channels, clamping the 4010 result to valid color values. Saturate(S + D) --> 4011 <enum name="add" value="16" /> 4012 </attr> 4013 <!-- Tint to apply to the secondary progress indicator. --> 4014 <attr name="secondaryProgressTint" format="color" /> 4015 <!-- Blending mode used to apply the secondary progress indicator tint. --> 4016 <attr name="secondaryProgressTintMode"> 4017 <!-- The tint is drawn on top of the drawable. 4018 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4019 <enum name="src_over" value="3" /> 4020 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4021 color channels are thrown out. [Sa * Da, Sc * Da] --> 4022 <enum name="src_in" value="5" /> 4023 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4024 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4025 <enum name="src_atop" value="9" /> 4026 <!-- Multiplies the color and alpha channels of the drawable with those of 4027 the tint. [Sa * Da, Sc * Dc] --> 4028 <enum name="multiply" value="14" /> 4029 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4030 <enum name="screen" value="15" /> 4031 <!-- Combines the tint and drawable color and alpha channels, clamping the 4032 result to valid color values. Saturate(S + D) --> 4033 <enum name="add" value="16" /> 4034 </attr> 4035 <!-- Tint to apply to the indeterminate progress indicator. --> 4036 <attr name="indeterminateTint" format="color" /> 4037 <!-- Blending mode used to apply the indeterminate progress indicator tint. --> 4038 <attr name="indeterminateTintMode"> 4039 <!-- The tint is drawn on top of the drawable. 4040 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4041 <enum name="src_over" value="3" /> 4042 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4043 color channels are thrown out. [Sa * Da, Sc * Da] --> 4044 <enum name="src_in" value="5" /> 4045 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4046 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4047 <enum name="src_atop" value="9" /> 4048 <!-- Multiplies the color and alpha channels of the drawable with those of 4049 the tint. [Sa * Da, Sc * Dc] --> 4050 <enum name="multiply" value="14" /> 4051 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4052 <enum name="screen" value="15" /> 4053 <!-- Combines the tint and drawable color and alpha channels, clamping the 4054 result to valid color values. Saturate(S + D) --> 4055 <enum name="add" value="16" /> 4056 </attr> 4057 <!-- Tint to apply to the background. --> 4058 <attr name="backgroundTint" /> 4059 <!-- Blending mode used to apply the background tint. --> 4060 <attr name="backgroundTintMode" /> 4061 </declare-styleable> 4062 4063 <declare-styleable name="SeekBar"> 4064 <!-- Draws the thumb on a seekbar. --> 4065 <attr name="thumb" format="reference" /> 4066 <!-- An offset for the thumb that allows it to extend out of the range of the track. --> 4067 <attr name="thumbOffset" format="dimension" /> 4068 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 4069 <attr name="splitTrack" format="boolean" /> 4070 <!-- Whether to force the track's alpha to ?android:attr/disabledAlpha 4071 when disabled. This is required for Holo and Gingerbread, but 4072 should always be false for Material and beyond. 4073 @hide Developers shouldn't need to change this. --> 4074 <attr name="useDisabledAlpha" format="boolean" /> 4075 <!-- Tint to apply to the thumb drawable. --> 4076 <attr name="thumbTint" format="color" /> 4077 <!-- Blending mode used to apply the thumb tint. --> 4078 <attr name="thumbTintMode"> 4079 <!-- The tint is drawn on top of the drawable. 4080 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4081 <enum name="src_over" value="3" /> 4082 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4083 color channels are thrown out. [Sa * Da, Sc * Da] --> 4084 <enum name="src_in" value="5" /> 4085 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4086 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4087 <enum name="src_atop" value="9" /> 4088 <!-- Multiplies the color and alpha channels of the drawable with those of 4089 the tint. [Sa * Da, Sc * Dc] --> 4090 <enum name="multiply" value="14" /> 4091 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4092 <enum name="screen" value="15" /> 4093 <!-- Combines the tint and drawable color and alpha channels, clamping the 4094 result to valid color values. Saturate(S + D) --> 4095 <enum name="add" value="16" /> 4096 </attr> 4097 <!-- Drawable displayed at each progress position on a seekbar. --> 4098 <attr name="tickMark" format="reference" /> 4099 <!-- Tint to apply to the tick mark drawable. --> 4100 <attr name="tickMarkTint" format="color" /> 4101 <!-- Blending mode used to apply the tick mark tint. --> 4102 <attr name="tickMarkTintMode"> 4103 <!-- The tint is drawn on top of the drawable. 4104 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4105 <enum name="src_over" value="3" /> 4106 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4107 color channels are thrown out. [Sa * Da, Sc * Da] --> 4108 <enum name="src_in" value="5" /> 4109 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4110 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4111 <enum name="src_atop" value="9" /> 4112 <!-- Multiplies the color and alpha channels of the drawable with those of 4113 the tint. [Sa * Da, Sc * Dc] --> 4114 <enum name="multiply" value="14" /> 4115 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4116 <enum name="screen" value="15" /> 4117 <!-- Combines the tint and drawable color and alpha channels, clamping the 4118 result to valid color values. Saturate(S + D) --> 4119 <enum name="add" value="16" /> 4120 </attr> 4121 </declare-styleable> 4122 4123 <declare-styleable name="StackView"> 4124 <!-- Color of the res-out outline. --> 4125 <attr name="resOutColor" format="color" /> 4126 <!-- Color of the outline of click feedback. --> 4127 <attr name="clickColor" format="color" /> 4128 </declare-styleable> 4129 4130 <declare-styleable name="RatingBar"> 4131 <!-- The number of stars (or rating items) to show. --> 4132 <attr name="numStars" format="integer" /> 4133 <!-- The rating to set by default. --> 4134 <attr name="rating" format="float" /> 4135 <!-- The step size of the rating. --> 4136 <attr name="stepSize" format="float" /> 4137 <!-- Whether this rating bar is an indicator (and non-changeable by the user). --> 4138 <attr name="isIndicator" format="boolean" /> 4139 </declare-styleable> 4140 4141 <declare-styleable name="RadioGroup"> 4142 <!-- The id of the child radio button that should be checked by default 4143 within this radio group. --> 4144 <attr name="checkedButton" format="integer" /> 4145 <!-- Should the radio group be a column or a row? Use "horizontal" 4146 for a row, "vertical" for a column. The default is 4147 vertical. --> 4148 <attr name="orientation" /> 4149 </declare-styleable> 4150 <declare-styleable name="TableLayout"> 4151 <!-- The zero-based index of the columns to stretch. The column indices 4152 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4153 indices are ignored. You can stretch all columns by using the 4154 value "*" instead. Note that a column can be marked stretchable 4155 and shrinkable at the same time. --> 4156 <attr name="stretchColumns" format="string" /> 4157 <!-- The zero-based index of the columns to shrink. The column indices 4158 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4159 indices are ignored. You can shrink all columns by using the 4160 value "*" instead. Note that a column can be marked stretchable 4161 and shrinkable at the same time. --> 4162 <attr name="shrinkColumns" format="string" /> 4163 <!-- The zero-based index of the columns to collapse. The column indices 4164 must be separated by a comma: 1, 2, 5. Illegal and duplicate 4165 indices are ignored. --> 4166 <attr name="collapseColumns" format="string" /> 4167 </declare-styleable> 4168 <declare-styleable name="TableRow"> 4169 4170 </declare-styleable> 4171 <declare-styleable name="TableRow_Cell"> 4172 <!-- The index of the column in which this child should be. --> 4173 <attr name="layout_column" format="integer" /> 4174 <!-- Defines how many columns this child should span. Must be >= 1.--> 4175 <attr name="layout_span" format="integer" /> 4176 </declare-styleable> 4177 <declare-styleable name="TabWidget"> 4178 <!-- Drawable used to draw the divider between tabs. --> 4179 <attr name="divider" /> 4180 <!-- Determines whether the strip under the tab indicators is drawn or not. --> 4181 <attr name="tabStripEnabled" format="boolean" /> 4182 <!-- Drawable used to draw the left part of the strip underneath the tabs. --> 4183 <attr name="tabStripLeft" format="reference" /> 4184 <!-- Drawable used to draw the right part of the strip underneath the tabs. --> 4185 <attr name="tabStripRight" format="reference" /> 4186 <!-- Layout used to organize each tab's content. --> 4187 <attr name="tabLayout" format="reference" /> 4188 </declare-styleable> 4189 <declare-styleable name="TextAppearance"> 4190 <!-- Text color. --> 4191 <attr name="textColor" /> 4192 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4193 <attr name="textSize" /> 4194 <!-- Style (bold, italic, bolditalic) for the text. --> 4195 <attr name="textStyle" /> 4196 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4197 <attr name="typeface" /> 4198 <!-- Font family (named by string) for the text. --> 4199 <attr name="fontFamily" /> 4200 <!-- Color of the text selection highlight. --> 4201 <attr name="textColorHighlight" /> 4202 <!-- Color of the hint text. --> 4203 <attr name="textColorHint" /> 4204 <!-- Color of the links. --> 4205 <attr name="textColorLink" /> 4206 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4207 <attr name="textAllCaps" format="boolean" /> 4208 <!-- Place a blurred shadow of text underneath the text, drawn with the 4209 specified color. The text shadow produced does not interact with 4210 properties on View that are responsible for real time shadows, 4211 {@link android.R.styleable#View_elevation elevation} and 4212 {@link android.R.styleable#View_translationZ translationZ}. --> 4213 <attr name="shadowColor" format="color" /> 4214 <!-- Horizontal offset of the text shadow. --> 4215 <attr name="shadowDx" format="float" /> 4216 <!-- Vertical offset of the text shadow. --> 4217 <attr name="shadowDy" format="float" /> 4218 <!-- Blur radius of the text shadow. --> 4219 <attr name="shadowRadius" format="float" /> 4220 <!-- Elegant text height, especially for less compacted complex script text. --> 4221 <attr name="elegantTextHeight" format="boolean" /> 4222 <!-- Text letter-spacing. --> 4223 <attr name="letterSpacing" format="float" /> 4224 <!-- Font feature settings. --> 4225 <attr name="fontFeatureSettings" format="string" /> 4226 </declare-styleable> 4227 <declare-styleable name="TextClock"> 4228 <!-- Specifies the formatting pattern used to show the time and/or date 4229 in 12-hour mode. Please refer to {@link android.text.format.DateFormat} 4230 for a complete description of accepted formatting patterns. 4231 The default pattern is a locale-appropriate equivalent of "h:mm a". --> 4232 <attr name="format12Hour" format="string"/> 4233 <!-- Specifies the formatting pattern used to show the time and/or date 4234 in 24-hour mode. Please refer to {@link android.text.format.DateFormat} 4235 for a complete description of accepted formatting patterns. 4236 The default pattern is a locale-appropriate equivalent of "H:mm". --> 4237 <attr name="format24Hour" format="string"/> 4238 <!-- Specifies the time zone to use. When this attribute is specified, the 4239 TextClock will ignore the time zone of the system. To use the user's 4240 time zone, do not specify this attribute. The default value is the 4241 user's time zone. Please refer to {@link java.util.TimeZone} for more 4242 information about time zone ids. --> 4243 <attr name="timeZone" format="string"/> 4244 </declare-styleable> 4245 <declare-styleable name="TextSwitcher"> 4246 </declare-styleable> 4247 <declare-styleable name="TextView"> 4248 <!-- Determines the minimum type that getText() will return. 4249 The default is "normal". 4250 Note that EditText and LogTextBox always return Editable, 4251 even if you specify something less powerful here. --> 4252 <attr name="bufferType"> 4253 <!-- Can return any CharSequence, possibly a 4254 Spanned one if the source text was Spanned. --> 4255 <enum name="normal" value="0" /> 4256 <!-- Can only return Spannable. --> 4257 <enum name="spannable" value="1" /> 4258 <!-- Can only return Spannable and Editable. --> 4259 <enum name="editable" value="2" /> 4260 </attr> 4261 <!-- Text to display. --> 4262 <attr name="text" format="string" localization="suggested" /> 4263 <!-- Hint text to display when the text is empty. --> 4264 <attr name="hint" format="string" /> 4265 <!-- Text color. --> 4266 <attr name="textColor" /> 4267 <!-- Color of the text selection highlight. --> 4268 <attr name="textColorHighlight" /> 4269 <!-- Color of the hint text. --> 4270 <attr name="textColorHint" /> 4271 <!-- Base text color, typeface, size, and style. --> 4272 <attr name="textAppearance" /> 4273 <!-- Size of the text. Recommended dimension type for text is "sp" for scaled-pixels (example: 15sp). --> 4274 <attr name="textSize" /> 4275 <!-- Sets the horizontal scaling factor for the text. --> 4276 <attr name="textScaleX" format="float" /> 4277 <!-- Typeface (normal, sans, serif, monospace) for the text. --> 4278 <attr name="typeface" /> 4279 <!-- Style (bold, italic, bolditalic) for the text. --> 4280 <attr name="textStyle" /> 4281 <!-- Font family (named by string) for the text. --> 4282 <attr name="fontFamily" /> 4283 <!-- Text color for links. --> 4284 <attr name="textColorLink" /> 4285 <!-- Makes the cursor visible (the default) or invisible. --> 4286 <attr name="cursorVisible" format="boolean" /> 4287 <!-- Makes the TextView be at most this many lines tall. 4288 4289 When used on an editable text, the <code>inputType</code> attribute's value must be 4290 combined with the <code>textMultiLine</code> flag for the maxLines attribute to apply. --> 4291 <attr name="maxLines" format="integer" min="0" /> 4292 <!-- Makes the TextView be at most this many pixels tall. --> 4293 <attr name="maxHeight" /> 4294 <!-- Makes the TextView be exactly this many lines tall. --> 4295 <attr name="lines" format="integer" min="0" /> 4296 <!-- Makes the TextView be exactly this many pixels tall. 4297 You could get the same effect by specifying this number in the 4298 layout parameters. --> 4299 <attr name="height" format="dimension" /> 4300 <!-- Makes the TextView be at least this many lines tall. 4301 4302 When used on an editable text, the <code>inputType</code> attribute's value must be 4303 combined with the <code>textMultiLine</code> flag for the minLines attribute to apply. --> 4304 <attr name="minLines" format="integer" min="0" /> 4305 <!-- Makes the TextView be at least this many pixels tall. --> 4306 <attr name="minHeight" /> 4307 <!-- Makes the TextView be at most this many ems wide. --> 4308 <attr name="maxEms" format="integer" min="0" /> 4309 <!-- Makes the TextView be at most this many pixels wide. --> 4310 <attr name="maxWidth" /> 4311 <!-- Makes the TextView be exactly this many ems wide. --> 4312 <attr name="ems" format="integer" min="0" /> 4313 <!-- Makes the TextView be exactly this many pixels wide. 4314 You could get the same effect by specifying this number in the 4315 layout parameters. --> 4316 <attr name="width" format="dimension" /> 4317 <!-- Makes the TextView be at least this many ems wide. --> 4318 <attr name="minEms" format="integer" min="0" /> 4319 <!-- Makes the TextView be at least this many pixels wide. --> 4320 <attr name="minWidth" /> 4321 <!-- Specifies how to align the text by the view's x- and/or y-axis 4322 when the text is smaller than the view. --> 4323 <attr name="gravity" /> 4324 <!-- Whether the text is allowed to be wider than the view (and 4325 therefore can be scrolled horizontally). --> 4326 <attr name="scrollHorizontally" format="boolean" /> 4327 <!-- Whether the characters of the field are displayed as 4328 password dots instead of themselves. 4329 {@deprecated Use inputType instead.} --> 4330 <attr name="password" format="boolean" /> 4331 <!-- Constrains the text to a single horizontally scrolling line 4332 instead of letting it wrap onto multiple lines, and advances 4333 focus instead of inserting a newline when you press the 4334 enter key. 4335 4336 The default value is false (multi-line wrapped text mode) for non-editable text, but if 4337 you specify any value for inputType, the default is true (single-line input field mode). 4338 4339 {@deprecated This attribute is deprecated. Use <code>maxLines</code> instead to change 4340 the layout of a static text, and use the <code>textMultiLine</code> flag in the 4341 inputType attribute instead for editable text views (if both singleLine and inputType 4342 are supplied, the inputType flags will override the value of singleLine). } --> 4343 <attr name="singleLine" format="boolean" /> 4344 <!-- Specifies whether the widget is enabled. The interpretation of the enabled state varies by subclass. 4345 For example, a non-enabled EditText prevents the user from editing the contained text, and 4346 a non-enabled Button prevents the user from tapping the button. 4347 The appearance of enabled and non-enabled widgets may differ, if the drawables referenced 4348 from evaluating state_enabled differ. --> 4349 <attr name="enabled" format="boolean" /> 4350 <!-- If the text is selectable, select it all when the view takes 4351 focus. --> 4352 <attr name="selectAllOnFocus" format="boolean" /> 4353 <!-- Leave enough room for ascenders and descenders instead of 4354 using the font ascent and descent strictly. (Normally true). --> 4355 <attr name="includeFontPadding" format="boolean" /> 4356 <!-- Set an input filter to constrain the text length to the 4357 specified number. --> 4358 <attr name="maxLength" format="integer" min="0" /> 4359 <!-- Place a blurred shadow of text underneath the text, drawn with the 4360 specified color. The text shadow produced does not interact with 4361 properties on View that are responsible for real time shadows, 4362 {@link android.R.styleable#View_elevation elevation} and 4363 {@link android.R.styleable#View_translationZ translationZ}. --> 4364 <attr name="shadowColor" /> 4365 <!-- Horizontal offset of the text shadow. --> 4366 <attr name="shadowDx" /> 4367 <!-- Vertical offset of the text shadow. --> 4368 <attr name="shadowDy" /> 4369 <!-- Blur radius of the text shadow. --> 4370 <attr name="shadowRadius" /> 4371 <attr name="autoLink" /> 4372 <!-- If set to false, keeps the movement method from being set 4373 to the link movement method even if autoLink causes links 4374 to be found or the input text contains a 4375 {@link android.text.style.ClickableSpan ClickableSpan}. --> 4376 <attr name="linksClickable" format="boolean" /> 4377 <!-- If set, specifies that this TextView has a numeric input method. 4378 The default is false. 4379 {@deprecated Use inputType instead.} --> 4380 <attr name="numeric"> 4381 <!-- Input is numeric. --> 4382 <flag name="integer" value="0x01" /> 4383 <!-- Input is numeric, with sign allowed. --> 4384 <flag name="signed" value="0x03" /> 4385 <!-- Input is numeric, with decimals allowed. --> 4386 <flag name="decimal" value="0x05" /> 4387 </attr> 4388 <!-- If set, specifies that this TextView has a numeric input method 4389 and that these specific characters are the ones that it will 4390 accept. 4391 If this is set, numeric is implied to be true. 4392 The default is false. --> 4393 <attr name="digits" format="string" /> 4394 <!-- If set, specifies that this TextView has a phone number input 4395 method. The default is false. 4396 {@deprecated Use inputType instead.} --> 4397 <attr name="phoneNumber" format="boolean" /> 4398 <!-- If set, specifies that this TextView should use the specified 4399 input method (specified by fully-qualified class name). 4400 {@deprecated Use inputType instead.} --> 4401 <attr name="inputMethod" format="string" /> 4402 <!-- If set, specifies that this TextView has a textual input method 4403 and should automatically capitalize what the user types. 4404 The default is "none". 4405 {@deprecated Use inputType instead.} --> 4406 <attr name="capitalize"> 4407 <!-- Don't automatically capitalize anything. --> 4408 <enum name="none" value="0" /> 4409 <!-- Capitalize the first word of each sentence. --> 4410 <enum name="sentences" value="1" /> 4411 <!-- Capitalize the first letter of every word. --> 4412 <enum name="words" value="2" /> 4413 <!-- Capitalize every character. --> 4414 <enum name="characters" value="3" /> 4415 </attr> 4416 <!-- If set, specifies that this TextView has a textual input method 4417 and automatically corrects some common spelling errors. 4418 The default is "false". 4419 {@deprecated Use inputType instead.} --> 4420 <attr name="autoText" format="boolean" /> 4421 <!-- If set, specifies that this TextView has an input method. 4422 It will be a textual one unless it has otherwise been specified. 4423 For TextView, this is false by default. For EditText, it is 4424 true by default. 4425 {@deprecated Use inputType instead.} --> 4426 <attr name="editable" format="boolean" /> 4427 <!-- If set, the text view will include its current complete text 4428 inside of its frozen icicle in addition to meta-data such as 4429 the current cursor position. By default this is disabled; 4430 it can be useful when the contents of a text view is not stored 4431 in a persistent place such as a content provider. --> 4432 <attr name="freezesText" format="boolean" /> 4433 <!-- If set, causes words that are longer than the view is wide 4434 to be ellipsized instead of broken in the middle. 4435 You will often also want to set scrollHorizontally or singleLine 4436 as well so that the text as a whole is also constrained to 4437 a single line instead of still allowed to be broken onto 4438 multiple lines. --> 4439 <attr name="ellipsize" /> 4440 <!-- The drawable to be drawn above the text. --> 4441 <attr name="drawableTop" format="reference|color" /> 4442 <!-- The drawable to be drawn below the text. --> 4443 <attr name="drawableBottom" format="reference|color" /> 4444 <!-- The drawable to be drawn to the left of the text. --> 4445 <attr name="drawableLeft" format="reference|color" /> 4446 <!-- The drawable to be drawn to the right of the text. --> 4447 <attr name="drawableRight" format="reference|color" /> 4448 <!-- The drawable to be drawn to the start of the text. --> 4449 <attr name="drawableStart" format="reference|color" /> 4450 <!-- The drawable to be drawn to the end of the text. --> 4451 <attr name="drawableEnd" format="reference|color" /> 4452 <!-- The padding between the drawables and the text. --> 4453 <attr name="drawablePadding" format="dimension" /> 4454 <!-- Tint to apply to the compound (left, top, etc.) drawables. --> 4455 <attr name="drawableTint" format="color" /> 4456 <!-- Blending mode used to apply the compound (left, top, etc.) drawables tint. --> 4457 <attr name="drawableTintMode"> 4458 <!-- The tint is drawn on top of the drawable. 4459 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 4460 <enum name="src_over" value="3" /> 4461 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 4462 color channels are thrown out. [Sa * Da, Sc * Da] --> 4463 <enum name="src_in" value="5" /> 4464 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 4465 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 4466 <enum name="src_atop" value="9" /> 4467 <!-- Multiplies the color and alpha channels of the drawable with those of 4468 the tint. [Sa * Da, Sc * Dc] --> 4469 <enum name="multiply" value="14" /> 4470 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 4471 <enum name="screen" value="15" /> 4472 <!-- Combines the tint and drawable color and alpha channels, clamping the 4473 result to valid color values. Saturate(S + D) --> 4474 <enum name="add" value="16" /> 4475 </attr> 4476 <!-- Extra spacing between lines of text. --> 4477 <attr name="lineSpacingExtra" format="dimension" /> 4478 <!-- Extra spacing between lines of text, as a multiplier. --> 4479 <attr name="lineSpacingMultiplier" format="float" /> 4480 <!-- The number of times to repeat the marquee animation. Only applied if the 4481 TextView has marquee enabled. --> 4482 <attr name="marqueeRepeatLimit" format="integer"> 4483 <!-- Indicates that marquee should repeat indefinitely. --> 4484 <enum name="marquee_forever" value="-1" /> 4485 </attr> 4486 <attr name="inputType" /> 4487 <!-- Whether undo should be allowed for editable text. Defaults to true. --> 4488 <attr name="allowUndo" format="boolean" /> 4489 <attr name="imeOptions" /> 4490 <!-- An addition content type description to supply to the input 4491 method attached to the text view, which is private to the 4492 implementation of the input method. This simply fills in 4493 the {@link android.view.inputmethod.EditorInfo#privateImeOptions 4494 EditorInfo.privateImeOptions} field when the input 4495 method is connected. --> 4496 <attr name="privateImeOptions" format="string" /> 4497 <!-- Supply a value for 4498 {@link android.view.inputmethod.EditorInfo#actionLabel EditorInfo.actionLabel} 4499 used when an input method is connected to the text view. --> 4500 <attr name="imeActionLabel" format="string" /> 4501 <!-- Supply a value for 4502 {@link android.view.inputmethod.EditorInfo#actionId EditorInfo.actionId} 4503 used when an input method is connected to the text view. --> 4504 <attr name="imeActionId" format="integer" /> 4505 <!-- Reference to an 4506 {@link android.R.styleable#InputExtras <input-extras>} 4507 XML resource containing additional data to 4508 supply to an input method, which is private to the implementation 4509 of the input method. This simply fills in 4510 the {@link android.view.inputmethod.EditorInfo#extras 4511 EditorInfo.extras} field when the input 4512 method is connected. --> 4513 <attr name="editorExtras" format="reference" /> 4514 4515 <!-- Reference to a drawable that will be used to display a text selection 4516 anchor on the left side of a selection region. --> 4517 <attr name="textSelectHandleLeft" /> 4518 <!-- Reference to a drawable that will be used to display a text selection 4519 anchor on the right side of a selection region. --> 4520 <attr name="textSelectHandleRight" /> 4521 <!-- Reference to a drawable that will be used to display a text selection 4522 anchor for positioning the cursor within text. --> 4523 <attr name="textSelectHandle" /> 4524 <!-- The layout of the view that is displayed on top of the cursor to paste inside a 4525 TextEdit field. --> 4526 <attr name="textEditPasteWindowLayout" /> 4527 <!-- Variation of textEditPasteWindowLayout displayed when the clipboard is empty. --> 4528 <attr name="textEditNoPasteWindowLayout" /> 4529 <!-- Used instead of textEditPasteWindowLayout when the window is moved on the side of the 4530 insertion cursor because it would be clipped if it were positioned on top. --> 4531 <attr name="textEditSidePasteWindowLayout" /> 4532 <!-- Variation of textEditSidePasteWindowLayout displayed when the clipboard is empty. --> 4533 <attr name="textEditSideNoPasteWindowLayout" /> 4534 4535 <!-- Layout of the TextView item that will populate the suggestion popup window. --> 4536 <attr name="textEditSuggestionItemLayout" /> 4537 <!-- Layout of the container of the suggestion popup window. --> 4538 <attr name="textEditSuggestionContainerLayout" /> 4539 <!-- Style of the highlighted string in the suggestion popup window. --> 4540 <attr name="textEditSuggestionHighlightStyle" /> 4541 4542 4543 <!-- Reference to a drawable that will be drawn under the insertion cursor. --> 4544 <attr name="textCursorDrawable" /> 4545 4546 <!-- Indicates that the content of a non-editable text can be selected. --> 4547 <attr name="textIsSelectable" /> 4548 <!-- Present the text in ALL CAPS. This may use a small-caps form when available. --> 4549 <attr name="textAllCaps" /> 4550 <!-- Elegant text height, especially for less compacted complex script text. --> 4551 <attr name="elegantTextHeight" /> 4552 <!-- Text letter-spacing. --> 4553 <attr name="letterSpacing" /> 4554 <!-- Font feature settings. --> 4555 <attr name="fontFeatureSettings" /> 4556 <!-- Break strategy (control over paragraph layout). --> 4557 <attr name="breakStrategy"> 4558 <!-- Line breaking uses simple strategy. --> 4559 <enum name="simple" value="0" /> 4560 <!-- Line breaking uses high-quality strategy, including hyphenation. --> 4561 <enum name="high_quality" value="1" /> 4562 <!-- Line breaking strategy balances line lengths. --> 4563 <enum name="balanced" value="2" /> 4564 </attr> 4565 <!-- Frequency of automatic hyphenation. --> 4566 <attr name="hyphenationFrequency"> 4567 <!-- No hyphenation. --> 4568 <enum name="none" value="0" /> 4569 <!-- Less frequent hyphenation, useful for informal use cases, such 4570 as chat messages. --> 4571 <enum name="normal" value="1" /> 4572 <!-- Standard amount of hyphenation, useful for running text and for 4573 screens with limited space for text. --> 4574 <enum name="full" value="2" /> 4575 </attr> 4576 <!-- Placeholder for a deleted attribute. This should be removed before M release. --> 4577 <attr name="__removeBeforeMRelease_leftIndents" format="reference" /> 4578 <!-- Placeholder for a deleted attribute. This should be removed before M release. --> 4579 <attr name="__removeBeforeMRelease_rightIndents" format="reference" /> 4580 </declare-styleable> 4581 <declare-styleable name="TextViewAppearance"> 4582 <!-- Base text color, typeface, size, and style. --> 4583 <attr name="textAppearance" /> 4584 </declare-styleable> 4585 <declare-styleable name="SelectionModeDrawables"> 4586 <attr name="actionModeSelectAllDrawable" /> 4587 <attr name="actionModeCutDrawable" /> 4588 <attr name="actionModeCopyDrawable" /> 4589 <attr name="actionModePasteDrawable" /> 4590 </declare-styleable> 4591 <declare-styleable name="SuggestionSpan"> 4592 <attr name="textUnderlineColor" /> 4593 <attr name="textUnderlineThickness" /> 4594 </declare-styleable> 4595 <!-- An <code>input-extras</code> is a container for extra data to supply to 4596 an input method. Contains 4597 one more more {@link #Extra <extra>} tags. --> 4598 <declare-styleable name="InputExtras"> 4599 </declare-styleable> 4600 <declare-styleable name="AutoCompleteTextView"> 4601 <!-- Defines the hint displayed in the drop down menu. --> 4602 <attr name="completionHint" format="string" /> 4603 <!-- Defines the hint view displayed in the drop down menu. --> 4604 <attr name="completionHintView" format="reference" /> 4605 <!-- Defines the number of characters that the user must type before 4606 completion suggestions are displayed in a drop down menu. --> 4607 <attr name="completionThreshold" format="integer" min="1" /> 4608 <!-- Selector in a drop down list. --> 4609 <attr name="dropDownSelector" format="reference|color" /> 4610 <!-- View to anchor the auto-complete dropdown to. If not specified, the text view itself 4611 is used. --> 4612 <attr name="dropDownAnchor" format="reference" /> 4613 <!-- Specifies the basic width of the dropdown. Its value may 4614 be a dimension (such as "12dip") for a constant width, 4615 fill_parent or match_parent to match the width of the 4616 screen, or wrap_content to match the width of 4617 the anchored view. --> 4618 <attr name="dropDownWidth" format="dimension"> 4619 <!-- The dropdown should fill the width of the screen. 4620 This constant is deprecated starting from API Level 8 and 4621 is replaced by {@code match_parent}. --> 4622 <enum name="fill_parent" value="-1" /> 4623 <!-- The dropdown should fit the width of the screen. 4624 Introduced in API Level 8. --> 4625 <enum name="match_parent" value="-1" /> 4626 <!-- The dropdown should fit the width of its anchor. --> 4627 <enum name="wrap_content" value="-2" /> 4628 </attr> 4629 <!-- Specifies the basic height of the dropdown. Its value may 4630 be a dimension (such as "12dip") for a constant height, 4631 fill_parent or match_parent to fill the height of the 4632 screen, or wrap_content to match the height of 4633 the content of the drop down. --> 4634 <attr name="dropDownHeight" format="dimension"> 4635 <!-- The dropdown should fit the height of the screen. 4636 This constant is deprecated starting from API Level 8 and 4637 is replaced by {@code match_parent}. --> 4638 <enum name="fill_parent" value="-1" /> 4639 <!-- The dropdown should fit the height of the screen. 4640 Introduced in API Level 8. --> 4641 <enum name="match_parent" value="-1" /> 4642 <!-- The dropdown should fit the height of the content. --> 4643 <enum name="wrap_content" value="-2" /> 4644 </attr> 4645 <attr name="inputType" /> 4646 <!-- Theme to use for the completion popup window. --> 4647 <attr name="popupTheme" /> 4648 </declare-styleable> 4649 <declare-styleable name="PopupWindow"> 4650 <!-- The background to use for the popup window. --> 4651 <attr name="popupBackground" format="reference|color" /> 4652 <!-- Window elevation to use for the popup window. --> 4653 <attr name="popupElevation" format="dimension" /> 4654 <!-- The animation style to use for the popup window. --> 4655 <attr name="popupAnimationStyle" format="reference" /> 4656 <!-- Whether the popup window should overlap its anchor view. --> 4657 <attr name="overlapAnchor" format="boolean" /> 4658 <!-- Transition used to move views into the popup window. --> 4659 <attr name="popupEnterTransition" format="reference" /> 4660 <!-- Transition used to move views out of the popup window. --> 4661 <attr name="popupExitTransition" format="reference" /> 4662 </declare-styleable> 4663 <declare-styleable name="ListPopupWindow"> 4664 <!-- Amount of pixels by which the drop down should be offset vertically. --> 4665 <attr name="dropDownVerticalOffset" format="dimension" /> 4666 <!-- Amount of pixels by which the drop down should be offset horizontally. --> 4667 <attr name="dropDownHorizontalOffset" format="dimension" /> 4668 </declare-styleable> 4669 <declare-styleable name="ViewAnimator"> 4670 <!-- Identifier for the animation to use when a view is shown. --> 4671 <attr name="inAnimation" format="reference" /> 4672 <!-- Identifier for the animation to use when a view is hidden. --> 4673 <attr name="outAnimation" format="reference" /> 4674 <!-- Defines whether to animate the current View when the ViewAnimation 4675 is first displayed. --> 4676 <attr name="animateFirstView" format="boolean" /> 4677 </declare-styleable> 4678 <declare-styleable name="ViewFlipper"> 4679 <attr name="flipInterval" format="integer" min="0" /> 4680 <!-- When true, automatically start animating --> 4681 <attr name="autoStart" format="boolean" /> 4682 </declare-styleable> 4683 <declare-styleable name="AdapterViewAnimator"> 4684 <!-- Identifier for the animation to use when a view is shown. --> 4685 <attr name="inAnimation" /> 4686 <!-- Identifier for the animation to use when a view is hidden. --> 4687 <attr name="outAnimation" /> 4688 <!--Defines whether the animator loops to the first view once it 4689 has reached the end of the list. --> 4690 <attr name="loopViews" format="boolean" /> 4691 <!-- Defines whether to animate the current View when the ViewAnimation 4692 is first displayed. --> 4693 <attr name="animateFirstView" /> 4694 </declare-styleable> 4695 <declare-styleable name="AdapterViewFlipper"> 4696 <attr name="flipInterval" /> 4697 <!-- When true, automatically start animating --> 4698 <attr name="autoStart" /> 4699 </declare-styleable> 4700 <declare-styleable name="ViewSwitcher"> 4701 </declare-styleable> 4702 <declare-styleable name="ScrollView"> 4703 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4704 <attr name="fillViewport" format="boolean" /> 4705 </declare-styleable> 4706 <declare-styleable name="HorizontalScrollView"> 4707 <!-- Defines whether the scrollview should stretch its content to fill the viewport. --> 4708 <attr name="fillViewport" /> 4709 </declare-styleable> 4710 <declare-styleable name="Spinner"> 4711 <!-- The prompt to display when the spinner's dialog is shown. --> 4712 <attr name="prompt" format="reference" /> 4713 <!-- Display mode for spinner options. --> 4714 <attr name="spinnerMode" format="enum"> 4715 <!-- Spinner options will be presented to the user as a dialog window. --> 4716 <enum name="dialog" value="0" /> 4717 <!-- Spinner options will be presented to the user as an inline dropdown 4718 anchored to the spinner widget itself. --> 4719 <enum name="dropdown" value="1" /> 4720 </attr> 4721 <!-- List selector to use for spinnerMode="dropdown" display. --> 4722 <attr name="dropDownSelector" /> 4723 <!-- Theme to use for the drop-down or dialog popup window. --> 4724 <attr name="popupTheme" /> 4725 <!-- Background drawable to use for the dropdown in spinnerMode="dropdown". --> 4726 <attr name="popupBackground" /> 4727 <!-- Window elevation to use for the dropdown in spinnerMode="dropdown". --> 4728 <attr name="popupElevation" /> 4729 <!-- Width of the dropdown in spinnerMode="dropdown". --> 4730 <attr name="dropDownWidth" /> 4731 <!-- Reference to a layout to use for displaying a prompt in the dropdown for 4732 spinnerMode="dropdown". This layout must contain a TextView with the id 4733 {@code @android:id/text1} to be populated with the prompt text. --> 4734 <attr name="popupPromptView" format="reference" /> 4735 <!-- Gravity setting for positioning the currently selected item. --> 4736 <attr name="gravity" /> 4737 <!-- Whether this spinner should mark child views as enabled/disabled when 4738 the spinner itself is enabled/disabled. --> 4739 <attr name="disableChildrenWhenDisabled" format="boolean" /> 4740 </declare-styleable> 4741 4742 <declare-styleable name="DatePicker"> 4743 <!-- The first day of week according to {@link java.util.Calendar}. --> 4744 <attr name="firstDayOfWeek" /> 4745 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 4746 <attr name="minDate" format="string" /> 4747 <!-- The maximal date shown by this calendar view in mm/dd/yyyy format. --> 4748 <attr name="maxDate" format="string" /> 4749 4750 <!-- Whether the spinners are shown. Only valid for "spinner" mode. --> 4751 <attr name="spinnersShown" format="boolean" /> 4752 <!-- Whether the calendar view is shown. Only valid for "spinner" mode. --> 4753 <attr name="calendarViewShown" format="boolean" /> 4754 4755 <!-- @hide The layout of the date picker. --> 4756 <attr name="internalLayout" format="reference" /> 4757 <!-- @hide The layout of the legacy DatePicker. --> 4758 <attr name="legacyLayout" /> 4759 4760 <!-- The text color for the selected date header text, ex. "2014" or 4761 "Tue, Mar 18". This should be a color state list where the 4762 activated state will be used when the year picker or day picker is 4763 active.--> 4764 <attr name="headerTextColor" format="color" /> 4765 <!-- The background for the selected date header. --> 4766 <attr name="headerBackground" /> 4767 4768 <!-- The list year's text appearance in the list. 4769 {@deprecated Use yearListTextColor. }--> 4770 <attr name="yearListItemTextAppearance" format="reference" /> 4771 <!-- @hide The list year's text appearance in the list when activated. --> 4772 <attr name="yearListItemActivatedTextAppearance" format="reference" /> 4773 <!-- The text color list of the calendar. --> 4774 <attr name="calendarTextColor" format="color" /> 4775 4776 <!-- Defines the look of the widget. Prior to the L release, the only choice was 4777 spinner. As of L, with the Material theme selected, the default layout is calendar, 4778 but this attribute can be used to force spinner to be used instead. --> 4779 <attr name="datePickerMode"> 4780 <!-- Date picker with spinner controls to select the date. --> 4781 <enum name="spinner" value="1" /> 4782 <!-- Date picker with calendar to select the date. --> 4783 <enum name="calendar" value="2" /> 4784 </attr> 4785 4786 <!-- The first year (inclusive), for example "1940". 4787 {@deprecated Use minDate instead.} --> 4788 <attr name="startYear" format="integer" /> 4789 <!-- The last year (inclusive), for example "2010". 4790 {@deprecated Use maxDate instead.} --> 4791 <attr name="endYear" format="integer" /> 4792 <!-- The text appearance for the month (ex. May) in the selected date header. 4793 {@deprecated Use headerTextColor instead.} --> 4794 <attr name="headerMonthTextAppearance" format="reference" /> 4795 <!-- The text appearance for the day of month (ex. 28) in the selected date header. 4796 {@deprecated Use headerTextColor instead.} --> 4797 <attr name="headerDayOfMonthTextAppearance" format="reference" /> 4798 <!-- The text appearance for the year (ex. 2014) in the selected date header. 4799 {@deprecated Use headerTextColor instead.} --> 4800 <attr name="headerYearTextAppearance" format="reference" /> 4801 <!-- The background color for the header's day of week. 4802 {@deprecated No longer displayed.} --> 4803 <attr name="dayOfWeekBackground" format="color" /> 4804 <!-- The text color for the header's day of week. 4805 {@deprecated No longer displayed.} --> 4806 <attr name="dayOfWeekTextAppearance" format="reference" /> 4807 <!-- The list year's selected circle color in the list. 4808 {@deprecated No longer displayed.} --> 4809 <attr name="yearListSelectorColor" format="color" /> 4810 </declare-styleable> 4811 4812 <declare-styleable name="TwoLineListItem"> 4813 <attr name="mode"> 4814 <!-- Always show only the first line. --> 4815 <enum name="oneLine" value="1" /> 4816 <!-- When selected show both lines, otherwise show only the first line. 4817 This is the default mode. --> 4818 <enum name="collapsing" value="2" /> 4819 <!-- Always show both lines. --> 4820 <enum name="twoLine" value="3" /> 4821 </attr> 4822 </declare-styleable> 4823 4824 <!-- SlidingDrawer specific attributes. These attributes are used to configure 4825 a SlidingDrawer from XML. --> 4826 <declare-styleable name="SlidingDrawer"> 4827 <!-- Identifier for the child that represents the drawer's handle. --> 4828 <attr name="handle" format="reference" /> 4829 <!-- Identifier for the child that represents the drawer's content. --> 4830 <attr name="content" format="reference" /> 4831 <!-- Orientation of the SlidingDrawer. --> 4832 <attr name="orientation" /> 4833 <!-- Extra offset for the handle at the bottom of the SlidingDrawer. --> 4834 <attr name="bottomOffset" format="dimension" /> 4835 <!-- Extra offset for the handle at the top of the SlidingDrawer. --> 4836 <attr name="topOffset" format="dimension" /> 4837 <!-- Indicates whether the drawer can be opened/closed by a single tap 4838 on the handle. (If false, the user must drag or fling, or click 4839 using the trackball, to open/close the drawer.) Default is true. --> 4840 <attr name="allowSingleTap" format="boolean" /> 4841 <!-- Indicates whether the drawer should be opened/closed with an animation 4842 when the user clicks the handle. Default is true. --> 4843 <attr name="animateOnClick" format="boolean" /> 4844 </declare-styleable> 4845 4846 <!-- GestureOverlayView specific attributes. These attributes are used to configure 4847 a GestureOverlayView from XML. --> 4848 <declare-styleable name="GestureOverlayView"> 4849 <!-- Width of the stroke used to draw the gesture. --> 4850 <attr name="gestureStrokeWidth" format="float" /> 4851 <!-- Color used to draw a gesture. --> 4852 <attr name="gestureColor" format="color" /> 4853 <!-- Color used to draw the user's strokes until we are sure it's a gesture. --> 4854 <attr name="uncertainGestureColor" format="color" /> 4855 <!-- Time, in milliseconds, to wait before the gesture fades out after the user 4856 is done drawing it. --> 4857 <attr name="fadeOffset" format="integer" /> 4858 <!-- Duration, in milliseconds, of the fade out effect after the user is done 4859 drawing a gesture. --> 4860 <attr name="fadeDuration" format="integer" /> 4861 <!-- Defines the type of strokes that define a gesture. --> 4862 <attr name="gestureStrokeType"> 4863 <!-- A gesture is made of only one stroke. --> 4864 <enum name="single" value="0" /> 4865 <!-- A gesture is made of multiple strokes. --> 4866 <enum name="multiple" value="1" /> 4867 </attr> 4868 <!-- Minimum length of a stroke before it is recognized as a gesture. --> 4869 <attr name="gestureStrokeLengthThreshold" format="float" /> 4870 <!-- Squareness threshold of a stroke before it is recognized as a gesture. --> 4871 <attr name="gestureStrokeSquarenessThreshold" format="float" /> 4872 <!-- Minimum curve angle a stroke must contain before it is recognized as a gesture. --> 4873 <attr name="gestureStrokeAngleThreshold" format="float" /> 4874 <!-- Defines whether the overlay should intercept the motion events when a gesture 4875 is recognized. --> 4876 <attr name="eventsInterceptionEnabled" format="boolean" /> 4877 <!-- Defines whether the gesture will automatically fade out after being recognized. --> 4878 <attr name="fadeEnabled" format="boolean" /> 4879 <!-- Indicates whether horizontal (when the orientation is vertical) or vertical 4880 (when orientation is horizontal) strokes automatically define a gesture. --> 4881 <attr name="orientation" /> 4882 </declare-styleable> 4883 4884 <declare-styleable name="QuickContactBadge"> 4885 <attr name="quickContactWindowSize"> 4886 <enum name="modeSmall" value="1" /> 4887 <enum name="modeMedium" value="2" /> 4888 <enum name="modeLarge" value="3" /> 4889 </attr> 4890 </declare-styleable> 4891 4892 <!-- ======================================= --> 4893 <!-- Widget package parent layout attributes --> 4894 <!-- ======================================= --> 4895 <eat-comment /> 4896 4897 <declare-styleable name="AbsoluteLayout_Layout"> 4898 <attr name="layout_x" format="dimension" /> 4899 <attr name="layout_y" format="dimension" /> 4900 </declare-styleable> 4901 <declare-styleable name="LinearLayout_Layout"> 4902 <attr name="layout_width" /> 4903 <attr name="layout_height" /> 4904 <attr name="layout_weight" format="float" /> 4905 <attr name="layout_gravity" /> 4906 </declare-styleable> 4907 <declare-styleable name="GridLayout_Layout"> 4908 <!-- The row boundary delimiting the top of the group of cells 4909 occupied by this view. --> 4910 <attr name="layout_row" format="integer" /> 4911 <!-- The row span: the difference between the top and bottom 4912 boundaries delimiting the group of cells occupied by this view. 4913 The default is one. 4914 See {@link android.widget.GridLayout.Spec}. --> 4915 <attr name="layout_rowSpan" format="integer" min="1" /> 4916 <!-- The relative proportion of vertical space that should be allocated to this view 4917 during excess space distribution. --> 4918 <attr name="layout_rowWeight" format="float" /> 4919 <!-- The column boundary delimiting the left of the group of cells 4920 occupied by this view. --> 4921 <attr name="layout_column" /> 4922 <!-- The column span: the difference between the right and left 4923 boundaries delimiting the group of cells occupied by this view. 4924 The default is one. 4925 See {@link android.widget.GridLayout.Spec}. --> 4926 <attr name="layout_columnSpan" format="integer" min="1" /> 4927 <!-- The relative proportion of horizontal space that should be allocated to this view 4928 during excess space distribution. --> 4929 <attr name="layout_columnWeight" format="float" /> 4930 <!-- Gravity specifies how a component should be placed in its group of cells. 4931 The default is LEFT | BASELINE. 4932 See {@link android.widget.GridLayout.LayoutParams#setGravity(int)}. --> 4933 <attr name="layout_gravity" /> 4934 </declare-styleable> 4935 <declare-styleable name="FrameLayout_Layout"> 4936 <attr name="layout_gravity" /> 4937 </declare-styleable> 4938 <declare-styleable name="RelativeLayout_Layout"> 4939 <!-- Positions the right edge of this view to the left of the given anchor view ID. 4940 Accommodates right margin of this view and left margin of anchor view. --> 4941 <attr name="layout_toLeftOf" format="reference" /> 4942 <!-- Positions the left edge of this view to the right of the given anchor view ID. 4943 Accommodates left margin of this view and right margin of anchor view. --> 4944 <attr name="layout_toRightOf" format="reference" /> 4945 <!-- Positions the bottom edge of this view above the given anchor view ID. 4946 Accommodates bottom margin of this view and top margin of anchor view. --> 4947 <attr name="layout_above" format="reference" /> 4948 <!-- Positions the top edge of this view below the given anchor view ID. 4949 Accommodates top margin of this view and bottom margin of anchor view. --> 4950 <attr name="layout_below" format="reference" /> 4951 <!-- Positions the baseline of this view on the baseline of the given anchor view ID. --> 4952 <attr name="layout_alignBaseline" format="reference" /> 4953 <!-- Makes the left edge of this view match the left edge of the given anchor view ID. 4954 Accommodates left margin. --> 4955 <attr name="layout_alignLeft" format="reference" /> 4956 <!-- Makes the top edge of this view match the top edge of the given anchor view ID. 4957 Accommodates top margin. --> 4958 <attr name="layout_alignTop" format="reference" /> 4959 <!-- Makes the right edge of this view match the right edge of the given anchor view ID. 4960 Accommodates right margin. --> 4961 <attr name="layout_alignRight" format="reference" /> 4962 <!-- Makes the bottom edge of this view match the bottom edge of the given anchor view ID. 4963 Accommodates bottom margin. --> 4964 <attr name="layout_alignBottom" format="reference" /> 4965 <!-- If true, makes the left edge of this view match the left edge of the parent. 4966 Accommodates left margin. --> 4967 <attr name="layout_alignParentLeft" format="boolean" /> 4968 <!-- If true, makes the top edge of this view match the top edge of the parent. 4969 Accommodates top margin. --> 4970 <attr name="layout_alignParentTop" format="boolean" /> 4971 <!-- If true, makes the right edge of this view match the right edge of the parent. 4972 Accommodates right margin. --> 4973 <attr name="layout_alignParentRight" format="boolean" /> 4974 <!-- If true, makes the bottom edge of this view match the bottom edge of the parent. 4975 Accommodates bottom margin. --> 4976 <attr name="layout_alignParentBottom" format="boolean" /> 4977 <!-- If true, centers this child horizontally and vertically within its parent. --> 4978 <attr name="layout_centerInParent" format="boolean" /> 4979 <!-- If true, centers this child horizontally within its parent. --> 4980 <attr name="layout_centerHorizontal" format="boolean" /> 4981 <!-- If true, centers this child vertically within its parent. --> 4982 <attr name="layout_centerVertical" format="boolean" /> 4983 <!-- If set to true, the parent will be used as the anchor when the anchor cannot be 4984 be found for layout_toLeftOf, layout_toRightOf, etc. --> 4985 <attr name="layout_alignWithParentIfMissing" format="boolean" /> 4986 <!-- Positions the end edge of this view to the start of the given anchor view ID. 4987 Accommodates end margin of this view and start margin of anchor view. --> 4988 <attr name="layout_toStartOf" format="reference" /> 4989 <!-- Positions the start edge of this view to the end of the given anchor view ID. 4990 Accommodates start margin of this view and end margin of anchor view. --> 4991 <attr name="layout_toEndOf" format="reference" /> 4992 <!-- Makes the start edge of this view match the start edge of the given anchor view ID. 4993 Accommodates start margin. --> 4994 <attr name="layout_alignStart" format="reference" /> 4995 <!-- Makes the end edge of this view match the end edge of the given anchor view ID. 4996 Accommodates end margin. --> 4997 <attr name="layout_alignEnd" format="reference" /> 4998 <!-- If true, makes the start edge of this view match the start edge of the parent. 4999 Accommodates start margin. --> 5000 <attr name="layout_alignParentStart" format="boolean" /> 5001 <!-- If true, makes the end edge of this view match the end edge of the parent. 5002 Accommodates end margin. --> 5003 <attr name="layout_alignParentEnd" format="boolean" /> 5004 </declare-styleable> 5005 <declare-styleable name="VerticalSlider_Layout"> 5006 <attr name="layout_scale" format="float" /> 5007 </declare-styleable> 5008 5009 <!-- attributes for internal rotary widget used in lock screen and phone app 5010 @hide --> 5011 <declare-styleable name="RotarySelector"> 5012 <!-- Use "horizontal" or "vertical". The default is horizontal. --> 5013 <attr name="orientation" /> 5014 </declare-styleable> 5015 5016 <!-- @hide --> 5017 <declare-styleable name="WeightedLinearLayout"> 5018 <attr name="majorWeightMin" format="float" /> 5019 <attr name="minorWeightMin" format="float" /> 5020 <attr name="majorWeightMax" format="float" /> 5021 <attr name="minorWeightMax" format="float" /> 5022 </declare-styleable> 5023 5024 <declare-styleable name="CalendarView"> 5025 <!-- The first day of week according to {@link java.util.Calendar}. --> 5026 <attr name="firstDayOfWeek" format="integer" /> 5027 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 5028 <attr name="minDate" /> 5029 <!-- The minimal date shown by this calendar view in mm/dd/yyyy format. --> 5030 <attr name="maxDate" /> 5031 <!-- The text appearance for the month and year in the calendar header. --> 5032 <attr name="monthTextAppearance" format="reference" /> 5033 <!-- The text appearance for the week day abbreviation in the calendar header. --> 5034 <attr name="weekDayTextAppearance" format="reference" /> 5035 <!-- The text appearance for the day numbers in the calendar grid. --> 5036 <attr name="dateTextAppearance" format="reference" /> 5037 <!-- @hide The background color used for the day selection indicator. --> 5038 <attr name="daySelectorColor" format="color" /> 5039 <!-- @hide The background color used for the day highlight indicator. --> 5040 <attr name="dayHighlightColor" format="color" /> 5041 <!-- @hide Which style of calendar delegate to use. --> 5042 <attr name="calendarViewMode"> 5043 <enum name="holo" value="0" /> 5044 <enum name="material" value="1" /> 5045 </attr> 5046 5047 <!-- @deprecated Whether do show week numbers. --> 5048 <attr name="showWeekNumber" format="boolean" /> 5049 <!-- @deprecated The number of weeks to be shown. --> 5050 <attr name="shownWeekCount" format="integer"/> 5051 <!-- @deprecated The background color for the selected week. --> 5052 <attr name="selectedWeekBackgroundColor" format="color|reference" /> 5053 <!-- @deprecated The color for the dates of the focused month. --> 5054 <attr name="focusedMonthDateColor" format="color|reference" /> 5055 <!-- @deprecated The color for the dates of an unfocused month. --> 5056 <attr name="unfocusedMonthDateColor" format="color|reference" /> 5057 <!-- @deprecated The color for the week numbers. --> 5058 <attr name="weekNumberColor" format="color|reference" /> 5059 <!-- @deprecated The color for the separator line between weeks. --> 5060 <attr name="weekSeparatorLineColor" format="color|reference" /> 5061 <!-- @deprecated Drawable for the vertical bar shown at the beginning and at the end of the selected date. --> 5062 <attr name="selectedDateVerticalBar" format="reference" /> 5063 </declare-styleable> 5064 5065 <declare-styleable name="NumberPicker"> 5066 <!-- @hide Color for the solid color background if such for optimized rendering. --> 5067 <attr name="solidColor" format="color|reference" /> 5068 <!-- @hide The divider for making the selection area. --> 5069 <attr name="selectionDivider" format="reference" /> 5070 <!-- @hide The height of the selection divider. --> 5071 <attr name="selectionDividerHeight" format="dimension" /> 5072 <!-- @hide The distance between the two selection dividers. --> 5073 <attr name="selectionDividersDistance" format="dimension" /> 5074 <!-- @hide The min height of the NumberPicker. --> 5075 <attr name="internalMinHeight" format="dimension" /> 5076 <!-- @hide The max height of the NumberPicker. --> 5077 <attr name="internalMaxHeight" format="dimension" /> 5078 <!-- @hide The min width of the NumberPicker. --> 5079 <attr name="internalMinWidth" format="dimension" /> 5080 <!-- @hide The max width of the NumberPicker. --> 5081 <attr name="internalMaxWidth" format="dimension" /> 5082 <!-- @hide The layout of the number picker. --> 5083 <attr name="internalLayout" /> 5084 <!-- @hide The drawable for pressed virtual (increment/decrement) buttons. --> 5085 <attr name="virtualButtonPressedDrawable" format="reference"/> 5086 <!-- @hide If true then the selector wheel is hidden until the picker has focus. --> 5087 <attr name="hideWheelUntilFocused" format="boolean"/> 5088 </declare-styleable> 5089 5090 <declare-styleable name="TimePicker"> 5091 <!-- @hide The layout of the legacy time picker. --> 5092 <attr name="legacyLayout" format="reference" /> 5093 <!-- @hide The layout of the time picker. --> 5094 <attr name="internalLayout" /> 5095 5096 <!-- The text color for the selected time header text, ex. "12" or 5097 "PM". This should be a color state list where the activated state 5098 will be used when the minute picker or hour picker is active.--> 5099 <attr name="headerTextColor" /> 5100 <!-- The background for the header containing the currently selected time. --> 5101 <attr name="headerBackground" /> 5102 5103 <!-- The color for the hours/minutes numbers. This should be a color 5104 state list where the activated state will be used when the number 5105 is active.--> 5106 <attr name="numbersTextColor" format="color" /> 5107 <!-- The color for the inner hours numbers used in 24-hour mode. This 5108 should be a color state list where the activated state will be 5109 used when the number is active.--> 5110 <attr name="numbersInnerTextColor" format="color" /> 5111 <!-- The background color for the hours/minutes numbers. --> 5112 <attr name="numbersBackgroundColor" format="color" /> 5113 <!-- The color for the hours/minutes selector. --> 5114 <attr name="numbersSelectorColor" format="color" /> 5115 5116 <!-- Defines the look of the widget. Prior to the L release, the only choice was 5117 spinner. As of L, with the Material theme selected, the default layout is clock, 5118 but this attribute can be used to force spinner to be used instead. --> 5119 <attr name="timePickerMode"> 5120 <!-- Time picker with spinner controls to select the time. --> 5121 <enum name="spinner" value="1" /> 5122 <!-- Time picker with clock face to select the time. --> 5123 <enum name="clock" value="2" /> 5124 </attr> 5125 5126 <!-- The text appearance for the AM/PM header. 5127 @deprecated Use headerTextColor instead. --> 5128 <attr name="headerAmPmTextAppearance" format="reference" /> 5129 <!-- The text appearance for the time header. 5130 @deprecated Use headerTextColor instead. --> 5131 <attr name="headerTimeTextAppearance" format="reference" /> 5132 <!-- The color for the AM/PM selectors. 5133 {@deprecated Use headerTextColor instead.}--> 5134 <attr name="amPmTextColor" format="color" /> 5135 <!-- The background color state list for the AM/PM selectors. 5136 {@deprecated Use headerBackground instead.}--> 5137 <attr name="amPmBackgroundColor" format="color" /> 5138 </declare-styleable> 5139 5140 <!-- ========================= --> 5141 <!-- Drawable class attributes --> 5142 <!-- ========================= --> 5143 <eat-comment /> 5144 5145 <!-- Base attributes that are available to all Drawable objects. --> 5146 <declare-styleable name="Drawable"> 5147 <!-- Provides initial visibility state of the drawable; the default 5148 value is false. See 5149 {@link android.graphics.drawable.Drawable#setVisible}. --> 5150 <attr name="visible" format="boolean" /> 5151 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5152 RTL (right-to-left). See 5153 {@link android.graphics.drawable.Drawable#setAutoMirrored}. --> 5154 <attr name="autoMirrored" format="boolean" /> 5155 </declare-styleable> 5156 5157 <!-- Drawable class used to wrap other drawables. --> 5158 <declare-styleable name="DrawableWrapper"> 5159 <!-- The wrapped drawable. --> 5160 <attr name="drawable" /> 5161 </declare-styleable> 5162 5163 <!-- Drawable used to render several states. Each state is represented by 5164 a child drawable. --> 5165 <declare-styleable name="StateListDrawable"> 5166 <!-- Indicates whether the drawable should be initially visible. --> 5167 <attr name="visible" /> 5168 <!-- If true, allows the drawable's padding to change based on the 5169 current state that is selected. If false, the padding will 5170 stay the same (based on the maximum padding of all the states). 5171 Enabling this feature requires that the owner of the drawable 5172 deal with performing layout when the state changes, which is 5173 often not supported. --> 5174 <attr name="variablePadding" format="boolean" /> 5175 <!-- If true, the drawable's reported internal size will remain 5176 constant as the state changes; the size is the maximum of all 5177 of the states. If false, the size will vary based on the 5178 current state. --> 5179 <attr name="constantSize" format="boolean" /> 5180 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5181 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5182 an RGB 565 screen). --> 5183 <attr name="dither" format="boolean" /> 5184 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5185 <attr name="enterFadeDuration" format="integer" /> 5186 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5187 <attr name="exitFadeDuration" format="integer" /> 5188 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5189 RTL (right-to-left). --> 5190 <attr name="autoMirrored"/> 5191 </declare-styleable> 5192 5193 <!-- Drawable used to render several states with animated transitions. Each state 5194 is represented by a child drawable with an optional keyframe ID. --> 5195 <declare-styleable name="AnimatedStateListDrawable"> 5196 <!-- Indicates whether the drawable should be initially visible. --> 5197 <attr name="visible" /> 5198 <!-- If true, allows the drawable's padding to change based on the 5199 current state that is selected. If false, the padding will 5200 stay the same (based on the maximum padding of all the states). 5201 Enabling this feature requires that the owner of the drawable 5202 deal with performing layout when the state changes, which is 5203 often not supported. --> 5204 <attr name="variablePadding" /> 5205 <!-- If true, the drawable's reported internal size will remain 5206 constant as the state changes; the size is the maximum of all 5207 of the states. If false, the size will vary based on the 5208 current state. --> 5209 <attr name="constantSize" /> 5210 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5211 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5212 an RGB 565 screen). --> 5213 <attr name="dither" /> 5214 <!-- Amount of time (in milliseconds) to fade in a new state drawable. --> 5215 <attr name="enterFadeDuration" /> 5216 <!-- Amount of time (in milliseconds) to fade out an old state drawable. --> 5217 <attr name="exitFadeDuration" /> 5218 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5219 RTL (right-to-left). --> 5220 <attr name="autoMirrored"/> 5221 </declare-styleable> 5222 5223 <!-- Represents a single state inside a StateListDrawable. --> 5224 <declare-styleable name="StateListDrawableItem"> 5225 <!-- Reference to a drawable resource to use for the state. If not 5226 given, the drawable must be defined by the first child tag. --> 5227 <attr name="drawable" /> 5228 </declare-styleable> 5229 5230 <!-- Transition used to animate between states with keyframe IDs. --> 5231 <declare-styleable name="AnimatedStateListDrawableItem"> 5232 <!-- Reference to a drawable resource to use for the frame. If not 5233 given, the drawable must be defined by the first child tag. --> 5234 <attr name="drawable" /> 5235 <!-- Keyframe identifier for use in specifying transitions. --> 5236 <attr name="id" /> 5237 </declare-styleable> 5238 5239 <!-- Transition used to animate between states with keyframe IDs. --> 5240 <declare-styleable name="AnimatedStateListDrawableTransition"> 5241 <!-- Keyframe identifier for the starting state. --> 5242 <attr name="fromId" format="reference" /> 5243 <!-- Keyframe identifier for the ending state. --> 5244 <attr name="toId" format="reference" /> 5245 <!-- Reference to a animation drawable resource to use for the frame. If not 5246 given, the animation drawable must be defined by the first child tag. --> 5247 <attr name="drawable" /> 5248 <!-- Whether this transition is reversible. --> 5249 <attr name="reversible" format="boolean" /> 5250 </declare-styleable> 5251 5252 <!-- Drawable used to render several animated frames. --> 5253 <declare-styleable name="AnimationDrawable"> 5254 <attr name="visible" /> 5255 <attr name="variablePadding" /> 5256 <!-- If true, the animation will only run a single time and then 5257 stop. If false (the default), it will continually run, 5258 restarting at the first frame after the last has finished. --> 5259 <attr name="oneshot" format="boolean" /> 5260 </declare-styleable> 5261 5262 <!-- Represents a single frame inside an AnimationDrawable. --> 5263 <declare-styleable name="AnimationDrawableItem"> 5264 <!-- Amount of time (in milliseconds) to display this frame. --> 5265 <attr name="duration" format="integer" /> 5266 <!-- Reference to a drawable resource to use for the frame. If not 5267 given, the drawable must be defined by the first child tag. --> 5268 <attr name="drawable" format="reference" /> 5269 </declare-styleable> 5270 5271 <!-- Attributes that can be assigned to a StateListAnimator item. --> 5272 <declare-styleable name="StateListAnimatorItem"> 5273 <attr name="animation"/> 5274 </declare-styleable> 5275 5276 <!-- Attributes that can be assigned to a ColorStateList item. --> 5277 <declare-styleable name="ColorStateListItem"> 5278 <!-- Base color for this state. --> 5279 <attr name="color" /> 5280 <!-- Alpha multiplier applied to the base color. --> 5281 <attr name="alpha" /> 5282 </declare-styleable> 5283 5284 <!-- Drawable used to render a geometric shape, with a gradient or a solid color. --> 5285 <declare-styleable name="GradientDrawable"> 5286 <!-- Indicates whether the drawable should intially be visible. --> 5287 <attr name="visible" /> 5288 <!-- Enables or disables dithering. --> 5289 <attr name="dither" /> 5290 <!-- Indicates what shape to fill with a gradient. --> 5291 <attr name="shape"> 5292 <!-- Rectangle shape, with optional rounder corners. --> 5293 <enum name="rectangle" value="0" /> 5294 <!-- Oval shape. --> 5295 <enum name="oval" value="1" /> 5296 <!-- Line shape. --> 5297 <enum name="line" value="2" /> 5298 <!-- Ring shape. --> 5299 <enum name="ring" value="3" /> 5300 </attr> 5301 <!-- Inner radius of the ring expressed as a ratio of the ring's width. For instance, 5302 if innerRadiusRatio=9, then the inner radius equals the ring's width divided by 9. 5303 This value is ignored if innerRadius is defined. Default value is 9. --> 5304 <attr name="innerRadiusRatio" format="float" /> 5305 <!-- Thickness of the ring expressed as a ratio of the ring's width. For instance, 5306 if thicknessRatio=3, then the thickness equals the ring's width divided by 3. 5307 This value is ignored if innerRadius is defined. Default value is 3. --> 5308 <attr name="thicknessRatio" format="float" /> 5309 <!-- Inner radius of the ring. When defined, innerRadiusRatio is ignored. --> 5310 <attr name="innerRadius" format="dimension" /> 5311 <!-- Thickness of the ring. When defined, thicknessRatio is ignored. --> 5312 <attr name="thickness" format="dimension" /> 5313 <!-- Indicates whether the drawable's level affects the way the gradient is drawn. --> 5314 <attr name="useLevel" /> 5315 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5316 no tint is applied. May be a color state list. --> 5317 <attr name="tint" /> 5318 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5319 default value is src_in, which treats the drawable as an alpha mask. --> 5320 <attr name="tintMode" /> 5321 <!-- Left optical inset. 5322 @hide Until optical insets are fully supported. --> 5323 <attr name="opticalInsetLeft" /> 5324 <!-- Top optical inset. 5325 @hide Until optical insets are fully supported. --> 5326 <attr name="opticalInsetTop" /> 5327 <!-- Right optical inset. 5328 @hide Until optical insets are fully supported. --> 5329 <attr name="opticalInsetRight" /> 5330 <!-- Bottom optical inset. 5331 @hide Until optical insets are fully supported. --> 5332 <attr name="opticalInsetBottom" /> 5333 </declare-styleable> 5334 5335 <!-- Used to specify the size of the shape for GradientDrawable. --> 5336 <declare-styleable name="GradientDrawableSize"> 5337 <!-- Width of the gradient shape. --> 5338 <attr name="width" /> 5339 <!-- Height of the gradient shape. --> 5340 <attr name="height" /> 5341 </declare-styleable> 5342 5343 <!-- Used to describe the gradient used to fill the shape of a GradientDrawable. --> 5344 <declare-styleable name="GradientDrawableGradient"> 5345 <!-- Start color of the gradient. --> 5346 <attr name="startColor" format="color" /> 5347 <!-- Optional center color. For linear gradients, use centerX or centerY 5348 to place the center color. --> 5349 <attr name="centerColor" format="color" /> 5350 <!-- End color of the gradient. --> 5351 <attr name="endColor" format="color" /> 5352 <attr name="useLevel" format="boolean" /> 5353 <!-- Angle of the gradient. --> 5354 <attr name="angle" format="float" /> 5355 <!-- Type of gradient. The default type is linear. --> 5356 <attr name="type"> 5357 <!-- Linear gradient. --> 5358 <enum name="linear" value="0" /> 5359 <!-- Radial, or circular, gradient. --> 5360 <enum name="radial" value="1" /> 5361 <!-- Sweep, or angled or diamond, gradient. --> 5362 <enum name="sweep" value="2" /> 5363 </attr> 5364 <!-- X coordinate of the origin of the gradient within the shape. --> 5365 <attr name="centerX" format="float|fraction" /> 5366 <!-- Y coordinate of the origin of the gradient within the shape. --> 5367 <attr name="centerY" format="float|fraction" /> 5368 <!-- Radius of the gradient, used only with radial gradient. --> 5369 <attr name="gradientRadius" format="float|fraction|dimension" /> 5370 </declare-styleable> 5371 5372 <!-- Used to fill the shape of GradientDrawable with a solid color. --> 5373 <declare-styleable name="GradientDrawableSolid"> 5374 <!-- Solid color for the gradient shape. --> 5375 <attr name="color" format="color" /> 5376 </declare-styleable> 5377 5378 <!-- Used to describe the optional stroke of a GradientDrawable. --> 5379 <declare-styleable name="GradientDrawableStroke"> 5380 <!-- Width of the gradient shape's stroke. --> 5381 <attr name="width" /> 5382 <!-- Color of the gradient shape's stroke. --> 5383 <attr name="color" /> 5384 <!-- Length of a dash in the stroke. --> 5385 <attr name="dashWidth" format="dimension" /> 5386 <!-- Gap between dashes in the stroke. --> 5387 <attr name="dashGap" format="dimension" /> 5388 </declare-styleable> 5389 5390 <!-- Describes the corners for the rectangle shape of a GradientDrawable. 5391 This can be used to render rounded corners. --> 5392 <declare-styleable name="DrawableCorners"> 5393 <!-- Defines the radius of the four corners. --> 5394 <attr name="radius" format="dimension" /> 5395 <!-- Radius of the top left corner. --> 5396 <attr name="topLeftRadius" format="dimension" /> 5397 <!-- Radius of the top right corner. --> 5398 <attr name="topRightRadius" format="dimension" /> 5399 <!-- Radius of the bottom left corner. --> 5400 <attr name="bottomLeftRadius" format="dimension" /> 5401 <!-- Radius of the bottom right corner. --> 5402 <attr name="bottomRightRadius" format="dimension" /> 5403 </declare-styleable> 5404 5405 <!-- Used to specify the optional padding of a GradientDrawable. --> 5406 <declare-styleable name="GradientDrawablePadding"> 5407 <!-- Amount of left padding inside the gradient shape. --> 5408 <attr name="left" format="dimension" /> 5409 <!-- Amount of top padding inside the gradient shape. --> 5410 <attr name="top" format="dimension" /> 5411 <!-- Amount of right padding inside the gradient shape. --> 5412 <attr name="right" format="dimension" /> 5413 <!-- Amount of bottom padding inside the gradient shape. --> 5414 <attr name="bottom" format="dimension" /> 5415 </declare-styleable> 5416 5417 <!-- Drawable used to render several drawables stacked on top of each other. 5418 Each child drawable can be controlled individually. --> 5419 <declare-styleable name="LayerDrawable"> 5420 <!-- Indicates the opacity of the layer. This can be useful to allow the 5421 system to enable drawing optimizations. The default value is 5422 translucent. --> 5423 <attr name="opacity"> 5424 <!-- Indicates that the layer is opaque and contains no transparent 5425 nor translucent pixels. --> 5426 <enum name="opaque" value="-1" /> 5427 <!-- The layer is completely transparent (no pixel will be drawn.) --> 5428 <enum name="transparent" value="-2" /> 5429 <!-- The layer has translucent pixels. --> 5430 <enum name="translucent" value="-3" /> 5431 </attr> 5432 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5433 RTL (right-to-left). --> 5434 <attr name="autoMirrored" /> 5435 <!-- Indicates how layer padding should affect the bounds of subsequent layers. 5436 The default padding mode value is nest. --> 5437 <attr name="paddingMode"> 5438 <!-- Nest each layer inside the padding of the previous layer. --> 5439 <enum name="nest" value="0" /> 5440 <!-- Stack each layer directly atop the previous layer. --> 5441 <enum name="stack" value="1" /> 5442 </attr> 5443 <!-- Explicit top padding. Overrides child padding. --> 5444 <attr name="paddingTop" /> 5445 <!-- Explicit bottom padding. Overrides child padding. --> 5446 <attr name="paddingBottom" /> 5447 <!-- Explicit left padding. Overrides child padding. --> 5448 <attr name="paddingLeft" /> 5449 <!-- Explicit right padding. Overrides child padding. --> 5450 <attr name="paddingRight" /> 5451 <!-- Explicit start padding. Overrides child padding. Takes precedence 5452 over absolute padding (e.g. left when layout direction is LTR). --> 5453 <attr name="paddingStart" /> 5454 <!-- Explicit end padding. Overrides child padding. Takes precedence 5455 over absolute padding (e.g. right when layout direction is LTR). --> 5456 <attr name="paddingEnd" /> 5457 </declare-styleable> 5458 5459 <!-- Describes an item (or child) of a LayerDrawable. --> 5460 <declare-styleable name="LayerDrawableItem"> 5461 <!-- Left inset to apply to the layer. --> 5462 <attr name="left" /> 5463 <!-- Top inset to apply to the layer. --> 5464 <attr name="top" /> 5465 <!-- Right inset to apply to the layer. --> 5466 <attr name="right" /> 5467 <!-- Bottom inset to apply to the layer. --> 5468 <attr name="bottom" /> 5469 <!-- Start inset to apply to the layer. Overrides {@code left} or 5470 {@code right} depending on layout direction. --> 5471 <attr name="start" format="dimension" /> 5472 <!-- End inset to apply to the layer. Overrides {@code left} or 5473 {@code right} depending on layout direction. --> 5474 <attr name="end" format="dimension" /> 5475 <!-- Width of the layer. Defaults to the layer's intrinsic width. --> 5476 <attr name="width" /> 5477 <!-- Height of the layer. Defaults to the layer's intrinsic height --> 5478 <attr name="height" /> 5479 <!-- Gravity used to align the layer within its container. If no value 5480 is specified, the default behavior depends on whether an explicit 5481 width or height has been set, If no dimension is set, gravity in 5482 that direction defaults to {@code fill_horizontal} or 5483 {@code fill_vertical}; otherwise, it defaults to {@code left} or 5484 {@code top}. --> 5485 <attr name="gravity" /> 5486 <!-- Drawable used to render the layer. --> 5487 <attr name="drawable" /> 5488 <!-- Identifier of the layer. This can be used to retrieve the layer 5489 from a drawable container. --> 5490 <attr name="id" /> 5491 </declare-styleable> 5492 5493 <declare-styleable name="LevelListDrawableItem"> 5494 <!-- The minimum level allowed for this item. --> 5495 <attr name="minLevel" format="integer" /> 5496 <!-- The maximum level allowed for this item. --> 5497 <attr name="maxLevel" format="integer" /> 5498 <attr name="drawable" /> 5499 </declare-styleable> 5500 5501 <!-- Drawable used to rotate another drawable. --> 5502 <declare-styleable name="RotateDrawable"> 5503 <attr name="visible" /> 5504 <attr name="fromDegrees" format="float" /> 5505 <attr name="toDegrees" format="float" /> 5506 <attr name="pivotX" format="float|fraction" /> 5507 <attr name="pivotY" format="float|fraction" /> 5508 <attr name="drawable" /> 5509 </declare-styleable> 5510 5511 <declare-styleable name="AnimatedRotateDrawable"> 5512 <attr name="visible" /> 5513 <attr name="frameDuration" format="integer" /> 5514 <attr name="framesCount" format="integer" /> 5515 <attr name="pivotX" /> 5516 <attr name="pivotY" /> 5517 <attr name="drawable" /> 5518 </declare-styleable> 5519 5520 <!-- Drawable used to render the Material progress indicator. --> 5521 <declare-styleable name="MaterialProgressDrawable"> 5522 <attr name="visible" /> 5523 <attr name="thickness" /> 5524 <attr name="innerRadius" /> 5525 <attr name="width" /> 5526 <attr name="height" /> 5527 <attr name="color" /> 5528 </declare-styleable> 5529 5530 <!-- Drawable used to wrap and inset another drawable. --> 5531 <declare-styleable name="InsetDrawable"> 5532 <attr name="visible" /> 5533 <attr name="drawable" /> 5534 <attr name="inset" format="dimension"/> 5535 <attr name="insetLeft" format="dimension" /> 5536 <attr name="insetRight" format="dimension" /> 5537 <attr name="insetTop" format="dimension" /> 5538 <attr name="insetBottom" format="dimension" /> 5539 </declare-styleable> 5540 5541 <!-- Drawable used to draw bitmaps. --> 5542 <declare-styleable name="BitmapDrawable"> 5543 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5544 <attr name="src" /> 5545 <!-- Enables or disables antialiasing. Antialiasing can be used to smooth the 5546 edges of a bitmap when rotated. Default value is false. --> 5547 <attr name="antialias" format="boolean" /> 5548 <!-- Enables or disables bitmap filtering. Filtering is used when the bitmap is 5549 shrunk or stretched to smooth its apperance. Default value is true. --> 5550 <attr name="filter" format="boolean" /> 5551 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5552 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5553 an RGB 565 screen). Default value is true. --> 5554 <attr name="dither" /> 5555 <!-- Defines the gravity for the bitmap. The gravity indicates where to position 5556 the drawable in its container if the bitmap is smaller than the container. --> 5557 <attr name="gravity" /> 5558 <!-- Defines the tile mode. When the tile mode is enabled, the bitmap is repeated. 5559 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5560 <attr name="tileMode"> 5561 <!-- Do not tile the bitmap. This is the default value. --> 5562 <enum name="disabled" value="-1" /> 5563 <!-- Replicates the edge color. --> 5564 <enum name="clamp" value="0" /> 5565 <!-- Repeats the bitmap in both direction. --> 5566 <enum name="repeat" value="1" /> 5567 <!-- Repeats the shader's image horizontally and vertically, alternating 5568 mirror images so that adjacent images always seam. --> 5569 <enum name="mirror" value="2" /> 5570 </attr> 5571 <!-- Defines the horizontal tile mode. When the tile mode is enabled, the bitmap is repeated. 5572 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5573 <attr name="tileModeX"> 5574 <!-- Do not tile the bitmap. This is the default value. --> 5575 <enum name="disabled" value="-1" /> 5576 <!-- Replicates the edge color. --> 5577 <enum name="clamp" value="0" /> 5578 <!-- Repeats the bitmap horizontally. --> 5579 <enum name="repeat" value="1" /> 5580 <!-- Repeats the shader's image horizontally, alternating 5581 mirror images so that adjacent images always seam. --> 5582 <enum name="mirror" value="2" /> 5583 </attr> 5584 <!-- Defines the vertical tile mode. When the tile mode is enabled, the bitmap is repeated. 5585 Gravity is ignored when the tile mode is enabled. Default value is "disabled". --> 5586 <attr name="tileModeY"> 5587 <!-- Do not tile the bitmap. This is the default value. --> 5588 <enum name="disabled" value="-1" /> 5589 <!-- Replicates the edge color. --> 5590 <enum name="clamp" value="0" /> 5591 <!-- Repeats the bitmap vertically. --> 5592 <enum name="repeat" value="1" /> 5593 <!-- Repeats the shader's image vertically, alternating 5594 mirror images so that adjacent images always seam. --> 5595 <enum name="mirror" value="2" /> 5596 </attr> 5597 <!-- Enables or disables the mipmap hint. See 5598 {@link android.graphics.Bitmap#setHasMipMap(boolean)} for more information. 5599 Default value is false. --> 5600 <attr name="mipMap" format="boolean" /> 5601 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5602 RTL (right-to-left). --> 5603 <attr name="autoMirrored" /> 5604 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5605 no tint is applied. May be a color state list. --> 5606 <attr name="tint" /> 5607 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5608 default value is src_in, which treats the drawable as an alpha mask. --> 5609 <attr name="tintMode"> 5610 <!-- The tint is drawn on top of the drawable. 5611 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 5612 <enum name="src_over" value="3" /> 5613 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 5614 color channels are thrown out. [Sa * Da, Sc * Da] --> 5615 <enum name="src_in" value="5" /> 5616 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 5617 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 5618 <enum name="src_atop" value="9" /> 5619 <!-- Multiplies the color and alpha channels of the drawable with those of 5620 the tint. [Sa * Da, Sc * Dc] --> 5621 <enum name="multiply" value="14" /> 5622 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 5623 <enum name="screen" value="15" /> 5624 <!-- Combines the tint and drawable color and alpha channels, clamping the 5625 result to valid color values. Saturate(S + D) --> 5626 <enum name="add" value="16" /> 5627 </attr> 5628 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5629 <attr name="alpha" /> 5630 </declare-styleable> 5631 5632 <!-- Drawable used to draw 9-patches. --> 5633 <declare-styleable name="NinePatchDrawable"> 5634 <!-- Identifier of the bitmap file. This attribute is mandatory. --> 5635 <attr name="src" /> 5636 <!-- Enables or disables dithering of the bitmap if the bitmap does not have the 5637 same pixel configuration as the screen (for instance: a ARGB 8888 bitmap with 5638 an RGB 565 screen). --> 5639 <attr name="dither" /> 5640 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5641 RTL (right-to-left). --> 5642 <attr name="autoMirrored" /> 5643 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5644 no tint is applied. May be a color state list. --> 5645 <attr name="tint" /> 5646 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5647 default value is src_in, which treats the drawable as an alpha mask. --> 5648 <attr name="tintMode" /> 5649 <!-- Specifies the alpha multiplier to apply to the base drawable. --> 5650 <attr name="alpha" /> 5651 </declare-styleable> 5652 5653 <!-- Drawable used to draw a single color. --> 5654 <declare-styleable name="ColorDrawable"> 5655 <!-- The color to use. --> 5656 <attr name="color" /> 5657 </declare-styleable> 5658 5659 <!-- Drawable used to show animated touch feedback. --> 5660 <declare-styleable name="RippleDrawable"> 5661 <!-- The color to use for ripple effects. This attribute is required. --> 5662 <attr name="color" /> 5663 <!-- The radius of the ripple when fully expanded. By default, the 5664 radius is computed based on the size of the ripple's container. --> 5665 <attr name="radius" /> 5666 </declare-styleable> 5667 5668 <declare-styleable name="ScaleDrawable"> 5669 <!-- Scale width, expressed as a percentage of the drawable's bound. The value's 5670 format is XX%. For instance: 100%, 12.5%, etc.--> 5671 <attr name="scaleWidth" format="string" /> 5672 <!-- Scale height, expressed as a percentage of the drawable's bound. The value's 5673 format is XX%. For instance: 100%, 12.5%, etc.--> 5674 <attr name="scaleHeight" format="string" /> 5675 <!-- Specifies where the drawable is positioned after scaling. The default value is 5676 left. --> 5677 <attr name="scaleGravity"> 5678 <!-- Push object to the top of its container, not changing its size. --> 5679 <flag name="top" value="0x30" /> 5680 <!-- Push object to the bottom of its container, not changing its size. --> 5681 <flag name="bottom" value="0x50" /> 5682 <!-- Push object to the left of its container, not changing its size. --> 5683 <flag name="left" value="0x03" /> 5684 <!-- Push object to the right of its container, not changing its size. --> 5685 <flag name="right" value="0x05" /> 5686 <!-- Place object in the vertical center of its container, not changing its size. --> 5687 <flag name="center_vertical" value="0x10" /> 5688 <!-- Grow the vertical size of the object if needed so it completely fills its container. --> 5689 <flag name="fill_vertical" value="0x70" /> 5690 <!-- Place object in the horizontal center of its container, not changing its size. --> 5691 <flag name="center_horizontal" value="0x01" /> 5692 <!-- Grow the horizontal size of the object if needed so it completely fills its container. --> 5693 <flag name="fill_horizontal" value="0x07" /> 5694 <!-- Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. --> 5695 <flag name="center" value="0x11" /> 5696 <!-- Grow the horizontal and vertical size of the object if needed so it completely fills its container. --> 5697 <flag name="fill" value="0x77" /> 5698 <!-- Additional option that can be set to have the top and/or bottom edges of 5699 the child clipped to its container's bounds. 5700 The clip will be based on the vertical gravity: a top gravity will clip the bottom 5701 edge, a bottom gravity will clip the top edge, and neither will clip both edges. --> 5702 <flag name="clip_vertical" value="0x80" /> 5703 <!-- Additional option that can be set to have the left and/or right edges of 5704 the child clipped to its container's bounds. 5705 The clip will be based on the horizontal gravity: a left gravity will clip the right 5706 edge, a right gravity will clip the left edge, and neither will clip both edges. --> 5707 <flag name="clip_horizontal" value="0x08" /> 5708 <!-- Push object to the beginning of its container, not changing its size. --> 5709 <flag name="start" value="0x00800003" /> 5710 <!-- Push object to the end of its container, not changing its size. --> 5711 <flag name="end" value="0x00800005" /> 5712 </attr> 5713 <!-- Specifies the initial drawable level in the range 0 to 10000. --> 5714 <attr name="level" format="integer" /> 5715 <!-- Reference to a drawable resource to draw with the specified scale. --> 5716 <attr name="drawable" /> 5717 <!-- Use the drawable's intrinsic width and height as minimum size values. 5718 Useful if the target drawable is a 9-patch or otherwise should not be scaled 5719 down beyond a minimum size. --> 5720 <attr name="useIntrinsicSizeAsMinimum" format="boolean" /> 5721 </declare-styleable> 5722 5723 <declare-styleable name="ClipDrawable"> 5724 <!-- The orientation for the clip. --> 5725 <attr name="clipOrientation"> 5726 <!-- Clip the drawable horizontally. --> 5727 <flag name="horizontal" value="1" /> 5728 <!-- Clip the drawable vertically. --> 5729 <flag name="vertical" value="2" /> 5730 </attr> 5731 <!-- Specifies where to clip within the drawable. The default value is 5732 left. --> 5733 <attr name="gravity" /> 5734 <!-- Reference to a drawable resource to draw with the specified scale. --> 5735 <attr name="drawable" /> 5736 </declare-styleable> 5737 5738 <!-- Defines the padding of a ShapeDrawable. --> 5739 <declare-styleable name="ShapeDrawablePadding"> 5740 <!-- Left padding. --> 5741 <attr name="left" /> 5742 <!-- Top padding. --> 5743 <attr name="top" /> 5744 <!-- Right padding. --> 5745 <attr name="right" /> 5746 <!-- Bottom padding. --> 5747 <attr name="bottom" /> 5748 </declare-styleable> 5749 5750 <!-- Drawable used to draw shapes. --> 5751 <declare-styleable name="ShapeDrawable"> 5752 <!-- Defines the color of the shape. --> 5753 <attr name="color" /> 5754 <!-- Defines the width of the shape. --> 5755 <attr name="width" /> 5756 <!-- Defines the height of the shape. --> 5757 <attr name="height" /> 5758 <!-- Enables or disables dithering. --> 5759 <attr name="dither" /> 5760 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5761 no tint is applied. May be a color state list. --> 5762 <attr name="tint" /> 5763 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5764 default value is src_in, which treats the drawable as an alpha mask. --> 5765 <attr name="tintMode" /> 5766 </declare-styleable> 5767 5768 <!-- ========================== --> 5769 <!-- VectorDrawable class --> 5770 <!-- ========================== --> 5771 <eat-comment /> 5772 5773 <!-- Drawable used to draw vector paths. --> 5774 <declare-styleable name="VectorDrawable"> 5775 <!-- If set, specifies the color to apply to the drawable as a tint. By default, 5776 no tint is applied. May be a color state list. --> 5777 <attr name="tint" /> 5778 <!-- When a tint color is set, specifies its Porter-Duff blending mode. The 5779 default value is src_in, which treats the drawable as an alpha mask. --> 5780 <attr name="tintMode" /> 5781 <!-- Indicates if the drawable needs to be mirrored when its layout direction is 5782 RTL (right-to-left). --> 5783 <attr name="autoMirrored" /> 5784 <!-- The intrinsic width of the Vector Drawable. --> 5785 <attr name="width" /> 5786 <!-- The intrinsic height of the Vector Drawable. --> 5787 <attr name="height" /> 5788 <!-- The width of the canvas the drawing is on. --> 5789 <attr name="viewportWidth" format="float"/> 5790 <!-- The height of the canvas the drawing is on. --> 5791 <attr name="viewportHeight" format="float"/> 5792 <!-- The name of this vector drawable --> 5793 <attr name="name" /> 5794 <!-- The opacity of the whole vector drawable, as a value between 0 5795 (completely transparent) and 1 (completely opaque). --> 5796 <attr name="alpha" /> 5797 <!-- Left optical inset. 5798 @hide Until optical insets are fully supported. --> 5799 <attr name="opticalInsetLeft" format="dimension" /> 5800 <!-- Top optical inset. 5801 @hide Until optical insets are fully supported. --> 5802 <attr name="opticalInsetTop" format="dimension" /> 5803 <!-- Right optical inset. 5804 @hide Until optical insets are fully supported. --> 5805 <attr name="opticalInsetRight" format="dimension" /> 5806 <!-- Bottom optical inset. 5807 @hide Until optical insets are fully supported. --> 5808 <attr name="opticalInsetBottom" format="dimension" /> 5809 </declare-styleable> 5810 5811 <!-- Defines the group used in VectorDrawables. --> 5812 <declare-styleable name="VectorDrawableGroup"> 5813 <!-- The name of this group --> 5814 <attr name="name" /> 5815 <!-- The amount to rotate the group --> 5816 <attr name="rotation" /> 5817 <!-- The X coordinate of the center of rotation of a group --> 5818 <attr name="pivotX" /> 5819 <!-- The Y coordinate of the center of rotation of a group --> 5820 <attr name="pivotY" /> 5821 <!-- The amount to translate the group on X coordinate --> 5822 <attr name="translateX" format="float"/> 5823 <!-- The amount to translate the group on Y coordinate --> 5824 <attr name="translateY" format="float"/> 5825 <!-- The amount to scale the group on X coordinate --> 5826 <attr name="scaleX" /> 5827 <!-- The amount to scale the group on X coordinate --> 5828 <attr name="scaleY" /> 5829 </declare-styleable> 5830 5831 <!-- Defines the path used in VectorDrawables. --> 5832 <declare-styleable name="VectorDrawablePath"> 5833 <!-- The name of this path --> 5834 <attr name="name" /> 5835 <!-- The width a path stroke --> 5836 <attr name="strokeWidth" format="float" /> 5837 <!-- The color to stroke the path if not defined implies no stroke--> 5838 <attr name="strokeColor" format="color" /> 5839 <!-- The opacity of a path stroke, as a value between 0 (completely transparent) 5840 and 1 (completely opaque) --> 5841 <attr name="strokeAlpha" format="float" /> 5842 <!-- The color to fill the path if not defined implies no fill--> 5843 <attr name="fillColor" format="color" /> 5844 <!-- The alpha of the path fill, as a value between 0 (completely transparent) 5845 and 1 (completely opaque)--> 5846 <attr name="fillAlpha" format="float" /> 5847 <!-- The specification of the operations that define the path --> 5848 <attr name="pathData" format="string" /> 5849 <!-- The fraction of the path to trim from the start from 0 to 1 --> 5850 <attr name="trimPathStart" format="float" /> 5851 <!-- The fraction of the path to trim from the end from 0 to 1 --> 5852 <attr name="trimPathEnd" format="float" /> 5853 <!-- Shift trim region (allows visible region to include the start and end) from 0 to 1 --> 5854 <attr name="trimPathOffset" format="float" /> 5855 <!-- sets the linecap for a stroked path --> 5856 <attr name="strokeLineCap" format="enum"> 5857 <enum name="butt" value="0"/> 5858 <enum name="round" value="1"/> 5859 <enum name="square" value="2"/> 5860 </attr> 5861 <!-- sets the lineJoin for a stroked path --> 5862 <attr name="strokeLineJoin" format="enum"> 5863 <enum name="miter" value="0"/> 5864 <enum name="round" value="1"/> 5865 <enum name="bevel" value="2"/> 5866 </attr> 5867 <!-- sets the Miter limit for a stroked path --> 5868 <attr name="strokeMiterLimit" format="float"/> 5869 </declare-styleable> 5870 5871 <!-- Defines the clip path used in VectorDrawables. --> 5872 <declare-styleable name="VectorDrawableClipPath"> 5873 <!-- The Name of this path --> 5874 <attr name="name" /> 5875 <!-- The specification of the operations that define the path --> 5876 <attr name="pathData"/> 5877 </declare-styleable> 5878 5879 <!-- ========================== --> 5880 <!-- AnimatedVectorDrawable class --> 5881 <!-- ========================== --> 5882 <eat-comment /> 5883 5884 <!-- Define the AnimatedVectorDrawable. --> 5885 <declare-styleable name="AnimatedVectorDrawable"> 5886 <!-- The static vector drawable. --> 5887 <attr name="drawable" /> 5888 </declare-styleable> 5889 5890 <!-- Defines the target used in the AnimatedVectorDrawable. --> 5891 <declare-styleable name="AnimatedVectorDrawableTarget"> 5892 <!-- The name of the target path, group or vector drawable --> 5893 <attr name="name" /> 5894 <!-- The animation for the target path, group or vector drawable --> 5895 <attr name="animation" /> 5896 </declare-styleable> 5897 5898 <!-- ========================== --> 5899 <!-- Animation class attributes --> 5900 <!-- ========================== --> 5901 <eat-comment /> 5902 5903 <declare-styleable name="Animation"> 5904 <!-- Defines the interpolator used to smooth the animation movement in time. --> 5905 <attr name="interpolator" /> 5906 <!-- When set to true, the value of fillBefore is taken into account. --> 5907 <attr name="fillEnabled" format="boolean" /> 5908 <!-- When set to true or when fillEnabled is not set to true, the animation transformation 5909 is applied before the animation has started. The default value is true. --> 5910 <attr name="fillBefore" format="boolean" /> 5911 <!-- When set to true, the animation transformation is applied after the animation is 5912 over. The default value is false. If fillEnabled is not set to true and the 5913 animation is not set on a View, fillAfter is assumed to be true.--> 5914 <attr name="fillAfter" format="boolean" /> 5915 <!-- Amount of time (in milliseconds) for the animation to run. --> 5916 <attr name="duration" /> 5917 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 5918 <attr name="startOffset" format="integer" /> 5919 <!-- Defines how many times the animation should repeat. The default value is 0. --> 5920 <attr name="repeatCount" format="integer"> 5921 <enum name="infinite" value="-1" /> 5922 </attr> 5923 <!-- Defines the animation behavior when it reaches the end and the repeat count is 5924 greater than 0 or infinite. The default value is restart. --> 5925 <attr name="repeatMode"> 5926 <!-- The animation starts again from the beginning. --> 5927 <enum name="restart" value="1" /> 5928 <!-- The animation plays backward. --> 5929 <enum name="reverse" value="2" /> 5930 </attr> 5931 <!-- Allows for an adjustment of the Z ordering of the content being 5932 animated for the duration of the animation. The default value is normal. --> 5933 <attr name="zAdjustment"> 5934 <!-- The content being animated be kept in its current Z order. --> 5935 <enum name="normal" value="0" /> 5936 <!-- The content being animated is forced on top of all other 5937 content for the duration of the animation. --> 5938 <enum name="top" value="1" /> 5939 <!-- The content being animated is forced under all other 5940 content for the duration of the animation. --> 5941 <enum name="bottom" value="-1" /> 5942 </attr> 5943 <!-- Special background behind animation. Only for use with window 5944 animations. Can only be a color, and only black. If 0, the 5945 default, there is no background. --> 5946 <attr name="background" /> 5947 <!-- Special option for window animations: if this window is on top 5948 of a wallpaper, don't animate the wallpaper with it. --> 5949 <attr name="detachWallpaper" format="boolean" /> 5950 </declare-styleable> 5951 5952 <declare-styleable name="AnimationSet"> 5953 <attr name="shareInterpolator" format="boolean" /> 5954 <attr name="fillBefore" /> 5955 <attr name="fillAfter" /> 5956 <attr name="duration" /> 5957 <attr name="startOffset" /> 5958 <attr name="repeatMode" /> 5959 </declare-styleable> 5960 5961 <declare-styleable name="RotateAnimation"> 5962 <attr name="fromDegrees" /> 5963 <attr name="toDegrees" /> 5964 <attr name="pivotX" /> 5965 <attr name="pivotY" /> 5966 </declare-styleable> 5967 5968 <declare-styleable name="ScaleAnimation"> 5969 <attr name="fromXScale" format="float|fraction|dimension" /> 5970 <attr name="toXScale" format="float|fraction|dimension" /> 5971 <attr name="fromYScale" format="float|fraction|dimension" /> 5972 <attr name="toYScale" format="float|fraction|dimension" /> 5973 <attr name="pivotX" /> 5974 <attr name="pivotY" /> 5975 </declare-styleable> 5976 5977 <declare-styleable name="TranslateAnimation"> 5978 <attr name="fromXDelta" format="float|fraction" /> 5979 <attr name="toXDelta" format="float|fraction" /> 5980 <attr name="fromYDelta" format="float|fraction" /> 5981 <attr name="toYDelta" format="float|fraction" /> 5982 </declare-styleable> 5983 5984 <declare-styleable name="AlphaAnimation"> 5985 <attr name="fromAlpha" format="float" /> 5986 <attr name="toAlpha" format="float" /> 5987 </declare-styleable> 5988 5989 <declare-styleable name="LayoutAnimation"> 5990 <!-- Fraction of the animation duration used to delay the beginning of 5991 the animation of each child. --> 5992 <attr name="delay" format="float|fraction" /> 5993 <!-- Animation to use on each child. --> 5994 <attr name="animation" format="reference" /> 5995 <!-- The order in which the animations will be started. --> 5996 <attr name="animationOrder"> 5997 <!-- Animations are started in the natural order. --> 5998 <enum name="normal" value="0" /> 5999 <!-- Animations are started in the reverse order. --> 6000 <enum name="reverse" value="1" /> 6001 <!-- Animations are started randomly. --> 6002 <enum name="random" value="2" /> 6003 </attr> 6004 <!-- Interpolator used to interpolate the delay between the start of 6005 each animation. --> 6006 <attr name="interpolator" /> 6007 </declare-styleable> 6008 6009 <declare-styleable name="GridLayoutAnimation"> 6010 <!-- Fraction of the animation duration used to delay the beginning of 6011 the animation of each column. --> 6012 <attr name="columnDelay" format="float|fraction" /> 6013 <!-- Fraction of the animation duration used to delay the beginning of 6014 the animation of each row. --> 6015 <attr name="rowDelay" format="float|fraction" /> 6016 <!-- Direction of the animation in the grid. --> 6017 <attr name="direction"> 6018 <!-- Animates columns from left to right. --> 6019 <flag name="left_to_right" value="0x0" /> 6020 <!-- Animates columns from right to left. --> 6021 <flag name="right_to_left" value="0x1" /> 6022 <!-- Animates rows from top to bottom. --> 6023 <flag name="top_to_bottom" value="0x0" /> 6024 <!-- Animates rows from bottom to top. --> 6025 <flag name="bottom_to_top" value="0x2" /> 6026 </attr> 6027 <!-- Priority of the rows and columns. When the priority is none, 6028 both rows and columns have the same priority. When the priority is 6029 column, the animations will be applied on the columns first. The same 6030 goes for rows. --> 6031 <attr name="directionPriority"> 6032 <!-- Rows and columns are animated at the same time. --> 6033 <enum name="none" value="0" /> 6034 <!-- Columns are animated first. --> 6035 <enum name="column" value="1" /> 6036 <!-- Rows are animated first. --> 6037 <enum name="row" value="2" /> 6038 </attr> 6039 </declare-styleable> 6040 6041 <declare-styleable name="AccelerateInterpolator"> 6042 <!-- This is the amount of deceleration to add when easing in. --> 6043 <attr name="factor" format="float" /> 6044 </declare-styleable> 6045 6046 <declare-styleable name="DecelerateInterpolator"> 6047 <!-- This is the amount of acceleration to add when easing out. --> 6048 <attr name="factor" /> 6049 </declare-styleable> 6050 6051 <declare-styleable name="CycleInterpolator"> 6052 <attr name="cycles" format="float" /> 6053 </declare-styleable> 6054 6055 <declare-styleable name="AnticipateInterpolator"> 6056 <!-- This is the amount of tension. --> 6057 <attr name="tension" format="float" /> 6058 </declare-styleable> 6059 6060 <declare-styleable name="OvershootInterpolator"> 6061 <!-- This is the amount of tension. --> 6062 <attr name="tension" /> 6063 </declare-styleable> 6064 6065 <declare-styleable name="AnticipateOvershootInterpolator"> 6066 <!-- This is the amount of tension. --> 6067 <attr name="tension" /> 6068 <!-- This is the amount by which to multiply the tension. --> 6069 <attr name="extraTension" format="float" /> 6070 </declare-styleable> 6071 6072 <declare-styleable name="PathInterpolator"> 6073 <!-- The x coordinate of the first control point of the cubic Bezier --> 6074 <attr name="controlX1" format="float" /> 6075 <!-- The y coordinate of the first control point of the cubic Bezier --> 6076 <attr name="controlY1" format="float" /> 6077 <!-- The x coordinate of the second control point of the cubic Bezier --> 6078 <attr name="controlX2" format="float" /> 6079 <!-- The y coordinate of the second control point of the cubic Bezier --> 6080 <attr name="controlY2" format="float" /> 6081 <!-- The control points defined as a path. 6082 When pathData is defined, then both of the control points of the 6083 cubic Bezier will be ignored. --> 6084 <attr name="pathData"/> 6085 </declare-styleable> 6086 6087 <!-- ========================== --> 6088 <!-- Transition attributes --> 6089 <!-- ========================== --> 6090 <eat-comment /> 6091 6092 <!-- Use specific transition subclass names as the root tag of the XML resource that 6093 describes a {@link android.transition.Transition Transition}, 6094 such as <code>changeBounds</code>, <code>fade</code>, and <code>transitionSet</code>. --> 6095 <declare-styleable name="Transition"> 6096 <!-- Amount of time (in milliseconds) that the transition should run. --> 6097 <attr name="duration" /> 6098 <!-- Delay in milliseconds before the transition starts. --> 6099 <attr name="startDelay" format="integer" /> 6100 <!-- Interpolator to be used in the animations spawned by this transition. --> 6101 <attr name="interpolator" /> 6102 <!-- The match order to use for the transition. This is a comma-separated 6103 list of values, containing one or more of the following: 6104 id, itemId, name, instance. These correspond to 6105 {@link android.transition.Transition#MATCH_ID}, 6106 {@link android.transition.Transition#MATCH_ITEM_ID}, 6107 {@link android.transition.Transition#MATCH_NAME}, and 6108 {@link android.transition.Transition#MATCH_INSTANCE}, respectively. 6109 This corresponds to {@link android.transition.Transition#setMatchOrder(int...)}. --> 6110 <attr name="matchOrder" format="string" /> 6111 </declare-styleable> 6112 6113 <!-- @hide For internal use only. Use only as directed. --> 6114 <declare-styleable name="EpicenterTranslateClipReveal"> 6115 <attr name="interpolatorX" format="reference" /> 6116 <attr name="interpolatorY" format="reference" /> 6117 <attr name="interpolatorZ" format="reference" /> 6118 </declare-styleable> 6119 6120 <!-- Use <code>fade</code>as the root tag of the XML resource that 6121 describes a {@link android.transition.Fade Fade} transition. 6122 The attributes of the {@link android.R.styleable#Transition Transition} 6123 resource are available in addition to the specific attributes of Fade 6124 described here. --> 6125 <declare-styleable name="Fade"> 6126 <!-- Equivalent to <code>transitionVisibilityMode</code>, fadingMode works only 6127 with the Fade transition. --> 6128 <attr name="fadingMode"> 6129 <!-- Fade will only fade appearing items in. --> 6130 <enum name="fade_in" value="1" /> 6131 <!-- Fade will only fade disappearing items out. --> 6132 <enum name="fade_out" value="2" /> 6133 <!-- Fade will fade appearing items in and disappearing items out. --> 6134 <enum name="fade_in_out" value="3" /> 6135 </attr> 6136 </declare-styleable> 6137 6138 <!-- Use <code>slide</code>as the root tag of the XML resource that 6139 describes a {@link android.transition.Slide Slide} transition. 6140 The attributes of the {@link android.R.styleable#Transition Transition} 6141 resource are available in addition to the specific attributes of Slide 6142 described here. --> 6143 <declare-styleable name="Slide"> 6144 <attr name="slideEdge"> 6145 <!-- Slide to and from the left edge of the Scene. --> 6146 <enum name="left" value="0x03" /> 6147 <!-- Slide to and from the top edge of the Scene. --> 6148 <enum name="top" value="0x30" /> 6149 <!-- Slide to and from the right edge of the Scene. --> 6150 <enum name="right" value="0x05" /> 6151 <!-- Slide to and from the bottom edge of the Scene. --> 6152 <enum name="bottom" value="0x50" /> 6153 <!-- Slide to and from the x-axis position at the start of the Scene root. --> 6154 <enum name="start" value="0x00800003"/> 6155 <!-- Slide to and from the x-axis position at the end of the Scene root. --> 6156 <enum name="end" value="0x00800005"/> 6157 </attr> 6158 </declare-styleable> 6159 6160 <!-- Use with {@link android.transition.Visibility} transitions, such as 6161 <code>slide</code>, <code>explode</code>, and <code>fade</code> to mark which 6162 views are supported. --> 6163 <declare-styleable name="VisibilityTransition"> 6164 <!-- Changes whether the transition supports appearing and/or disappearing Views. 6165 Corresponds to {@link android.transition.Visibility#setMode(int)}. --> 6166 <attr name="transitionVisibilityMode"> 6167 <!-- Only appearing Views will be supported. --> 6168 <flag name="mode_in" value="1" /> 6169 <!-- Only disappearing Views will be supported. --> 6170 <flag name="mode_out" value="2" /> 6171 </attr> 6172 </declare-styleable> 6173 <!-- Use <code>target</code> as the root tag of the XML resource that 6174 describes a {@link android.transition.Transition#addTarget(int) 6175 targetId} of a transition. There can be one or more targets inside 6176 a <code>targets</code> tag, which is itself inside an appropriate 6177 {@link android.R.styleable#Transition Transition} tag. 6178 --> 6179 <declare-styleable name="TransitionTarget"> 6180 <!-- The id of a target on which this transition will animate changes. --> 6181 <attr name="targetId" format="reference" /> 6182 <!-- The id of a target to exclude from this transition. --> 6183 <attr name="excludeId" format="reference" /> 6184 <!-- The fully-qualified name of the Class to include in this transition. --> 6185 <attr name="targetClass" /> 6186 <!-- The fully-qualified name of the Class to exclude from this transition. --> 6187 <attr name="excludeClass" format="string" /> 6188 <!-- The transitionName of the target on which this transition will animation changes. --> 6189 <attr name="targetName" format="string" /> 6190 <!-- The transitionName of the target to exclude from this transition. --> 6191 <attr name="excludeName" format="string" /> 6192 </declare-styleable> 6193 6194 <!-- Use <code>set</code> as the root tag of the XML resource that 6195 describes a {@link android.transition.TransitionSet 6196 TransitionSet} transition. --> 6197 <declare-styleable name="TransitionSet"> 6198 <attr name="transitionOrdering"> 6199 <!-- child transitions should be played together. --> 6200 <enum name="together" value="0" /> 6201 <!-- child transitions should be played sequentially, in the same order 6202 as the xml. --> 6203 <enum name="sequential" value="1" /> 6204 </attr> 6205 </declare-styleable> 6206 6207 <!-- Use <code>changeTransform</code> as the root tag of the XML resource that 6208 describes a {@link android.transition.ChangeTransform} transition. --> 6209 <declare-styleable name="ChangeTransform"> 6210 <!-- A parent change should use an overlay or affect the transform of the 6211 transitionining View. Default is true. Corresponds to 6212 {@link android.transition.ChangeTransform#setReparentWithOverlay(boolean)}. --> 6213 <attr name="reparentWithOverlay" format="boolean"/> 6214 6215 <!-- Tells ChangeTransform to track parent changes. Default is true. Corresponds to 6216 {@link android.transition.ChangeTransform#setReparent(boolean)}. --> 6217 <attr name="reparent" format="boolean"/> 6218 </declare-styleable> 6219 6220 <!-- Use <code>changeBounds</code>as the root tag of the XML resource that 6221 describes a {@link android.transition.ChangeBounds} transition. 6222 The attributes of the {@link android.R.styleable#Transition Transition} 6223 resource are available in addition to the specific attributes of ChangeBounds 6224 described here. --> 6225 <declare-styleable name="ChangeBounds"> 6226 <!-- Resize the view by adjusting the clipBounds rather than changing the 6227 dimensions of the view itself. The default value is false. --> 6228 <attr name="resizeClip" format="boolean"/> 6229 </declare-styleable> 6230 6231 <!-- Use <code>transitionManager</code> as the root tag of the XML resource that 6232 describes a {@link android.transition.TransitionManager 6233 TransitionManager}. --> 6234 <declare-styleable name="TransitionManager"> 6235 <!-- The id of a transition to be used in a particular scene change. --> 6236 <attr name="transition" format="reference" /> 6237 <!-- The originating scene in this scene change. --> 6238 <attr name="fromScene" format="reference" /> 6239 <!-- The destination scene in this scene change. --> 6240 <attr name="toScene" format="reference" /> 6241 </declare-styleable> 6242 6243 <!-- Use <code>arcMotion</code> as the root tag of the XML resource that 6244 describes a {@link android.transition.ArcMotion}. This must be used 6245 within a transition with which the PathMotion should be associated. --> 6246 <declare-styleable name="ArcMotion"> 6247 <!-- The minimum arc angle in degrees between the start and end points when 6248 they are close to horizontal. --> 6249 <attr name="minimumHorizontalAngle" format="float" /> 6250 <!-- The minimum arc angle in degrees between the start and end points when 6251 they are close to vertical. --> 6252 <attr name="minimumVerticalAngle" format="float" /> 6253 <!-- The maximum arc angle in degrees between the start and end points. --> 6254 <attr name="maximumAngle" format="float" /> 6255 </declare-styleable> 6256 6257 <!-- Use <code>patternPathMotion</code> as the root tag of the XML resource that 6258 describes a {@link android.transition.PatternPathMotion}. This must be used 6259 within a transition with which the PathMotion should be associated. --> 6260 <declare-styleable name="PatternPathMotion"> 6261 <!-- The path string describing the pattern to use for the PathPathMotion. --> 6262 <attr name="patternPathData" format="string" /> 6263 </declare-styleable> 6264 6265 <!-- ========================== --> 6266 <!-- ValueAnimator class attributes --> 6267 <!-- ========================== --> 6268 <eat-comment /> 6269 6270 <declare-styleable name="Animator"> 6271 <!-- Defines the interpolator used to smooth the animation movement in time. --> 6272 <attr name="interpolator" /> 6273 <!-- Amount of time (in milliseconds) for the animation to run. --> 6274 <attr name="duration" /> 6275 <!-- Delay in milliseconds before the animation runs, once start time is reached. --> 6276 <attr name="startOffset"/> 6277 <!-- Defines how many times the animation should repeat. The default value is 0. --> 6278 <attr name="repeatCount"/> 6279 <!-- Defines the animation behavior when it reaches the end and the repeat count is 6280 greater than 0 or infinite. The default value is restart. --> 6281 <attr name="repeatMode"/> 6282 <!-- Value the animation starts from. --> 6283 <attr name="valueFrom" format="float|integer|color|dimension|string"/> 6284 <!-- Value the animation animates to. --> 6285 <attr name="valueTo" format="float|integer|color|dimension|string"/> 6286 <!-- The type of valueFrom and valueTo. --> 6287 <attr name="valueType"> 6288 <!-- The given values are floats. This is the default value if valueType is 6289 unspecified. Note that if any value attribute has a color value 6290 (beginning with "#"), then this attribute is ignored and the color values are 6291 interpreted as integers. --> 6292 <enum name="floatType" value="0" /> 6293 <!-- values are integers. --> 6294 <enum name="intType" value="1" /> 6295 <!-- values are paths defined as strings. 6296 This type is used for path morphing in AnimatedVectorDrawable. --> 6297 <enum name="pathType" value="2" /> 6298 <!-- values are colors, which are integers starting with "#". --> 6299 <enum name="colorType" value="3" /> 6300 </attr> 6301 <!-- Placeholder for a deleted attribute. This should be removed before M release. --> 6302 <attr name="removeBeforeMRelease" format="integer" /> 6303 </declare-styleable> 6304 6305 <declare-styleable name="PropertyValuesHolder"> 6306 <attr name="valueType" /> 6307 <attr name="propertyName" /> 6308 <attr name="valueFrom" /> 6309 <attr name="valueTo" /> 6310 </declare-styleable> 6311 6312 <declare-styleable name="Keyframe"> 6313 <attr name="valueType" /> 6314 <attr name="value" /> 6315 <attr name="fraction" format="float" /> 6316 <!-- Defines a per-interval interpolator for this keyframe. This interpolator will be used 6317 to interpolate between this keyframe and the previous keyframe.--> 6318 <attr name="interpolator" /> 6319 </declare-styleable> 6320 6321 <!-- ========================== --> 6322 <!-- ObjectAnimator class attributes --> 6323 <!-- ========================== --> 6324 <eat-comment /> 6325 6326 <declare-styleable name="PropertyAnimator"> 6327 <!-- Name of the property being animated. --> 6328 <attr name="propertyName" format="string"/> 6329 <!-- Name of the property being animated as the X coordinate of the pathData. --> 6330 <attr name="propertyXName" format="string"/> 6331 <!-- Name of the property being animated as the Y coordinate of the pathData. --> 6332 <attr name="propertyYName" format="string"/> 6333 <!-- The path used to animate the properties in the ObjectAnimator --> 6334 <attr name="pathData"/> 6335 </declare-styleable> 6336 6337 6338 <!-- ========================== --> 6339 <!-- AnimatorSet class attributes --> 6340 <!-- ========================== --> 6341 <eat-comment /> 6342 6343 <declare-styleable name="AnimatorSet"> 6344 <!-- Name of the property being animated. --> 6345 <attr name="ordering"> 6346 <!-- child animations should be played together. --> 6347 <enum name="together" value="0" /> 6348 <!-- child animations should be played sequentially, in the same order as the xml. --> 6349 <enum name="sequentially" value="1" /> 6350 </attr> 6351 </declare-styleable> 6352 6353 <!-- ========================== --> 6354 <!-- State attributes --> 6355 <!-- ========================== --> 6356 <eat-comment /> 6357 6358 <!-- Drawable states. 6359 The mapping of Drawable states to a particular drawables is specified 6360 in the "state" elements of a Widget's "selector" element. 6361 Possible values: 6362 <ul> 6363 <li>"state_focused" 6364 <li>"state_window_focused" 6365 <li>"state_enabled" 6366 <li>"state_checked" 6367 <li>"state_selected" 6368 <li>"state_active" 6369 <li>"state_single" 6370 <li>"state_first" 6371 <li>"state_mid" 6372 <li>"state_last" 6373 <li>"state_only" 6374 <li>"state_pressed" 6375 <li>"state_activated" 6376 <li>"state_error" 6377 <li>"state_circle" 6378 <li>"state_rect" 6379 <li>"state_grow" 6380 <li>"state_move" 6381 <li>"state_hovered" 6382 <li>"state_drag_can_accept" 6383 <li>"state_drag_hovered" 6384 <li>"state_accessibility_focused" 6385 </ul> --> 6386 <declare-styleable name="DrawableStates"> 6387 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6388 set when a view has input focus. --> 6389 <attr name="state_focused" format="boolean" /> 6390 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6391 set when a view's window has input focus. --> 6392 <attr name="state_window_focused" format="boolean" /> 6393 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6394 set when a view is enabled. --> 6395 <attr name="state_enabled" format="boolean" /> 6396 <!-- State identifier indicating that the object <var>may</var> display a check mark. 6397 See {@link android.R.attr#state_checked} for the identifier that indicates whether it is 6398 actually checked. --> 6399 <attr name="state_checkable" format="boolean"/> 6400 <!-- State identifier indicating that the object is currently checked. See 6401 {@link android.R.attr#state_checkable} for an additional identifier that can indicate if 6402 any object may ever display a check, regardless of whether state_checked is 6403 currently set. --> 6404 <attr name="state_checked" format="boolean"/> 6405 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6406 set when a view (or one of its parents) is currently selected. --> 6407 <attr name="state_selected" format="boolean" /> 6408 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6409 set when the user is pressing down in a view. --> 6410 <attr name="state_pressed" format="boolean" /> 6411 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6412 set when a view or its parent has been "activated" meaning the user has currently 6413 marked it as being of interest. This is an alternative representation of 6414 state_checked for when the state should be propagated down the view hierarchy. --> 6415 <attr name="state_activated" format="boolean" /> 6416 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6417 <attr name="state_active" format="boolean" /> 6418 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6419 <attr name="state_single" format="boolean" /> 6420 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6421 <attr name="state_first" format="boolean" /> 6422 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6423 <attr name="state_middle" format="boolean" /> 6424 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}.--> 6425 <attr name="state_last" format="boolean" /> 6426 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6427 indicating that the Drawable is in a view that is hardware accelerated. 6428 This means that the device can at least render a full-screen scaled 6429 bitmap with one layer of text and bitmaps composited on top of it 6430 at 60fps. When this is set, the colorBackgroundCacheHint will be 6431 ignored even if it specifies a solid color, since that optimization 6432 is not needed. --> 6433 <attr name="state_accelerated" format="boolean" /> 6434 <!-- State value for {@link android.graphics.drawable.StateListDrawable StateListDrawable}, 6435 set when a pointer is hovering over the view. --> 6436 <attr name="state_hovered" format="boolean" /> 6437 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6438 indicating that the Drawable is in a view that is capable of accepting a drop of 6439 the content currently being manipulated in a drag-and-drop operation. --> 6440 <attr name="state_drag_can_accept" format="boolean" /> 6441 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6442 indicating that a drag operation (for which the Drawable's view is a valid recipient) 6443 is currently positioned over the Drawable. --> 6444 <attr name="state_drag_hovered" format="boolean" /> 6445 <!-- State for {@link android.graphics.drawable.StateListDrawable StateListDrawable} 6446 indicating that a View has accessibility focus. --> 6447 <attr name="state_accessibility_focused" format="boolean" /> 6448 </declare-styleable> 6449 <declare-styleable name="ViewDrawableStates"> 6450 <attr name="state_pressed" /> 6451 <attr name="state_focused" /> 6452 <attr name="state_selected" /> 6453 <attr name="state_window_focused" /> 6454 <attr name="state_enabled" /> 6455 <attr name="state_activated" /> 6456 <attr name="state_accelerated" /> 6457 <attr name="state_hovered" /> 6458 <attr name="state_drag_can_accept" /> 6459 <attr name="state_drag_hovered" /> 6460 </declare-styleable> 6461 <!-- State array representing a menu item that is currently checked. --> 6462 <declare-styleable name="MenuItemCheckedState"> 6463 <attr name="state_checkable" /> 6464 <attr name="state_checked" /> 6465 </declare-styleable> 6466 <!-- State array representing a menu item that is checkable but is not currently checked. --> 6467 <declare-styleable name="MenuItemUncheckedState"> 6468 <attr name="state_checkable" /> 6469 </declare-styleable> 6470 <!-- State array representing a menu item that is currently focused and checked. --> 6471 <declare-styleable name="MenuItemCheckedFocusedState"> 6472 <attr name="state_checkable" /> 6473 <attr name="state_checked" /> 6474 <attr name="state_focused" /> 6475 </declare-styleable> 6476 <!-- State array representing a menu item that is focused and checkable but is not currently checked. --> 6477 <declare-styleable name="MenuItemUncheckedFocusedState"> 6478 <attr name="state_checkable" /> 6479 <attr name="state_focused" /> 6480 </declare-styleable> 6481 <!-- State array representing an expandable list child's indicator. --> 6482 <declare-styleable name="ExpandableListChildIndicatorState"> 6483 <!-- State identifier indicating the child is the last child within its group. --> 6484 <attr name="state_last" /> 6485 </declare-styleable> 6486 <!-- State array representing an expandable list group's indicator. --> 6487 <declare-styleable name="ExpandableListGroupIndicatorState"> 6488 <!-- State identifier indicating the group is expanded. --> 6489 <attr name="state_expanded" format="boolean" /> 6490 <!-- State identifier indicating the group is empty (has no children). --> 6491 <attr name="state_empty" format="boolean" /> 6492 </declare-styleable> 6493 <declare-styleable name="PopupWindowBackgroundState"> 6494 <!-- State identifier indicating the popup will be above the anchor. --> 6495 <attr name="state_above_anchor" format="boolean" /> 6496 </declare-styleable> 6497 <declare-styleable name="TextViewMultiLineBackgroundState"> 6498 <!-- State identifier indicating a TextView has a multi-line layout. --> 6499 <attr name="state_multiline" format="boolean" /> 6500 </declare-styleable> 6501 6502 <!-- ***************************************************************** --> 6503 <!-- Support for Searchable activities. --> 6504 <!-- ***************************************************************** --> 6505 <eat-comment /> 6506 6507 <!-- Searchable activities and applications must provide search configuration information 6508 in an XML file, typically called searchable.xml. This file is referenced in your manifest. 6509 For a more in-depth discussion of search configuration, please refer to 6510 {@link android.app.SearchManager}. --> 6511 <declare-styleable name="Searchable"> 6512 <!--<strong>This is deprecated.</strong><br/>The default 6513 application icon is now always used, so this attribute is 6514 obsolete.--> 6515 <attr name="icon" /> 6516 <!-- This is the user-displayed name of the searchable activity. <i>Required 6517 attribute.</i> --> 6518 <attr name="label" /> 6519 <!-- If supplied, this string will be displayed as a hint to the user. <i>Optional 6520 attribute.</i> --> 6521 <attr name="hint" /> 6522 <!-- If supplied, this string will be displayed as the text of the "Search" button. 6523 <i>Optional attribute.</i> 6524 {@deprecated This will create a non-standard UI appearance, because the search bar UI is 6525 changing to use only icons for its buttons.}--> 6526 <attr name="searchButtonText" format="string" /> 6527 <attr name="inputType" /> 6528 <attr name="imeOptions" /> 6529 6530 <!-- Additional features are controlled by mode bits in this field. Omitting 6531 this field, or setting to zero, provides default behavior. <i>Optional attribute.</i> 6532 --> 6533 <attr name="searchMode"> 6534 <!-- If set, this flag enables the display of the search target (label) within the 6535 search bar. If neither bad mode is selected, no badge will be shown. --> 6536 <flag name="showSearchLabelAsBadge" value="0x04" /> 6537 <!--<strong>This is deprecated.</strong><br/>The default 6538 application icon is now always used, so this option is 6539 obsolete.--> 6540 <flag name="showSearchIconAsBadge" value="0x08" /> 6541 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_INTENT_DATA to 6542 be considered as the text for suggestion query rewriting. This should only 6543 be used when the values in SUGGEST_COLUMN_INTENT_DATA are suitable for user 6544 inspection and editing - typically, HTTP/HTTPS Uri's. --> 6545 <flag name="queryRewriteFromData" value="0x10" /> 6546 <!-- If set, this flag causes the suggestion column SUGGEST_COLUMN_TEXT_1 to 6547 be considered as the text for suggestion query rewriting. This should be used 6548 for suggestions in which no query text is provided and the SUGGEST_COLUMN_INTENT_DATA 6549 values are not suitable for user inspection and editing. --> 6550 <flag name="queryRewriteFromText" value="0x20" /> 6551 </attr> 6552 6553 <!-- Voice search features are controlled by mode bits in this field. Omitting 6554 this field, or setting to zero, provides default behavior. 6555 If showVoiceSearchButton is set, then launchWebSearch or launchRecognizer must 6556 also be set. <i>Optional attribute.</i> 6557 --> 6558 <attr name="voiceSearchMode"> 6559 <!-- If set, display a voice search button. This only takes effect if voice search is 6560 available on the device. --> 6561 <flag name="showVoiceSearchButton" value="0x01" /> 6562 <!-- If set, the voice search button will take the user directly to a built-in 6563 voice web search activity. Most applications will not use this flag, as it 6564 will take the user away from the activity in which search was invoked. --> 6565 <flag name="launchWebSearch" value="0x02" /> 6566 <!-- If set, the voice search button will take the user directly to a built-in 6567 voice recording activity. This activity will prompt the user to speak, 6568 transcribe the spoken text, and forward the resulting query 6569 text to the searchable activity, just as if the user had typed it into 6570 the search UI and clicked the search button. --> 6571 <flag name="launchRecognizer" value="0x04" /> 6572 </attr> 6573 6574 <!-- If provided, this specifies the language model that should be used by the 6575 voice recognition system. See 6576 {@link android.speech.RecognizerIntent#EXTRA_LANGUAGE_MODEL } for more information. 6577 If not provided, the default value 6578 {@link android.speech.RecognizerIntent#LANGUAGE_MODEL_FREE_FORM } will be used. --> 6579 <attr name="voiceLanguageModel" format="string" /> 6580 <!-- If provided, this specifies a prompt that will be displayed during voice input. --> 6581 <attr name="voicePromptText" format="string" /> 6582 <!-- If provided, this specifies the spoken language to be expected, and that it will be 6583 different than the one set in the {@link java.util.Locale#getDefault()}. --> 6584 <attr name="voiceLanguage" format="string" /> 6585 <!-- If provided, enforces the maximum number of results to return, including the "best" 6586 result which will always be provided as the SEARCH intent's primary query. Must be one 6587 or greater. If not provided, the recognizer will choose how many results to return. 6588 --> 6589 <attr name="voiceMaxResults" format="integer" /> 6590 6591 <!-- If provided, this is the trigger indicating that the searchable activity 6592 provides suggestions as well. The value must be a fully-qualified content provider 6593 authority (e.g. "com.example.android.apis.SuggestionProvider") and should match the 6594 "android:authorities" tag in your content provider's manifest entry. <i>Optional 6595 attribute.</i> --> 6596 <attr name="searchSuggestAuthority" format="string" /> 6597 <!-- If provided, this will be inserted in the suggestions query Uri, after the authority 6598 you have provide but before the standard suggestions path. <i>Optional attribute.</i> 6599 --> 6600 <attr name="searchSuggestPath" format="string" /> 6601 <!-- If provided, suggestion queries will be passed into your query function 6602 as the <i>selection</i> parameter. Typically this will be a WHERE clause for your 6603 database, and will contain a single question mark, which represents the actual query 6604 string that has been typed by the user. If not provided, then the user query text 6605 will be appended to the query Uri (after an additional "/".) <i>Optional 6606 attribute.</i> --> 6607 <attr name="searchSuggestSelection" format="string" /> 6608 6609 <!-- If provided, and not overridden by an action in the selected suggestion, this 6610 string will be placed in the action field of the {@link android.content.Intent Intent} 6611 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6612 <attr name="searchSuggestIntentAction" format="string" /> 6613 <!-- If provided, and not overridden by an action in the selected suggestion, this 6614 string will be placed in the data field of the {@link android.content.Intent Intent} 6615 when the user clicks a suggestion. <i>Optional attribute.</i> --> 6616 <attr name="searchSuggestIntentData" format="string" /> 6617 6618 <!-- If provided, this is the minimum number of characters needed to trigger 6619 search suggestions. The default value is 0. <i>Optional attribute.</i> --> 6620 <attr name="searchSuggestThreshold" format="integer" /> 6621 6622 <!-- If provided and <code>true</code>, this searchable activity will be 6623 included in any global lists of search targets. 6624 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6625 <attr name="includeInGlobalSearch" format="boolean" /> 6626 6627 <!-- If provided and <code>true</code>, this searchable activity will be invoked for all 6628 queries in a particular session. If set to <code>false</code> and the activity 6629 returned zero results for a query, it will not be invoked again in that session for 6630 supersets of that zero-results query. For example, if the activity returned zero 6631 results for "bo", it would not be queried again for "bob". 6632 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6633 <attr name="queryAfterZeroResults" format="boolean" /> 6634 <!-- If provided, this string will be used to describe the searchable item in the 6635 searchable items settings within system search settings. <i>Optional 6636 attribute.</i> --> 6637 <attr name="searchSettingsDescription" format="string" /> 6638 6639 <!-- If provided and <code>true</code>, URLs entered in the search dialog while searching 6640 within this activity would be detected and treated as URLs (show a 'go' button in the 6641 keyboard and invoke the browser directly when user launches the URL instead of passing 6642 the URL to the activity). If set to <code>false</code> any URLs entered are treated as 6643 normal query text. 6644 The default value is <code>false</code>. <i>Optional attribute.</i>. --> 6645 <attr name="autoUrlDetect" format="boolean" /> 6646 6647 </declare-styleable> 6648 6649 <!-- In order to process special action keys during search, you must define them using 6650 one or more "ActionKey" elements in your Searchable metadata. For a more in-depth 6651 discussion of action code handling, please refer to {@link android.app.SearchManager}. 6652 --> 6653 <declare-styleable name="SearchableActionKey"> 6654 <!-- This attribute denotes the action key you wish to respond to. Note that not 6655 all action keys are actually supported using this mechanism, as many of them are 6656 used for typing, navigation, or system functions. This will be added to the 6657 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6658 searchable activity. To examine the key code, use 6659 {@link android.content.Intent#getIntExtra getIntExtra(SearchManager.ACTION_KEY)}. 6660 <p>Note, in addition to the keycode, you must also provide one or more of the action 6661 specifier attributes. <i>Required attribute.</i> --> 6662 <attr name="keycode" /> 6663 6664 <!-- If you wish to handle an action key during normal search query entry, you 6665 must define an action string here. This will be added to the 6666 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6667 searchable activity. To examine the string, use 6668 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6669 <i>Optional attribute.</i> --> 6670 <attr name="queryActionMsg" format="string" /> 6671 6672 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6673 selected</i>, there are two ways to handle this. If <i>all</i> of your suggestions 6674 can handle the action key, you can simply define the action message using this 6675 attribute. This will be added to the 6676 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to your 6677 searchable activity. To examine the string, use 6678 {@link android.content.Intent#getStringExtra getStringExtra(SearchManager.ACTION_MSG)}. 6679 <i>Optional attribute.</i> --> 6680 <attr name="suggestActionMsg" format="string" /> 6681 6682 <!-- If you wish to handle an action key while a suggestion is being displayed <i>and 6683 selected</i>, but you do not wish to enable this action key for every suggestion, 6684 then you can use this attribute to control it on a suggestion-by-suggestion basis. 6685 First, you must define a column (and name it here) where your suggestions will include 6686 the action string. Then, in your content provider, you must provide this column, and 6687 when desired, provide data in this column. 6688 The search manager will look at your suggestion cursor, using the string 6689 provided here in order to select a column, and will use that to select a string from 6690 the cursor. That string will be added to the 6691 {@link android.content.Intent#ACTION_SEARCH ACTION_SEARCH} intent that is passed to 6692 your searchable activity. To examine the string, use 6693 {@link android.content.Intent#getStringExtra 6694 getStringExtra(SearchManager.ACTION_MSG)}. <i>If the data does not exist for the 6695 selection suggestion, the action key will be ignored.</i><i>Optional attribute.</i> --> 6696 <attr name="suggestActionMsgColumn" format="string" /> 6697 6698 </declare-styleable> 6699 6700 <!-- ***************************************************************** --> 6701 <!-- Support for MapView. --> 6702 <!-- ***************************************************************** --> 6703 <eat-comment /> 6704 6705 <!-- The set of attributes for a MapView. --> 6706 <declare-styleable name="MapView"> 6707 <!-- Value is a string that specifies the Maps API Key to use. --> 6708 <attr name="apiKey" format="string" /> 6709 </declare-styleable> 6710 6711 <!-- **************************************************************** --> 6712 <!-- Menu XML inflation. --> 6713 <!-- **************************************************************** --> 6714 <eat-comment /> 6715 6716 <!-- Base attributes that are available to all Menu objects. --> 6717 <declare-styleable name="Menu"> 6718 </declare-styleable> 6719 6720 <!-- Base attributes that are available to all groups. --> 6721 <declare-styleable name="MenuGroup"> 6722 6723 <!-- The ID of the group. --> 6724 <attr name="id" /> 6725 6726 <!-- The category applied to all items within this group. 6727 (This will be or'ed with the orderInCategory attribute.) --> 6728 <attr name="menuCategory"> 6729 <!-- Items are part of a container. --> 6730 <enum name="container" value="0x00010000" /> 6731 <!-- Items are provided by the system. --> 6732 <enum name="system" value="0x00020000" /> 6733 <!-- Items are user-supplied secondary (infrequently used). --> 6734 <enum name="secondary" value="0x00030000" /> 6735 <!-- Items are alternative actions. --> 6736 <enum name="alternative" value="0x00040000" /> 6737 </attr> 6738 6739 <!-- The order within the category applied to all items within this group. 6740 (This will be or'ed with the category attribute.) --> 6741 <attr name="orderInCategory" format="integer" /> 6742 6743 <!-- Whether the items are capable of displaying a check mark. --> 6744 <attr name="checkableBehavior"> 6745 <!-- The items are not checkable. --> 6746 <enum name="none" value="0" /> 6747 <!-- The items are all checkable. --> 6748 <enum name="all" value="1" /> 6749 <!-- The items are checkable and there will only be a single checked item in 6750 this group. --> 6751 <enum name="single" value="2" /> 6752 </attr> 6753 6754 <!-- Whether the items are shown/visible. --> 6755 <attr name="visible" /> 6756 6757 <!-- Whether the items are enabled. --> 6758 <attr name="enabled" /> 6759 6760 </declare-styleable> 6761 6762 <!-- Base attributes that are available to all Item objects. --> 6763 <declare-styleable name="MenuItem"> 6764 6765 <!-- The ID of the item. --> 6766 <attr name="id" /> 6767 6768 <!-- The category applied to the item. 6769 (This will be or'ed with the orderInCategory attribute.) --> 6770 <attr name="menuCategory" /> 6771 6772 <!-- The order within the category applied to the item. 6773 (This will be or'ed with the category attribute.) --> 6774 <attr name="orderInCategory" /> 6775 6776 <!-- The title associated with the item. --> 6777 <attr name="title" format="string" /> 6778 6779 <!-- The condensed title associated with the item. This is used in situations where the 6780 normal title may be too long to be displayed. --> 6781 <attr name="titleCondensed" format="string" /> 6782 6783 <!-- The icon associated with this item. This icon will not always be shown, so 6784 the title should be sufficient in describing this item. --> 6785 <attr name="icon" /> 6786 6787 <!-- The alphabetic shortcut key. This is the shortcut when using a keyboard 6788 with alphabetic keys. --> 6789 <attr name="alphabeticShortcut" format="string" /> 6790 6791 <!-- The numeric shortcut key. This is the shortcut when using a numeric (e.g., 12-key) 6792 keyboard. --> 6793 <attr name="numericShortcut" format="string" /> 6794 6795 <!-- Whether the item is capable of displaying a check mark. --> 6796 <attr name="checkable" format="boolean" /> 6797 6798 <!-- Whether the item is checked. Note that you must first have enabled checking with 6799 the checkable attribute or else the check mark will not appear. --> 6800 <attr name="checked" /> 6801 6802 <!-- Whether the item is shown/visible. --> 6803 <attr name="visible" /> 6804 6805 <!-- Whether the item is enabled. --> 6806 <attr name="enabled" /> 6807 6808 <!-- Name of a method on the Context used to inflate the menu that will be 6809 called when the item is clicked. --> 6810 <attr name="onClick" /> 6811 6812 <!-- How this item should display in the Action Bar, if present. --> 6813 <attr name="showAsAction"> 6814 <!-- Never show this item in an action bar, show it in the overflow menu instead. 6815 Mutually exclusive with "ifRoom" and "always". --> 6816 <flag name="never" value="0" /> 6817 <!-- Show this item in an action bar if there is room for it as determined 6818 by the system. Favor this option over "always" where possible. 6819 Mutually exclusive with "never" and "always". --> 6820 <flag name="ifRoom" value="1" /> 6821 <!-- Always show this item in an actionbar, even if it would override 6822 the system's limits of how much stuff to put there. This may make 6823 your action bar look bad on some screens. In most cases you should 6824 use "ifRoom" instead. Mutually exclusive with "ifRoom" and "never". --> 6825 <flag name="always" value="2" /> 6826 <!-- When this item is shown as an action in the action bar, show a text 6827 label with it even if it has an icon representation. --> 6828 <flag name="withText" value="4" /> 6829 <!-- This item's action view collapses to a normal menu 6830 item. When expanded, the action view takes over a 6831 larger segment of its container. --> 6832 <flag name="collapseActionView" value="8" /> 6833 </attr> 6834 6835 <!-- An optional layout to be used as an action view. 6836 See {@link android.view.MenuItem#setActionView(android.view.View)} 6837 for more info. --> 6838 <attr name="actionLayout" format="reference" /> 6839 6840 <!-- The name of an optional View class to instantiate and use as an 6841 action view. See {@link android.view.MenuItem#setActionView(android.view.View)} 6842 for more info. --> 6843 <attr name="actionViewClass" format="string" /> 6844 6845 <!-- The name of an optional ActionProvider class to instantiate an action view 6846 and perform operations such as default action for that menu item. 6847 See {@link android.view.MenuItem#setActionProvider(android.view.ActionProvider)} 6848 for more info. --> 6849 <attr name="actionProviderClass" format="string" /> 6850 6851 </declare-styleable> 6852 6853 <!-- Attrbitutes for a ActvityChooserView. --> 6854 <declare-styleable name="ActivityChooserView"> 6855 <!-- The maximal number of items initially shown in the activity list. --> 6856 <attr name="initialActivityCount" format="string" /> 6857 <!-- The drawable to show in the button for expanding the activities overflow popup. 6858 <strong>Note:</strong> Clients would like to set this drawable 6859 as a clue about the action the chosen activity will perform. For 6860 example, if share activity is to be chosen the drawable should 6861 give a clue that sharing is to be performed. 6862 --> 6863 <attr name="expandActivityOverflowButtonDrawable" format="reference" /> 6864 </declare-styleable> 6865 6866 <!-- **************************************************************** --> 6867 <!-- Preferences framework. --> 6868 <!-- **************************************************************** --> 6869 <eat-comment /> 6870 6871 <!-- Base attributes available to PreferenceGroup. --> 6872 <declare-styleable name="PreferenceGroup"> 6873 <!-- Whether to order the Preference under this group as they appear in the XML file. 6874 If this is false, the ordering will follow the Preference order attribute and 6875 default to alphabetic for those without the order attribute. --> 6876 <attr name="orderingFromXml" format="boolean" /> 6877 </declare-styleable> 6878 6879 <!-- Attribute for a header describing the item shown in the top-level list 6880 from which the selects the set of preference to dig in to. --> 6881 <declare-styleable name="PreferenceHeader"> 6882 <!-- Identifier value for the header. --> 6883 <attr name="id" /> 6884 <!-- The title of the item that is shown to the user. --> 6885 <attr name="title" /> 6886 <!-- The summary for the item. --> 6887 <attr name="summary" format="string" /> 6888 <!-- The title for the bread crumb of this item. --> 6889 <attr name="breadCrumbTitle" format="string" /> 6890 <!-- The short title for the bread crumb of this item. --> 6891 <attr name="breadCrumbShortTitle" format="string" /> 6892 <!-- An icon for the item. --> 6893 <attr name="icon" /> 6894 <!-- The fragment that is displayed when the user selects this item. --> 6895 <attr name="fragment" format="string" /> 6896 </declare-styleable> 6897 6898 <!-- WARNING: If adding attributes to Preference, make sure it does not conflict 6899 with a View's attributes. Some subclasses (e.g., EditTextPreference) 6900 proxy all attributes to its EditText widget. --> 6901 <eat-comment /> 6902 6903 <!-- Base attributes available to Preference. --> 6904 <declare-styleable name="Preference"> 6905 <!-- The optional icon for the preference --> 6906 <attr name="icon" /> 6907 <!-- The key to store the Preference value. --> 6908 <attr name="key" format="string" /> 6909 <!-- The title for the Preference in a PreferenceActivity screen. --> 6910 <attr name="title" /> 6911 <!-- The summary for the Preference in a PreferenceActivity screen. --> 6912 <attr name="summary" /> 6913 <!-- The order for the Preference (lower values are to be ordered first). If this is not 6914 specified, the default ordering will be alphabetic. --> 6915 <attr name="order" format="integer" /> 6916 <!-- When used inside of a modern PreferenceActivity, this declares 6917 a new PreferenceFragment to be shown when the user selects this item. --> 6918 <attr name="fragment" /> 6919 <!-- The layout for the Preference in a PreferenceActivity screen. This should 6920 rarely need to be changed, look at widgetLayout instead. --> 6921 <attr name="layout" /> 6922 <!-- The layout for the controllable widget portion of a Preference. This is inflated 6923 into the layout for a Preference and should be used more frequently than 6924 the layout attribute. For example, a checkbox preference would specify 6925 a custom layout (consisting of just the CheckBox) here. --> 6926 <attr name="widgetLayout" format="reference" /> 6927 <!-- Whether the Preference is enabled. --> 6928 <attr name="enabled" /> 6929 <!-- Whether the Preference is selectable. --> 6930 <attr name="selectable" format="boolean" /> 6931 <!-- The key of another Preference that this Preference will depend on. If the other 6932 Preference is not set or is off, this Preference will be disabled. --> 6933 <attr name="dependency" format="string" /> 6934 <!-- Whether the Preference stores its value to the shared preferences. --> 6935 <attr name="persistent" /> 6936 <!-- The default value for the preference, which will be set either if persistence 6937 is off or persistence is on and the preference is not found in the persistent 6938 storage. --> 6939 <attr name="defaultValue" format="string|boolean|integer|reference|float" /> 6940 <!-- Whether the view of this Preference should be disabled when 6941 this Preference is disabled. --> 6942 <attr name="shouldDisableView" format="boolean" /> 6943 </declare-styleable> 6944 6945 <!-- Base attributes available to CheckBoxPreference. --> 6946 <declare-styleable name="CheckBoxPreference"> 6947 <!-- The summary for the Preference in a PreferenceActivity screen when the 6948 CheckBoxPreference is checked. If separate on/off summaries are not 6949 needed, the summary attribute can be used instead. --> 6950 <attr name="summaryOn" format="string" /> 6951 <!-- The summary for the Preference in a PreferenceActivity screen when the 6952 CheckBoxPreference is unchecked. If separate on/off summaries are not 6953 needed, the summary attribute can be used instead. --> 6954 <attr name="summaryOff" format="string" /> 6955 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 6956 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 6957 <attr name="disableDependentsState" format="boolean" /> 6958 </declare-styleable> 6959 6960 <!-- Base attributes available to DialogPreference. --> 6961 <declare-styleable name="DialogPreference"> 6962 <!-- The title in the dialog. --> 6963 <attr name="dialogTitle" format="string" /> 6964 <!-- The message in the dialog. If a dialogLayout is provided and contains 6965 a TextView with ID android:id/message, this message will be placed in there. --> 6966 <attr name="dialogMessage" format="string" /> 6967 <!-- The icon for the dialog. --> 6968 <attr name="dialogIcon" format="reference" /> 6969 <!-- The positive button text for the dialog. Set to @null to hide the positive button. --> 6970 <attr name="positiveButtonText" format="string" /> 6971 <!-- The negative button text for the dialog. Set to @null to hide the negative button. --> 6972 <attr name="negativeButtonText" format="string" /> 6973 <!-- A layout to be used as the content View for the dialog. By default, this shouldn't 6974 be needed. If a custom DialogPreference is required, this should be set. For example, 6975 the EditTextPreference uses a layout with an EditText as this attribute. --> 6976 <attr name="dialogLayout" format="reference" /> 6977 </declare-styleable> 6978 6979 <!-- Base attributes available to ListPreference. --> 6980 <declare-styleable name="ListPreference"> 6981 <!-- The human-readable array to present as a list. Each entry must have a corresponding 6982 index in entryValues. --> 6983 <attr name="entries" /> 6984 <!-- The array to find the value to save for a preference when an entry from 6985 entries is selected. If a user clicks on the second item in entries, the 6986 second item in this array will be saved to the preference. --> 6987 <attr name="entryValues" format="reference" /> 6988 </declare-styleable> 6989 6990 <declare-styleable name="MultiSelectListPreference"> 6991 <!-- The human-readable array to present as a list. Each entry must have a corresponding 6992 index in entryValues. --> 6993 <attr name="entries" /> 6994 <!-- The array to find the value to save for a preference when an entry from 6995 entries is selected. If a user clicks the second item in entries, the 6996 second item in this array will be saved to the preference. --> 6997 <attr name="entryValues" /> 6998 </declare-styleable> 6999 7000 <!-- Base attributes available to RingtonePreference. --> 7001 <declare-styleable name="RingtonePreference"> 7002 <!-- Which ringtone type(s) to show in the picker. --> 7003 <attr name="ringtoneType"> 7004 <!-- Ringtones. --> 7005 <flag name="ringtone" value="1" /> 7006 <!-- Notification sounds. --> 7007 <flag name="notification" value="2" /> 7008 <!-- Alarm sounds. --> 7009 <flag name="alarm" value="4" /> 7010 <!-- All available ringtone sounds. --> 7011 <flag name="all" value="7" /> 7012 </attr> 7013 <!-- Whether to show an item for a default sound. --> 7014 <attr name="showDefault" format="boolean" /> 7015 <!-- Whether to show an item for 'Silent'. --> 7016 <attr name="showSilent" format="boolean" /> 7017 </declare-styleable> 7018 7019 <!-- Base attributes available to VolumePreference. --> 7020 <declare-styleable name="VolumePreference"> 7021 <!-- Different audio stream types. --> 7022 <attr name="streamType"> 7023 <enum name="voice" value="0" /> 7024 <enum name="system" value="1" /> 7025 <enum name="ring" value="2" /> 7026 <enum name="music" value="3" /> 7027 <enum name="alarm" value="4" /> 7028 </attr> 7029 </declare-styleable> 7030 7031 <declare-styleable name="InputMethodService"> 7032 <!-- Background to use for entire input method when it is being 7033 shown in fullscreen mode with the extract view, to ensure 7034 that it completely covers the application. This allows, 7035 for example, the candidate view to be hidden 7036 while in fullscreen mode without having the application show through 7037 behind it.--> 7038 <attr name="imeFullscreenBackground" format="reference|color" /> 7039 <!-- Animation to use when showing the fullscreen extract UI after 7040 it had previously been hidden. --> 7041 <attr name="imeExtractEnterAnimation" format="reference" /> 7042 <!-- Animation to use when hiding the fullscreen extract UI after 7043 it had previously been shown. --> 7044 <attr name="imeExtractExitAnimation" format="reference" /> 7045 </declare-styleable> 7046 7047 <declare-styleable name="VoiceInteractionSession"> 7048 </declare-styleable> 7049 7050 <declare-styleable name="KeyboardView"> 7051 <!-- Default KeyboardView style. --> 7052 <attr name="keyboardViewStyle" format="reference" /> 7053 7054 <!-- Image for the key. This image needs to be a StateListDrawable, with the following 7055 possible states: normal, pressed, checkable, checkable+pressed, checkable+checked, 7056 checkable+checked+pressed. --> 7057 <attr name="keyBackground" format="reference" /> 7058 7059 <!-- Size of the text for character keys. --> 7060 <attr name="keyTextSize" format="dimension" /> 7061 7062 <!-- Size of the text for custom keys with some text and no icon. --> 7063 <attr name="labelTextSize" format="dimension" /> 7064 7065 <!-- Color to use for the label in a key. --> 7066 <attr name="keyTextColor" format="color" /> 7067 7068 <!-- Layout resource for key press feedback.--> 7069 <attr name="keyPreviewLayout" format="reference" /> 7070 7071 <!-- Vertical offset of the key press feedback from the key. --> 7072 <attr name="keyPreviewOffset" format="dimension" /> 7073 7074 <!-- Height of the key press feedback popup. --> 7075 <attr name="keyPreviewHeight" format="dimension" /> 7076 7077 <!-- Amount to offset the touch Y coordinate by, for bias correction. --> 7078 <attr name="verticalCorrection" format="dimension" /> 7079 7080 <!-- Layout resource for popup keyboards. --> 7081 <attr name="popupLayout" format="reference" /> 7082 7083 <attr name="shadowColor" /> 7084 <attr name="shadowRadius" /> 7085 </declare-styleable> 7086 7087 <declare-styleable name="KeyboardViewPreviewState"> 7088 <!-- State for {@link android.inputmethodservice.KeyboardView KeyboardView} 7089 key preview background. --> 7090 <attr name="state_long_pressable" format="boolean" /> 7091 </declare-styleable> 7092 7093 <declare-styleable name="Keyboard"> 7094 <!-- Default width of a key, in pixels or percentage of display width. --> 7095 <attr name="keyWidth" format="dimension|fraction" /> 7096 <!-- Default height of a key, in pixels or percentage of display width. --> 7097 <attr name="keyHeight" format="dimension|fraction" /> 7098 <!-- Default horizontal gap between keys. --> 7099 <attr name="horizontalGap" format="dimension|fraction" /> 7100 <!-- Default vertical gap between rows of keys. --> 7101 <attr name="verticalGap" format="dimension|fraction" /> 7102 </declare-styleable> 7103 7104 <declare-styleable name="Keyboard_Row"> 7105 <!-- Row edge flags. --> 7106 <attr name="rowEdgeFlags"> 7107 <!-- Row is anchored to the top of the keyboard. --> 7108 <flag name="top" value="4" /> 7109 <!-- Row is anchored to the bottom of the keyboard. --> 7110 <flag name="bottom" value="8" /> 7111 </attr> 7112 <!-- Mode of the keyboard. If the mode doesn't match the 7113 requested keyboard mode, the row will be skipped. --> 7114 <attr name="keyboardMode" format="reference" /> 7115 </declare-styleable> 7116 7117 <declare-styleable name="Keyboard_Key"> 7118 <!-- The unicode value or comma-separated values that this key outputs. --> 7119 <attr name="codes" format="integer|string" /> 7120 <!-- The XML keyboard layout of any popup keyboard. --> 7121 <attr name="popupKeyboard" format="reference" /> 7122 <!-- The characters to display in the popup keyboard. --> 7123 <attr name="popupCharacters" format="string" /> 7124 <!-- Key edge flags. --> 7125 <attr name="keyEdgeFlags"> 7126 <!-- Key is anchored to the left of the keyboard. --> 7127 <flag name="left" value="1" /> 7128 <!-- Key is anchored to the right of the keyboard. --> 7129 <flag name="right" value="2" /> 7130 </attr> 7131 <!-- Whether this is a modifier key such as Alt or Shift. --> 7132 <attr name="isModifier" format="boolean" /> 7133 <!-- Whether this is a toggle key. --> 7134 <attr name="isSticky" format="boolean" /> 7135 <!-- Whether long-pressing on this key will make it repeat. --> 7136 <attr name="isRepeatable" format="boolean" /> 7137 <!-- The icon to show in the popup preview. --> 7138 <attr name="iconPreview" format="reference" /> 7139 <!-- The string of characters to output when this key is pressed. --> 7140 <attr name="keyOutputText" format="string" /> 7141 <!-- The label to display on the key. --> 7142 <attr name="keyLabel" format="string" /> 7143 <!-- The icon to display on the key instead of the label. --> 7144 <attr name="keyIcon" format="reference" /> 7145 <!-- Mode of the keyboard. If the mode doesn't match the 7146 requested keyboard mode, the key will be skipped. --> 7147 <attr name="keyboardMode" /> 7148 </declare-styleable> 7149 7150 <!-- =============================== --> 7151 <!-- AppWidget package class attributes --> 7152 <!-- =============================== --> 7153 <eat-comment /> 7154 7155 <!-- Use <code>appwidget-provider</code> as the root tag of the XML resource that 7156 describes an AppWidget provider. See {@link android.appwidget android.appwidget} 7157 package for more info. 7158 --> 7159 <declare-styleable name="AppWidgetProviderInfo"> 7160 <!-- Minimum width of the AppWidget. --> 7161 <attr name="minWidth"/> 7162 <!-- Minimum height of the AppWidget. --> 7163 <attr name="minHeight"/> 7164 <!-- Minimum width that the AppWidget can be resized to. --> 7165 <attr name="minResizeWidth" format="dimension"/> 7166 <!-- Minimum height that the AppWidget can be resized to. --> 7167 <attr name="minResizeHeight" format="dimension"/> 7168 <!-- Update period in milliseconds, or 0 if the AppWidget will update itself. --> 7169 <attr name="updatePeriodMillis" format="integer" /> 7170 <!-- A resource id of a layout. --> 7171 <attr name="initialLayout" format="reference" /> 7172 <!-- A resource id of a layout. --> 7173 <attr name="initialKeyguardLayout" format="reference" /> 7174 <!-- A class name in the AppWidget's package to be launched to configure. 7175 If not supplied, then no activity will be launched. --> 7176 <attr name="configure" format="string" /> 7177 <!-- A preview of what the AppWidget will look like after it's configured. 7178 If not supplied, the AppWidget's icon will be used. --> 7179 <attr name="previewImage" format="reference" /> 7180 <!-- The view id of the AppWidget subview which should be auto-advanced. 7181 by the widget's host. --> 7182 <attr name="autoAdvanceViewId" format="reference" /> 7183 <!-- Optional parameter which indicates if and how this widget can be 7184 resized. Supports combined values using | operator. --> 7185 <attr name="resizeMode" format="integer"> 7186 <flag name="none" value="0x0" /> 7187 <flag name="horizontal" value="0x1" /> 7188 <flag name="vertical" value="0x2" /> 7189 </attr> 7190 <!-- Optional parameter which indicates where this widget can be shown, 7191 ie. home screen, keyguard, search bar or any combination thereof. 7192 Supports combined values using | operator. --> 7193 <attr name="widgetCategory" format="integer"> 7194 <flag name="home_screen" value="0x1" /> 7195 <flag name="keyguard" value="0x2" /> 7196 <flag name="searchbox" value="0x4" /> 7197 </attr> 7198 </declare-styleable> 7199 7200 <!-- =============================== --> 7201 <!-- Wallpaper preview attributes --> 7202 <!-- =============================== --> 7203 <eat-comment /> 7204 7205 <!-- Use <code>wallpaper-preview</code> as the root tag of the XML resource that 7206 describes a wallpaper preview. --> 7207 <declare-styleable name="WallpaperPreviewInfo"> 7208 <!-- A resource id of a static drawable. --> 7209 <attr name="staticWallpaperPreview" format="reference" /> 7210 </declare-styleable> 7211 7212 <!-- =============================== --> 7213 <!-- App package class attributes --> 7214 <!-- =============================== --> 7215 <eat-comment /> 7216 7217 <!-- ============================= --> 7218 <!-- View package class attributes --> 7219 <!-- ============================= --> 7220 <eat-comment /> 7221 7222 <!-- Attributes that can be used with <code><fragment></code> 7223 tags inside of the layout of an Activity. This instantiates 7224 the given {@link android.app.Fragment} and inserts its content 7225 view into the current location in the layout. --> 7226 <declare-styleable name="Fragment"> 7227 <!-- Supply the name of the fragment class to instantiate. --> 7228 <attr name="name" /> 7229 7230 <!-- Supply an identifier name for the top-level view, to later retrieve it 7231 with {@link android.view.View#findViewById View.findViewById()} or 7232 {@link android.app.Activity#findViewById Activity.findViewById()}. 7233 This must be a 7234 resource reference; typically you set this using the 7235 <code>@+</code> syntax to create a new ID resources. 7236 For example: <code>android:id="@+id/my_id"</code> which 7237 allows you to later retrieve the view 7238 with <code>findViewById(R.id.my_id)</code>. --> 7239 <attr name="id" /> 7240 7241 <!-- Supply a tag for the top-level view containing a String, to be retrieved 7242 later with {@link android.view.View#getTag View.getTag()} or 7243 searched for with {@link android.view.View#findViewWithTag 7244 View.findViewWithTag()}. It is generally preferable to use 7245 IDs (through the android:id attribute) instead of tags because 7246 they are faster and allow for compile-time type checking. --> 7247 <attr name="tag" /> 7248 7249 <!-- The Transition that will be used to move Views out of the scene when the 7250 fragment is removed, hidden, or detached when not popping the back stack. 7251 Corresponds to {@link android.app.Fragment#setExitTransition( 7252 android.transition.Transition)} --> 7253 <attr name="fragmentExitTransition" format="reference"/> 7254 7255 <!-- The Transition that will be used to move Views into the initial scene. 7256 Corresponds to {@link android.app.Fragment#setEnterTransition( 7257 android.transition.Transition)} --> 7258 <attr name="fragmentEnterTransition" format="reference"/> 7259 7260 <!-- The Transition that will be used for shared elements transferred into the content 7261 Scene. 7262 Corresponds to {@link android.app.Fragment#setSharedElementEnterTransition( 7263 android.transition.Transition)} --> 7264 <attr name="fragmentSharedElementEnterTransition" format="reference"/> 7265 7266 <!-- The Transition that will be used to move Views out of the scene when the Fragment is 7267 preparing to be removed, hidden, or detached because of popping the back stack. 7268 Corresponds to {@link android.app.Fragment#setReturnTransition( 7269 android.transition.Transition)} --> 7270 <attr name="fragmentReturnTransition" format="reference"/> 7271 7272 <!-- The Transition that will be used for shared elements transferred back during a 7273 pop of the back stack. This Transition acts in the leaving Fragment. 7274 Corresponds to {@link android.app.Fragment#setSharedElementReturnTransition( 7275 android.transition.Transition)} --> 7276 <attr name="fragmentSharedElementReturnTransition" format="reference"/> 7277 7278 <!-- The Transition that will be used to move Views in to the scene when returning due 7279 to popping a back stack. 7280 Corresponds to {@link android.app.Fragment#setReenterTransition( 7281 android.transition.Transition)} --> 7282 <attr name="fragmentReenterTransition" format="reference"/> 7283 7284 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7285 forward. 7286 Corresponds to {@link android.app.Fragment#setAllowEnterTransitionOverlap( 7287 boolean)} --> 7288 <attr name="fragmentAllowEnterTransitionOverlap" format="reference"/> 7289 7290 <!-- Sets whether the enter and exit transitions should overlap when transitioning 7291 because of popping the back stack. 7292 Corresponds to {@link android.app.Fragment#setAllowReturnTransitionOverlap( 7293 boolean)} --> 7294 <attr name="fragmentAllowReturnTransitionOverlap" format="reference"/> 7295 </declare-styleable> 7296 7297 <!-- Use <code>device-admin</code> as the root tag of the XML resource that 7298 describes a 7299 {@link android.app.admin.DeviceAdminReceiver}, which is 7300 referenced from its 7301 {@link android.app.admin.DeviceAdminReceiver#DEVICE_ADMIN_META_DATA} 7302 meta-data entry. Described here are the attributes that can be 7303 included in that tag. --> 7304 <declare-styleable name="DeviceAdmin"> 7305 <!-- Control whether the admin is visible to the user, even when it 7306 is not enabled. This is true by default. You may want to make 7307 it false if your admin does not make sense to be turned on 7308 unless some explicit action happens in your app. --> 7309 <attr name="visible" /> 7310 </declare-styleable> 7311 7312 <!-- Use <code>wallpaper</code> as the root tag of the XML resource that 7313 describes an 7314 {@link android.service.wallpaper.WallpaperService}, which is 7315 referenced from its 7316 {@link android.service.wallpaper.WallpaperService#SERVICE_META_DATA} 7317 meta-data entry. Described here are the attributes that can be 7318 included in that tag. --> 7319 <declare-styleable name="Wallpaper"> 7320 <attr name="settingsActivity" /> 7321 7322 <!-- Reference to a the wallpaper's thumbnail bitmap. --> 7323 <attr name="thumbnail" format="reference" /> 7324 7325 <!-- Name of the author of this component, e.g. Google. --> 7326 <attr name="author" format="reference" /> 7327 7328 <!-- Short description of the component's purpose or behavior. --> 7329 <attr name="description" /> 7330 </declare-styleable> 7331 7332 <!-- Use <code>dream</code> as the root tag of the XML resource that 7333 describes an 7334 {@link android.service.dreams.DreamService}, which is 7335 referenced from its 7336 {@link android.service.dreams.DreamService#DREAM_META_DATA} 7337 meta-data entry. Described here are the attributes that can be 7338 included in that tag. --> 7339 <declare-styleable name="Dream"> 7340 <!-- Component name of an activity that allows the user to modify 7341 the settings for this dream. --> 7342 <attr name="settingsActivity" /> 7343 </declare-styleable> 7344 7345 <!-- @SystemApi Use <code>trust-agent</code> as the root tag of the XML resource that 7346 describes an {@link android.service.trust.TrustAgentService}, which is 7347 referenced from its {@link android.service.trust.TrustAgentService#TRUST_AGENT_META_DATA} 7348 meta-data entry. Described here are the attributes that can be included in that tag. 7349 @hide --> 7350 <declare-styleable name="TrustAgent"> 7351 <!-- @SystemApi Component name of an activity that allows the user to modify 7352 the settings for this trust agent. @hide --> 7353 <attr name="settingsActivity" /> 7354 <!-- @SystemApi Title for a preference that allows that user to launch the 7355 activity to modify trust agent settings. @hide --> 7356 <attr name="title" /> 7357 <!-- @SystemApi Summary for the same preference as the title. @hide --> 7358 <attr name="summary" /> 7359 </declare-styleable> 7360 7361 <!-- =============================== --> 7362 <!-- Accounts package class attributes --> 7363 <!-- =============================== --> 7364 <eat-comment /> 7365 7366 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7367 describes an account authenticator. 7368 --> 7369 <declare-styleable name="AccountAuthenticator"> 7370 <!-- The account type this authenticator handles. --> 7371 <attr name="accountType" format="string"/> 7372 <!-- The user-visible name of the authenticator. --> 7373 <attr name="label"/> 7374 <!-- The icon of the authenticator. --> 7375 <attr name="icon"/> 7376 <!-- Smaller icon of the authenticator. --> 7377 <attr name="smallIcon" format="reference"/> 7378 <!-- A preferences.xml file for authenticator-specific settings. --> 7379 <attr name="accountPreferences" format="reference"/> 7380 <!-- Account handles its own token storage and permissions. 7381 Default to false 7382 --> 7383 <attr name="customTokens" format="boolean"/> 7384 </declare-styleable> 7385 7386 <!-- =============================== --> 7387 <!-- Accounts package class attributes --> 7388 <!-- =============================== --> 7389 <eat-comment /> 7390 7391 <!-- Use <code>account-authenticator</code> as the root tag of the XML resource that 7392 describes an account authenticator. 7393 --> 7394 <declare-styleable name="SyncAdapter"> 7395 <!-- the authority of a content provider. --> 7396 <attr name="contentAuthority" format="string"/> 7397 <attr name="accountType"/> 7398 <attr name="userVisible" format="boolean"/> 7399 <attr name="supportsUploading" format="boolean"/> 7400 <!-- Set to true to tell the SyncManager that this SyncAdapter supports 7401 multiple simultaneous syncs for the same account type and authority. 7402 Otherwise the SyncManager will be sure not to issue a start sync request 7403 to this SyncAdapter if the SyncAdapter is already syncing another account. 7404 Defaults to false. 7405 --> 7406 <attr name="allowParallelSyncs" format="boolean"/> 7407 <!-- Set to true to tell the SyncManager to automatically call setIsSyncable(..., ..., 1) 7408 for the SyncAdapter instead of issuaing an initialization sync to the SyncAdapter. 7409 Defaults to false. 7410 --> 7411 <attr name="isAlwaysSyncable" format="boolean"/> 7412 <!-- If provided, specifies the action of the settings 7413 activity for this SyncAdapter. 7414 --> 7415 <attr name="settingsActivity"/> 7416 </declare-styleable> 7417 7418 <!-- =============================== --> 7419 <!-- Contacts meta-data attributes --> 7420 <!-- =============================== --> 7421 <eat-comment /> 7422 7423 <!-- TODO: remove this deprecated styleable. --> 7424 <eat-comment /> 7425 <declare-styleable name="Icon"> 7426 <attr name="icon" /> 7427 <attr name="mimeType" /> 7428 </declare-styleable> 7429 7430 <!-- TODO: remove this deprecated styleable --> 7431 <eat-comment /> 7432 <declare-styleable name="IconDefault"> 7433 <attr name="icon" /> 7434 </declare-styleable> 7435 7436 <!-- Maps a specific contact data MIME-type to styling information. --> 7437 <declare-styleable name="ContactsDataKind"> 7438 <!-- Mime-type handled by this mapping. --> 7439 <attr name="mimeType" /> 7440 <!-- Icon used to represent data of this kind. --> 7441 <attr name="icon" /> 7442 <!-- Column in data table that summarizes this data. --> 7443 <attr name="summaryColumn" format="string" /> 7444 <!-- Column in data table that contains details for this data. --> 7445 <attr name="detailColumn" format="string" /> 7446 <!-- Flag indicating that detail should be built from SocialProvider. --> 7447 <attr name="detailSocialSummary" format="boolean" /> 7448 <!-- Resource representing the term "All Contacts" (e.g. "All Friends" or 7449 "All connections"). Optional (Default is "All Contacts"). --> 7450 <attr name="allContactsName" format="string" /> 7451 </declare-styleable> 7452 7453 <!-- =============================== --> 7454 <!-- TabSelector class attributes --> 7455 <!-- =============================== --> 7456 <eat-comment /> 7457 7458 <declare-styleable name="SlidingTab"> 7459 <!-- Use "horizontal" for a row, "vertical" for a column. The default is horizontal. --> 7460 <attr name="orientation" /> 7461 </declare-styleable> 7462 7463 <!-- =============================== --> 7464 <!-- GlowPadView class attributes --> 7465 <!-- =============================== --> 7466 <eat-comment /> 7467 <declare-styleable name="GlowPadView"> 7468 <!-- Reference to an array resource that be used as description for the targets around the circle. 7469 {@deprecated Removed.} --> 7470 <attr name="targetDescriptions" format="reference" /> 7471 7472 <!-- Reference to an array resource that be used to announce the directions with targets around the circle. 7473 {@deprecated Removed.}--> 7474 <attr name="directionDescriptions" format="reference" /> 7475 </declare-styleable> 7476 7477 <!-- =============================== --> 7478 <!-- Location package class attributes --> 7479 <!-- =============================== --> 7480 <eat-comment /> 7481 7482 <!-- Use <code>injected-location-setting</code> as the root tag of the XML resource that 7483 describes an injected "Location services" setting. Note that the status value (subtitle) 7484 for the setting is specified dynamically by a subclass of SettingInjectorService. 7485 --> 7486 <declare-styleable name="SettingInjectorService"> 7487 <!-- The title for the preference. --> 7488 <attr name="title"/> 7489 <!-- The icon for the preference, should refer to all apps covered by the setting. Typically 7490 a generic icon for the developer. --> 7491 <attr name="icon"/> 7492 <!-- The activity to launch when the setting is clicked on. --> 7493 <attr name="settingsActivity"/> 7494 </declare-styleable> 7495 7496 <!-- =============================== --> 7497 <!-- LockPatternView class attributes --> 7498 <!-- =============================== --> 7499 <eat-comment /> 7500 7501 <declare-styleable name="LockPatternView"> 7502 <!-- Aspect to use when drawing LockPatternView. Choices are "square"(default), "lock_width" 7503 or "lock_height" --> 7504 <attr name="aspect" format="string" /> 7505 <!-- Color to use when drawing LockPatternView paths. --> 7506 <attr name="pathColor" format="color|reference" /> 7507 <!-- The regular pattern color --> 7508 <attr name="regularColor" format="color|reference" /> 7509 <!-- The error color --> 7510 <attr name="errorColor" format="color|reference" /> 7511 <!-- The success color --> 7512 <attr name="successColor" format="color|reference"/> 7513 </declare-styleable> 7514 7515 <!-- Use <code>recognition-service</code> as the root tag of the XML resource that 7516 describes a {@link android.speech.RecognitionService}, which is referenced from 7517 its {@link android.speech.RecognitionService#SERVICE_META_DATA} meta-data entry. 7518 Described here are the attributes that can be included in that tag. --> 7519 <declare-styleable name="RecognitionService"> 7520 <attr name="settingsActivity" /> 7521 </declare-styleable> 7522 7523 <!-- Use <code>voice-interaction-service</code> as the root tag of the XML resource that 7524 describes a {@link android.service.voice.VoiceInteractionService}, which is referenced from 7525 its {@link android.service.voice.VoiceInteractionService#SERVICE_META_DATA} meta-data entry. 7526 Described here are the attributes that can be included in that tag. --> 7527 <declare-styleable name="VoiceInteractionService"> 7528 <!-- The service that hosts active voice interaction sessions. This is required. --> 7529 <attr name="sessionService" format="string" /> 7530 <!-- The service that provides voice recognition. This is required. When the user 7531 selects this voice interaction service, they will also be implicitly selecting 7532 the component here for their recognition service. --> 7533 <attr name="recognitionService" format="string" /> 7534 <attr name="settingsActivity" /> 7535 <!-- Flag indicating whether this voice interaction service is capable of handling the 7536 assist action. --> 7537 <attr name="supportsAssist" format="boolean" /> 7538 <!-- Flag indicating whether this voice interaction service is capable of being launched 7539 from the keyguard. --> 7540 <attr name="supportsLaunchVoiceAssistFromKeyguard" format="boolean" /> 7541 <!-- Flag indicating whether this voice interaction service can handle local voice 7542 interaction requests from an Activity. This flag is new in 7543 {@link android.os.Build.VERSION_CODES#N} and not used in previous versions. --> 7544 <attr name="supportsLocalInteraction" format="boolean" /> 7545 </declare-styleable> 7546 7547 <!-- Use <code>voice-enrollment-application</code> 7548 as the root tag of the XML resource that escribes the supported keyphrases (hotwords) 7549 by the enrollment application. 7550 Described here are the attributes that can be included in that tag. 7551 @hide 7552 @SystemApi --> 7553 <declare-styleable name="VoiceEnrollmentApplication"> 7554 <!-- A globally unique ID for the keyphrase. @hide @SystemApi --> 7555 <attr name="searchKeyphraseId" format="integer" /> 7556 <!-- The actual keyphrase/hint text, or empty if not keyphrase dependent. @hide @SystemApi --> 7557 <attr name="searchKeyphrase" format="string" /> 7558 <!-- A comma separated list of BCP-47 language tag for locales that are supported 7559 for this keyphrase, or empty if not locale dependent. @hide @SystemApi --> 7560 <attr name="searchKeyphraseSupportedLocales" format="string" /> 7561 <!-- Flags for supported recognition modes. @hide @SystemApi --> 7562 <attr name="searchKeyphraseRecognitionFlags"> 7563 <flag name="none" value="0" /> 7564 <flag name="voiceTrigger" value="0x1" /> 7565 <flag name="userIdentification" value="0x2" /> 7566 </attr> 7567 </declare-styleable> 7568 7569 <!-- Attributes used to style the Action Bar. --> 7570 <declare-styleable name="ActionBar"> 7571 <!-- The type of navigation to use. --> 7572 <attr name="navigationMode"> 7573 <!-- Normal static title text --> 7574 <enum name="normal" value="0" /> 7575 <!-- The action bar will use a selection list for navigation. --> 7576 <enum name="listMode" value="1" /> 7577 <!-- The action bar will use a series of horizontal tabs for navigation. --> 7578 <enum name="tabMode" value="2" /> 7579 </attr> 7580 <!-- Options affecting how the action bar is displayed. --> 7581 <attr name="displayOptions"> 7582 <flag name="none" value="0" /> 7583 <flag name="useLogo" value="0x1" /> 7584 <flag name="showHome" value="0x2" /> 7585 <flag name="homeAsUp" value="0x4" /> 7586 <flag name="showTitle" value="0x8" /> 7587 <flag name="showCustom" value="0x10" /> 7588 <flag name="disableHome" value="0x20" /> 7589 </attr> 7590 <!-- Specifies title text used for navigationMode="normal" --> 7591 <attr name="title" /> 7592 <!-- Specifies subtitle text used for navigationMode="normal" --> 7593 <attr name="subtitle" format="string" /> 7594 <!-- Specifies a style to use for title text. --> 7595 <attr name="titleTextStyle" format="reference" /> 7596 <!-- Specifies a style to use for subtitle text. --> 7597 <attr name="subtitleTextStyle" format="reference" /> 7598 <!-- Specifies the drawable used for the application icon. --> 7599 <attr name="icon" /> 7600 <!-- Specifies the drawable used for the application logo. --> 7601 <attr name="logo" /> 7602 <!-- Specifies the drawable used for item dividers. --> 7603 <attr name="divider" /> 7604 <!-- Specifies a background drawable for the action bar. --> 7605 <attr name="background" /> 7606 <!-- Specifies a background drawable for a second stacked row of the action bar. --> 7607 <attr name="backgroundStacked" format="reference|color" /> 7608 <!-- Specifies a background drawable for the bottom component of a split action bar. --> 7609 <attr name="backgroundSplit" format="reference|color" /> 7610 <!-- Specifies a layout for custom navigation. Overrides navigationMode. --> 7611 <attr name="customNavigationLayout" format="reference" /> 7612 <!-- Specifies a fixed height. --> 7613 <attr name="height" /> 7614 <!-- Specifies a layout to use for the "home" section of the action bar. --> 7615 <attr name="homeLayout" format="reference" /> 7616 <!-- Specifies a style resource to use for an embedded progress bar. --> 7617 <attr name="progressBarStyle" /> 7618 <!-- Specifies a style resource to use for an indeterminate progress spinner. --> 7619 <attr name="indeterminateProgressStyle" format="reference" /> 7620 <!-- Specifies the horizontal padding on either end for an embedded progress bar. --> 7621 <attr name="progressBarPadding" format="dimension" /> 7622 <!-- Up navigation glyph --> 7623 <attr name="homeAsUpIndicator" /> 7624 <!-- Specifies padding that should be applied to the left and right sides of 7625 system-provided items in the bar. --> 7626 <attr name="itemPadding" format="dimension" /> 7627 <!-- Set true to hide the action bar on a vertical nested scroll of content. --> 7628 <attr name="hideOnContentScroll" format="boolean" /> 7629 <!-- Minimum inset for content views within a bar. Navigation buttons and 7630 menu views are excepted. Only valid for some themes and configurations. --> 7631 <attr name="contentInsetStart" format="dimension" /> 7632 <!-- Minimum inset for content views within a bar. Navigation buttons and 7633 menu views are excepted. Only valid for some themes and configurations. --> 7634 <attr name="contentInsetEnd" format="dimension" /> 7635 <!-- Minimum inset for content views within a bar. Navigation buttons and 7636 menu views are excepted. Only valid for some themes and configurations. --> 7637 <attr name="contentInsetLeft" format="dimension" /> 7638 <!-- Minimum inset for content views within a bar. Navigation buttons and 7639 menu views are excepted. Only valid for some themes and configurations. --> 7640 <attr name="contentInsetRight" format="dimension" /> 7641 <!-- Elevation for the action bar itself --> 7642 <attr name="elevation" /> 7643 <!-- Reference to a theme that should be used to inflate popups 7644 shown by widgets in the action bar. --> 7645 <attr name="popupTheme" /> 7646 </declare-styleable> 7647 7648 <declare-styleable name="ActionMode"> 7649 <!-- Specifies a style to use for title text. --> 7650 <attr name="titleTextStyle" /> 7651 <!-- Specifies a style to use for subtitle text. --> 7652 <attr name="subtitleTextStyle" /> 7653 <!-- Specifies a background for the action mode bar. --> 7654 <attr name="background" /> 7655 <!-- Specifies a background for the split action mode bar. --> 7656 <attr name="backgroundSplit" /> 7657 <!-- Specifies a fixed height for the action mode bar. --> 7658 <attr name="height" /> 7659 <!-- Specifies a layout to use for the "close" item at the starting edge. --> 7660 <attr name="closeItemLayout" format="reference" /> 7661 </declare-styleable> 7662 7663 <declare-styleable name="SearchView"> 7664 <!-- The layout to use for the search view. --> 7665 <attr name="layout" /> 7666 <!-- The default state of the SearchView. If true, it will be iconified when not in 7667 use and expanded when clicked. --> 7668 <attr name="iconifiedByDefault" format="boolean" /> 7669 <!-- An optional maximum width of the SearchView. --> 7670 <attr name="maxWidth" /> 7671 <!-- An optional query hint string to be displayed in the empty query field. --> 7672 <attr name="queryHint" format="string" /> 7673 <!-- Default query hint used when {@code queryHint} is undefined and 7674 the search view's {@code SearchableInfo} does not provide a hint. 7675 @hide --> 7676 <attr name="defaultQueryHint" format="string" /> 7677 <!-- The IME options to set on the query text field. --> 7678 <attr name="imeOptions" /> 7679 <!-- The input type to set on the query text field. --> 7680 <attr name="inputType" /> 7681 <!-- Close button icon --> 7682 <attr name="closeIcon" format="reference" /> 7683 <!-- Go button icon --> 7684 <attr name="goIcon" format="reference" /> 7685 <!-- Search icon --> 7686 <attr name="searchIcon" format="reference" /> 7687 <!-- Search icon displayed as a text field hint --> 7688 <attr name="searchHintIcon" format="reference" /> 7689 <!-- Voice button icon --> 7690 <attr name="voiceIcon" format="reference" /> 7691 <!-- Commit icon shown in the query suggestion row --> 7692 <attr name="commitIcon" format="reference" /> 7693 <!-- Layout for query suggestion rows --> 7694 <attr name="suggestionRowLayout" format="reference" /> 7695 <!-- Background for the section containing the search query --> 7696 <attr name="queryBackground" format="reference" /> 7697 <!-- Background for the section containing the action (e.g. voice search) --> 7698 <attr name="submitBackground" format="reference" /> 7699 <attr name="focusable" /> 7700 </declare-styleable> 7701 7702 <declare-styleable name="Switch"> 7703 <!-- Drawable to use as the "thumb" that switches back and forth. --> 7704 <attr name="thumb" /> 7705 <!-- Tint to apply to the thumb. --> 7706 <attr name="thumbTint" /> 7707 <!-- Blending mode used to apply the thumb tint. --> 7708 <attr name="thumbTintMode" /> 7709 <!-- Drawable to use as the "track" that the switch thumb slides within. --> 7710 <attr name="track" format="reference" /> 7711 <!-- Tint to apply to the track. --> 7712 <attr name="trackTint" format="color" /> 7713 <!-- Blending mode used to apply the track tint. --> 7714 <attr name="trackTintMode"> 7715 <!-- The tint is drawn on top of the drawable. 7716 [Sa + (1 - Sa)*Da, Rc = Sc + (1 - Sa)*Dc] --> 7717 <enum name="src_over" value="3" /> 7718 <!-- The tint is masked by the alpha channel of the drawable. The drawable’s 7719 color channels are thrown out. [Sa * Da, Sc * Da] --> 7720 <enum name="src_in" value="5" /> 7721 <!-- The tint is drawn above the drawable, but with the drawable’s alpha 7722 channel masking the result. [Da, Sc * Da + (1 - Sa) * Dc] --> 7723 <enum name="src_atop" value="9" /> 7724 <!-- Multiplies the color and alpha channels of the drawable with those of 7725 the tint. [Sa * Da, Sc * Dc] --> 7726 <enum name="multiply" value="14" /> 7727 <!-- [Sa + Da - Sa * Da, Sc + Dc - Sc * Dc] --> 7728 <enum name="screen" value="15" /> 7729 <!-- Combines the tint and drawable color and alpha channels, clamping the 7730 result to valid color values. Saturate(S + D) --> 7731 <enum name="add" value="16" /> 7732 </attr> 7733 <!-- Text to use when the switch is in the checked/"on" state. --> 7734 <attr name="textOn" /> 7735 <!-- Text to use when the switch is in the unchecked/"off" state. --> 7736 <attr name="textOff" /> 7737 <!-- Amount of padding on either side of text within the switch thumb. --> 7738 <attr name="thumbTextPadding" format="dimension" /> 7739 <!-- TextAppearance style for text displayed on the switch thumb. --> 7740 <attr name="switchTextAppearance" format="reference" /> 7741 <!-- Minimum width for the switch component --> 7742 <attr name="switchMinWidth" format="dimension" /> 7743 <!-- Minimum space between the switch and caption text --> 7744 <attr name="switchPadding" format="dimension" /> 7745 <!-- Whether to split the track and leave a gap for the thumb drawable. --> 7746 <attr name="splitTrack" /> 7747 <!-- Whether to draw on/off text. --> 7748 <attr name="showText" format="boolean" /> 7749 </declare-styleable> 7750 7751 <declare-styleable name="Pointer"> 7752 <!-- Reference to a pointer icon drawable with STYLE_ARROW --> 7753 <attr name="pointerIconArrow" format="reference" /> 7754 <!-- Reference to a pointer icon drawable with STYLE_SPOT_HOVER --> 7755 <attr name="pointerIconSpotHover" format="reference" /> 7756 <!-- Reference to a pointer icon drawable with STYLE_SPOT_TOUCH --> 7757 <attr name="pointerIconSpotTouch" format="reference" /> 7758 <!-- Reference to a pointer icon drawable with STYLE_SPOT_ANCHOR --> 7759 <attr name="pointerIconSpotAnchor" format="reference" /> 7760 <!-- Reference to a pointer drawable with STYLE_CONTEXT_MENU --> 7761 <attr name="pointerIconContextMenu" format="reference"/> 7762 <!-- Reference to a pointer drawable with STYLE_HAND --> 7763 <attr name="pointerIconHand" format="reference"/> 7764 <!-- Reference to a pointer drawable with STYLE_HELP --> 7765 <attr name="pointerIconHelp" format="reference"/> 7766 <!-- Reference to a pointer drawable with STYLE_WAIT --> 7767 <attr name="pointerIconWait" format="reference"/> 7768 <!-- Reference to a pointer drawable with STYLE_CELL --> 7769 <attr name="pointerIconCell" format="reference"/> 7770 <!-- Reference to a pointer drawable with STYLE_CROSSHAIR --> 7771 <attr name="pointerIconCrosshair" format="reference"/> 7772 <!-- Reference to a pointer drawable with STYLE_TEXT --> 7773 <attr name="pointerIconText" format="reference"/> 7774 <!-- Reference to a pointer drawable with STYLE_VERTICAL_TEXT --> 7775 <attr name="pointerIconVerticalText" format="reference"/> 7776 <!-- Reference to a pointer drawable with STYLE_ALIAS --> 7777 <attr name="pointerIconAlias" format="reference"/> 7778 <!-- Reference to a pointer drawable with STYLE_COPY --> 7779 <attr name="pointerIconCopy" format="reference"/> 7780 <!-- Reference to a pointer drawable with STYLE_NODROP --> 7781 <attr name="pointerIconNodrop" format="reference"/> 7782 <!-- Reference to a pointer drawable with STYLE_ALL_SCROLL --> 7783 <attr name="pointerIconAllScroll" format="reference"/> 7784 <!-- Reference to a pointer drawable with STYLE_HORIZONTAL_DOUBLE_ARROW --> 7785 <attr name="pointerIconHorizontalDoubleArrow" format="reference"/> 7786 <!-- Reference to a pointer drawable with STYLE_VERTICAL_DOUBLE_ARROW --> 7787 <attr name="pointerIconVerticalDoubleArrow" format="reference"/> 7788 <!-- Reference to a pointer drawable with STYLE_TOP_RIGHT_DIAGONAL_DOUBLE_ARROW --> 7789 <attr name="pointerIconTopRightDiagonalDoubleArrow" format="reference"/> 7790 <!-- Reference to a pointer drawable with STYLE_TOP_LEFT_DIAGONAL_DOUBLE_ARROW --> 7791 <attr name="pointerIconTopLeftDiagonalDoubleArrow" format="reference"/> 7792 <!-- Reference to a pointer drawable with STYLE_ZOOM_IN --> 7793 <attr name="pointerIconZoomIn" format="reference"/> 7794 <!-- Reference to a pointer drawable with STYLE_ZOOM_OUT --> 7795 <attr name="pointerIconZoomOut" format="reference"/> 7796 <!-- Reference to a pointer drawable with STYLE_GRAB --> 7797 <attr name="pointerIconGrab" format="reference"/> 7798 <!-- Reference to a pointer drawable with STYLE_GRABBING --> 7799 <attr name="pointerIconGrabbing" format="reference"/> 7800 </declare-styleable> 7801 7802 <declare-styleable name="PointerIcon"> 7803 <!-- Drawable to use as the icon bitmap. --> 7804 <attr name="bitmap" format="reference" /> 7805 <!-- X coordinate of the icon hot spot. --> 7806 <attr name="hotSpotX" format="dimension" /> 7807 <!-- Y coordinate of the icon hot spot. --> 7808 <attr name="hotSpotY" format="dimension" /> 7809 </declare-styleable> 7810 7811 <declare-styleable name="Storage"> 7812 <!-- path to mount point for the storage --> 7813 <attr name="mountPoint" format="string" /> 7814 <!-- user visible description of the storage --> 7815 <attr name="storageDescription" format="string" /> 7816 <!-- true if the storage is the primary external storage --> 7817 <attr name="primary" format="boolean" /> 7818 <!-- true if the storage is removable --> 7819 <attr name="removable" format="boolean" /> 7820 <!-- true if the storage is emulated via the FUSE sdcard daemon --> 7821 <attr name="emulated" format="boolean" /> 7822 <!-- number of megabytes of storage MTP should reserve for free storage 7823 (used for emulated storage that is shared with system's data partition) --> 7824 <attr name="mtpReserve" format="integer" /> 7825 <!-- true if the storage can be shared via USB mass storage --> 7826 <attr name="allowMassStorage" format="boolean" /> 7827 <!-- maximum file size for the volume in megabytes, zero or unspecified if it is unbounded --> 7828 <attr name="maxFileSize" format="integer" /> 7829 </declare-styleable> 7830 7831 <declare-styleable name="SwitchPreference"> 7832 <!-- The summary for the Preference in a PreferenceActivity screen when the 7833 SwitchPreference is checked. If separate on/off summaries are not 7834 needed, the summary attribute can be used instead. --> 7835 <attr name="summaryOn" /> 7836 <!-- The summary for the Preference in a PreferenceActivity screen when the 7837 SwitchPreference is unchecked. If separate on/off summaries are not 7838 needed, the summary attribute can be used instead. --> 7839 <attr name="summaryOff" /> 7840 <!-- The text used on the switch itself when in the "on" state. 7841 This should be a very SHORT string, as it appears in a small space. --> 7842 <attr name="switchTextOn" format="string" /> 7843 <!-- The text used on the switch itself when in the "off" state. 7844 This should be a very SHORT string, as it appears in a small space. --> 7845 <attr name="switchTextOff" format="string" /> 7846 <!-- The state (true for on, or false for off) that causes dependents to be disabled. By default, 7847 dependents will be disabled when this is unchecked, so the value of this preference is false. --> 7848 <attr name="disableDependentsState" /> 7849 </declare-styleable> 7850 7851 <declare-styleable name="SeekBarPreference"> 7852 <attr name="layout" /> 7853 </declare-styleable> 7854 7855 <!-- Base attributes available to PreferenceFragment. --> 7856 <declare-styleable name="PreferenceFragment"> 7857 <!-- The layout for the PreferenceFragment. This should rarely need to be changed. --> 7858 <attr name="layout" /> 7859 <attr name="divider" /> 7860 </declare-styleable> 7861 7862 <!-- Base attributes available to PreferenceActivity. --> 7863 <declare-styleable name="PreferenceActivity"> 7864 <!-- The layout for the Preference Activity. This should rarely need to be changed. --> 7865 <attr name="layout" /> 7866 <!-- The layout for the Preference Header. This should rarely need to be changed. --> 7867 <attr name="headerLayout" format="reference" /> 7868 <!-- true if the Icon view will be removed when there is none and thus not showing 7869 the fixed margins. --> 7870 <attr name="headerRemoveIconIfEmpty" format="boolean" /> 7871 </declare-styleable> 7872 7873 <!-- Use <code>tts-engine</code> as the root tag of the XML resource that 7874 describes a text to speech engine implemented as a subclass of 7875 {@link android.speech.tts.TextToSpeechService}. 7876 7877 The XML resource must be referenced from its 7878 {@link android.speech.tts.TextToSpeech.Engine#SERVICE_META_DATA} meta-data 7879 entry. --> 7880 <declare-styleable name="TextToSpeechEngine"> 7881 <attr name="settingsActivity" /> 7882 </declare-styleable> 7883 7884 <!-- Use <code>keyboard-layouts</code> as the root tag of the XML resource that 7885 describes a collection of keyboard layouts provided by an application. 7886 Each keyboard layout is declared by a <code>keyboard-layout</code> tag 7887 with these attributes. 7888 7889 The XML resource that contains the keyboard layouts must be referenced from its 7890 {@link android.hardware.input.InputManager#META_DATA_KEYBOARD_LAYOUTS} 7891 meta-data entry used with broadcast receivers for 7892 {@link android.hardware.input.InputManager#ACTION_QUERY_KEYBOARD_LAYOUTS}. --> 7893 <declare-styleable name="KeyboardLayout"> 7894 <!-- The name of the keyboard layout, must be unique in the receiver. --> 7895 <attr name="name" /> 7896 <!-- The display label of the keyboard layout. --> 7897 <attr name="label" /> 7898 <!-- The key character map file resource. --> 7899 <attr name="keyboardLayout" format="reference" /> 7900 <!-- The locales the given keyboard layout corresponds to. --> 7901 <attr name="locale" format="string" /> 7902 <!-- The vendor ID of the hardware the given layout corresponds to. @hide --> 7903 <attr name="vendorId" format="integer" /> 7904 <!-- The product ID of the hardware the given layout corresponds to. @hide --> 7905 <attr name="productId" format="integer" /> 7906 </declare-styleable> 7907 7908 <declare-styleable name="MediaRouteButton"> 7909 <!-- This drawable is a state list where the "activated" state 7910 indicates active media routing. Non-activated indicates 7911 that media is playing to the local device only. 7912 @hide --> 7913 <attr name="externalRouteEnabledDrawable" format="reference" /> 7914 7915 <!-- The types of media routes the button and its resulting 7916 chooser will filter by. --> 7917 <attr name="mediaRouteTypes" format="integer"> 7918 <!-- Allow selection of live audio routes. --> 7919 <enum name="liveAudio" value="0x1" /> 7920 <!-- Allow selection of user (app-specified) routes. --> 7921 <enum name="user" value="0x800000" /> 7922 </attr> 7923 7924 <attr name="minWidth" /> 7925 <attr name="minHeight" /> 7926 </declare-styleable> 7927 7928 <!-- PagedView specific attributes. These attributes are used to customize 7929 a PagedView view in XML files. --> 7930 <declare-styleable name="PagedView"> 7931 <!-- The space between adjacent pages of the PagedView. --> 7932 <attr name="pageSpacing" format="dimension" /> 7933 <!-- The padding for the scroll indicator area --> 7934 <attr name="scrollIndicatorPaddingLeft" format="dimension" /> 7935 <attr name="scrollIndicatorPaddingRight" format="dimension" /> 7936 </declare-styleable> 7937 7938 <declare-styleable name="KeyguardGlowStripView"> 7939 <attr name="dotSize" format="dimension" /> 7940 <attr name="numDots" format="integer" /> 7941 <attr name="glowDot" format="reference" /> 7942 <attr name="leftToRight" format="boolean" /> 7943 </declare-styleable> 7944 7945 <!-- Some child types have special behavior. --> 7946 <attr name="layout_childType"> 7947 <!-- No special behavior. Layout will proceed as normal. --> 7948 <enum name="none" value="0" /> 7949 <!-- Widget container. 7950 This will be resized in response to certain events. --> 7951 <enum name="widget" value="1" /> 7952 <!-- Security challenge container. 7953 This will be dismissed/shown in response to certain events, 7954 possibly obscuring widget elements. --> 7955 <enum name="challenge" value="2" /> 7956 <!-- User switcher. 7957 This will consume space from the total layout area. --> 7958 <enum name="userSwitcher" value="3" /> 7959 <!-- Scrim. This will block access to child views that 7960 come before it in the child list in bouncer mode. --> 7961 <enum name="scrim" value="4" /> 7962 <!-- The home for widgets. All widgets will be descendents of this. --> 7963 <enum name="widgets" value="5" /> 7964 <!-- This is a handle that is used for expanding the 7965 security challenge container when it is collapsed. --> 7966 <enum name="expandChallengeHandle" value="6" /> 7967 <!-- Delete drop target. This will be the drop target to delete pages. --> 7968 <enum name="pageDeleteDropTarget" value="7" /> 7969 </attr> 7970 7971 <!-- Attributes that can be used with <code><FragmentBreadCrumbs></code> 7972 tags. --> 7973 <declare-styleable name="FragmentBreadCrumbs"> 7974 <attr name="gravity" /> 7975 <attr name="itemLayout" format="reference" /> 7976 <attr name="itemColor" format="color|reference" /> 7977 </declare-styleable> 7978 7979 <declare-styleable name="Toolbar"> 7980 <attr name="titleTextAppearance" format="reference" /> 7981 <attr name="subtitleTextAppearance" format="reference" /> 7982 <attr name="title" /> 7983 <attr name="subtitle" /> 7984 <attr name="gravity" /> 7985 <!-- Specifies extra space on the left, start, right and end sides 7986 of the toolbar's title. Margin values should be positive. --> 7987 <attr name="titleMargin" format="dimension" /> 7988 <!-- Specifies extra space on the start side of the toolbar's title. 7989 If both this attribute and titleMargin are specified, then this 7990 attribute takes precedence. Margin values should be positive. --> 7991 <attr name="titleMarginStart" format="dimension" /> 7992 <!-- Specifies extra space on the end side of the toolbar's title. 7993 If both this attribute and titleMargin are specified, then this 7994 attribute takes precedence. Margin values should be positive. --> 7995 <attr name="titleMarginEnd" format="dimension" /> 7996 <!-- Specifies extra space on the top side of the toolbar's title. 7997 If both this attribute and titleMargin are specified, then this 7998 attribute takes precedence. Margin values should be positive. --> 7999 <attr name="titleMarginTop" format="dimension" /> 8000 <!-- Specifies extra space on the bottom side of the toolbar's title. 8001 If both this attribute and titleMargin are specified, then this 8002 attribute takes precedence. Margin values should be positive. --> 8003 <attr name="titleMarginBottom" format="dimension" /> 8004 <attr name="contentInsetStart" /> 8005 <attr name="contentInsetEnd" /> 8006 <attr name="contentInsetLeft" /> 8007 <attr name="contentInsetRight" /> 8008 <attr name="maxButtonHeight" format="dimension" /> 8009 <attr name="navigationButtonStyle" format="reference" /> 8010 <attr name="buttonGravity"> 8011 <!-- Push object to the top of its container, not changing its size. --> 8012 <flag name="top" value="0x30" /> 8013 <!-- Push object to the bottom of its container, not changing its size. --> 8014 <flag name="bottom" value="0x50" /> 8015 </attr> 8016 <!-- Icon drawable to use for the collapse button. --> 8017 <attr name="collapseIcon" format="reference" /> 8018 <!-- Text to set as the content description for the collapse button. --> 8019 <attr name="collapseContentDescription" format="string" /> 8020 <!-- Reference to a theme that should be used to inflate popups 8021 shown by widgets in the toolbar. --> 8022 <attr name="popupTheme" format="reference" /> 8023 <!-- Icon drawable to use for the navigation button located at 8024 the start of the toolbar. --> 8025 <attr name="navigationIcon" format="reference" /> 8026 <!-- Text to set as the content description for the navigation button 8027 located at the start of the toolbar. --> 8028 <attr name="navigationContentDescription" format="string" /> 8029 <!-- Drawable to set as the logo that appears at the starting side of 8030 the Toolbar, just after the navigation button. --> 8031 <attr name="logo" /> 8032 <!-- A content description string to describe the appearance of the 8033 associated logo image. --> 8034 <attr name="logoDescription" format="string" /> 8035 <!-- A color to apply to the title string. --> 8036 <attr name="titleTextColor" format="color" /> 8037 <!-- A color to apply to the subtitle string. --> 8038 <attr name="subtitleTextColor" format="color" /> 8039 </declare-styleable> 8040 8041 <declare-styleable name="Toolbar_LayoutParams"> 8042 <attr name="layout_gravity" /> 8043 </declare-styleable> 8044 8045 <declare-styleable name="ActionBar_LayoutParams"> 8046 <attr name="layout_gravity" /> 8047 </declare-styleable> 8048 8049 <!-- Used as a filter array on the theme to pull out only the EdgeEffect-relevant bits. --> 8050 <declare-styleable name="EdgeEffect"> 8051 <attr name="colorEdgeEffect" /> 8052 </declare-styleable> 8053 8054 <!-- Use <code>tv-input</code> as the root tag of the XML resource that describes a 8055 {@link android.media.tv.TvInputService}, which is referenced from its 8056 {@link android.media.tv.TvInputService#SERVICE_META_DATA} meta-data entry. 8057 Described here are the attributes that can be included in that tag. --> 8058 <declare-styleable name="TvInputService"> 8059 <!-- Component name of an activity for setup of this service. 8060 The setup includes scanning channels and registering EPG data. --> 8061 <attr name="setupActivity" format="string" /> 8062 <!-- Component name of an activity that allows the user to modify 8063 the settings for this service. --> 8064 <attr name="settingsActivity" /> 8065 </declare-styleable> 8066 8067 <!-- Attributes that can be used with <code>rating-system-definition</code> tags inside of the 8068 XML resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8069 which is referenced from its 8070 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8071 <declare-styleable name="RatingSystemDefinition"> 8072 <!-- The unique name of the content rating system. --> 8073 <attr name="name" /> 8074 <!-- The title of the content rating system which is shown to the user. --> 8075 <attr name="title" /> 8076 <!-- The short description of the content rating system. --> 8077 <attr name="description" /> 8078 <!-- The country code associated with the content rating system, which consists of two 8079 uppercase letters that conform to the ISO 3166 standard. --> 8080 <attr name="country" format="string" /> 8081 </declare-styleable> 8082 8083 <!-- Attributes that can be used with <code>rating-definition</code> tags inside of the XML 8084 resource that describes TV content rating of a {@link android.media.tv.TvInputService}, 8085 which is referenced from its 8086 {@link android.media.tv.TvInputManager#META_DATA_CONTENT_RATING_SYSTEMS}. --> 8087 <declare-styleable name="RatingDefinition"> 8088 <!-- The unique name of the content rating. --> 8089 <attr name="name" /> 8090 <!-- The title of the content rating which is shown to the user. --> 8091 <attr name="title" /> 8092 <!-- The short description of the content rating. --> 8093 <attr name="description" /> 8094 <!-- The age associated with the content rating. The content of this rating is suitable for 8095 people of this age or above. --> 8096 <attr name="contentAgeHint" format="integer" /> 8097 </declare-styleable> 8098 8099 <declare-styleable name="ResolverDrawerLayout"> 8100 <attr name="maxWidth" /> 8101 <attr name="maxCollapsedHeight" format="dimension" /> 8102 <attr name="maxCollapsedHeightSmall" format="dimension" /> 8103 </declare-styleable> 8104 8105 <declare-styleable name="ResolverDrawerLayout_LayoutParams"> 8106 <attr name="layout_alwaysShow" format="boolean" /> 8107 <attr name="layout_ignoreOffset" format="boolean" /> 8108 <attr name="layout_gravity" /> 8109 </declare-styleable> 8110 8111 <!-- @hide --> 8112 <declare-styleable name="Lighting"> 8113 <attr name="lightY" /> 8114 <attr name="lightZ" /> 8115 <attr name="lightRadius" /> 8116 <attr name="ambientShadowAlpha" /> 8117 <attr name="spotShadowAlpha" /> 8118 </declare-styleable> 8119 8120 <declare-styleable name="RestrictionEntry"> 8121 <attr name="key" /> 8122 <attr name="restrictionType"> 8123 <enum name="hidden" value="0" /> 8124 <enum name="bool" value="1" /> 8125 <enum name="choice" value="2" /> 8126 <enum name="multi-select" value="4" /> 8127 <enum name="integer" value="5" /> 8128 <enum name="string" value="6" /> 8129 <enum name="bundle" value="7" /> 8130 <enum name="bundle_array" value="8" /> 8131 </attr> 8132 <attr name="title" /> 8133 <attr name="description" /> 8134 <attr name="defaultValue" /> 8135 <attr name="entries" /> 8136 <attr name="entryValues" /> 8137 </declare-styleable> 8138</resources> 8139